/* marketing.css - shared base styles (all 5 marketing pages) */

:root {
    --brand: oklch(54% 0.22 263);
    --brand-hover: oklch(48% 0.21 263);
    --brand-subtle: oklch(94% 0.06 265);
    --brand-softer: oklch(97% 0.035 263);
    --brand-line: oklch(83% 0.10 263);
    --ink-strongest: oklch(21% 0.016 258);
    --ink-strong: oklch(27% 0.014 258);
    --ink-section: oklch(37% 0.012 258);
    --ink-body: oklch(45% 0.011 258);
    --ink-muted: oklch(49% 0.010 258);
    --ink-faint: oklch(69% 0.007 258);
    --surface: oklch(99.3% 0.002 258);
    --surface-sunk: oklch(98% 0.003 258);
    --surface-page: oklch(97% 0.005 258);
    --line: oklch(91% 0.005 258);
    --line-soft: oklch(96% 0.004 258);
    --success-bg: oklch(94% 0.06 150);
    --success-fg: oklch(38% 0.11 150);
    --danger-fg: oklch(40% 0.15 25);
    --ink-on-dark: oklch(99% 0.003 258);
    --ink-on-dark-muted: oklch(72% 0.008 258);
    --surface-dark: oklch(21% 0.016 258);
    --surface-dark-deep: oklch(27% 0.014 258);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-pill: 9999px;
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 12px;
    --space-lg: 16px;
    --space-xl: 24px;
    --space-2xl: 32px;
    --space-3xl: 48px;
    --space-4xl: 64px;
    --space-5xl: 96px;
    --shadow-sm: 0 2px 6px -2px oklch(20% 0.04 263 / 0.08), 0 1px 1px oklch(20% 0.04 263 / 0.06);
    --shadow-md: 0 8px 22px -4px oklch(20% 0.04 263 / 0.10), 0 2px 4px oklch(20% 0.04 263 / 0.05);
    --shadow-pop: 0 18px 28px -8px oklch(20% 0.04 263 / 0.14), 0 4px 10px -4px oklch(20% 0.04 263 / 0.06);
    --ease-out: cubic-bezier(.22, 1, .36, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--surface-page);
    color: var(--ink-strong);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1100px;
    margin-inline: auto;
    padding-inline: 20px;
}

section {
    padding-block: var(--space-5xl);
}

h1,
h2,
h3 {
    color: var(--ink-strongest);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
}

.section-header {
    margin-bottom: var(--space-3xl);
}

.section-header--center {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    color: var(--ink-body);
    font-size: 18px;
    line-height: 1.6;
    max-width: 65ch;
}

.section-header--center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--brand);
    color: var(--surface);
    padding: var(--space-md) var(--space-xl);
    border-radius: 0 0 var(--radius-sm) 0;
    z-index: 1000;
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus,
.skip-link:focus-visible {
    left: 0;
}

:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.btn-primary {
    background: var(--brand);
    color: var(--surface);
    border: 0;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    font-family: inherit;
    cursor: pointer;
    transition: background 180ms var(--ease-out), transform 120ms var(--ease-out);
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--brand-hover);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-primary--xl {
    padding: 16px 30px;
    font-size: 18px;
}

.btn-primary--hero {
    padding: 18px 32px;
    font-size: 18px;
}

.btn-ghost {
    background: var(--line-soft);
    color: var(--ink-section);
    border: 0;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    font-family: inherit;
    cursor: pointer;
    transition: background 180ms var(--ease-out);
    text-decoration: none;
    display: inline-block;
}

.btn-ghost:hover {
    background: var(--line);
}

.navbar {
    height: 70px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo:hover,
.logo:focus {
    opacity: 0.85;
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links a {
    text-decoration: none;
    color: var(--ink-body);
    font-weight: 500;
    transition: color 180ms var(--ease-out);
}

.nav-links a:hover {
    color: var(--brand);
}

.nav-links .login-btn {
    color: var(--brand);
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink-body);
    border-radius: 2px;
    transition: transform 220ms var(--ease-out), opacity 180ms var(--ease-out);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    text-align: center;
    padding: 100px 20px 80px;
    background: var(--surface);
}

.hero h1 {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    max-width: 880px;
    margin: 0 auto var(--space-lg);
}

.hero p {
    font-size: 20px;
    color: var(--ink-body);
    max-width: 65ch;
    margin: 0 auto var(--space-3xl);
}

.hero .hero-note {
    margin-block: var(--space-md) 0;
    font-size: 14px;
    color: var(--ink-muted);
}

.showcase-wrap {
    position: relative;
}

.showcase-frame {
    position: relative;
    z-index: 1;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-pop);
    overflow: hidden;
}

.showcase-image {
    display: block;
    width: 100%;
    height: auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3xl);
    margin-top: var(--space-3xl);
}

.step {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--line);
}

.step-number {
    display: inline-flex;
    align-items: center;
    padding: 3px var(--space-sm);
    background: var(--brand-subtle);
    color: var(--brand);
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-lg);
}

