/* Self-hosted fonts (Phase 1) */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter/inter-400-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter/inter-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
        U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter/inter-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
        U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter/inter-500-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter/inter-500-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
        U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter/inter-500-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
        U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter/inter-600-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter/inter-600-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
        U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter/inter-600-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
        U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/inter/inter-700-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/inter/inter-700-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
        U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/inter/inter-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
        U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
    /* Accent — charcoal signature, used as punctuation */
    --accent: #323332;
    --accent-soft: #ede5d0;
    --accent-strong: #1a1b1a;

    /* Text scale (warm-tinted neutrals to harmonize with beige) */
    --text-1: #1c1d1c;
    --text-2: #5a574e;
    --text-3: #8a8478;

    /* Surfaces — warm light beige system */
    --surface-0: #f5efe1;
    --surface-1: #ffffff;
    --surface-2: #ebe3cd;

    /* Borders */
    --border-subtle: #e1d8bf;
    --border-strong: #c5b893;

    /* Status (used for status pills only, not marketing emphasis) */
    --success: #10b981;
    --warning: #f59e0b;
}

* {
    box-sizing: border-box;
}

body {
    font-family:
        'Inter',
        system-ui,
        -apple-system,
        'Segoe UI',
        Helvetica,
        Arial,
        sans-serif;
    color: var(--text-1);
    background-color: var(--surface-0);
    margin: 0;
    padding: 0;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
    color: var(--text-1);
}

h1 {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(2rem, 2.5vw + 1.4rem, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(1.75rem, 1.5vw + 1.2rem, 2.5rem);
    line-height: 1.1;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-2);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.55;
}

p {
    margin-bottom: 1.5rem;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--accent);
    color: var(--surface-1);
    padding: 0.65rem 1.35rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition:
        background-color 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease;
    border: 1px solid var(--accent);
    cursor: pointer;
    font-size: 0.9375rem;
    line-height: 1.2;
}

.cta-button:hover {
    background-color: var(--accent-strong);
    border-color: var(--accent-strong);
}

.cta-button.sm {
    padding: 0.45rem 0.95rem;
    font-size: 0.875rem;
}

.cta-button.large {
    font-size: 1rem;
    padding: 0.85rem 2rem;
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.cta-button.secondary:hover {
    background-color: var(--accent);
    color: var(--surface-1);
}

/* Header */
.sticky-header {
    position: sticky;
    top: 0;
    background-color: var(--surface-1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 1rem 0;
}

.sticky-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-right {
    position: fixed;
    top: 1rem;
    right: max(5vw, calc((100vw - 1200px) / 2));
    z-index: 101;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-nav {
    display: flex;
    gap: 1.5rem;
}

.header-nav a {
    color: var(--text-1);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.header-nav a:hover {
    color: var(--accent);
}

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

.logo-img {
    height: 40px;
    width: auto;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-1);
    border-radius: 2px;
    transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Hero Section */
.hero {
    padding: 4rem 0 6rem;
    background: linear-gradient(135deg, var(--surface-1) 0%, var(--accent-soft) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 560px;
}

.hero h1 {
    font-size: clamp(2rem, 2vw + 1.4rem, 3rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.subheadline {
    font-size: clamp(1.0625rem, 0.4vw + 0.95rem, 1.25rem);
    color: var(--text-2);
    margin-bottom: 2rem;
    line-height: 1.5;
    max-width: 38ch;
}

.small-note {
    font-size: 0.9rem;
    color: var(--text-2);
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-2);
}
.stat-label--emphasis {
    font-weight: 600;
}

/* Hero Image */
.hero-image {
    position: relative;
}

.product-screenshot {
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    background: var(--surface-1);
}

.product-screenshot img,
.screenshot-main {
    width: 100%;
    height: auto;
    display: block;
}

.floating-card {
    position: absolute;
    background: var(--surface-1);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    animation: float 3s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 20%;
    left: -30px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 20%;
    right: -30px;
    animation-delay: 1.5s;
}

.card-icon {
    font-size: 1.2rem;
}

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

/* Trust Badges */
.trust-badges {
    background-color: var(--surface-1);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.trust-grid {
    display: flex;
    justify-content: center;
    align-items: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 2.5rem;
}

.trust-divider {
    width: 1px;
    height: 2.5rem;
    background: var(--border-subtle);
    flex-shrink: 0;
}

.trust-icon {
    color: var(--accent);
    flex-shrink: 0;
}

.trust-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.trust-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-1);
}

.trust-sublabel {
    font-size: 0.775rem;
    color: var(--text-3);
}

/* Demo Video Section */
.demo-video .section-subtitle {
    font-size: clamp(1.0625rem, 0.4vw + 0.95rem, 1.25rem);
}

.demo-video {
    padding: 5rem 0;
    background: var(--surface-1);
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-placeholder {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.video-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--accent);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition:
        transform 0.3s,
        background 0.3s;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--accent-strong);
}

.play-button svg {
    width: 30px;
    height: 30px;
    margin-left: 5px;
}

/* Pain Solution / Features */
.pain-solution {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--surface-1) 0%, var(--accent-soft) 100%);
}

/* Persona Cards (Features Section) */
.persona-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.persona-card {
    background: var(--surface-1);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--border-strong);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.persona-tag {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    width: fit-content;
}

.persona-scenario {
    color: var(--text-1);
    font-size: 0.975rem;
    line-height: 1.7;
    margin: 0;
    font-style: italic;
}

.persona-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
    margin-top: auto;
}

.persona-features li {
    font-size: 0.875rem;
    color: var(--text-2);
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.4;
}

.persona-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.75rem;
    top: 0.1em;
}

