/* ============================================
   SelectAndTranslate Landing Page
   Design System: "Dusk to Dawn"
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --brand-primary: #6366f1;
    --brand-hover: #818cf8;
    --brand-subtle: rgba(99, 102, 241, 0.08);
    --brand-glow: rgba(99, 102, 241, 0.4);

    --dark-bg: #0a0a12;
    --dark-surface: rgba(255, 255, 255, 0.04);
    --dark-border: rgba(255, 255, 255, 0.08);

    --light-bg: #ffffff;
    --subtle-bg: #f8f9fb;

    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-on-dark: #ffffff;
    --text-muted-dark: #a1a1aa;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.16);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --container-max: 1200px;
    --section-padding: 100px;
    --section-padding-sm: 60px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--light-bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-top: 12px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.btn-primary {
    background: var(--brand-primary);
    color: #fff;
    padding: 12px 28px;
    box-shadow: 0 2px 12px var(--brand-glow);
}

.btn-primary:hover {
    background: var(--brand-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--brand-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted-dark);
    padding: 12px 28px;
    border: 1px solid var(--dark-border);
}

.btn-ghost:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
}

.btn-nav {
    background: var(--brand-primary);
    color: #fff;
    padding: 8px 20px;
    font-size: 0.875rem;
}

.btn-nav:hover {
    background: var(--brand-hover);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

/* ---------- Mobile Bridge Banner ---------- */
.mobile-bridge-banner {
    position: relative;
    background: linear-gradient(135deg, #312e81, #4338ca);
    color: #fff;
    padding: 20px 16px;
    text-align: center;
    z-index: 1001;
}

.mobile-bridge-inner {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.mobile-bridge-icon svg {
    stroke: rgba(255, 255, 255, 0.8);
}

.mobile-bridge-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.mobile-bridge-text strong {
    font-size: 1rem;
    color: #fff;
}

.mobile-bridge-text span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.mobile-bridge-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 10px 16px;
    width: 100%;
    max-width: 320px;
    justify-content: center;
}

.mobile-bridge-link code {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: #fff;
    letter-spacing: 0.02em;
    user-select: all;
}

.mobile-bridge-copy {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    color: #fff;
    font-size: 0.8rem;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.mobile-bridge-copy:hover,
.mobile-bridge-copy:active {
    background: rgba(255, 255, 255, 0.35);
}

.mobile-bridge-tip {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

.mobile-bridge-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}

.mobile-bridge-close:hover {
    color: #fff;
}

/* Only show on mobile — hide on desktop */
@media (min-width: 769px) {
    .mobile-bridge-banner {
        display: none !important;
    }
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--dark-border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--text-on-dark);
}

.logo svg {
    opacity: 0.9;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted-dark);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-on-dark);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-on-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0 24px 20px;
    background: rgba(10, 10, 18, 0.95);
    backdrop-filter: blur(20px);
}

.mobile-menu a {
    color: var(--text-muted-dark);
    padding: 12px 0;
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--dark-border);
}

.mobile-menu.open {
    display: flex;
}

/* ---------- Hero ---------- */
.hero {
    background: var(--dark-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    color: var(--text-on-dark);
    margin-bottom: 20px;
    background: linear-gradient(to bottom right, #ffffff, #c7c7cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    color: var(--text-muted-dark);
    font-size: 1.125rem;
    line-height: 1.7;
    max-width: 520px;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero-badges {
    display: flex;
    gap: 20px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.hero-badges span {
    color: var(--text-muted-dark);
    font-size: 0.8125rem;
    font-weight: 500;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-screenshot-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.08);
}

.hero-screenshot {
    width: 100%;
    border-radius: var(--radius-lg);
}

/* Gradient blur orbs */
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: rgba(99, 102, 241, 0.25);
    top: -150px;
    left: -100px;
    animation: glowFloat 8s ease-in-out infinite;
}

.glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(139, 92, 246, 0.2);
    bottom: -100px;
    right: -50px;
    animation: glowFloat 10s ease-in-out infinite reverse;
}

.glow-3 {
    width: 300px;
    height: 300px;
    background: rgba(59, 130, 246, 0.15);
    top: 40%;
    left: 50%;
    animation: glowFloat 12s ease-in-out infinite 2s;
}

.glow-4 {
    width: 450px;
    height: 450px;
    background: rgba(99, 102, 241, 0.2);
    top: -100px;
    right: -100px;
    animation: glowFloat 9s ease-in-out infinite;
}

.glow-5 {
    width: 350px;
    height: 350px;
    background: rgba(139, 92, 246, 0.15);
    bottom: -80px;
    left: -80px;
    animation: glowFloat 11s ease-in-out infinite reverse;
}

@keyframes glowFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -20px); }
}

/* ---------- Trust Bar ---------- */
.trust-bar {
    background: var(--subtle-bg);
    padding: 48px 0;
    border-bottom: 1px solid #e5e7eb;
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trust-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.trust-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ---------- Features Grid ---------- */
.features {
    padding: var(--section-padding) 0;
    background: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--light-bg);
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-lg);
    padding: 32px 24px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #d1d5db;
}

.feature-keyword {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-primary);
    margin-bottom: 8px;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    flex-grow: 1;
}

.feature-img-wrapper {
    margin-top: 24px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-bottom: none;
}

.feature-img-wrapper img {
    width: 100%;
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-img-wrapper img {
    transform: scale(1.02);
}

/* ---------- Feature Deep Dive ---------- */
.deep-dive {
    padding: var(--section-padding) 0;
    background: var(--subtle-bg);
}

.dive-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 100px;
}