.step h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.step p {
    color: var(--ink-body);
    font-size: 15px;
    max-width: 52ch;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3xl);
    margin-top: var(--space-3xl);
    align-items: stretch;
}

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: var(--space-2xl) 28px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card h3 {
    font-size: 13px;
    color: var(--ink-muted);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.price {
    font-size: 36px;
    font-weight: 800;
    color: var(--ink-strongest);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xs);
}

.price span {
    font-size: 15px;
    color: var(--ink-muted);
    font-weight: 500;
    letter-spacing: normal;
}

.pricing-features {
    margin: var(--space-xl) 0;
    color: var(--ink-section);
    font-size: 15px;
    text-align: left;
    flex: 1;
}

.pricing-card .btn-primary,
.pricing-card .btn-ghost {
    width: 100%;
}

.pricing-card--pro {
    border: 1px solid var(--brand);
    box-shadow: var(--shadow-pop);
}

.pricing-card--pro h3 {
    color: var(--brand);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand);
    color: var(--surface);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: var(--space-lg) 0;
}

.feature-list li {
    display: flex;
    gap: var(--space-sm);
    font-size: 14px;
    color: var(--ink-section);
    padding: 6px 0;
    line-height: 1.5;
}

.feature-list li::before {
    content: "✓";
    color: var(--brand);
    font-weight: 700;
    flex: 0 0 auto;
}

.roi-callout {
    margin-top: var(--space-3xl);
    background: var(--brand-softer);
    border: 1px solid var(--brand-line);
    border-radius: var(--radius-md);
    padding: var(--space-2xl);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-lg);
}

.roi-callout p {
    font-size: 16px;
    color: var(--ink-section);
    max-width: 64ch;
    line-height: 1.65;
    margin: 0;
    text-align: left;
}

.roi-callout-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-top: 2px;
    border-radius: 999px;
    background: var(--brand);
    color: var(--surface);
}

.roi-callout b {
    color: var(--brand);
}

.topup-intro {
    text-align: center;
    font-size: 15px;
    color: var(--ink-muted);
    margin-top: var(--space-4xl);
    margin-bottom: var(--space-lg);
    font-weight: 500;
}

.topup-strip {
    background: var(--surface-sunk);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: var(--space-xl) var(--space-2xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.topup-strip-text h3 {
    margin: 0 0 var(--space-xs);
    font-size: 18px;
    font-weight: 600;
    color: var(--ink-strongest);
    letter-spacing: -0.01em;
}

.topup-strip-text p {
    margin: 0;
    font-size: 14px;
    color: var(--ink-muted);
}

.topup-strip .btn-primary {
    white-space: nowrap;
    flex: 0 0 auto;
}

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

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
    border-top: 1px solid var(--line);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    padding: var(--space-xl) var(--space-sm);
    margin-inline: calc(var(--space-sm) * -1);
    font-size: 17px;
    font-weight: 600;
    color: var(--ink-strong);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    gap: var(--space-lg);
    transition: color 180ms var(--ease-out);
}

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

.faq-answer-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 280ms var(--ease-out);
}

.faq-item.active .faq-answer-wrap {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
}

.faq-answer {
    padding-bottom: var(--space-xl);
    color: var(--ink-body);
    font-size: 15px;
    line-height: 1.65;
    max-width: 65ch;
}

.faq-icon {
    color: var(--brand);
    font-size: 22px;
    line-height: 1;
    transition: transform 220ms var(--ease-out);
    flex: 0 0 auto;
    font-weight: 300;
}

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

.footer-cta {
    background: var(--surface-dark);
    color: var(--ink-on-dark);
    text-align: center;
    padding: 80px 20px;
}

.footer-cta h2 {
    color: var(--ink-on-dark);
    margin-bottom: var(--space-2xl);
}

.footer-bottom {
    text-align: center;
    padding: var(--space-2xl) 30px;
    color: var(--ink-on-dark-muted);
    font-size: 14px;
    background: var(--surface-dark-deep);
}

.footer-bottom-inner {
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--ink-on-dark-muted);
    text-decoration: none;
    transition: color 180ms var(--ease-out);
}

.footer-link:hover {
    color: var(--ink-on-dark);
}

@media (max-width: 1024px) {
    .pricing-card--pro {
        box-shadow: var(--shadow-md);
    }

    .steps-grid {
        gap: var(--space-2xl);
    }

}

@media (max-width: 768px) {
    section {
        padding-block: var(--space-4xl);
    }

    .hero {
        padding: 80px 20px 48px;
    }

    .hero p {
        font-size: 18px;
    }

    .topup-strip {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 20px 24px;
    }

    .topup-intro {
        margin-top: var(--space-3xl);
    }

    .navbar {
        padding: 0 20px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--surface);
        padding: 8px 20px 16px;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-sm);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 14px 4px;
        border-bottom: 1px solid var(--line-soft);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}
