/* === CSS Variables & Base Styles === */
:root {
    /* Primary Brand Colors */
    --brand-primary: #3370FF;
    --brand-secondary: #8B5CFF;
    --gradient-primary: linear-gradient(135deg, #3370FF 0%, #8B5CFF 100%);
    --gradient-glow: rgba(51, 112, 255, 0.3);
    
    /* Text Colors */
    --text-title: #1F2329;
    --text-body: #646A73;
    --text-muted: #8F959E;
    
    /* Background Colors */
    --bg-page: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-section: #F0F3F6;
    --bg-dark: #1F2329;
    
    /* Pastel Card Gradients inspired by screenshots */
    --card-grad-purple: linear-gradient(180deg, #F3EDFF 0%, #E6D9FF 100%);
    --card-grad-blue: linear-gradient(180deg, #EDF4FF 0%, #DCE8FF 100%);
    --card-grad-green: linear-gradient(180deg, #E6F9F0 0%, #D1EFE0 100%);
    --card-grad-cyan: linear-gradient(180deg, #E5F7F9 0%, #D0EDF2 100%);
    --card-grad-orange: linear-gradient(180deg, #FFF0E5 0%, #FFE2CC 100%);
    --card-grad-gray: linear-gradient(180deg, #F5F6F7 0%, #E8EAEF 100%);
    
    --border-color: #DEE0E3;
    
    /* Border Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 9999px;
    
    /* Shadows for depth */
    --shadow-sm: 0 4px 12px rgba(31, 35, 41, 0.04);
    --shadow-md: 0 16px 40px rgba(31, 35, 41, 0.08);
    --shadow-hover: 0 24px 48px rgba(31, 35, 41, 0.12);
    --shadow-glow: 0 8px 24px var(--gradient-glow);
    
    /* Layout */
    --container-width: 1200px;
    --nav-height: 72px;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-body);
    background-color: var(--bg-page);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { color: var(--text-title); font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
ul { list-style: none; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

/* === Components === */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 28px; font-size: 16px; font-weight: 500;
    border-radius: var(--radius-pill); cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none; gap: 8px; white-space: nowrap;
}

.btn-primary { background: var(--gradient-primary); color: #FFF; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(139, 92, 255, 0.4); }
.btn-secondary { background-color: #FFF; color: var(--text-title); border: 1px solid var(--border-color); }
.btn-secondary:hover { background-color: var(--bg-light); border-color: #C2C6CC; }

.badge {
    display: inline-block; padding: 6px 16px;
    background: rgba(51, 112, 255, 0.1); color: var(--brand-primary);
    border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; margin-bottom: 20px;
}

/* === Navigation === */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-height);
    background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    z-index: 1000; transition: all 0.3s ease; border-bottom: 1px solid transparent;
}
.navbar.scrolled { background: rgba(255, 255, 255, 0.95); border-bottom: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; color: var(--brand-primary); letter-spacing: -0.5px; }
.logo-img { width: 28px; height: 28px; object-fit: contain; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-link { font-size: 15px; font-weight: 500; color: var(--text-title); }
.nav-link:hover { color: var(--brand-primary); }
.nav-link.active { color: var(--brand-primary); position: relative; }
.nav-link.active::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px; border-radius: 1px; background: var(--brand-primary); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; align-items: center; gap: 4px; font-size: 14px; color: var(--text-body); cursor: pointer; }
.mobile-menu-btn { display: none; font-size: 24px; cursor: pointer; color: var(--text-title); }

/* === Hero Section (Restored to V1 Left-Right Layout + V2 Colors) === */
.hero {
    padding-top: calc(var(--nav-height) + 80px);
    padding-bottom: 100px;
    position: relative;
    background: radial-gradient(circle at 100% 0%, #F5F7FF 0%, #FFFFFF 60%);
    overflow: hidden;
}

/* Background blur orbs matching the reference style */
.bg-orb { position: absolute; border-radius: 50%; filter: blur(100px); z-index: 0; opacity: 0.6; }
.orb-1 { width: 600px; height: 600px; background: rgba(139, 92, 255, 0.15); top: -100px; right: -100px; }
.orb-2 { width: 500px; height: 500px; background: rgba(51, 112, 255, 0.15); bottom: 0; left: -200px; }

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-text { flex: 1; max-width: 580px; }
.hero-title { font-size: 56px; letter-spacing: -1.5px; margin-bottom: 24px; color: var(--text-title); line-height: 1.15; }
.hero-title span { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { font-size: 20px; color: var(--text-body); margin-bottom: 40px; line-height: 1.6; }
.hero-actions { display: flex; gap: 16px; }
.hero-actions .btn { padding: 14px 32px; font-size: 18px; }

.hero-platforms {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 36px;
    flex-wrap: wrap;
}
.platforms-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
}
.platforms-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.platform-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-body);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}
.platform-pill:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(51, 112, 255, 0.15);
}
.platform-pill i { font-size: 15px; }

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    min-height: 500px;
}

/* 3D Dashboard Mockup from V1 adapted with V2 SaaS aesthetics */
.mockup-window {
    width: 100%; max-width: 560px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-xl);
    box-shadow: 0 32px 80px rgba(31, 35, 41, 0.08), inset 0 0 0 1px rgba(255,255,255,0.8);
    backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
    overflow: hidden;
    transform: none;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: absolute;
    right: -20px;
}

.mockup-window:hover { transform: translateY(-10px); }
.mockup-header { padding: 16px 24px; border-bottom: 1px solid rgba(0,0,0,0.03); display: flex; gap: 8px; background: rgba(255,255,255,0.5); }
.mockup-dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #FF5F56; } .dot-yellow { background: #FFBD2E; } .dot-green { background: #27C93F; }

.mockup-body { padding: 32px; background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, rgba(248,249,250,0.6) 100%); }
.mockup-skeleton-line { height: 12px; background: var(--bg-section); border-radius: 6px; margin-bottom: 16px; }

.mockup-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.mockup-mini-card { background: #FFF; padding: 20px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.mockup-chart { height: 48px; background: var(--card-grad-blue); border-radius: 8px; margin-top: 16px; position: relative; overflow: hidden; }
.mockup-chart::after { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 65%; background: var(--brand-primary); border-radius: 8px; }

/* Floating decoration for hero mockup */
.mockup-float-badge {
    position: absolute; right: -20px; bottom: 80px;
    background: #FFF; padding: 16px 24px; border-radius: var(--radius-md);
    box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 12px;
    transform: translateZ(50px);
    border: 1px solid var(--bg-section);
}

/* === Trust Section === */
.trust-section { padding: 48px 0; background-color: #FFF; border-bottom: 1px solid var(--bg-section); border-top: 1px solid var(--bg-section); }
.stats-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 32px; }
.stat-item { text-align: center; }
.stat-number { font-size: 32px; font-weight: 800; color: var(--text-title); margin-bottom: 4px; }
.stat-label { font-size: 14px; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 1px;}

/* === Feature Section (The Colorful Cards) === */
.features-section { padding: 120px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header.left-align { text-align: left; }
.section-title { font-size: 40px; margin-bottom: 16px; letter-spacing: -0.5px; }
.section-subtitle { font-size: 18px; color: var(--text-body); max-width: 600px; margin: 0 auto; line-height: 1.6;}
.section-header.left-align .section-subtitle { margin: 0; }

.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.feature-card { border-radius: var(--radius-xl); padding: 48px 48px 0 48px; position: relative; overflow: hidden; display: flex; flex-direction: column; height: 460px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-purple { background: var(--card-grad-purple); }
.card-blue { background: var(--card-grad-blue); }
.card-cyan { background: var(--card-grad-cyan); }
.card-green { background: var(--card-grad-green); }

.feature-text-content { margin-bottom: 40px; z-index: 2; }
.feature-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.feature-icon-wrapper { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--text-title); }
.feature-title { font-size: 28px; font-weight: 700; color: var(--text-title); }
.feature-desc { color: #4A515E; font-size: 16px; line-height: 1.6; max-width: 90%; }

.feature-mockup { background: #FFFFFF; border-radius: 20px 20px 0 0; flex-grow: 1; box-shadow: 0 -4px 20px rgba(31,35,41,0.05); padding: 32px; position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; }

/* Inner Mockup Utilities */
.mockup-rule-row { display: flex; align-items: center; justify-content: space-between; padding: 16px; background: #F8F9FA; border-radius: 12px; }
.mockup-rule-tag { padding: 4px 12px; background: #E8DAFF; color: #6320EE; border-radius: 8px; font-size: 12px; font-weight: 600; }
.mockup-rule-tag.direct { background: #E6F9F0; color: #00B365; }
.mockup-protocol-item { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid #F0F3F6; }
.mockup-protocol-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--card-grad-blue); display: flex; align-items: center; justify-content: center; color: #3370FF; }
.mockup-chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 100px; margin-top: auto; }
.mockup-bar { flex: 1; background: #D0EDF2; border-radius: 6px 6px 0 0; }
.mockup-bar.active { background: #00A3BA; height: 100% !important; }
.mockup-toggle-row { display: flex; justify-content: space-between; align-items: center; padding: 16px; border: 1px solid #F0F3F6; border-radius: 12px; }
.mockup-toggle { width: 44px; height: 24px; background: #00B365; border-radius: 12px; position: relative; }
.mockup-toggle::after { content: ''; position: absolute; width: 20px; height: 20px; background: #FFF; border-radius: 50%; top: 2px; right: 2px; }

/* === 1. Use Cases (Design Upgrade: Bento Box Grid) === */
.use-cases-section { padding: 80px 0; background-color: var(--bg-page); }
.bento-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: repeat(2, 280px);
    gap: 24px;
}
.bento-item {
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bento-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.bento-main { grid-row: 1 / 3; background: var(--bg-section); border: 1px solid var(--border-color); }
.bento-sub-1 { background: var(--card-grad-green); }
.bento-sub-2 { background: var(--card-grad-orange); }

.bento-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 24px; background: #FFF; box-shadow: var(--shadow-sm); }
.bento-main .bento-icon { color: var(--brand-primary); }
.bento-sub-1 .bento-icon { color: #00B365; }
.bento-sub-2 .bento-icon { color: #FF7D00; }

.bento-title { font-size: 28px; margin-bottom: 16px; }
.bento-sub-title { font-size: 22px; margin-bottom: 12px; }
.bento-desc { color: var(--text-body); font-size: 16px; line-height: 1.6; }

/* Nested visual for Main Bento */
.bento-visual { margin-top: auto; background: #FFF; border-radius: 16px; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); margin-bottom: -60px; }

/* === 2. Workflow Section (Design Upgrade: Connected Journey) === */
.workflow-section { padding: 120px 0; background: #FFF; }
.workflow-container {
    background: linear-gradient(135deg, #11141A 0%, #1F2329 100%);
    border-radius: 40px;
    padding: 80px 60px;
    color: #FFF;
    position: relative;
    overflow: hidden;
}
/* Glass orb inside dark container */
.workflow-container::before { content:''; position:absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: rgba(139, 92, 255, 0.2); filter: blur(80px); border-radius: 50%; }

.workflow-header { text-align: center; margin-bottom: 64px; position: relative; z-index: 2; }
.workflow-header h2 { color: #FFF; font-size: 40px; margin-bottom: 16px; }
.workflow-header p { color: #A1A7B3; font-size: 18px; }

.workflow-track { display: flex; justify-content: space-between; position: relative; z-index: 2; }
.workflow-line { position: absolute; top: 32px; left: 10%; right: 10%; height: 2px; background: rgba(255,255,255,0.1); z-index: 1; }

.workflow-step { flex: 1; text-align: center; position: relative; z-index: 2; padding: 0 20px; }
.step-node {
    width: 64px; height: 64px; margin: 0 auto 24px;
    background: #1F2329; border: 2px solid rgba(255,255,255,0.1);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 800; color: var(--brand-secondary);
    box-shadow: 0 0 0 8px rgba(31, 35, 41, 0.8);
    transition: all 0.3s ease;
}
.workflow-step:hover .step-node { border-color: var(--brand-secondary); box-shadow: 0 0 24px rgba(139, 92, 255, 0.4); color: #FFF; background: var(--brand-secondary); }
.workflow-step h3 { color: #FFF; font-size: 20px; margin-bottom: 12px; }
.workflow-step p { color: #8F959E; font-size: 15px; line-height: 1.6; }

/* === 3. Ecosystem Section (Design Upgrade: Floating Tiles) === */
.ecosystem-section { padding: 100px 0; background: var(--bg-light); border-radius: 40px 40px 0 0; }
.eco-wrapper { display: flex; flex-direction: column; align-items: center; text-align: center; }

.tiles-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; max-width: 900px; margin-top: 48px; }

/* Premium looking floating tags */
.eco-tile {
    background: #FFFFFF;
    padding: 16px 28px;
    border-radius: var(--radius-pill);
    display: flex; align-items: center; gap: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 16px; font-weight: 600; color: var(--text-title);
    cursor: default;
}
.eco-tile i { font-size: 24px; color: var(--brand-primary); }
.eco-tile:hover { transform: translateY(-8px) scale(1.05); box-shadow: var(--shadow-md); border-color: rgba(51, 112, 255, 0.2); }

/* Make some tiles visually different to break monotony */
.eco-tile.highlight { background: var(--bg-dark); color: #FFF; }
.eco-tile.highlight i { color: var(--brand-secondary); }
.eco-tile.secondary { background: var(--card-grad-gray); }

/* === 4. FAQ Section (Design Upgrade: Split Asymmetrical Layout) === */
.faq-section { padding: 120px 0; background-color: #FFF; }
.faq-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }

.faq-sidebar { position: sticky; top: 120px; }
.faq-sidebar h2 { font-size: 48px; margin-bottom: 24px; line-height: 1.1; letter-spacing: -1px; }
.faq-sidebar p { font-size: 18px; color: var(--text-body); margin-bottom: 32px; }

.faq-list { display: flex; flex-direction: column; gap: 24px; }
.faq-item {
    background: var(--bg-light); border-radius: var(--radius-lg); padding: 32px;
    border: 1px solid transparent; transition: all 0.3s ease;
}
.faq-item:hover { background: #FFF; border-color: var(--border-color); box-shadow: var(--shadow-md); transform: translateX(8px); }
.faq-q { font-size: 20px; font-weight: 700; color: var(--text-title); margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; }
.faq-q i { color: var(--text-muted); font-size: 24px; }
.faq-a { color: var(--text-body); font-size: 16px; line-height: 1.7; }

/* === Download Section (Large Colored Wrapper) === */
.download-wrapper { background: var(--bg-section); padding: 100px 0; border-radius: 40px; margin: 0 24px 64px 24px; }
.platforms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: 48px; }
.platform-card { border-radius: var(--radius-lg); padding: 40px 24px; text-align: center; transition: all 0.3s ease; cursor: pointer; display: flex; flex-direction: column; align-items: center; background: #FFF; box-shadow: 0 4px 12px rgba(0,0,0,0.02); border: 1px solid transparent; text-decoration: none; color: inherit; }
.platform-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.platform-icon-wrapper { width: 72px; height: 72px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 40px; margin-bottom: 24px; }
.platform-card:nth-child(1) .platform-icon-wrapper { background: var(--card-grad-blue); color: #3370FF; }
.platform-card:nth-child(2) .platform-icon-wrapper { background: var(--card-grad-gray); color: #1F2329; }
.platform-card:nth-child(3) .platform-icon-wrapper { background: var(--card-grad-green); color: #00B365; }
.platform-card:nth-child(4) .platform-icon-wrapper { background: var(--card-grad-purple); color: #8B5CFF; }
.platform-card:nth-child(5) .platform-icon-wrapper { background: var(--card-grad-orange); color: #FF7D00; }
.platform-name { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--text-title); }
.platform-version { font-size: 14px; color: var(--text-body); }

/* === CTA Section === */
.cta-section { padding: 120px 0; text-align: center; background: linear-gradient(180deg, #FFFFFF 0%, #F5F7FF 100%); }
.cta-title { font-size: 48px; margin-bottom: 24px; letter-spacing: -1px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; margin-top: 48px; }

/* === Footer === */
.footer { background-color: var(--bg-dark); color: #A1A7B3; padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 64px; margin-bottom: 64px; }
.footer-brand .logo { color: #FFF; margin-bottom: 20px; }
.footer-desc { font-size: 14px; line-height: 1.8; max-width: 300px; }
.footer-title { color: #FFF; font-size: 16px; font-weight: 600; margin-bottom: 24px; }
.footer-links li { margin-bottom: 14px; }
.footer-links a { font-size: 14px; }
.footer-links a:hover { color: #FFF; }
.footer-bottom { padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.footer-bottom-links { display: flex; gap: 24px; }

/* === Responsive Design === */
@media (max-width: 1024px) {
    .hero-content { flex-direction: column; text-align: center; gap: 40px; }
    .hero-text { max-width: 100%; min-width: 0; display: flex; flex-direction: column; align-items: center; }
    .hero-actions {
        align-self: stretch;
        max-width: 100%;
        box-sizing: border-box;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
    .hero-actions .btn {
        white-space: normal;
        text-align: center;
        justify-content: center;
    }
    .hero-visual { min-height: 400px; width: 100%; }
    .hero-platforms { justify-content: center; }
    .platforms-list { justify-content: center; }
    .mockup-window { position: relative; right: 0; transform: none; max-width: 600px; margin: 0 auto; }
    .mockup-window:hover { transform: translateY(-10px); }
    .mockup-float-badge { display: none; }
    
    .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .bento-main { grid-row: auto; min-height: 400px; }
    
    .faq-layout { grid-template-columns: 1fr; gap: 40px; }
    .faq-sidebar { position: static; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions .btn-primary { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-title { font-size: 40px; }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions .btn {
        font-size: 15px !important;
        padding: 12px 18px !important;
        width: 100%;
        max-width: 100%;
        white-space: normal;
        justify-content: center;
        text-align: center;
        overflow-wrap: break-word;
    }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card { height: auto; padding: 40px 40px 0 40px; }
    
    .workflow-container { padding: 40px 24px; }
    .workflow-track { flex-direction: column; gap: 48px; }
    .workflow-line { display: none; }
    
    .download-wrapper { margin: 0 16px 40px 16px; padding: 60px 16px; border-radius: 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px;}
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .cta-actions { flex-direction: column; }
}

/* === Mobile nav dropdown (toggled by body.nav-open via header.js) === */
@keyframes menuSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.mobile-nav {
    display: none;
}

@media (max-width: 768px) {
    body.nav-open .mobile-nav {
        display: block;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
        animation: menuSlideDown 0.2s ease;
        z-index: 999;
    }
    .mobile-nav ul { list-style: none; padding: 16px 24px 24px; display: flex; flex-direction: column; gap: 4px; }
    .mobile-nav ul li a { display: block; padding: 12px 0; font-size: 16px; font-weight: 500; color: var(--text-title); border-bottom: 1px solid var(--bg-section); }
    .mobile-nav ul li:last-child a { border-bottom: none; }
    .mobile-nav ul li a:hover { color: var(--brand-primary); }
}

/* === Comparison Section (Dark Manifesto Style) === */
.compare-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #0E1117 0%, #141820 100%);
    position: relative; overflow: hidden;
}
.compare-bg-glow {
    position: absolute; width: 900px; height: 600px; border-radius: 50%;
    top: -150px; left: 50%; transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(51, 112, 255, 0.1) 0%, transparent 65%);
    pointer-events: none; z-index: 0;
}
.compare-section .section-header { position: relative; z-index: 2; text-align: left; margin-bottom: 0; }
.compare-section .badge { background: rgba(139, 92, 255, 0.15); color: #A78BFA; border: 1px solid rgba(139, 92, 255, 0.3); margin-bottom: 16px; }
.compare-section .section-title { color: #FFFFFF; font-size: 44px; max-width: 720px; }
.compare-section .section-subtitle { margin: 0; max-width: 560px; color: #8F959E; }
.compare-arena {
    display: grid; grid-template-columns: 1fr 1px 1fr;
    gap: 0 60px; margin-top: 64px;
    position: relative; z-index: 2; align-items: start;
}
.compare-divider-line {
    background: rgba(255,255,255,0.06); position: relative;
    display: flex; align-items: center; justify-content: center;
}
.compare-divider-line::before {
    content: 'VS'; position: absolute;
    background: #141820; color: #4B5563;
    font-size: 11px; font-weight: 800; letter-spacing: 2px;
    padding: 12px 7px; border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px; writing-mode: vertical-rl;
}
.compare-col-header {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 40px; padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.col-logo-bad {
    font-size: 14px; font-weight: 700; color: #6B7280;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
    padding: 6px 14px; border-radius: 8px;
}
.col-logo-good {
    font-size: 14px; font-weight: 700; color: #FFF;
    background: var(--gradient-primary); padding: 6px 14px; border-radius: 8px;
}
.col-label-bad { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #4B5563; }
.col-label-good { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--brand-primary); }
.compare-items-list { display: flex; flex-direction: column; gap: 32px; }
.cmp-item { display: flex; align-items: flex-start; gap: 16px; }
.cmp-icon {
    width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; flex-shrink: 0; margin-top: 3px;
}
.cmp-icon-bad { background: rgba(239, 68, 68, 0.12); color: #EF4444; }
.cmp-icon-good { background: rgba(0, 209, 138, 0.12); color: #00D18A; }
.cmp-item-title { font-size: 17px; font-weight: 600; color: #FFF; margin-bottom: 6px; }
.cmp-item-bad .cmp-item-title { color: #6B7280; text-decoration: line-through; text-decoration-color: rgba(239,68,68,0.35); }
.cmp-item-desc { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,0.42); }
.cmp-item-bad .cmp-item-desc { color: rgba(255,255,255,0.22); }

/* === Reviews Marquee Section === */
.reviews-section { padding: 100px 0; background: var(--bg-light); overflow: hidden; }
.reviews-stage { position: relative; margin-top: 56px; overflow: hidden; }
.reviews-fade {
    position: absolute; top: 0; bottom: 0; width: 180px; z-index: 10; pointer-events: none;
}
.reviews-fade-left { left: 0; background: linear-gradient(to right, var(--bg-light) 0%, transparent 100%); }
.reviews-fade-right { right: 0; background: linear-gradient(to left, var(--bg-light) 0%, transparent 100%); }
.reviews-row { display: flex; gap: 20px; margin-bottom: 20px; width: max-content; }
@keyframes marquee-forward { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-backward { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.row-forward { animation: marquee-forward 65s linear infinite; }
.row-backward { animation: marquee-backward 75s linear infinite; }
.reviews-stage:hover .reviews-row { animation-play-state: paused; }
.review-chip {
    background: #FFF; border: 1px solid #E8EAEF; border-radius: 20px;
    padding: 24px 28px; min-width: 280px; max-width: 380px;
    flex-shrink: 0; box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.chip-stars { color: #F59E0B; font-size: 13px; letter-spacing: 2px; margin-bottom: 10px; }
.chip-quote { font-size: 14px; line-height: 1.65; color: #374151; margin-bottom: 14px; }
.chip-author { display: flex; align-items: center; gap: 10px; }
.chip-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; color: #FFF; flex-shrink: 0;
}
.chip-name { font-size: 13px; font-weight: 600; color: #1F2329; line-height: 1.3; }
.chip-role { font-size: 11px; color: #8F959E; margin-top: 1px; }
.review-chip.chip-dark { background: var(--bg-dark); border-color: rgba(255,255,255,0.07); }
.review-chip.chip-dark .chip-quote { color: #C9D1E0; }
.review-chip.chip-dark .chip-name { color: #FFF; }
.review-chip.chip-dark .chip-role { color: #6B7280; }
.review-chip.chip-brand { background: var(--gradient-primary); border-color: transparent; }
.review-chip.chip-brand .chip-stars { color: rgba(255,255,255,0.8); }
.review-chip.chip-brand .chip-quote { color: rgba(255,255,255,0.92); }
.review-chip.chip-brand .chip-name { color: #FFF; }
.review-chip.chip-brand .chip-role { color: rgba(255,255,255,0.65); }

/* === Deep Tech Capabilities Section === */
.deep-tech-section { padding: 120px 0; background: #FFF; }
.deep-tech-section .section-header { text-align: left; }
.deep-tech-section .section-subtitle { margin: 0; }
.deep-tech-list { margin-top: 64px; }
.tech-item {
    display: grid; grid-template-columns: 80px 1fr 1.1fr;
    gap: 0 64px; align-items: center;
    padding: 52px 0; border-bottom: 1px solid var(--bg-section);
}
.tech-item:last-child { border-bottom: none; }
.tech-number {
    font-size: 72px; font-weight: 900; color: #F0F2F5;
    line-height: 1; letter-spacing: -3px; user-select: none;
    transition: color 0.4s ease;
}
.tech-item:hover .tech-number { color: rgba(51, 112, 255, 0.1); }
.tech-tag {
    display: inline-block; background: var(--bg-section); color: var(--text-muted);
    font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    padding: 4px 10px; border-radius: 4px; margin-bottom: 12px;
}
.tech-title { font-size: 26px; font-weight: 700; color: var(--text-title); margin-bottom: 12px; letter-spacing: -0.3px; }
.tech-desc { font-size: 15px; color: var(--text-body); line-height: 1.75; }
.tech-visual {
    background: #0E1117; border-radius: var(--radius-lg);
    padding: 24px 28px;
    font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'Courier New', monospace;
    font-size: 13px; line-height: 2; color: #8F959E;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s ease;
}
.tech-item:hover .tech-visual { border-color: rgba(51, 112, 255, 0.2); box-shadow: 0 8px 32px rgba(51, 112, 255, 0.08); }
.yaml-key { color: #79B8FF; font-weight: 600; }
.yaml-val { color: #85E89D; }
.yaml-comment { color: #4B5563; font-style: italic; }
.yaml-string { color: #FFAB70; }

@media (max-width: 1024px) {
    .compare-arena { grid-template-columns: 1fr; gap: 48px 0; }
    .compare-divider-line { display: none; }
    .tech-item { grid-template-columns: 60px 1fr; gap: 0 24px; }
    .tech-visual { display: none; }
}
@media (max-width: 768px) {
    .compare-section { padding: 80px 0; }
    .compare-section .section-title { font-size: 32px; }
    .tech-item { grid-template-columns: 48px 1fr; gap: 0 16px; padding: 36px 0; }
    .tech-number { font-size: 48px; }
    .tech-title { font-size: 20px; }
    .reviews-fade { width: 80px; }
}

/* === Language dropdown === */
.lang-switch { position: relative; }
.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #FFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    min-width: 140px;
    z-index: 1100;
    overflow: hidden;
}
.lang-dropdown a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text-title);
    transition: background 0.2s;
}
.lang-dropdown a:hover { background: var(--bg-light); color: var(--brand-primary); }
.lang-switch.lang-open .lang-dropdown { display: block; }
