/* ============================================================================
   AdVixo — Homepage Styles
   Imports the shared design system and adds homepage-specific layouts.
   ============================================================================ */

/* ─── Navigation ─────────────────────────────────────────────────────────── */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background-color: rgba(250, 249, 245, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-base), background-color var(--transition-base), box-shadow var(--transition-base);
}

[data-theme="dark"] .site-header {
    background-color: rgba(20, 20, 19, 0.85);
}

.site-header--scrolled {
    border-bottom-color: var(--border-default);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 32px;
}

.nav__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav__logo-svg {
    height: 28px;
    width: auto;
    display: block;
}

.nav__links {
    display: none;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav__link:hover {
    color: var(--text-primary);
    background-color: var(--bg-secondary);
}

.nav__actions {
    display: none;
    align-items: center;
    gap: 12px;
}

.nav__hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-primary);
    border-radius: var(--radius-md);
    transition: background-color var(--transition-fast);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.nav__hamburger svg {
    width: 24px;
    height: 24px;
}

.nav__hamburger:hover {
    background-color: var(--bg-secondary);
}

.nav__hamburger[aria-expanded="true"] .hamburger-top {
    transform: translateY(6px) rotate(45deg);
    transform-origin: center;
}

.nav__hamburger[aria-expanded="true"] .hamburger-mid {
    opacity: 0;
}

.nav__hamburger[aria-expanded="true"] .hamburger-bot {
    transform: translateY(-6px) rotate(-45deg);
    transform-origin: center;
}

.hamburger-top,
.hamburger-mid,
.hamburger-bot {
    transition: transform var(--transition-base), opacity var(--transition-base);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-primary);
    z-index: calc(var(--z-fixed) - 1);
    overflow-y: auto;
}

.mobile-menu--open {
    display: block;
    animation: slideDown 200ms ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-menu__inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 20px 32px;
}

.mobile-menu__link {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: background-color var(--transition-fast);
}

.mobile-menu__link:hover {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.mobile-menu__divider {
    border: none;
    border-top: 1px solid var(--border-default);
    margin: 12px 0;
}

@media (min-width: 768px) {
    .nav__links {
        display: flex;
    }

    .nav__actions {
        display: flex;
    }

    .nav__hamburger {
        display: none;
    }

    .mobile-menu {
        display: none !important;
    }
}


/* ─── Buttons ────────────────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 10px 20px;
    white-space: nowrap;
}

.btn--sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn--lg {
    padding: 14px 28px;
    font-size: 15px;
    border-radius: var(--radius-lg);
}

.btn--primary {
    background-color: var(--accent);
    color: var(--accent-text);
}

.btn--primary:hover {
    background-color: var(--accent-hover);
    color: var(--accent-text);
}

.btn--ghost {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-default);
}

.btn--ghost:hover {
    background-color: var(--bg-secondary);
    border-color: var(--border-strong);
    color: var(--text-primary);
}

.w-full {
    width: 100%;
}


/* ─── Hero Section ───────────────────────────────────────────────────────── */

.hero {
    position: relative;
    padding: 120px 0 60px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 119, 87, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero__content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.hero__title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero__ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero__trust {
    margin-top: 64px;
    text-align: center;
}

.hero__trust-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.hero__trust-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hero__stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.hero__stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

@media (min-width: 768px) {
    .hero {
        padding: 140px 0 80px;
    }

    .hero__title {
        font-size: 52px;
    }

    .hero__subtitle {
        font-size: 18px;
    }

    .hero__trust-stats {
        gap: 48px;
    }

    .hero__stat-value {
        font-size: 32px;
    }
}

@media (min-width: 1200px) {
    .hero {
        padding: 160px 0 100px;
    }

    .hero__title {
        font-size: 62px;
    }

    .hero__subtitle {
        font-size: 19px;
    }
}


/* ─── Section Defaults ───────────────────────────────────────────────────── */

.section {
    padding: 64px 0;
}

.section__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.section__title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section__subtitle {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

@media (min-width: 768px) {
    .section {
        padding: 96px 0;
    }

    .section__header {
        margin-bottom: 64px;
    }

    .section__title {
        font-size: 36px;
    }

    .section__subtitle {
        font-size: 17px;
    }
}

@media (min-width: 1200px) {
    .section {
        padding: 120px 0;
    }

    .section__title {
        font-size: 40px;
    }
}


/* ─── Products Section ───────────────────────────────────────────────────── */

.products {
    background-color: var(--bg-primary);
}

.products__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .products__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

.product-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.product-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}

.product-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-subtle);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    color: var(--accent);
}

.product-card__icon svg {
    width: 24px;
    height: 24px;
}