/* How It Works */
.how-it-works {
    padding: 5rem 0;
    background: var(--white);
}

.steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

.step-arrow {
    font-size: 2rem;
    color: var(--border-strong);
    padding-top: 2.5rem;
}

/* Persona Outcome Line */
.persona-outcome {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    margin: 0;
    line-height: 1.5;
    letter-spacing: 0.01em;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
    margin-top: auto;
}

/* Features Detail Section */
.features-detail {
    padding: 5rem 0;
    background: var(--surface-2);
}

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

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--accent-soft);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.feature-text strong {
    font-size: 0.95rem;
    color: var(--text-1);
    font-weight: 600;
    line-height: 1.3;
}

.feature-text span {
    font-size: 0.85rem;
    color: var(--text-2);
    line-height: 1.55;
}

/* Pricing Section */
.pricing {
    padding: 5rem 0 6.5rem;
    background: linear-gradient(135deg, var(--surface-1) 0%, var(--accent-soft) 100%);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--surface-1);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border: 3px solid var(--accent);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.pricing-header h3 {
    margin-bottom: 0.5rem;
    color: var(--text-1);
}

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

.price .currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
}

.price .period {
    font-size: 1rem;
    color: var(--text-2);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
    flex: 1;
}

.pricing-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-1);
    font-size: 0.875rem;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Per-tier check colors */
.pricing-card:nth-child(1) .pricing-features li::before {
    color: var(--accent);
}
.pricing-card:nth-child(2) .pricing-features li::before {
    color: var(--success);
}
.pricing-card:nth-child(3) .pricing-features li::before {
    color: var(--warning);
}

.pricing-card .cta-button {
    width: 100%;
    margin-top: auto;
    font-size: 0.875rem;
}

.price-subtitle {
    font-size: 0.8rem;
    color: var(--text-2);
    margin-top: 0.35rem;
    margin-bottom: 0;
    white-space: nowrap;
}

/* Built for Germany Section */
.built-for-germany {
    padding: 5rem 0;
    background-color: var(--surface-1);
}

.germany-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.germany-eyebrow {
    font-size: 0.775rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.germany-narrative h2 {
    text-align: left;
    margin-bottom: 1.25rem;
}

.germany-body {
    color: var(--text-2);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.germany-body:last-child {
    margin-bottom: 0;
}

.germany-facts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.germany-fact {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: var(--surface-0);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
}

.fact-icon {
    color: var(--accent);
    flex-shrink: 0;
}

.fact-title {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-1);
    margin-bottom: 0.2rem;
}

.fact-desc {
    display: block;
    font-size: 0.85rem;
    color: var(--text-2);
    line-height: 1.5;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background-color: var(--surface-0);
}

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

.testimonial {
    background-color: var(--surface-1);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--border-strong);
    position: relative;
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-2);
    font-size: 0.975rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--text-1);
}

