/* ==========================================================================
   FIN NOTE - MODERN AESTHETIC DESIGN SYSTEM
   Theme: Sharp Calm Dark / Emerald FinTech
   Supports: Desktop (1200px+), Tablet (768px-1024px), Mobile (320px-767px)
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-base: #060907;
    --bg-surface: #0c120f;
    --bg-card: #111a15;
    --bg-card-alt: #16221c;
    --bg-card-hover: #182720;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.14);
    --border-emerald: rgba(16, 185, 129, 0.28);
    --border-focus: #10b981;
    
    --primary: #10b981;
    --primary-mint: #34d399;
    --primary-light: #6ee7b7;
    --primary-dark: #064e3b;
    --primary-container: rgba(16, 185, 129, 0.12);
    --primary-border: rgba(16, 185, 129, 0.25);
    --primary-glow: rgba(16, 185, 129, 0.2);

    --accent-amber: #f59e0b;
    --accent-amber-bg: rgba(245, 158, 11, 0.1);
    --accent-amber-border: rgba(245, 158, 11, 0.25);
    
    --accent-danger: #ef4444;
    --accent-danger-bg: rgba(239, 68, 68, 0.1);
    --accent-danger-border: rgba(239, 68, 68, 0.3);

    --text-heading: #ffffff;
    --text-main: #cbd5e1;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    /* Typography */
    --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, monospace;

    /* Border Radii */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-pill: 9999px;

    /* Shadows & Transitions */
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px -5px rgba(16, 185, 129, 0.2);
    --transition-smooth: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Smoothness */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    background: rgba(8, 13, 10, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-heading);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.22rem;
    letter-spacing: -0.01em;
    flex-shrink: 0;
    transition: opacity 0.15s ease;
}

.brand-logo:hover {
    opacity: 0.9;
}

.brand-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.35);
}

.brand-icon img, .brand-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: #062b16;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 8px;
    transition: var(--transition-smooth);
}

.nav-toggle:hover {
    border-color: var(--primary);
    background: var(--bg-card);
}

.nav-toggle .bar {
    width: 20px;
    height: 2px;
    background-color: var(--text-heading);
    transition: transform 0.25s ease, opacity 0.2s ease, background-color 0.2s ease;
    border-radius: 2px;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--primary-mint);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--primary-mint);
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    transition: var(--transition-smooth);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-heading);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-color);
}

.nav-link.danger-link {
    color: #f87171;
}

.nav-link.danger-link:hover {
    color: #fca5a5;
    background: var(--accent-danger-bg);
    border-color: var(--accent-danger-border);
}

.nav-btn {
    margin-left: 8px;
    background: var(--primary);
    color: #062b16 !important;
    font-weight: 600 !important;
    padding: 7px 16px !important;
    border-radius: var(--radius-pill) !important;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.3);
}

.nav-btn:hover {
    background: var(--primary-mint) !important;
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.45);
}

.nav-link-icon, .nav-link-sub, .nav-link-arrow, .nav-mobile-footer, .nav-backdrop {
    display: none;
}

/* Mobile Navbar (<= 768px) */
@media (max-width: 768px) {
    .nav-container {
        padding: 12px 18px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        top: 60px;
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
        z-index: 998;
    }

    .nav-backdrop.open {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 16, 13, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-bottom: 1px solid var(--border-emerald);
        border-top: 1px solid var(--border-color);
        padding: 16px 18px 24px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9);
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
        animation: navSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        padding: 12px 16px;
        font-size: 0.92rem;
        border-radius: var(--radius-md);
        border: 1px solid var(--border-color);
        background: var(--bg-surface);
        text-align: left;
    }

    .nav-link:hover, .nav-link:active {
        border-color: var(--primary-border);
        background: var(--bg-card);
        transform: translateX(3px);
    }

    .nav-link-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        background: var(--primary-container);
        border: 1px solid var(--primary-border);
        border-radius: var(--radius-sm);
        color: var(--primary-mint);
        flex-shrink: 0;
    }

    .nav-link-icon svg {
        width: 17px;
        height: 17px;
        fill: currentColor;
    }

    .nav-link.danger-link .nav-link-icon {
        background: var(--accent-danger-bg);
        border-color: var(--accent-danger-border);
        color: #f87171;
    }

    .nav-link-text {
        display: flex;
        flex-direction: column;
        gap: 2px;
        flex: 1;
    }

    .nav-link-title {
        font-family: var(--font-display);
        font-size: 0.94rem;
        font-weight: 600;
        color: var(--text-heading);
    }

    .nav-link-sub {
        display: block;
        font-family: var(--font-mono);
        font-size: 0.72rem;
        color: var(--text-muted);
    }

    .nav-link-arrow {
        display: inline-block;
        font-family: var(--font-mono);
        font-size: 1.1rem;
        color: var(--text-dim);
        flex-shrink: 0;
    }

    .nav-btn {
        margin-left: 0;
        justify-content: center;
        padding: 12px 18px !important;
        border-radius: var(--radius-md) !important;
    }

    .nav-mobile-footer {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-family: var(--font-mono);
        font-size: 0.74rem;
        color: var(--text-muted);
        padding-top: 14px;
        border-top: 1px dashed var(--border-color);
        margin-top: 6px;
    }

    .status-dot {
        width: 8px;
        height: 8px;
        background: var(--primary-mint);
        border-radius: var(--radius-pill);
        box-shadow: 0 0 8px var(--primary-mint);
        display: inline-block;
    }
}

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

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-body);
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #062b16;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(16, 185, 129, 0.5);
    color: #062b16;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-heading);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--primary-border);
    color: var(--primary-mint);
    background: rgba(16, 185, 129, 0.08);
    transform: translateY(-2px);
}

