/* Self-hosted Inter font (DSGVO-compliant, no external requests) */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/inter-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/assets/fonts/inter-medium.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/inter-semibold.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/inter-bold.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('/assets/fonts/inter-extrabold.woff2') format('woff2');
}

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

:root {
    --color-primary: #0A84FF;
    --color-primary-dark: #0066CC;
    --color-bg: #FFFFFF;
    --color-bg-alt: #F5F5F7;
    --color-bg-dark: #1D1D1F;
    --color-text: #1D1D1F;
    --color-text-light: #6E6E73;
    --color-text-muted: #86868B;
    --color-border: #D2D2D7;
    --color-border-light: #E8E8ED;
    --color-success: #34C759;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --max-width: 1080px;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    line-height: 1.6;
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

/* Nav */
header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border-light);
    z-index: 100;
}

nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
}

.logo-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    object-fit: cover;
    transition: transform 0.4s ease, border-radius 0.4s ease;
}

.logo:hover .logo-icon {
    transform: rotate(360deg);
    border-radius: 50%;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
}

.nav-links > a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-links > a:not(.btn):hover::after { width: 100%; }

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

/* Hamburger (mobile only) */
.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 0.5rem;
    margin: -0.5rem;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

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

.nav-toggle-bar + .nav-toggle-bar { margin-top: 5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-large { padding: 0.875rem 1.75rem; font-size: 1rem; border-radius: var(--radius); }

.btn-primary {
    background: var(--color-primary);
    color: #fff !important;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10,132,255,0.3);
}

.btn-primary:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 1px 4px rgba(10,132,255,0.2);
    transition-duration: 0.1s;
}

/* "Download on the App Store" primary CTA */
.btn-app-store {
    background: var(--color-bg-dark);
}
.btn-app-store:hover {
    background: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.btn-app-store .btn-icon {
    flex-shrink: 0;
    margin-right: 0.125rem;
}

/* Hero/CTA-slot wrapper shown in place of the form when appStoreUrl is set */
.early-access-app-store {
    display: flex;
    justify-content: center;
    margin: 0 0 1rem;
}
.early-access-app-store .btn-app-store {
    min-width: 240px;
}
.cta-form.early-access-app-store { margin-top: 1rem; }

/* Layout */
main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section { padding: 5rem 0; }

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--color-text-light);
}

/* Hero */
.hero {
    padding: 4rem 0 2rem;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
    min-width: 0;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--color-bg-alt);
    color: var(--color-text-light);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    animation: badge-in 0.6s ease-out;
}

@keyframes badge-in {
    from { opacity: 0; transform: translateY(-10px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary), #5AC8FA, var(--color-primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    max-width: 580px;
    margin: 0 0 2rem;
    line-height: 1.6;
}

.hero-subtitle strong {
    color: var(--color-text);
    font-weight: 700;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-tech {
    display: flex;
    gap: 0.5rem;
}

.tech-badge {
    padding: 0.375rem 0.75rem;
    background: var(--color-bg-alt);
    border-radius: 100px;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.tech-badge:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-1px);
}

.hero-phone {
    flex-shrink: 0;
    width: 280px;
    animation: phone-float 6s ease-in-out infinite;
}

.hero-phone-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 32px;
    filter: drop-shadow(0 24px 48px rgba(0,0,0,0.18));
}

@keyframes phone-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Screenshot Showcase */
.screenshot-showcase {
    padding: 5rem 0;
}

.screenshot-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
}

.screenshot-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-8px);
}

.screenshot-img {
    width: 220px;
    height: auto;
    display: block;
    border-radius: 28px;
    filter: drop-shadow(0 16px 40px rgba(0,0,0,0.15));
    transition: filter 0.3s ease;
}

.screenshot-item:hover .screenshot-img {
    filter: drop-shadow(0 24px 56px rgba(0,0,0,0.22));
}

.screenshot-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-light);
}

/* Trust Strip */
.trust-strip {
    padding: 2rem 0 3rem;
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-weight: 500;
    transition: color 0.2s ease;
}

.trust-item:hover { color: var(--color-text); }

.trust-item svg {
    flex-shrink: 0;
    color: var(--color-success);
    transition: transform 0.3s ease;
}

.trust-item:hover svg { transform: scale(1.2); }