.product-card__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.product-card__desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.product-card__formats {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-card__formats li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.product-card__formats li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.product-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: gap var(--transition-base);
}

.product-card__link:hover {
    gap: 10px;
    color: var(--accent-hover);
}

.product-card__link svg {
    width: 16px;
    height: 16px;
}

@media (min-width: 768px) {
    .product-card {
        padding: 40px;
    }
}


/* ─── Why Join / Features Grid ───────────────────────────────────────────── */

.why-join {
    background-color: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 24px;
    }
}

.feature-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.feature-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-card__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-subtle);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    color: var(--accent);
}

.feature-card__icon svg {
    width: 22px;
    height: 22px;
}

.feature-card__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-card__desc {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0;
}

@media (min-width: 768px) {
    .feature-card {
        padding: 32px;
    }
}


/* ─── How It Works ───────────────────────────────────────────────────────── */

.how-it-works {
    background-color: var(--bg-primary);
}

.steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 240px;
    position: relative;
}

.step__number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.step__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-subtle);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    color: var(--accent);
}

.step__icon svg {
    width: 24px;
    height: 24px;
}

.step__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step__desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.step__connector {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), var(--border-default));
    border-radius: 1px;
    margin: 8px 0;
}

@media (min-width: 768px) {
    .steps {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 0;
    }

    .step__connector {
        width: 60px;
        height: 2px;
        background: linear-gradient(to right, var(--accent), var(--border-default));
        margin: 18px 0 0;
        align-self: flex-start;
        flex-shrink: 0;
    }
}

@media (min-width: 1024px) {
    .step__connector {
        width: 80px;
    }

    .step {
        max-width: 200px;
    }
}


/* ─── Payment Methods ────────────────────────────────────────────────────── */

.payments {
    background-color: var(--bg-secondary);
}

.payments__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    min-width: 140px;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.payment-method:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
}

.payment-method__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.payment-method__icon svg {
    width: 28px;
    height: 28px;
}

.payment-method__name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

.payments__info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.payments__detail {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
}

.payments__detail svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.payments__detail div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.payments__detail strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.payments__detail span {
    font-size: 13px;
    color: var(--text-secondary);
}

@media (min-width: 640px) {
    .payments__info {
        flex-direction: row;
        max-width: 800px;
    }

    .payments__detail {
        flex: 1;
    }
}


/* ─── FAQ Section ────────────────────────────────────────────────────────── */

.faq {
    background-color: var(--bg-primary);
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq__item {
    border-bottom: 1px solid var(--border-default);
}

.faq__item:first-child {
    border-top: 1px solid var(--border-default);
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
    background: none;
    border: none;
    gap: 16px;
    transition: color var(--transition-fast);
}

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

.faq__question span {
    flex: 1;
}

.faq__chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform var(--transition-base);
    color: var(--text-muted);
}

.faq__item--open .faq__chevron {
    transform: rotate(180deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease, padding 300ms ease;
}

.faq__item--open .faq__answer {
    max-height: 400px;
}

.faq__answer p {
    padding: 0 0 20px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

@media (min-width: 768px) {
    .faq__question {
        font-size: 16px;
        padding: 24px 0;
    }

    .faq__answer p {
        font-size: 15px;
        padding-bottom: 24px;
    }
}


/* ─── CTA Section ────────────────────────────────────────────────────────── */

.cta-section {
    background-color: var(--bg-secondary);
}

.cta-block {
    text-align: center;
    padding: 48px 24px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
}

.cta-block__title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.cta-block__subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .cta-block {
        padding: 72px 48px;
    }

    .cta-block__title {
        font-size: 36px;
    }

    .cta-block__subtitle {
        font-size: 18px;
    }
}


/* ─── Footer ─────────────────────────────────────────────────────────────── */

.site-footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-default);
    padding: 48px 0 32px;
}

.footer__top {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__brand {
    max-width: 260px;
}

.footer__logo-svg {
    height: 28px;
    width: auto;
    display: block;
    margin-bottom: 12px;
}

.footer__tagline {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.footer__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__heading {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.footer__col a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer__col a:hover {
    color: var(--accent);
}

.footer__bottom {
    border-top: 1px solid var(--border-default);
    padding-top: 24px;
}

.footer__copyright {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

@media (min-width: 768px) {
    .footer__top {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer__links {
        grid-template-columns: repeat(3, auto);
        gap: 48px;
    }

    .site-footer {
        padding: 64px 0 40px;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   SUB-PAGE COMPONENTS (Publishers & Advertisers)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Hero Badge Pill ────────────────────────────────────────────────────── */

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--accent-subtle);
    color: var(--accent);
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero__badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}


/* ─── Value Grid (Features for sub-pages) ────────────────────────────────── */

.value-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .value-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    .value-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.value-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.value-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.value-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-subtle);
    color: var(--accent);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.value-card__icon svg {
    width: 24px;
    height: 24px;
}

.value-card__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.value-card__desc {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0;
}

@media (min-width: 768px) {
    .value-card {
        padding: 32px;
    }

    .value-card__title {
        font-size: 20px;
    }
}


/* ─── Checklist Item (checkmark + text) ──────────────────────────────────── */

.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
}

.checklist__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
}

.checklist__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent);
}