.tag-pill, .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.08);
    color: var(--primary-mint);
    border: 1px solid var(--border-emerald);
    border-radius: var(--radius-pill);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 600;
    padding: 5px 12px;
    letter-spacing: 0.02em;
    line-height: 1.4;
    white-space: nowrap;
    flex-shrink: 0;
}

.tag-pill .pulse-dot {
    width: 7px;
    height: 7px;
    background: var(--primary-mint);
    border-radius: var(--radius-pill);
    box-shadow: 0 0 10px var(--primary-mint);
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    border-bottom: 1px solid var(--border-color);
    padding: 70px 24px 90px;
    background: 
        radial-gradient(ellipse 900px 500px at 50% 0%, rgba(16, 185, 129, 0.12), transparent 70%),
        var(--bg-base);
    overflow: hidden;
}

.hero-container {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 52px;
    align-items: center;
}

.hero-info .tag-pill {
    margin-bottom: 22px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-title span {
    background: linear-gradient(135deg, #ffffff 30%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.08rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.68;
    max-width: 520px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.trust-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 28px;
    border-top: 1px solid var(--border-color);
}

.metric-cell h4 {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    color: var(--primary-mint);
    font-weight: 700;
    margin-bottom: 3px;
}

.metric-cell p {
    font-size: 0.74rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.3;
}

@media (max-width: 960px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-section {
        padding: 50px 20px 60px;
    }
    .hero-title {
        font-size: 2.6rem;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: 36px 16px 48px;
    }
    .hero-title {
        font-size: 2.1rem;
    }
    .hero-desc {
        font-size: 0.96rem;
    }
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .hero-cta-group .btn {
        width: 100%;
    }
    .trust-metrics {
        gap: 10px;
    }
}

/* ==========================================================================
   APP SCREEN SIMULATOR / MOCKUP
   ========================================================================== */
.app-mockup-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 16px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 40px -10px rgba(16, 185, 129, 0.15);
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
    backdrop-filter: blur(16px);
}

.mockup-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.mockup-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-heading);
}

.mockup-brand .brand-icon {
    width: 22px;
    height: 22px;
    border-radius: var(--radius-xs);
}

.mockup-brand .brand-icon svg {
    width: 13px;
    height: 13px;
}

.mockup-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--primary-mint);
    background: var(--primary-container);
    border: 1px solid var(--primary-border);
    border-radius: var(--radius-pill);
    padding: 2px 8px;
    font-weight: 600;
}

.mockup-tabs {
    display: flex;
    background: var(--bg-base);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    padding: 4px;
    gap: 4px;
    margin-bottom: 14px;
}

.mockup-tab-btn {
    flex: 1;
    padding: 8px 10px;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 600;
    background: transparent;
    border: none;
    border-radius: var(--radius-pill);
    color: var(--text-muted);
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.mockup-tab-btn.active {
    background: var(--primary);
    color: #062b16;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.mockup-screen {
    background: #090f0c;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 18px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.screen-content { display: none; }
.screen-content.active { display: block; animation: fadeIn 0.2s ease-out; }

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.mock-month-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    color: var(--text-muted);
}

.mock-badge-rate {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-emerald);
    background: var(--primary-container);
    color: var(--primary-mint);
    font-weight: 600;
}