.author-title {
    font-size: 0.85rem;
    color: var(--text-2);
}

/* FAQ */
.faq {
    padding: 4rem 0;
    background: var(--surface-1);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-subtle);
}

.faq-item:first-child {
    border-top: 1px solid var(--border-subtle);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.1rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--text-1);
    font-size: 1rem;
    font-weight: 600;
    gap: 1rem;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--text-2);
    transition: transform 0.25s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

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

.faq-answer p {
    padding-bottom: 1.1rem;
    margin-bottom: 0;
    color: var(--text-2);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-strong), var(--accent));
    color: var(--surface-1);
}

.cta-section h2 {
    color: var(--surface-1);
    font-size: clamp(2rem, 2vw + 1.4rem, 2.75rem);
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    font-size: 1.1rem;
}

.cta-section .cta-subtitle {
    margin-bottom: 1rem;
}

.cta-section .cta-note {
    opacity: 0.7;
}

.cta-section .cta-button.large {
    margin: 0 auto 1rem;
    display: inline-block;
}

.cta-section .cta-button {
    background-color: var(--accent-soft);
    color: var(--accent);
    border-color: var(--accent-soft);
}

.cta-section .cta-button:hover {
    background-color: #d8cfb8;
    border-color: #d8cfb8;
}

.cta-section .small-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: var(--text-1);
    color: var(--surface-1);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: var(--surface-1);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: block;
}

.footer-brand p {
    opacity: 0.8;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.footer-badges {
    font-size: 0.9rem;
    opacity: 0.7;
}

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

.footer-column h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.footer-column nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: var(--surface-1);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
    font-size: 0.95rem;
}

.footer-column a:hover {
    opacity: 1;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.copyright {
    color: var(--text-2);
    font-size: 0.9rem;
    margin: 0;
}

.referral-earn-section {
    padding: 5rem 0 6.5rem;
}

.referral-earn-section .cta-button {
    display: block;
    width: fit-content;
    margin: 28px auto 0;
}

.referral-earn-section h2 + p,
.referral-earn-note {
    text-align: center;
}

/* Referral cards (shown on all viewports) */
.referral-earn-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 700px;
    margin: 0 auto;
}
.referral-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    border: 1px solid #e8e2d6;
    border-radius: 10px;
    text-align: left;
}
.referral-card--tier1 {
    background: #fff;
}
.referral-card--tier2 {
    background: #ebe3cd;
    border-color: transparent;
}
.referral-card--tier3 {
    background: #323332;
    border-color: transparent;
    color: #fff;
}
.referral-card__label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a8478;
    margin-bottom: 2px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.referral-card--tier3 .referral-card__label {
    color: #c7bfa8;
}
.referral-card__digit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: #323332;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
}
.referral-card--tier3 .referral-card__digit {
    background: #fff;
    color: #323332;
}
.referral-card__amount {
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1;
    color: #323332;
    letter-spacing: -0.02em;
}
.referral-card--tier3 .referral-card__amount {
    color: #fff;
    font-size: 2.4rem;
}
.referral-card__period {
    font-size: 0.95rem;
    font-weight: 500;
    color: #8a8478;
    margin-left: 2px;
    letter-spacing: 0;
}
.referral-card--tier3 .referral-card__period {
    color: #c7bfa8;
}
.referral-card__desc {
    font-size: 0.85rem;
    color: #5a574e;
    margin: 4px 0 0;
    line-height: 1.4;
}
.referral-card--tier3 .referral-card__desc {
    color: #e8e2d6;
}

.referral-earn-table {
    display: none;
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}

.referral-earn-table thead tr {
    background: var(--accent);
    color: var(--surface-1);
}

