/* ==========================================================================
   LeadForge AI — Modern High-Converting Landing Page Stylesheet
   ========================================================================== */

:root {
    --bg-main: #060b14;
    --bg-card: #0d1627;
    --bg-card-hover: #121e36;
    --bg-surface: #0a1222;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-bright: rgba(56, 189, 248, 0.28);
    --primary: #2563eb;
    --primary-glow: rgba(37, 99, 235, 0.35);
    --accent-teal: #06b6d4;
    --accent-indigo: #6366f1;
    --accent-amber: #f59e0b;
    --accent-emerald: #10b981;
    --accent-rose: #f43f5e;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'DM Mono', monospace;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* Local Fonts */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../vendor/fonts/inter-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'DM Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../vendor/fonts/dm-mono-400.woff2') format('woff2');
}

@font-face {
    font-family: 'DM Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../vendor/fonts/dm-mono-500.woff2') format('woff2');
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

img, svg {
    display: block;
    max-width: 100%;
}

/* Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Ambient Glow Backgrounds */
.bg-ambient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    max-width: 100vw;
}

.ambient-blob-1 {
    position: absolute;
    top: -150px;
    left: 20%;
    width: min(700px, 90vw);
    height: min(700px, 90vw);
    background: radial-gradient(circle, rgba(37, 99, 235, 0.16) 0%, rgba(6, 182, 212, 0.05) 50%, transparent 70%);
    filter: blur(80px);
}

.ambient-blob-2 {
    position: absolute;
    top: 40%;
    right: -100px;
    width: min(600px, 80vw);
    height: min(600px, 80vw);
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(37, 99, 235, 0.04) 50%, transparent 70%);
    filter: blur(90px);
}

.ambient-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 70%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 70%, transparent 100%);
}

/* Navbar */
.navbar-wrapper {
    position: sticky;
    top: 16px;
    z-index: 100;
    padding: 0 16px;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1140px;
    margin: 0 auto;
    padding: 12px 20px;
    background: rgba(13, 22, 39, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: 9999px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--primary), var(--accent-teal));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.brand-badge {
    color: var(--accent-teal);
    font-size: 0.9em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 9999px;
    padding: 10px 20px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.btn-sm {
    padding: 7px 16px;
    font-size: 0.82rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: #fff;
    box-shadow: 0 4px 18px var(--primary-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #0284c7);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.5);
    transform: translateY(-2px);
    color: #fff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border-color: var(--border-subtle);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-muted);
}

.btn-outline:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent 30%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 70%
    );
    transform: rotate(30deg);
    animation: shine 4s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(30deg); }
    30%, 100% { transform: translateX(100%) rotate(30deg); }
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 70px 0 60px;
    text-align: center;
    z-index: 1;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    border-radius: 9999px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.25);
    color: #38bdf8;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-pill .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-emerald);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4.4rem);
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: -0.04em;
    max-width: 900px;
    margin: 0 auto 20px;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 36px;
    line-height: 1.65;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    color: var(--text-dim);
    font-size: 0.82rem;
    flex-wrap: wrap;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-trust i {
    color: var(--accent-emerald);
}

/* Dashboard Mockup Showcase */
.mockup-wrapper {
    margin: 50px auto 0;
    max-width: 1060px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 80px rgba(37, 99, 235, 0.15);
    position: relative;
}

.mockup-inner {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    text-align: left;
}

.mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #08101e;
    border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #233450;
}

