/* okanc Landing Page & Site Design System - Light Theme v2.1 */
:root {
    --color-bg: #f8fafc;
    --color-surface: #ffffff;
    --color-surface-hover: #f1f5f9;
    --color-text: #0f172a;
    --color-text-muted: #475569;
    --color-accent: #2563eb;
    --color-accent-hover: #1d4ed8;
    --color-accent-light: #eff6ff;
    --color-accent-border: #bfdbfe;
    --color-secondary: #0d9488;
    --color-success: #16a34a;
    --color-danger: #dc2626;
    --color-border: #e2e8f0;
    --color-card-bg: #ffffff;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --elevation-1: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --elevation-2: 0 10px 25px -5px rgba(37, 99, 235, 0.08), 0 8px 10px -6px rgba(37, 99, 235, 0.04);
    --elevation-3: 0 20px 30px -10px rgba(37, 99, 235, 0.12), 0 10px 15px -5px rgba(15, 23, 42, 0.05);

    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --spring-transition: transform .28s cubic-bezier(.34, 1.56, .64, 1), box-shadow .28s ease, background-color .2s ease, color .2s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Buttons */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 28px;
    background: var(--color-accent);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--spring-transition);
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
    outline: none;
    line-height: 1.2;
}

.cta-btn:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.cta-btn:focus-visible {
    outline: 3px solid var(--color-accent-border);
    outline-offset: 2px;
}

.cta-btn.secondary {
    background: var(--color-surface);
    color: var(--color-accent);
    border: 2px solid var(--color-accent-border);
    box-shadow: none;
}

.cta-btn.secondary:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

/* Header & Nav */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 40px;
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--color-accent);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

.navbar-nav a {
    color: var(--color-text-muted);
    font-weight: 600;
    transition: color 0.2s ease;
    font-size: 0.95rem;
    padding: 8px 0;
}

.navbar-nav a:hover, .navbar-nav a:focus-visible {
    color: var(--color-accent);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text);
    cursor: pointer;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
}

/* Hero Section */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0 80px;
    gap: 40px;
}

.header-content {
    flex: 1.1;
}

.header-visual {
    flex: 0.9;
    position: relative;
}

.header-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-accent-border);
    color: var(--color-accent);
    font-size: 0.875rem;
    margin-bottom: 24px;
    background: var(--color-accent-light);
    font-weight: 700;
}

.header h1 {
    font-size: 3.25rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--color-text);
    line-height: 1.15;
    letter-spacing: -1px;
}

.header-gradient-text {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #2563eb;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

/* Trust Pills (Section 6.1) */
.trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-weight: 600;
    box-shadow: var(--elevation-1);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 16px;
}

.trust-microcopy {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* SVG Graphic for Visual */
.hero-svg-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--elevation-3);
    position: relative;
    overflow: hidden;
}

.terminal-box {
    background: #0f172a;
    border-radius: var(--radius-md);
    padding: 24px;
    color: #38bdf8;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.95rem;
    line-height: 1.8;
}

.terminal-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.svg-wave {
    width: 100%;
    height: 60px;
    margin-top: 16px;
}

.svg-path-anim {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: dash 3s linear infinite;
}

@keyframes dash {
    to { stroke-dashoffset: 0; }
}

/* Promo Banner (Section 6.3) */
.promo-banner {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px dashed var(--color-accent);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    text-align: center;
    font-weight: 700;
    color: var(--color-accent-hover);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

/* Pricing Grid */
.pricing-section-title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--color-text);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
    position: relative;
}

.pricing-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--elevation-1);
    transition: var(--spring-transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--elevation-2);
    border-color: var(--color-accent-border);
}

.pricing-card.popular {
    border: 2px solid var(--color-accent);
    box-shadow: var(--elevation-3);
    background: #ffffff;
}

.popular-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: #ffffff;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--color-text);
}

.price-amount {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--color-text);
    line-height: 1;
}

.price-amount span {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.price-features {
    list-style: none;
    margin-bottom: 28px;
    text-align: left;
    flex-grow: 1;
}

.price-features li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 28px;
    color: var(--color-text-muted);
    font-size: 0.975rem;
}

.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: 900;
    color: var(--color-accent);
}

.price-guarantee-note {
    font-size: 0.825rem;
    color: var(--color-text-muted);
    margin-top: 10px;
    display: block;
}

/* Section titles */
.section-title {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 40px;
    font-weight: 800;
    color: var(--color-text);
}

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

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 24px;
    margin-bottom: 80px;
}

.bento-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    box-shadow: var(--elevation-1);
    transition: var(--spring-transition);
}

.bento-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--elevation-2);
    border-color: var(--color-accent-border);
}

.bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
    border: 1px solid var(--color-accent-border);
}

.bento-item.medium {
    grid-column: span 2;
}

.bento-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 800;
    color: var(--color-text);
}

.bento-item p {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.native-ip-tag {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--color-accent-light);
    color: var(--color-accent);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    border: 1px solid var(--color-accent-border);
    font-weight: 700;
}

.bento-icon {
    font-size: 2.75rem;
    margin-bottom: auto;
}

/* Core Advantages Grid */
.adv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.adv-card {
    background: var(--color-surface);
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--elevation-1);
    transition: var(--spring-transition);
}

.adv-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--elevation-2);
}

.adv-icon {
    font-size: 2.25rem;
    margin-bottom: 16px;
    color: var(--color-accent);
}

.adv-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--color-text);
    font-weight: 700;
}

.adv-card p {
    color: var(--color-text-muted);
    line-height: 1.6;
    font-size: 0.975rem;
}

/* Article Cards Section */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.article-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--elevation-1);
    transition: var(--spring-transition);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--elevation-2);
    border-color: var(--color-accent-border);
}

.article-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--color-accent);
    font-weight: 700;
    line-height: 1.4;
}

.article-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: auto;
}

/* Reviews Grid */
.review-section {
    margin-bottom: 80px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: var(--color-surface);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--elevation-1);
}

.stars {
    color: #f59e0b;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.review-text {
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-accent-light);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 80px;
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: var(--elevation-1);
}

.faq-item h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item h3::before {
    content: 'Q:';
    color: var(--color-accent);
    font-weight: 900;
}

.faq-item p {
    color: var(--color-text-muted);
    padding-left: 28px;
    font-size: 0.975rem;
    line-height: 1.7;
}

/* Bottom CTA */
.bottom-cta {
    text-align: center;
    margin-bottom: 80px;
    padding: 60px 40px;
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-accent-border);
    box-shadow: var(--elevation-2);
}

.bottom-cta h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
    color: var(--color-text);
    font-weight: 800;
}

.bottom-cta p {
    color: var(--color-text-muted);
    margin-bottom: 32px;
    font-size: 1.1rem;
}

.bottom-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 50px 0 30px;
    margin-top: 60px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-links a {
    color: #94a3b8;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #ffffff;
}

.copyright {
    font-size: 0.875rem;
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    color: #64748b;
}

/* Sticky Mobile CTA Bar (Section 6.4) */
.sticky-mobile-bar {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }
    
    .sticky-mobile-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 68px;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid var(--color-border);
        z-index: 9000;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    }
    
    .sticky-mobile-bar .cta-btn {
        flex: 1;
        min-height: 44px;
        padding: 10px 14px;
        font-size: 0.9rem;
        box-shadow: none;
    }

    .sticky-mobile-bar.hidden {
        display: none !important;
    }
}

/* Desktop Exit-Intent Popup (Section 6.5) */
.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop.active {
    display: flex;
}

.modal-box {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: var(--elevation-3);
    border: 1px solid var(--color-border);
    animation: modalPop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--color-text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 6px;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover {
    color: var(--color-text);
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 12px;
}

.modal-body {
    font-size: 0.975rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.coupon-box {
    background: var(--color-accent-light);
    border: 2px dashed var(--color-accent);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.coupon-code {
    font-family: ui-monospace, SFMono-Regular, monospace;
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--color-accent);
    letter-spacing: 1px;
}

.copy-btn {
    background: var(--color-accent);
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    min-height: 38px;
    transition: background-color 0.2s ease;
}

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

.modal-trust-line {
    font-size: 0.825rem;
    color: var(--color-text-muted);
    margin-top: 14px;
    display: block;
}

/* Accessibility & Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Responsive Layout Breakpoints */
@media (max-width: 992px) {
    .header {
        flex-direction: column;
        text-align: center;
        padding-top: 10px;
    }

    .trust-pills {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .trust-microcopy {
        justify-content: center;
    }

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

    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .bento-item.large, .bento-item.medium {
        grid-column: span 1;
        grid-row: auto;
        min-height: 220px;
    }

    .adv-grid, .review-grid, .article-grid {
        grid-template-columns: 1fr;
    }

    .header h1 {
        font-size: 2.35rem;
    }

    .nav-toggle {
        display: block;
    }

    .navbar-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 12px;
        padding-top: 16px;
        border-top: 1px solid var(--color-border);
    }

    .navbar-nav.active {
        display: flex;
    }

    .navbar {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .header h1 {
        font-size: 1.95rem;
    }

    .pricing-card {
        padding: 28px 20px;
    }

    .modal-box {
        padding: 28px 20px;
    }
}