/* Features */
.features { background: var(--color-bg); }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--color-bg);
    padding: 1.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: var(--color-border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
    color: var(--color-primary);
    margin-bottom: 1rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

/* Each feature icon has a unique hover micro-interaction */
.feature-card:nth-child(1):hover .feature-icon { transform: scale(1.15) rotate(-6deg); }
.feature-card:nth-child(2):hover .feature-icon { transform: translateY(-4px) scale(1.1); }
.feature-card:nth-child(3):hover .feature-icon { transform: scale(1.1) rotate(6deg); }
.feature-card:nth-child(4):hover .feature-icon { animation: icon-scan 0.6s ease; }
.feature-card:nth-child(5):hover .feature-icon { animation: icon-pulse 0.6s ease; }
.feature-card:nth-child(6):hover .feature-icon { transform: scale(1.15); background: var(--color-primary); color: white; }

@keyframes icon-scan {
    0% { transform: scale(1); }
    30% { transform: scale(1.2) rotateY(90deg); }
    60% { transform: scale(1.2) rotateY(0deg); }
    100% { transform: scale(1.1); }
}

@keyframes icon-pulse {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1.05); }
    75% { transform: scale(1.15); }
}

.feature-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    line-height: 1.55;
}

/* Report Showcase */
.report-showcase {
    padding: 5rem 0;
}

.report-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.report-text {
    flex: 1;
    min-width: 0;
}

.report-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.report-text p {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.report-image-wrapper {
    flex: 1.4;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.report-image-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

.report-image {
    width: 100%;
    height: auto;
    display: block;
}

/* AI Section */
.ai-section {
    background: var(--color-bg-dark);
    margin: 0 -1.5rem;
    padding: 5rem 1.5rem;
    color: white;
}

.ai-section .section-header h2 { color: white; }
.ai-section .section-header p { color: rgba(255,255,255,0.6); }

.ai-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.ai-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: all var(--transition);
}

.ai-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

.ai-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.ai-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.ai-card p {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.55;
}

/* How It Works */
.how-it-works {
    padding: 5rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 32px;
    left: calc(16.67% + 24px);
    right: calc(16.67% + 24px);
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-border-light), var(--color-primary));
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgba(10,132,255,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover .step-number {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(10,132,255,0.4);
}

.step-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.55;
    max-width: 280px;
    margin: 0 auto;
}

/* Pricing */
.pricing { text-align: center; }

.price-card {
    max-width: 400px;
    margin: 0 auto 3rem;
    background: var(--color-bg);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.price-card:hover {
    box-shadow: 0 0 0 4px rgba(10,132,255,0.1), 0 12px 40px rgba(10,132,255,0.12);
    transform: translateY(-3px);
}

.price-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(10,132,255,0.1);
    color: var(--color-primary);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.price-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
}

.price-number {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--color-text);
}

.price-period {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.price-features {
    list-style: none;
    text-align: left;
    margin-bottom: 1.75rem;
}

.price-features li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    font-size: 0.9375rem;
    color: var(--color-text-light);
    border-bottom: 1px solid var(--color-border-light);
}

.price-features li:last-child { border-bottom: none; }

.price-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: var(--color-success);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

.price-note {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.price-yearly {
    margin-top: -1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
    color: var(--color-text-light);
    text-align: center;
}

.price-yearly strong {
    color: var(--color-text);
    font-weight: 700;
}

/* Comparison */
.comparison {
    max-width: 640px;
    margin: 0 auto;
}

.comparison h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.comparison-table {
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius);
    overflow: hidden;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    text-align: center;
}

.comparison-row span {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--color-border-light);
}

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

.comparison-row span:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--color-text);
}

.comparison-row span:not(:first-child) {
    color: var(--color-text-light);
}

.comparison-row.header span {
    background: var(--color-bg-alt);
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.8125rem;
}

.comparison-row span.highlight {
    color: var(--color-primary);
    font-weight: 600;
}

/* Early Access Form */
.early-access-form {
    max-width: 580px;
    margin-bottom: 2rem;
}

.form-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.form-row .btn {
    white-space: nowrap;
    flex-shrink: 0;
}

.form-row input[type="text"],
.form-row input[type="email"] {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--color-text);
    background: var(--color-bg);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-row input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(10,132,255,0.12);
}

.form-row input::placeholder {
    color: var(--color-text-muted);
}