.window-dots span:nth-child(1) { background: #ef4444; }
.window-dots span:nth-child(2) { background: #f59e0b; }
.window-dots span:nth-child(3) { background: #10b981; }

.mockup-search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 4px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-dim);
    font-family: var(--font-mono);
}

.mockup-status-live {
    font-size: 0.75rem;
    color: var(--accent-emerald);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mockup-body {
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 440px;
}

.mockup-sidebar {
    background: #070e1b;
    border-right: 1px solid var(--border-subtle);
    padding: 16px 12px;
}

.mockup-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.mockup-nav-item.active {
    background: rgba(37, 99, 235, 0.15);
    color: #60a5fa;
    font-weight: 600;
}

.mockup-content {
    padding: 24px;
    background: #091322;
}

.mockup-stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.mockup-stat-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
}

.mockup-stat-card .label {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.mockup-stat-card .val {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
    margin-top: 4px;
}

.mockup-stat-card .trend {
    font-size: 0.7rem;
    color: var(--accent-emerald);
}

.mockup-table-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.mockup-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    font-weight: 700;
}

.mockup-row {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr 1fr 1fr;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.78rem;
}

.mockup-row:last-child {
    border-bottom: none;
}

.mockup-row .company-name {
    font-weight: 700;
    color: #e2e8f0;
}

.mockup-row .company-loc {
    font-size: 0.7rem;
    color: var(--text-dim);
}

.badge-score {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-mono);
}

.score-hot { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.score-high { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.score-mid { background: rgba(37, 99, 235, 0.2); color: #60a5fa; border: 1px solid rgba(37, 99, 235, 0.3); }

/* Stats Ticker Strip */
.stats-strip {
    padding: 30px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(13, 22, 39, 0.4);
    margin: 60px 0 80px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item .stat-num {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 850;
    letter-spacing: -0.04em;
    color: #fff;
    background: linear-gradient(135deg, #fff 40%, var(--accent-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Section Common */
.section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-teal);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-bright);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

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

.bento-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    font-size: 1.3rem;
    margin-bottom: 22px;
}

.bento-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.bento-card-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.bento-feature-list {
    list-style: none;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-dim);
}

.bento-feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bento-feature-list i {
    color: var(--accent-emerald);
    font-size: 0.9rem;
}

.bento-pill-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 9999px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.25);
    color: var(--accent-teal);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    align-self: flex-start;
}

/* Workflow Step Cards */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

.workflow-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    transition: all 0.3s ease;
}

.workflow-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-4px);
}

.step-num {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--accent-teal);
    margin-bottom: 14px;
}

.workflow-card h3 {
    font-size: 1.15rem;
    font-weight: 750;
    margin-bottom: 10px;
}

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

/* Comparison Table */
.comparison-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.92rem;
}