/* ─── Niche / Industry Tags ──────────────────────────────────────────────── */

.niche-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (min-width: 640px) {
    .niche-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
}

@media (min-width: 1024px) {
    .niche-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.niche-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.niche-tag:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
}

.niche-tag svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--accent);
}


/* ─── Industry Tag Cloud (wrap layout) ───────────────────────────────────── */

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.industry-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-surface);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-default);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.industry-tag:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
}

.industry-tag svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--accent);
}


/* ─── Two-Column Split Layout ────────────────────────────────────────────── */

.split-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .split-section {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

.split-section__panel {
    background-color: var(--bg-surface);
    padding: 32px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-default);
}

@media (min-width: 768px) {
    .split-section__panel {
        padding: 40px;
    }
}

.split-section__title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.25;
}

@media (min-width: 768px) {
    .split-section__title {
        font-size: 32px;
    }
}

.split-section__desc {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 15px;
}


/* ─── Onboarding Steps ──────────────────────────────────────────────────── */

.onboarding-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .onboarding-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    .onboarding-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.onboarding-step {
    text-align: center;
    padding: 24px 16px;
}

.onboarding-step__number {
    width: 40px;
    height: 40px;
    background-color: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 16px;
    font-weight: 700;
    font-size: 16px;
}

.onboarding-step__title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.onboarding-step__desc {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}


/* ─── Dashboard Preview Mockup ───────────────────────────────────────────── */

.dashboard-preview {
    background-color: var(--bg-surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-default);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.dashboard-preview__bar {
    background-color: var(--bg-secondary);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-default);
}

.dashboard-preview__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dashboard-preview__dot--red { background-color: #ef4444; }
.dashboard-preview__dot--yellow { background-color: #eab308; }
.dashboard-preview__dot--green { background-color: #22c55e; }

.dashboard-preview__url {
    font-size: 11px;
    color: var(--text-muted);
    font-family: monospace;
    margin-left: 12px;
}

.dashboard-preview__body {
    padding: 24px;
}

.dashboard-preview__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.dashboard-preview__card {
    background-color: var(--bg-secondary);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-default);
}

.dashboard-preview__card-label {
    font-size: 11px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
}

.dashboard-preview__card-value {
    font-size: 20px;
    font-weight: 700;
}

.dashboard-preview__card-value--accent {
    color: var(--accent);
}

.dashboard-preview__chart {
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-default);
    padding: 20px;
    height: 120px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.dashboard-preview__chart-bar {
    flex: 1;
    background-color: var(--accent);
    border-radius: 3px 3px 0 0;
    min-height: 8px;
}


/* ─── Feature Row (icon + text side by side) ─────────────────────────────── */

.feature-row {
    display: grid;
    gap: 16px;
}

.feature-row__item {
    display: flex;
    gap: 14px;
}

.feature-row__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-color: var(--accent-subtle);
    color: var(--accent);
    border-radius: var(--radius-md);
}

.feature-row__icon svg {
    width: 20px;
    height: 20px;
}

.feature-row__title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.feature-row__desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}


/* ─── Stats Row ──────────────────────────────────────────────────────────── */

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.stat-block {
    background-color: var(--bg-surface);
    padding: 28px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-default);
    text-align: center;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.stat-block:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
}

.stat-block__value {
    font-size: 28px;
    color: var(--accent);
    font-weight: 700;
    display: block;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .stat-block__value {
        font-size: 36px;
    }
}

.stat-block__label {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


/* ─── Pricing Cards ──────────────────────────────────────────────────────── */

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 32px;
    }
}

.pricing-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-default);
    padding: 36px 28px;
    border-radius: var(--radius-xl);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
    border: 2px solid var(--accent);
    box-shadow: 0 10px 30px rgba(217, 119, 87, 0.08);
}

.pricing-card--featured:hover {
    border-color: var(--accent);
    box-shadow: 0 16px 40px rgba(217, 119, 87, 0.16);
}

.pricing-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent);
    color: #fff;
    padding: 4px 16px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(217, 119, 87, 0.24);
}

.pricing-card__name {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 600;
}

.pricing-card__name--featured {
    color: var(--accent);
    font-weight: 700;
}