.form-note {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin: 0;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    background: rgba(52,199,89,0.08);
    border: 1.5px solid var(--color-success);
    border-radius: var(--radius);
    color: var(--color-text);
    font-size: 0.9375rem;
    font-weight: 500;
    animation: badge-in 0.4s ease-out;
}

.form-success svg {
    color: var(--color-success);
    flex-shrink: 0;
}

.form-error {
    font-size: 0.875rem;
    color: #FF3B30;
    margin-top: 0.5rem;
}

.cta-form {
    max-width: 520px;
    margin: 0 auto;
}

.cta-form .form-row {
    justify-content: center;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 5rem 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.cta-section p {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border-light);
    padding: 3rem 1.5rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.footer-brand .logo-icon {
    width: 24px;
    height: 24px;
    font-size: 0.625rem;
}

footer p {
    color: var(--color-text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

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

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

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-grid .feature-card.fade-in:nth-child(1) { transition-delay: 0ms; }
.feature-grid .feature-card.fade-in:nth-child(2) { transition-delay: 50ms; }
.feature-grid .feature-card.fade-in:nth-child(3) { transition-delay: 100ms; }
.feature-grid .feature-card.fade-in:nth-child(4) { transition-delay: 150ms; }
.feature-grid .feature-card.fade-in:nth-child(5) { transition-delay: 200ms; }
.feature-grid .feature-card.fade-in:nth-child(6) { transition-delay: 250ms; }

.trust-items .trust-item.fade-in:nth-child(1) { transition-delay: 0ms; }
.trust-items .trust-item.fade-in:nth-child(2) { transition-delay: 100ms; }
.trust-items .trust-item.fade-in:nth-child(3) { transition-delay: 200ms; }

.price-features li.fade-in:nth-child(1) { transition-delay: 0ms; }
.price-features li.fade-in:nth-child(2) { transition-delay: 60ms; }
.price-features li.fade-in:nth-child(3) { transition-delay: 120ms; }
.price-features li.fade-in:nth-child(4) { transition-delay: 180ms; }
.price-features li.fade-in:nth-child(5) { transition-delay: 240ms; }
.price-features li.fade-in:nth-child(6) { transition-delay: 300ms; }
.price-features li.fade-in:nth-child(7) { transition-delay: 360ms; }

.ai-grid .ai-card.fade-in:nth-child(1) { transition-delay: 0ms; }
.ai-grid .ai-card.fade-in:nth-child(2) { transition-delay: 100ms; }
.ai-grid .ai-card.fade-in:nth-child(3) { transition-delay: 200ms; }

.steps-grid .step-card.fade-in:nth-child(1) { transition-delay: 0ms; }
.steps-grid .step-card.fade-in:nth-child(2) { transition-delay: 150ms; }
.steps-grid .step-card.fade-in:nth-child(3) { transition-delay: 300ms; }

/* Responsive */
@media (max-width: 768px) {
    .hero-content,
    .report-content {
        flex-direction: column;
        text-align: center;
    }
    .report-text h2 { font-size: 1.75rem; }
    .hero-text { text-align: center; }
    .hero-subtitle { margin: 0 auto 2rem; }
    .early-access-form { margin-left: auto; margin-right: auto; }
    .form-row { flex-direction: column; }
    .form-row .btn { width: 100%; }
    .cta-buttons { justify-content: center; }
    .hero-tech { justify-content: center; }
    .hero-phone { width: 240px; }
    .hero h1 { font-size: 2.25rem; }
    .section-header h2 { font-size: 1.75rem; }
    .cta-section h2 { font-size: 1.75rem; }

    /* Mobile nav: hamburger + slide-down drawer */
    .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 1.25rem 1.25rem;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--color-border-light);
        box-shadow: 0 12px 24px rgba(0,0,0,0.08);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
    }

    .site-nav:has(.nav-toggle[aria-expanded="true"]) .nav-links,
    header.nav-open .nav-links {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .nav-links > a {
        padding: 0.875rem 0.25rem;
        font-size: 1rem;
        font-weight: 600;
        color: var(--color-text);
        border-bottom: 1px solid var(--color-border-light);
    }

    .nav-links > a.btn {
        margin-top: 0.75rem;
        padding: 0.875rem 1.25rem;
        border-bottom: none;
        justify-content: center;
    }

    .nav-links > a:not(.btn)::after { display: none; }

    .lang-switcher {
        margin: 0.75rem 0 0;
        align-self: flex-start;
        background: var(--color-bg-alt);
        border: 1px solid var(--color-border-light);
    }

    .trust-items {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .feature-grid,
    .ai-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid::before { display: none; }

    .comparison-row {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        font-size: 0.75rem;
    }

    .comparison-row span {
        padding: 0.625rem 0.5rem;
        font-size: 0.75rem;
    }

    .screenshot-grid {
        gap: 1.25rem;
        justify-content: flex-start;
        padding: 1rem;
    }

    .screenshot-img { width: 180px; }
}

@media (max-width: 480px) {
    nav { padding: 0.75rem 1rem; }
    main { padding: 0 1rem; }
    .ai-section { margin: 0 -1rem; padding: 4rem 1rem; }
    .hero h1 { font-size: 2rem; letter-spacing: -0.025em; }
    .hero-badge { font-size: 0.75rem; padding: 0.3rem 0.75rem; }
    .section-header h2 { font-size: 1.625rem; }
    .price-card { padding: 2rem 1.25rem; }
    .price-number { font-size: 3rem; }
}

/* Header scroll */
header.scrolled {
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* Privacy/Cookie Banner (DSGVO) */
.privacy-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-bg-dark);
    color: rgba(255,255,255,0.85);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 200;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
    animation: banner-slide-up 0.4s ease-out;
}

.privacy-banner p {
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.privacy-banner a {
    color: var(--color-primary);
    text-decoration: underline;
}

.privacy-banner strong {
    color: white;
    font-weight: 600;
}

@keyframes banner-slide-up {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@media (max-width: 768px) {
    .privacy-banner {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

/* Language switcher */
.lang-switcher {
    display: inline-flex;
    gap: 0.125rem;
    align-items: center;
    font-size: 0.75rem;
    padding: 0.2rem 0.35rem;
    border-radius: 999px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border-light);
}
.lang-switcher a {
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    color: var(--color-text-light);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1;
}
.lang-switcher a::after { display: none !important; }
.lang-switcher a.active {
    color: #fff;
    background: var(--color-primary);
}
.lang-switcher a:hover:not(.active) { color: var(--color-text); }

/* Industries section */
.industries { padding: 6rem 0; }
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
}
.industry-card {
    display: block;
    padding: 1.75rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border-light);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.industry-card:hover {
    transform: translateY(-3px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
}
.industry-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}
.industry-card p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    margin: 0;
}
.industry-card .arrow {
    display: inline-block;
    margin-top: 0.75rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.875rem;
}

/* Niche LP hero */
.lp-hero { padding: 6rem 0 3rem; text-align: center; }
.lp-hero .hero-badge { margin: 0 auto 1.5rem; }
.lp-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1.25rem; }
.lp-hero p.lead { font-size: 1.25rem; color: var(--color-text-light); max-width: 720px; margin: 0 auto 2rem; }
.lp-hero .early-access-form { max-width: 560px; margin: 0 auto; }

/* Use cases */
.use-cases { padding: 4rem 0; }
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
}
.use-case {
    padding: 1.75rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border-light);
    border-radius: 16px;
}
.use-case h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.use-case p { font-size: 0.9375rem; color: var(--color-text-light); margin: 0; }

/* Legal pages */
.legal-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem;
}
.legal-page h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}
.legal-page h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border-light);
}
.legal-page h2:first-of-type {
    border-top: none;
    padding-top: 0;
}
.legal-page h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.legal-page p,
.legal-page li {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}
.legal-page ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.legal-page li { margin-bottom: 0.375rem; }
.legal-page a {
    color: var(--color-primary);
    text-decoration: none;
}
.legal-page a:hover { text-decoration: underline; }
.legal-page strong {
    color: var(--color-text);
    font-weight: 600;
}
.legal-nav {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border-light);
    flex-wrap: wrap;
}
.legal-nav a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-decoration: none;
}
.legal-nav a:hover { color: var(--color-primary); }
.legal-note {
    background: var(--color-bg-alt);
    border-left: 3px solid var(--color-primary);
    padding: 0.875rem 1rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

/* 404 */
.error-page {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}
.error-code {
    font-size: 6rem;
    font-weight: 800;
    color: var(--color-text-light);
    letter-spacing: -0.04em;
    margin-bottom: 0.5rem;
}
.error-message {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
}
.error-description {
    color: var(--color-text-light);
    margin-bottom: 2rem;
    max-width: 400px;
}