.mock-total-num {
    font-family: var(--font-display);
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.1;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.mock-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.74rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    margin-bottom: 6px;
}

.mock-progress-track {
    height: 8px;
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
    overflow: hidden;
    position: relative;
}

.mock-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
    border-radius: var(--radius-pill);
    width: 62%;
    box-shadow: 0 0 12px var(--primary);
}

.mock-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.mock-stat-cell {
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
    padding: 6px 8px;
}

.mock-stat-cell small {
    display: block;
    font-size: 0.68rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    text-transform: uppercase;
}

.mock-stat-cell span {
    font-family: var(--font-mono);
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--text-heading);
}

/* Spending Bars */
.mock-overview-bars {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 14px 10px;
}

.mock-overview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.mock-overview-title {
    font-size: 0.72rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    letter-spacing: 0.05em;
    font-weight: 600;
}

.mock-budget-badge {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: var(--radius-pill);
    padding: 2px 8px;
    font-weight: 600;
}

.mock-bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 12px;
    padding-top: 6px;
}

.chart-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 60px;
    gap: 6px;
}

.chart-val {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
}

.chart-col.highlight .chart-val {
    color: var(--primary-mint);
    font-weight: 700;
}

.chart-bar-track {
    height: 60px;
    width: 100%;
    display: flex;
    align-items: flex-end;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-xs);
    border-bottom: 1px dashed var(--border-color);
}

.chart-bar {
    width: 100%;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xs) var(--radius-xs) 0 0;
    transition: height 0.3s ease;
}

.chart-bar.high {
    background: var(--primary-mint);
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.4);
}

.chart-lbl {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
}

.chart-col.highlight .chart-lbl {
    color: var(--primary-mint);
    font-weight: 700;
}

/* AI Mockup Tab */
.mock-ai-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
}

.mock-ai-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.76rem;
    font-family: var(--font-mono);
    color: var(--primary-mint);
    font-weight: 700;
    margin-bottom: 12px;
}

.mock-ai-body {
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--text-main);
    margin-bottom: 14px;
}

.mock-ai-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
    padding-left: 0;
}

.mock-ai-bullets li {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
    display: flex;
    gap: 8px;
}

.mock-ai-bullets li::before {
    content: "✦";
    color: var(--primary-mint);
    font-size: 0.75rem;
}

.mock-alert-box {
    background: var(--accent-amber-bg);
    border: 1px solid var(--accent-amber-border);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: 0.78rem;
    color: #fde68a;
    line-height: 1.45;
}

/* Fast Log Mockup Tab */
.mock-nlp-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mock-nlp-textarea {
    width: 100%;
    height: 80px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-heading);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    padding: 10px;
    resize: none;
    line-height: 1.5;
}

.mock-nlp-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.mock-nlp-chip {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 4px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.mock-nlp-chip:hover {
    border-color: var(--primary);
    color: var(--primary-mint);
}

.mock-nlp-output {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid var(--border-emerald);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    color: var(--primary-light);
}

/* ==========================================================================
   FEATURES / PILLARS SECTION
   ========================================================================== */
.section-wrap {
    max-width: 1160px;
    margin: 80px auto;
    padding: 0 24px;
    width: 100%;
}

.section-header-block {
    text-align: center;
    margin-bottom: 48px;
}

.section-header-block .tag-pill {
    margin-bottom: 14px;
}

.section-header-block h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.section-header-block p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pillar-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.pillar-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pillar-box:hover {
    transform: translateY(-4px);
    border-color: var(--border-emerald);
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.1);
}

.pillar-box:hover::before {
    opacity: 1;
}

.pillar-icon-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.pillar-icon {
    width: 42px;
    height: 42px;
    background: var(--primary-container);
    border: 1px solid var(--primary-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-mint);
}

.pillar-icon svg { width: 20px; height: 20px; fill: currentColor; }

.pillar-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.pillar-box h3 {
    font-family: var(--font-display);
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.pillar-box p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .pillars-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 600px) {
    .section-wrap { margin: 50px auto; padding: 0 16px; }
    .section-header-block { margin-bottom: 32px; }
    .section-header-block h2 { font-size: 1.7rem; }
    .pillars-grid { grid-template-columns: 1fr; gap: 14px; }
    .pillar-box { padding: 22px 18px; }
}