.comparison-table th {
    padding: 16px 20px;
    color: var(--text-muted);
    font-weight: 700;
    border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th.highlight {
    color: var(--accent-teal);
    font-size: 1.05rem;
}

.comparison-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td.feature-name {
    font-weight: 600;
    color: #f1f5f9;
}

.comparison-table td.leadforge-val {
    color: #67e8f9;
    font-weight: 600;
    background: rgba(6, 182, 212, 0.04);
}

/* FAQ Accordion */
.faq-grid {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.02rem;
    font-weight: 650;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question i {
    color: var(--accent-teal);
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 20px;
}

/* Call to Action Banner */
.cta-section {
    padding: 90px 0 110px;
    position: relative;
    z-index: 1;
}

.cta-box {
    background: radial-gradient(ellipse at center top, #1e3a8a 0%, #0c1933 60%, #081122 100%);
    border: 1px solid rgba(37, 99, 235, 0.4);
    border-radius: var(--radius-xl);
    padding: 70px 40px;
    text-align: center;
    box-shadow: 0 30px 80px -20px rgba(37, 99, 235, 0.35);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #60a5fa, transparent);
}

.cta-title {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 850;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 580px;
    margin: 0 auto 36px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 60px 0 30px;
    background: #050a14;
    font-size: 0.88rem;
    color: var(--text-dim);
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-top: 12px;
    max-width: 320px;
}

.footer-col h4 {
    color: var(--text-main);
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: var(--text-dim);
}

.footer-col a:hover {
    color: var(--text-main);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.8rem;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    background: rgba(13, 22, 39, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-lg);
    padding: 24px;
    z-index: 99;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.mobile-nav-overlay.open {
    display: block;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.mobile-nav-links a {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e2e8f0;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-span-2 {
        grid-column: span 2;
    }
    .workflow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar,
    .hero-section,
    .section,
    .stats-strip,
    .footer {
        min-width: 0;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .navbar-wrapper {
        top: 10px;
        padding: 0 8px;
    }

    .navbar {
        padding: 8px 14px;
    }

    .brand-logo {
        font-size: 1.05rem;
    }

    .brand-icon {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .nav-links, .nav-actions .btn-outline {
        display: none;
    }

    .nav-actions .btn-primary {
        padding: 6px 12px;
        font-size: 0.76rem;
    }

    .nav-toggle {
        display: block;
        font-size: 1.3rem;
    }

    .hero-section {
        padding: 36px 0 24px;
    }

    .hero-pill {
        font-size: 0.72rem;
        padding: 5px 12px;
        max-width: 100%;
        overflow-wrap: anywhere;
        margin-bottom: 16px;
    }

    .hero-title {
        font-size: clamp(1.85rem, 7.5vw, 2.6rem);
        line-height: 1.15;
        margin-bottom: 16px;
    }

    .hero-desc {
        font-size: 0.92rem;
        line-height: 1.55;
        margin-bottom: 24px;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-bottom: 24px;
    }

    .hero-cta-group .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.92rem;
    }

    .hero-trust {
        flex-direction: column;
        gap: 8px;
        font-size: 0.76rem;
    }

    /* Mockup Mobile Styling */
    .mockup-wrapper {
        margin-top: 28px;
        padding: 6px;
        border-radius: 16px;
    }

    .mockup-header {
        padding: 10px 14px;
    }

    .mockup-search-bar {
        display: none;
    }

    .mockup-body {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .mockup-sidebar {
        display: none;
    }

    .mockup-content {
        padding: 16px 12px;
    }

    .mockup-stat-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-bottom: 14px;
    }

    .mockup-stat-card {
        padding: 10px;
    }

    .mockup-stat-card .val {
        font-size: 1.1rem;
    }

    .mockup-table-card {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mockup-row {
        grid-template-columns: 1.5fr 1fr 1fr;
        padding: 8px 12px;
        font-size: 0.74rem;
        min-width: 320px;
    }

    .mockup-row .hide-mobile {
        display: none;
    }

    /* Stats Strip */
    .stats-strip {
        margin: 36px 0 50px;
        padding: 24px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-item .stat-num {
        font-size: 1.75rem;
    }

    .stat-item .stat-label {
        font-size: 0.76rem;
    }

    /* Sections Common */
    .section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .section-title {
        font-size: clamp(1.6rem, 5.5vw, 2.1rem);
    }

    .section-desc {
        font-size: 0.92rem;
    }

    /* Bento Grid */
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .bento-span-2 {
        grid-column: span 1;
    }

    .bento-card {
        padding: 22px 18px;
        border-radius: 16px;
    }

    .bento-card-title {
        font-size: 1.12rem;
    }

    .bento-card-desc {
        font-size: 0.86rem;
        margin-bottom: 16px;
    }

    /* Workflow Cards */
    .workflow-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .workflow-card {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .workflow-card h3 {
        font-size: 1.05rem;
    }

    .workflow-card p {
        font-size: 0.84rem;
    }

    /* Comparison Table */
    .comparison-wrapper {
        padding: 16px 12px;
        border-radius: 16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-table {
        min-width: 620px;
    }

    .comparison-table th, .comparison-table td {
        padding: 10px 12px;
        font-size: 0.78rem;
        white-space: nowrap;
    }

    /* FAQ */
    .faq-question {
        padding: 16px 18px;
        font-size: 0.92rem;
    }

    .faq-answer {
        padding: 0 18px;
        font-size: 0.86rem;
    }

    /* CTA Section */
    .cta-section {
        padding: 50px 0 70px;
    }

    .cta-box {
        padding: 40px 18px;
        border-radius: 22px;
    }

    .cta-title {
        font-size: clamp(1.65rem, 5.5vw, 2.2rem);
        line-height: 1.18;
    }

    .cta-subtitle {
        font-size: 0.92rem;
        margin-bottom: 24px;
    }

    .cta-box .btn {
        width: 100%;
    }

    /* Footer */
    .footer {
        padding: 40px 0 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 36px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

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

    .mockup-stat-row {
        grid-template-columns: 1fr;
    }
}
