/* ================= EziQA Styling ================= */

/* ================= CSS VARIABLES & RESET ================= */
:root {
    --primary: #111827;
    --secondary: #4b5563;
    --accent: #2563eb;
    --bg-light: #f9fafb;
    --border: #e5e7eb;
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--primary);
    line-height: 1.6;
    background-color: #ffffff;
}

/* ================= TYPOGRAPHY & UTILITIES ================= */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    letter-spacing: -0.05em;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.text-center {
    text-align: center;
}

/* Placeholder Styling */
.img-placeholder {
    background-color: #e5e7eb;
    border: 2px dashed #9ca3af;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-weight: 600;
    padding: 2rem;
    text-align: center;
    width: 100%;
}

/* ================= HEADER & NAV ================= */
header {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--accent);
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.integration-platforms {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    width: 100%;
}

@media (min-width: 769px) {
    .integration-platforms {
        grid-column: span 2;
        margin-top: 3rem;
        padding-top: 2rem;
        font-size: 1.25rem;
    }
}

/* ================= THEMES SECTION ================= */
.themes {
    padding: 80px 0;
    background: var(--bg-light);
}

.themes-slider {
    display: flex;
    overflow-x: auto;
    gap: 24px;
    padding: 32px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.themes-slider::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.theme-card {
    min-width: 300px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    scroll-snap-align: start;
    text-decoration: none;
    display: block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.theme-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}


.theme-preview {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}


.theme-name {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 1.25rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
}

/* ================= HERO SECTIONS ================= */
.main-hero {
    padding: 10rem 0 6rem;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
}

.main-hero h1 {
    font-size: 4.5rem;
    max-width: 900px;
    margin: 0 auto 1.5rem;
    line-height: 1.1;
}

.main-hero .lead {
    font-size: 1.5rem;
    max-width: 750px;
    margin: 0 auto 3rem;
    color: var(--secondary);
}

.hero {
    padding: 4rem 0 6rem;
}

@media (max-width: 768px) {
    .main-hero h1 {
        font-size: 2.75rem;
    }

    .main-hero .lead {
        font-size: 1.25rem;
    }

    .main-hero {
        padding: 6rem 0 4rem;
    }
}


/* ================= BANNER SECTION ================= */
.section-banner {
    padding: 5rem 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.banner-text {
    font-size: 1.85rem;
    max-width: 950px;
    margin: 0 auto;
    color: var(--primary);
    line-height: 1.5;
    font-weight: 500;
}

.banner-text strong {
    color: var(--accent);
}

@media (max-width: 768px) {
    .banner-text {
        font-size: 1.35rem;
    }
}


/* ================= VISUALS / FEATURES GRID ================= */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }
}

.feature-block {
    margin-bottom: 3rem;
}

.feature-block:last-child {
    margin-bottom: 0;
}

/* ================= IFRAME / INTEGRATION ================= */
.code-block {
    background: #1f2937;
    color: #f3f4f6;
    padding: 1.5rem;
    border-radius: 8px;
    font-family: monospace;
    overflow-x: auto;
    margin-top: 1rem;
    text-align: left
}


/* ================= PRICING ================= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.price-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: left;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.price-card.pro {
    border-color: var(--accent);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
}

.price-card.ultimate {
    background: var(--primary);
    color: #fff;
    border: none;
}

.price-card.ultimate .price-cost,
.price-card.ultimate .price-tier {
    color: #fff;
}

.price-card.ultimate .price-sub,
.price-card.ultimate .price-features li {
    color: #d1d5db;
}

.price-tier {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.price-cost {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary);
}

.price-sub {
    font-size: 0.875rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.price-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.price-features li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-features li::before {
    content: "✓";
    color: var(--accent);
    font-weight: bold;
}

/* ================= CTA ================= */
.cta-section {
    text-align: center;
    padding: 6rem 0;
    background: var(--primary);
    color: #fff;
}

.cta-section h2 {
    color: #fff;
}

.cta-section p {
    color: #d1d5db;
}

.btn-primary,
.contact-button {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 1rem;
    transition: background 0.2s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover,
.contact-button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.contact-section {
    text-align: center;
    padding: 6rem 0;
    background: var(--primary);
    color: #fff;
}

.contact-section h2 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.contact-description {
    color: #d1d5db;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #d1d5db;
    font-size: 1.125rem;
}

.contact-icon {
    color: var(--accent);
    font-size: 24px;
}

.contact-text {
    font-weight: 500;
}

@media (max-width: 768px) {
    .contact-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ================= FOOTER ================= */
.footer {
    background-color: #0b0f19;
    /* Slightly darker than primary for depth */
    color: #9ca3af;
    padding: 5rem 0 4rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.1em;
}

.footer-subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.footer-info {
    display: flex;
    gap: 0.75rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
    justify-content: center;
    color: #6b7280;
}

.footer-info span {
    display: flex;
    align-items: center;
}

.footer-impresion {
    font-size: 0.8rem;
    color: #4b5563;
    max-width: 600px;
    margin: 1rem auto;
}

.footer-subtitle a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-subtitle a:hover {
    color: #fff;
}

@media (max-width: 640px) {
    .footer-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-info span:nth-child(even) {
        display: none;
    }
}

/* ================= FAQ SECTION ================= */
.faq-section {
    padding: 6rem 0;
    background-color: var(--primary);
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-section h2 {
    color: #fff;
    margin-bottom: 3rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0.5rem;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question .faq-icon {
    font-size: 24px;
    transition: transform 0.3s ease;
    color: #9ca3af;
}

.faq-item.active .faq-question {
    color: var(--accent);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #d1d5db;
    font-size: 1rem;
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 800px;
    /* Increased for longer answers */
    padding-bottom: 1.5rem;
}