.referral-earn-table th {
    padding: 14px 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.referral-earn-table th:nth-child(3) {
    text-align: left;
}

.referral-earn-table td {
    padding: 13px 20px;
    text-align: center;
    font-size: 0.9375rem;
}

.referral-earn-table tbody tr:nth-child(odd) {
    background: var(--surface-1);
}
.referral-earn-table tbody tr:nth-child(even) {
    background: var(--surface-2);
}

.referral-earn-table tbody tr td:first-child {
    font-weight: 700;
    color: var(--text-1);
}

.referral-earn-table tbody tr td:nth-child(2) {
    font-weight: 600;
    color: var(--text-1);
}

.referral-earn-table tbody tr td:nth-child(3) {
    color: var(--text-2);
}

/* ── Mobile: collapse 3-column table into stacked cards ─── */
@media (max-width: 580px) {
    .referral-earn-table,
    .referral-earn-table tbody {
        display: block;
    }

    .referral-earn-table thead {
        display: none;
    }

    .referral-earn-table tbody {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .referral-earn-table tbody tr {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0 16px;
        border-radius: 10px;
        padding: 16px 20px;
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
    }

    .referral-earn-table tbody tr td {
        display: block;
        padding: 0;
        text-align: left;
    }

    /* Big number on the left */
    .referral-earn-table tbody tr td:nth-child(1) {
        font-size: 2.5rem;
        font-weight: 800;
        line-height: 1;
        min-width: 56px;
        color: var(--accent);
    }

    /* Amount — prominent, next to number */
    .referral-earn-table tbody tr td:nth-child(2) {
        font-size: 1.25rem;
        font-weight: 600;
        flex: 1;
        line-height: 1;
        align-self: center;
    }

    /* Context — full-width second line */
    .referral-earn-table tbody tr td:nth-child(3) {
        width: 100%;
        font-size: 0.875rem;
        color: var(--text-2);
        margin-top: 8px;
        text-align: left;
    }
}

.referral-earn-note {
    margin-top: 1.25rem;
    font-size: 0.8125rem;
    color: var(--text-3);
}

/* Responsive */
@media (max-width: 1024px) {
    .persona-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .germany-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 680px;
        margin: 0 auto;
    }

    .germany-narrative h2 {
        text-align: left;
    }

    .germany-eyebrow {
        text-align: left;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Header / Nav */
    .mobile-menu-toggle {
        display: flex;
    }

    .header-right {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        z-index: 90;
        background: var(--surface-1);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .header-right.active {
        transform: translateY(0);
    }

    .header-nav {
        flex-direction: column;
        text-align: center;
    }

    /* Hero */
    .hero {
        padding: 2.5rem 0 3rem;
    }

    /* Dissolve the hero grid into a flex column so we can interleave
       the image between the headline and the CTA using order. */
    .hero .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0;
    }

    /* display:contents dissolves the wrapper — its children become direct
       flex items of .hero .container, enabling order-based reflow. */
    .hero-content {
        display: contents;
    }

    .hero h1 {
        order: 1;
        width: 100%;
        margin-bottom: 1rem;
    }
    .subheadline {
        order: 2;
        max-width: 100%;
        margin: 0 auto 1.5rem;
    }
    .hero-image {
        order: 0;
        max-width: 420px;
        width: 100%;
        margin: 0 auto 1.5rem;
    }
    .hero-cta {
        order: 4;
        width: 100%;
    }
    .small-note {
        order: 5;
        width: 100%;
    }
    .hero-stats {
        order: 6;
        justify-content: center;
        width: 100%;
    }

    .floating-card {
        display: none;
    }

    /* How it works */
    .steps {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .step {
        max-width: 100%;
    }

    .step-arrow {
        transform: rotate(90deg);
        padding-top: 0;
    }

    /* Referral earnings table */
    .referral-earn-table th,
    .referral-earn-table td {
        padding: 10px 12px;
        font-size: 0.875rem;
    }

    /* Trust badges */
    .trust-badges {
        padding: 1.5rem 0;
    }

    .trust-grid {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding-left: 24px;
    }

    .trust-divider {
        display: none;
    }

    .trust-item {
        padding: 0;
    }

    /* Demo video */
    .demo-video {
        padding: 3rem 0;
    }

    /* Features / Personas */
    .pain-solution {
        padding: 3rem 0;
    }

    .pain-solution h2,
    .pain-solution .section-subtitle {
        text-align: left;
    }

    .persona-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    /* Features Detail */
    .features-detail {
        padding: 3rem 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        margin-top: 2rem;
    }

    /* Pricing */
    .pricing,
    .referral-earn-section {
        padding: 3rem 0 4rem;
    }

    .pricing-cards {
        max-width: 100%;
    }

    /* Built for Germany */
    .built-for-germany {
        padding: 3rem 0;
    }

    .germany-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
    }

    .germany-narrative h2 {
        text-align: left;
    }

    .germany-eyebrow {
        text-align: left;
    }

    .germany-body {
        text-align: left;
    }

    /* FAQ */
    .faq {
        padding: 3rem 0;
    }

    /* CTA */
    .cta-section {
        padding: 3rem 0;
    }

    .cta-email-form {
        flex-direction: column;
    }

    .cta-email-form input,
    .cta-email-form .cta-button {
        width: 100%;
    }

    .cta-email-form .cta-button {
        padding: 0.65rem 1.35rem;
        font-size: 0.9375rem;
    }

    /* Testimonials (kept for when re-enabled) */
    .testimonials {
        padding: 3rem 0;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    footer {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* Layout */
    .hero {
        padding: 1.25rem 0 1.5rem;
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .subheadline {
        margin-bottom: 1rem;
    }

    .small-note {
        margin-bottom: 1rem;
    }

    .hero-stats {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: 1rem;
        padding-top: 1rem;
    }

    .stat {
        display: flex;
        align-items: center;
        gap: 0;
        background: var(--surface-1);
        border: 1px solid var(--border-subtle);
        border-radius: 8px;
        padding: 10px 14px;
        text-align: left;
    }

    .stat-number {
        display: inline-block;
        width: 72px;
        flex-shrink: 0;
        flex-grow: 0;
        font-size: 1.2rem;
        text-align: center;
        border-right: 1px solid var(--border-subtle);
        padding-right: 12px;
        margin-right: 12px;
    }

    .stat-label {
        text-align: left;
        line-height: 1.3;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        text-align: left;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        text-align: left;
    }

    .footer-column h4 {
        display: none;
    }

    .footer-column:last-child {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-column a {
        overflow-wrap: break-word;
    }

    .trust-grid {
        gap: 0.85rem;
    }

    .germany-fact {
        gap: 0.75rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .persona-card {
        padding: 1.25rem;
        gap: 0.75rem;
    }

    .pain-solution {
        padding: 2rem 0;
    }

    .pain-solution h2 {
        line-height: 1.2;
        margin-bottom: 0.625rem;
    }

    .pain-solution .section-subtitle {
        margin-bottom: 1.25rem;
    }

    .persona-scenario {
        line-height: 1.55;
    }

    .persona-outcome {
        padding-top: 0.75rem;
    }

    .referral-earn-table {
        display: none;
    }
    .referral-earn-cards {
        display: flex;
    }
    .referral-earn-note {
        text-align: center;
    }

    /* ── Mobile type scale ─────────────────────────────────────── */

    /* Section headings — all h2 */
    h2 {
        font-size: 1.3rem;
        line-height: 1.2;
    }

    /* Card / subsection titles */
    h3,
    .faq-question {
        font-size: 1rem;
    }

    /* Body — intro copy, feature names, descriptions, links */
    .section-subtitle,
    .subheadline,
    .germany-body,
    .persona-scenario,
    .feature-text strong,
    .step p,
    .testimonial p,
    .faq-answer p,
    .footer-column a,
    .trust-label,
    .fact-title,
    .referral-card__sentence,
    .cta-section p {
        font-size: 0.9rem;
    }

    /* Small — secondary text, captions, labels, tags */
    .feature-text span,
    .persona-outcome,
    .fact-desc,
    .trust-sublabel,
    .author-title,
    .stat-label,
    .price-subtitle,
    .germany-eyebrow,
    .persona-tag,
    .referral-card__desc,
    .footer-column h4,
    .small-note {
        font-size: 0.8rem;
    }

    /* Price display — reduce oversized numbers */
    .price .amount {
        font-size: 2rem;
    }
    .price .currency {
        font-size: 1.2rem;
    }
    .price .period {
        font-size: 0.9rem;
    }

    .referral-earn-table {
        display: none;
    }
    .referral-earn-cards {
        display: flex;
    }

    .referral-earn-table {
        display: none;
    }
    .referral-earn-cards {
        display: flex;
    }

    .referral-earn-table {
        display: none;
    }
    .referral-earn-cards {
        display: flex;
    }
}