/* ==========================================================================
   INTERACTIVE BANNER / CTA SECTION
   ========================================================================== */
.cta-banner {
    max-width: 1160px;
    margin: 40px auto 80px;
    padding: 0 24px;
    width: 100%;
}

.cta-box {
    background: 
        radial-gradient(ellipse at 80% 50%, rgba(16, 185, 129, 0.2), transparent 60%),
        linear-gradient(135deg, #0d1511 0%, #060907 100%);
    border: 1px solid var(--border-emerald);
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    box-shadow: var(--shadow-glow);
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 540px;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

@media (max-width: 860px) {
    .cta-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 36px 24px;
    }
    .cta-actions {
        width: 100%;
    }
    .cta-actions .btn {
        width: 100%;
    }
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.faq-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px 22px;
    transition: var(--transition-smooth);
}

.faq-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.faq-card h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

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

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* ==========================================================================
   DOCUMENT & LEGAL PAGES (Privacy Policy, Terms)
   ========================================================================== */
.main-wrapper {
    max-width: 920px;
    margin: 40px auto 80px;
    padding: 0 24px;
    width: 100%;
}

.content-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-card);
}

.doc-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
    margin-bottom: 32px;
}

.tag-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.meta-date {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-muted);
}

h1.doc-title, .doc-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.doc-intro {
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.65;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 28px 0 36px;
}

.summary-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px;
}

.summary-item h3 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.summary-item svg {
    color: var(--primary-mint);
    fill: currentColor;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.summary-item p {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.content-card section {
    margin-bottom: 36px;
}

h2.section-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sec-num {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--primary-mint);
    background: var(--primary-container);
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--primary-border);
}

h3.sub-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-top: 18px;
    margin-bottom: 8px;
}

.content-card p, .content-card h2, .content-card h3, .content-card h4 {
    color: var(--text-main);
}

.content-card p {
    font-size: 0.94rem;
    margin-bottom: 14px;
}

.content-card ul, .content-card ol {
    margin-bottom: 18px;
    padding-left: 22px;
}

.content-card li {
    margin-bottom: 8px;
    font-size: 0.92rem;
}

.content-card li strong {
    color: var(--text-heading);
}

.content-card a {
    color: var(--primary-mint);
    text-decoration: none;
}

.content-card a:hover {
    text-decoration: underline;
}

.info-box {
    background: var(--bg-card);
    border-left: 3px solid var(--primary);
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 18px;
    margin: 20px 0;
}

.box-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--primary-mint);
    display: flex;
    align-items: center;
    gap: 8px;
}

.steps-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 20px 0;
}

.step-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px;
}

.step-box.inapp-box { border-top: 2px solid var(--primary); }
.step-box.web-box { border-top: 2px solid var(--accent-amber); }

.step-box-title {
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.step-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--primary-mint);
}

.step-ol {
    list-style: none;
    padding-left: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.step-ol li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
}

.step-idx {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    background: var(--border-color);
    color: var(--text-heading);
    padding: 2px 7px;
    border-radius: var(--radius-xs);
    flex-shrink: 0;
}

.table-wrap {
    overflow-x: auto;
    margin: 18px 0 24px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    -webkit-overflow-scrolling: touch;
}

table.policy-table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
}

table.policy-table th {
    background: var(--bg-card-alt);
    color: var(--text-heading);
    font-family: var(--font-display);
    font-weight: 700;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

table.policy-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
    vertical-align: top;
}

.table-chip {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    display: inline-block;
}

.table-chip.green {
    color: var(--primary-mint);
    border-color: var(--primary-border);
    background: var(--primary-container);
}

@media (max-width: 720px) {
    .main-wrapper { margin: 20px auto 50px; padding: 0 16px; }
    .content-card { padding: 24px 18px; border-radius: var(--radius-lg); }
    h1.doc-title, .doc-title { font-size: 1.7rem; }
    .summary-grid, .steps-container { grid-template-columns: 1fr; gap: 12px; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    background: var(--bg-surface);
    padding: 48px 24px 32px;
}

.footer-container {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-heading);
}

.footer-brand .brand-icon {
    width: 26px;
    height: 26px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--primary-mint);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.82rem;
    color: var(--text-dim);
}

.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--primary-mint);
}

@media (max-width: 640px) {
    .footer { padding: 32px 18px 24px; }
    .footer-top { flex-direction: column; align-items: flex-start; gap: 18px; }
    .footer-links { flex-direction: column; align-items: flex-start; gap: 10px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}