.pricing-card__price-wrap {
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.pricing-card__price {
    font-size: 38px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.pricing-card__price-unit {
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-card__volume {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent);
    display: block;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-default);
}

.pricing-card__volume-unit {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
}

.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    text-align: left;
    display: grid;
    gap: 12px;
}

.pricing-card__feature {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.4;
}

.pricing-card__feature svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--success);
}

@media (min-width: 768px) {
    .pricing-card {
        padding: 40px 32px;
    }
}


/* ─── Process Steps (numbered) ───────────────────────────────────────────── */

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .process-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.process-step {
    background-color: var(--bg-surface);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-default);
    text-align: center;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.process-step:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
}

.process-step__number {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 12px;
}

.process-step__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.process-step__desc {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}


/* ─── Ad Format Cards ────────────────────────────────────────────────────── */

.ad-format-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 480px) {
    .ad-format-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 768px) {
    .ad-format-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 24px;
    }
}

.ad-format-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-default);
    padding: 24px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.ad-format-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}

.ad-format-card__preview {
    border: 2px dashed var(--text-muted);
    background-color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    max-width: 100%;
    box-sizing: border-box;
}

.ad-format-card__name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.ad-format-card__desc {
    color: var(--text-secondary);
    font-size: 13px;
    margin: 0;
}


/* ─── Contact Form (Advertisers) ─────────────────────────────────────────── */

.contact-form-wrap {
    background-color: var(--bg-surface);
    padding: 36px 24px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-default);
    box-shadow: var(--shadow-md);
    max-width: 700px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-form-wrap {
        padding: 48px;
    }
}

.contact-form-wrap__title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .contact-form-wrap__title {
        font-size: 28px;
    }
}

.contact-form-wrap__desc {
    color: var(--text-secondary);
    text-align: center;
    font-size: 14px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.form-grid {
    display: grid;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-subtle);
}

.form-input::placeholder {
    color: var(--text-muted);
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}


/* ─── Sub-page Sections Backgrounds ──────────────────────────────────────── */

.section--surface {
    background-color: var(--bg-surface);
}

.section--alt {
    background-color: var(--bg-secondary);
}


/* ─── FAQ variant for sub-pages (card style) ─────────────────────────────── */

.faq--cards .faq__list {
    display: grid;
    gap: 12px;
}

.faq--cards .faq__item {
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    border-bottom: 1px solid var(--border-default);
    overflow: hidden;
}

.faq--cards .faq__item:first-child {
    border-top: 1px solid var(--border-default);
}

.faq--cards .faq__question {
    background-color: var(--bg-secondary);
    padding: 18px 24px;
}

.faq--cards .faq__answer p {
    padding: 16px 24px 20px;
}

.faq--cards .faq__item--open .faq__answer {
    max-height: 500px;
}


/* ─── Success Toast (for advertiser contact form) ────────────────────────── */

.form-toast {
    display: none;
    text-align: center;
    padding: 20px;
    background-color: var(--accent-subtle);
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    margin-top: 16px;
    animation: fadeInUp 300ms ease;
}

.form-toast--visible {
    display: block;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── Industry Cards ─────────────────────────────────────────────────────── */

.industry-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .industry-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.industry-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
    height: 100%;
}

.industry-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}

.industry-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.industry-card__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-subtle);
    border-radius: var(--radius-md);
    color: var(--accent);
}

.industry-card__icon svg {
    width: 22px;
    height: 22px;
}

.industry-card__badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    background-color: var(--accent-subtle);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.industry-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.industry-card__desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
    flex-grow: 1;
}

.industry-card__tags {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.industry-card__tag {
    font-size: 11px;
    padding: 4px 8px;
    background-color: var(--bg-secondary);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 500;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.industry-card:hover .industry-card__tag {
    background-color: var(--bg-inset);
    color: var(--text-primary);
}
/* ─── Contact Split Layout ────────────────────────────────────────────────── */

.contact-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .contact-split {
        grid-template-columns: 4fr 6fr;
        gap: 64px;
    }
}

.contact-split__info {
    padding-top: 16px;
}

.contact-split__title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.contact-split__desc {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 36px;
}

.social-contacts {
    display: grid;
    gap: 16px;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    text-decoration: none;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.social-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
}

.social-card__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.social-card:hover .social-card__icon {
    background-color: var(--accent-subtle);
    color: var(--accent);
}

.social-card__icon svg {
    width: 20px;
    height: 20px;
}

.social-card__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.social-card__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.social-card__handle {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}


/* ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Scroll Animations ──────────────────────────────────────────────────── */

[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms ease, transform 600ms ease;
}

[data-animate].animate-in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    [data-animate] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