.dive-block:last-child {
    margin-bottom: 0;
}

.dive-block-reverse {
    direction: rtl;
}

.dive-block-reverse > * {
    direction: ltr;
}

.dive-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e5e7eb;
}

.dive-visual img {
    width: 100%;
    display: block;
}

.dive-content h3 {
    margin-bottom: 16px;
    color: var(--text-primary);
}

.dive-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.dive-shortcut {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
    align-items: center;
}

.dive-shortcut span {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    margin-right: 8px;
}

kbd {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 8px;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: var(--text-primary);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* ---------- Personas ---------- */
.personas {
    padding: var(--section-padding) 0;
    background: var(--light-bg);
}

.personas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.persona-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.persona-card:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 1px var(--brand-primary), var(--shadow-md);
}

.persona-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--brand-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--brand-primary);
}

.persona-card h4 {
    margin-bottom: 8px;
    color: var(--text-primary);
}

.persona-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ---------- Comparison Table ---------- */
.comparison {
    padding: var(--section-padding) 0;
    background: var(--subtle-bg);
}

.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid #e5e7eb;
    background: var(--light-bg);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
    min-width: 640px;
}

.comparison-table th,
.comparison-table td {
    padding: 14px 20px;
    text-align: center;
    border-bottom: 1px solid #f3f4f6;
}

.comparison-table th {
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    padding: 18px 20px;
    background: var(--subtle-bg);
}

.comparison-table td:first-child,
.comparison-table th:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: rgba(99, 102, 241, 0.02);
}

.highlight-col {
    background: var(--brand-subtle) !important;
    position: relative;
}

.comparison-table th.highlight-col {
    color: var(--brand-primary);
    font-weight: 700;
    border-top: 3px solid var(--brand-primary);
}

.check { color: #10b981; font-weight: 700; font-size: 1.1rem; }
.cross { color: #d1d5db; font-size: 1rem; }
.partial { color: #f59e0b; font-size: 0.6rem; }

.unique-badge {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--brand-primary);
    color: #fff;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    margin-left: 4px;
    vertical-align: middle;
}

/* ---------- Why People Switch ---------- */
.why-switch {
    padding: var(--section-padding) 0;
    background: var(--light-bg);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.pain-card {
    background: var(--subtle-bg);
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pain-source {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.pain-rating {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.pain-stars {
    color: #f59e0b;
    font-size: 1rem;
    letter-spacing: 2px;
}

.pain-stars-muted {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.pain-score {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
}

.pain-quote {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-secondary);
    font-style: italic;
    flex-grow: 1;
}

.pain-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}

.switch-cta {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.switch-cta p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.switch-cta strong {
    color: var(--brand-primary);
}

@media (max-width: 768px) {
    .pain-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- How It Works ---------- */
.how-it-works {
    padding: var(--section-padding) 0;
    background: var(--light-bg);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step-card {
    flex: 1;
    max-width: 320px;
    text-align: center;
    padding: 0 32px;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--brand-subtle);
    color: var(--brand-primary);
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 2px solid rgba(99, 102, 241, 0.15);
}

.step-card h4 {
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.step-card kbd {
    font-size: 0.6875rem;
}

.step-arrow {
    display: flex;
    align-items: center;
    padding-top: 16px;
    color: #d1d5db;
    flex-shrink: 0;
}

/* ---------- FAQ ---------- */
.faq {
    padding: var(--section-padding) 0;
    background: var(--light-bg);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
}

.faq-item:first-child {
    border-top: 1px solid #e5e7eb;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--brand-primary);
}

.faq-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: var(--text-secondary);
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 20px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ---------- Download CTA ---------- */
.download-cta {
    background: var(--dark-bg);
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.download-content h2 {
    color: var(--text-on-dark);
    margin-bottom: 12px;
    background: linear-gradient(to bottom right, #ffffff, #c7c7cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-content p {
    color: var(--text-muted-dark);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.download-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.download-meta {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
    color: var(--text-muted-dark);
    font-size: 0.8125rem;
    opacity: 0.7;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--dark-bg);
    border-top: 1px solid var(--dark-border);
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-brand p {
    color: var(--text-muted-dark);
    font-size: 0.875rem;
    margin-top: 12px;
}

.footer-col h5 {
    color: var(--text-on-dark);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: var(--text-muted-dark);
    font-size: 0.875rem;
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--text-on-dark);
}

.footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--dark-border);
}

.footer-bottom p {
    color: var(--text-muted-dark);
    font-size: 0.8125rem;
    text-align: center;
    opacity: 0.7;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- Noise Texture (Dark Sections) ---------- */
.hero::after,
.download-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    background-repeat: repeat;
    pointer-events: none;
    z-index: 0;
}

.hero > .container,
.download-cta > .container {
    position: relative;
    z-index: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .personas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-sub {
        margin: 0 auto;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-badges {
        justify-content: center;
    }

    .trust-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .dive-block,
    .dive-block-reverse {
        grid-template-columns: 1fr;
        gap: 32px;
        direction: ltr;
    }

    .personas-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .step-arrow {
        transform: rotate(90deg);
        padding-top: 0;
    }

    .step-card {
        max-width: 100%;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .dive-block {
        margin-bottom: 60px;
    }
}

@media (max-width: 480px) {
    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .btn-lg {
        width: 100%;
        justify-content: center;
    }

    .hero-badges {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}
