/*
 * Spießer Landing Page v2 - Main Stylesheet
 * Design System basiert auf docs/design.md
 * Mobile-First Approach
 */

/* ===================================
   CSS Variables (Design Tokens)
   =================================== */
:root {
    /* Primary Colors */
    --primary: #4B986C;
    --secondary: #928163;
    --tertiary: #6D604A;
    --alternate: #C6CDC6;

    /* Text Colors */
    --text-primary: #0B191E;
    --text-secondary: #384E58;

    /* Background Colors */
    --bg-primary: #F1F4F8;
    --bg-secondary: #FCFCFC;

    /* Accent Colors */
    --accent-1: rgba(75, 152, 108, 0.3);
    --accent-warning: #F3C344;
    --accent-error: #C4454D;
    --accent-success: #336A4A;

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Sora', sans-serif;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(11, 25, 30, 0.08);
    --shadow-md: 0 4px 16px rgba(11, 25, 30, 0.12);
    --shadow-lg: 0 8px 24px rgba(11, 25, 30, 0.16);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-spring: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

    /* Tinted Shadows */
    --shadow-primary: 0 4px 14px rgba(75, 152, 108, 0.25);
    --shadow-primary-lg: 0 8px 30px rgba(75, 152, 108, 0.2);

    /* ICP Warm Accent */
    --accent-warm: #E8A87C;
}

/* Dark Mode Variables */
.dark-mode {
    --primary: #24663D;
    --secondary: #928163;
    --tertiary: #6D604A;
    --alternate: rgba(139, 139, 139, 0.67);

    --text-primary: #FFFFFF;
    --text-secondary: #EAEAEA;

    --bg-primary: #070707;
    --bg-secondary: #1C1D1C;

    --accent-1: rgba(57, 113, 78, 0.68);
}

/* ===================================
   Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: clip;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

@supports not (overflow: clip) {
    html,
    body {
        overflow-x: hidden;
    }
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    line-height: 1.2;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem; /* 40px */
    margin-bottom: var(--spacing-lg);
}

h2 {
    font-size: 2rem; /* 32px */
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: 1.5rem; /* 24px */
    margin-bottom: var(--spacing-md);
}

h4 {
    font-size: 1.25rem; /* 20px */
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    text-decoration: underline;
}

/* ===================================
   Layout & Container
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

section {
    padding: var(--spacing-3xl) 0;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-md) 0;
    transition: var(--transition-normal);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
}

.brand-name {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), left 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-link:hover {
    color: var(--primary);
    text-decoration: none;
}

.nav-link:hover::after {
    width: 60%;
    left: 20%;
}

.dark-mode-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    padding: var(--spacing-sm);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.dark-mode-toggle:hover {
    background-color: var(--accent-1);
    color: var(--primary);
}

.nav-download-btn {
    margin-left: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 0.95rem;
    font-weight: 600;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

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

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

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

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: var(--accent-success);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(75, 152, 108, 0.35);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 2px 8px rgba(75, 152, 108, 0.25);
    transition-duration: 0.1s;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(75, 152, 108, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(146, 129, 99, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(232, 168, 124, 0.04) 0%, transparent 40%),
        linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: var(--spacing-3xl) 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.dark-mode .hero {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(75, 152, 108, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(146, 129, 99, 0.03) 0%, transparent 50%),
        linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.hero-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.hero-subtitle-small {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    animation: fadeSlideUp 0.6s ease-out;
}

.hero-title-large {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--primary);
    animation: fadeSlideUp 0.7s ease-out;
}

.hero-subtitle-gray {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-secondary);
    opacity: 0.8;
    animation: fadeSlideUp 0.8s ease-out;
}

.hero-cta-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
    align-items: start;
}

.hero-cta-left {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.hero-form-right {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-microcopy {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease-out;
}

.mascot {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.speech-bubble {
    position: absolute;
    top: 20%;
    right: -10%;
    background-color: var(--bg-secondary);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 200px;
}

.speech-bubble::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--bg-secondary);
}

/* ===================================
   NEW HERO SECTION LAYOUT
   ================================== */
.hero-content-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    margin-bottom: var(--spacing-3xl);
}

@media (min-width: 769px) {
    .hero {
        min-height: min(62vh, 42rem);
        padding: clamp(2.5rem, 4vw, 3.25rem) 0;
    }

    .hero-content-new {
        margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
    }
}

.hero-text-left {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    text-align: left;
}

.lang-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px 7px 11px;
    margin-bottom: 8px;
    align-self: flex-start;
    background: var(--bg-secondary);
    border: 1px solid var(--accent-1);
    border-radius: 999px;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-success);
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(75, 152, 108, 0.14);
    transform: rotate(-2.5deg);
    transform-origin: left center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.lang-pill:hover {
    text-decoration: none;
    transform: rotate(0deg) translateY(-1px);
    box-shadow: 0 6px 20px rgba(75, 152, 108, 0.22);
}

.lang-pill-flag {
    font-size: 0.95rem;
    line-height: 1;
}

.lang-pill-text {
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    transition: text-decoration-color 0.25s ease;
}

.lang-pill:hover .lang-pill-text {
    text-decoration-color: currentColor;
}

.lang-pill-arrow {
    transition: transform 0.25s ease;
}

.lang-pill:hover .lang-pill-arrow {
    transform: translateX(3px);
}

.dark-mode .lang-pill {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(92, 184, 133, 0.4);
    color: #5CB885;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4B986C 0%, #2D7A4F 50%, #928163 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 var(--spacing-sm) 0;
    line-height: 1.1;
    animation: fadeSlideUp 0.7s var(--ease-out-expo) 0.1s both;
}

.dark-mode .hero-title {
    background: linear-gradient(135deg, #5CB885 0%, #4B986C 50%, #B8A882 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-kicker {
    font-size: 0.95rem;
    font-weight: 500;
    color: #9CA3AF;
    margin: 0 0 var(--spacing-md) 0;
    line-height: 1.4;
    animation: fadeSlideUp 0.7s var(--ease-out-expo) 0.25s both;
}

.hero-description {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin: 0 0 var(--spacing-lg) 0;
    line-height: 1.5;
    animation: fadeSlideUp 0.7s var(--ease-out-expo) 0.4s both;
}

.hero-waitlist-form {
    animation: fadeSlideUp 0.7s var(--ease-out-expo) 0.55s both;
}

.hero-download-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
    margin: 0.2rem 0 0.4rem;
}

.app-store-badge {
    display: inline-flex;
    line-height: 0;
}

.app-store-badge img {
    display: block;
    width: 150px;
    height: 50px;
}

.android-store-button {
    display: inline-flex;
    align-items: center;
    min-width: 180px;
    height: 50px;
    gap: 0.75rem;
    padding: 0 1rem;
    border: 1px solid rgba(75, 152, 108, 0.42);
    border-radius: 9px;
    color: var(--text-primary);
    background: rgba(75, 152, 108, 0.08);
    text-decoration: none;
    transition: transform 180ms var(--ease-out-expo), background-color 180ms ease, border-color 180ms ease;
}

.android-store-button:hover {
    color: var(--text-primary);
    background: rgba(75, 152, 108, 0.15);
    border-color: var(--primary);
    text-decoration: none;
    transform: translateY(-1px);
}

.android-store-button:active {
    transform: translateY(1px) scale(0.99);
}

.android-store-button svg {
    width: 24px;
    height: 24px;
    fill: var(--primary);
    flex: 0 0 auto;
}

.android-store-button span {
    display: grid;
    gap: 1px;
    text-align: left;
}

.android-store-button small {
    color: var(--text-secondary);
    font-size: 0.67rem;
    font-weight: 650;
    line-height: 1;
}

.android-store-button strong {
    font-size: 0.98rem;
    line-height: 1.15;
}

.beta-tests-section {
    padding: clamp(5rem, 10vw, 8rem) 0;
    scroll-margin-top: 96px;
    background:
        radial-gradient(circle at 12% 12%, rgba(75, 152, 108, 0.13), transparent 29rem),
        var(--bg-secondary);
}

.beta-tests {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(350px, 0.78fr);
    gap: clamp(2.5rem, 7vw, 6rem);
    align-items: start;
    padding: clamp(2rem, 5vw, 4.5rem);
    border: 1px solid rgba(75, 152, 108, 0.2);
    border-radius: 28px;
    background: color-mix(in srgb, var(--bg-primary) 90%, transparent);
    box-shadow: 0 26px 70px rgba(41, 83, 58, 0.08);
}

.beta-tests-intro h2 {
    display: flex;
    flex-direction: column;
    max-width: 650px;
    margin: 0.55rem 0 1.15rem;
    color: var(--text-primary);
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: -0.035em;
}

.beta-headline-line {
    display: block;
    white-space: nowrap;
}

.beta-tests-lead {
    max-width: 39rem;
    color: var(--text-secondary);
    font-size: clamp(1.02rem, 1.8vw, 1.16rem);
    line-height: 1.6;
}

.section-eyebrow {
    margin: 0;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.beta-tests-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.4rem;
    margin-top: 1.8rem;
}

.text-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.beta-signup-form {
    max-width: none;
    margin: 0;
    padding: clamp(1.35rem, 3vw, 2rem);
    border: 1px solid rgba(75, 152, 108, 0.2);
    border-radius: 20px;
    background: var(--bg-primary);
    box-shadow: 0 20px 50px rgba(41, 83, 58, 0.12);
}

.beta-form-header {
    display: block;
    margin-bottom: 1.45rem;
}

.beta-form-kicker {
    margin: 0 0 0.25rem;
    color: var(--primary);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.beta-form-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.25rem;
    line-height: 1.25;
}

.beta-field-label {
    display: block;
    margin: 1rem 0 0.45rem;
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 750;
}

.beta-benefits {
    display: grid;
    gap: 0;
    max-width: 640px;
    margin-top: 2rem;
    border-top: 1px solid rgba(75, 152, 108, 0.18);
}

.beta-benefit {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 1rem;
    padding: 1.05rem 0;
    border-bottom: 1px solid rgba(75, 152, 108, 0.18);
}

.beta-benefit-icon {
    display: grid;
    place-items: center;
    align-self: start;
    width: 38px;
    height: 38px;
    box-sizing: border-box;
    border-radius: 11px;
    color: var(--primary);
    background: rgba(75, 152, 108, 0.1);
    line-height: 0;
}

.beta-benefit-icon svg {
    display: block;
    width: 20px;
    height: 20px;
    margin: 0;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.beta-benefit strong,
.beta-benefit span {
    display: block;
}

.beta-benefit > .beta-benefit-icon {
    display: grid;
    place-items: center;
}

.beta-benefit strong {
    margin-bottom: 0.18rem;
    color: var(--text-primary);
    font-size: 0.98rem;
}

.beta-benefit div > span {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.45;
}

.beta-privacy-note {
    margin: 1rem 0 0;
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.45;
    text-align: center;
}

.beta-tests-section[data-platform="android"] .beta-signup-form {
    border-color: rgba(75, 152, 108, 0.42);
}

.app-store-rating {
    --rating-accent: #f5a20a;
    align-self: flex-start;
    margin: 0.05rem 0 0.2rem;
    text-align: center;
    animation: fadeSlideUp 0.7s var(--ease-out-expo) 0.5s both;
}

.app-store-rating[hidden] {
    display: none;
}

.app-store-rating-link {
    display: grid;
    grid-template-columns: 48px minmax(0, auto) 48px;
    align-items: center;
    gap: 0.15rem;
    min-height: 0;
    padding: 0;
    color: var(--text-primary);
    background: transparent;
    border: 0;
    text-decoration: none;
    transition: transform 180ms var(--ease-out-expo), opacity 180ms ease;
}

.app-store-rating-link:hover {
    color: var(--text-primary);
    text-decoration: none;
    transform: translateY(-1px);
    opacity: 0.84;
}

.app-store-rating-link:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

.app-store-rating-copy {
    display: grid;
    justify-items: center;
    gap: 0.15rem;
    min-width: 0;
    color: inherit;
}

.app-store-rating-wreath {
    display: grid;
    place-items: center;
    width: 48px;
    height: 78px;
    color: var(--rating-accent);
}

.app-store-rating-wreath img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(67%) sepia(95%) saturate(1320%) hue-rotate(359deg) brightness(102%) contrast(96%);
}

.app-store-rating-wreath-left {
    transform: scaleX(-1);
}

.app-store-rating-stars {
    color: var(--rating-accent);
    font-size: 1.28rem;
    line-height: 1;
    letter-spacing: 0.08em;
}

.app-store-rating strong {
    color: inherit;
    font-family: var(--font-secondary);
    font-size: 2.35rem;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.app-store-rating-label {
    margin-left: 0.25rem;
    font-family: var(--font-primary);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0;
}

.app-store-rating-source {
    color: var(--text-secondary);
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.beta-tests-intro .section-eyebrow {
    line-height: 1.2;
}

.hero-cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.hero-cta-buttons .btn-secondary {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--alternate);
}

.hero-cta-buttons .btn-secondary:hover {
    background-color: var(--alternate);
    color: var(--text-primary);
}

.hero-subtext {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    animation: fadeSlideUp 0.7s var(--ease-out-expo) 0.65s both;
}

.nav-menu .btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 1px solid rgba(75, 152, 108, 0.5);
}

.nav-menu .btn-secondary:hover {
    background: rgba(75, 152, 108, 0.1);
    color: var(--primary-dark);
}

.hero-mockup-right {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s var(--ease-out-expo) 0.3s both, gentleFloat 5s ease-in-out 1.3s infinite;
}

.hero-mockup-button {
    display: block;
    width: 100%;
    max-width: 700px;
    padding: 0;
    border: 0;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    line-height: 0;
}

.hero-mockup-button:focus-visible {
    outline: 3px solid var(--accent-1);
    outline-offset: 5px;
    border-radius: var(--radius-xl);
}

.hero-mockup-image {
    display: block;
    width: 100%;
    height: auto;
    transition: transform var(--transition-normal);
}

.hero-mockup-button:hover .hero-mockup-image,
.hero-mockup-button:focus-visible .hero-mockup-image {
    transform: scale(1.02);
}

.hero-mockup-cta {
    --hero-sticker-rotation: -5deg;
    position: absolute;
    top: 5%;
    right: 24px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 132px;
    padding: 0;
    border: 1px solid rgba(109, 96, 74, 0.2);
    border-radius: 50%;
    background: var(--accent-warning);
    color: #2D2A20;
    cursor: pointer;
    font: 800 0.94rem/0.96 var(--font-primary);
    letter-spacing: 0;
    box-shadow: 5px 6px 0 rgba(109, 96, 74, 0.18);
    transform: rotate(var(--hero-sticker-rotation));
    animation: hero-scanner-sticker-in 0.5s var(--ease-out-expo) 0.4s both;
    transition: transform var(--transition-spring), box-shadow var(--transition-fast);
    z-index: 1;
}

.hero-mockup-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.56) 42%, transparent 64%);
    background-size: 250% 100%;
    background-position: 180% 0;
    mix-blend-mode: soft-light;
    pointer-events: none;
    animation: hero-sticker-shimmer 3.8s ease-in-out 1s infinite;
}

.hero-sticker-copy {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 100%;
    gap: 0;
}

.hero-sticker-line {
    display: block;
    white-space: nowrap;
    text-align: center;
    text-wrap: balance;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hero-sticker-line-bon {
    transform: translate(-7px, 2px) rotate(-8deg);
}

.hero-sticker-line-scan {
    transform: translate(4px, -1px) rotate(-5deg);
}

.hero-sticker-spacer {
    display: block;
    height: 7px;
}

.hero-sticker-line-einkauf {
    transform: translate(5px, 1px) rotate(6deg);
}

.hero-sticker-line-check {
    transform: translate(-4px, -2px) rotate(8deg);
}

.hero-sticker-emoji {
    --emoji-rotation: 0deg;
    --emoji-entry-x: 0px;
    --emoji-entry-y: 0px;
    --emoji-entry-delay: 0.78s;
    --emoji-float-x: 0px;
    --emoji-float-y: -3px;
    --emoji-float-rotation: 3deg;
    --emoji-float-duration: 3.4s;
    position: absolute;
    z-index: 2;
    display: block;
    line-height: 1;
    pointer-events: none;
    text-shadow: 0 5px 10px rgba(109, 96, 74, 0.22);
    transform: rotate(var(--emoji-rotation));
    animation-name: hero-sticker-emoji-in, hero-sticker-emoji-float;
    animation-duration: 0.58s, var(--emoji-float-duration);
    animation-timing-function: var(--ease-out-expo), ease-in-out;
    animation-delay: var(--emoji-entry-delay), calc(var(--emoji-entry-delay) + 0.58s);
    animation-iteration-count: 1, infinite;
    animation-direction: normal, alternate;
    animation-fill-mode: both, none;
}

.hero-sticker-emoji-check {
    --emoji-rotation: -16deg;
    --emoji-entry-x: 14px;
    --emoji-entry-y: 17px;
    --emoji-entry-delay: 0.78s;
    --emoji-float-x: -2px;
    --emoji-float-y: -5px;
    --emoji-float-rotation: 5deg;
    --emoji-float-duration: 3.1s;
    top: -13px;
    left: 6px;
    font-size: 1.28rem;
}

.hero-sticker-emoji-photo {
    --emoji-rotation: 13deg;
    --emoji-entry-x: -16px;
    --emoji-entry-y: 9px;
    --emoji-entry-delay: 0.94s;
    --emoji-float-x: 3px;
    --emoji-float-y: 4px;
    --emoji-float-rotation: -6deg;
    --emoji-float-duration: 3.8s;
    right: -11px;
    top: 24px;
    font-size: 1.08rem;
}

.hero-sticker-emoji-happy {
    --emoji-rotation: 8deg;
    --emoji-entry-x: 16px;
    --emoji-entry-y: -14px;
    --emoji-entry-delay: 1.08s;
    --emoji-float-x: 2px;
    --emoji-float-y: -4px;
    --emoji-float-rotation: 4deg;
    --emoji-float-duration: 3.35s;
    bottom: -12px;
    left: 27px;
    font-size: 1.18rem;
}

.hero-mockup-cta:hover,
.hero-mockup-cta:focus-visible {
    color: #2D2A20;
    box-shadow: 6px 8px 0 rgba(109, 96, 74, 0.2);
    transform: translate3d(0, -4px, 0) rotate(-1deg);
}

.hero-mockup-cta:active {
    transform: translate3d(0, 1px, 0) rotate(-3deg) scale(0.98);
}

.hero-mockup-cta:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 4px;
}

.hero-waitlist-section {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: var(--spacing-2xl) 0;
}

.waitlist-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.waitlist-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

.speech-bubble p {
    margin: 0;
    font-weight: 500;
}

/* Waitlist Form */
.waitlist-form {
    margin-top: var(--spacing-xl);
    animation: fadeSlideUp 0.4s ease-out;
}

/* ===================================
   Problem → Solution Section
   =================================== */
.problem-solution {
    background-color: var(--bg-secondary);
}

.problem-solution-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--spacing-xl);
    align-items: start;
}

/* Wrapper für Problem/Lösung-Paare — nimmt den mittleren 1fr-Bereich */
.ps-pairs-wrapper {
    display: flex;
    flex-direction: column;
}

/* Spalten-Header (WG-Probleme | Die Lösung) */
.ps-headers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-sm);
}

.ps-header-problem,
.ps-header-solution {
    text-align: center;
    margin: 0;
}

/* Jedes Paar: Problem links, Lösung rechts */
.ps-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--accent-1);
}

.ps-pair:last-child {
    border-bottom: none;
}

.ps-problem,
.ps-solution {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    font-size: 1.0625rem;
    line-height: 1.5;
}

.ps-problem i {
    color: var(--accent-error);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.ps-solution i {
    color: var(--accent-success);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.section-microcopy-link {
    text-decoration: none;
    display: block;
    margin-top: var(--spacing-xl);
    transition: transform var(--transition-fast);
}

.section-microcopy-link:hover {
    transform: translateY(-2px);
}

.section-microcopy {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    padding: var(--spacing-lg);
    background-color: var(--accent-1);
    border-radius: var(--radius-lg);
    margin: 0;
    cursor: pointer;
}

/* ===================================
   OCR Demo
   =================================== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ocr-demo {
    background: var(--bg-primary);
    overflow: hidden;
}

.ocr-demo-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.72fr);
    align-items: center;
    gap: clamp(32px, 7vw, 96px);
    max-width: 1040px;
    margin: 0 auto;
}

.ocr-demo-eyebrow {
    margin: 0 0 10px;
    color: var(--primary);
    font: 700 0.75rem var(--font-secondary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ocr-demo-copy h2 {
    max-width: 500px;
    margin-bottom: 14px;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.05em;
}

.ocr-demo-title-line {
    display: grid;
    grid-template-columns: 1.15em 1fr;
    gap: 0.2em;
}

.ocr-demo-title-number {
    color: var(--primary);
}

.ocr-demo-description {
    max-width: 430px;
    margin-bottom: 24px;
    color: var(--text-secondary);
    font-size: 1.07rem;
}

.ocr-demo-upload {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    border-radius: 12px;
    overflow: hidden;
}

.ocr-demo-upload i {
    font-size: 1rem;
}

.ocr-demo-upload-mobile {
    display: none;
}

.ocr-demo-upload::after {
    content: '';
    position: absolute;
    top: -70%;
    bottom: -70%;
    left: -40%;
    width: 28%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.68), transparent);
    opacity: 0;
    pointer-events: none;
    transform: translate3d(-180%, 0, 0) rotate(18deg);
}

.ocr-demo.is-animated .ocr-demo-upload::after {
    animation: ocr-demo-cta-flash 0.75s var(--ease-out-expo) 1.5s both;
}

.ocr-demo-helper {
    max-width: 410px;
    margin: 12px 0 0;
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.5;
    opacity: 0.62;
}

.ocr-demo-visual {
    position: relative;
    width: min(100%, 520px);
    aspect-ratio: 0.88;
    justify-self: end;
    isolation: isolate;
}

.ocr-demo-visual img {
    position: absolute;
    display: block;
    height: auto;
    will-change: transform;
}

.ocr-demo-visual-bon {
    z-index: 1;
    top: 8%;
    left: 4%;
    width: 52%;
    opacity: 0.74;
    filter: saturate(0.78) drop-shadow(0 14px 22px rgba(11, 25, 30, 0.12));
    animation: ocr-demo-float-bon 7.5s ease-in-out infinite;
}

.ocr-demo-visual-phone {
    z-index: 2;
    top: 12%;
    right: -5%;
    width: 72%;
    filter: drop-shadow(0 20px 30px rgba(11, 25, 30, 0.18));
    animation: ocr-demo-float-phone 8.5s ease-in-out infinite;
}

.ocr-demo-visual-arrow {
    --ocr-arrow-rotation: 22deg;
    z-index: 3;
    top: 14%;
    left: 28%;
    width: 38%;
    filter: sepia(1) saturate(3.8) hue-rotate(8deg) brightness(1.12);
    animation: ocr-demo-nudge-arrow 6.5s ease-in-out infinite;
}

.ocr-demo-speed-label {
    position: absolute;
    z-index: 4;
    top: 6%;
    left: 39%;
    color: var(--primary);
    font: 700 clamp(0.72rem, 1.4vw, 0.92rem) var(--font-secondary);
    letter-spacing: -0.02em;
    white-space: nowrap;
    transform: rotate(-5deg);
}

.ocr-demo-visual-mascot {
    z-index: 4;
    left: -12%;
    bottom: 8%;
    width: 25%;
    opacity: 0;
    filter: drop-shadow(0 14px 20px rgba(11, 25, 30, 0.16));
    transform: translate3d(-14px, 18px, 0) scale(0.72) rotate(-8deg);
}

.ocr-demo.is-animated .ocr-demo-visual-mascot {
    animation: ocr-demo-mascot-pop 0.62s var(--ease-out-expo) 1.5s both;
}

.ocr-demo-modal[hidden] {
    display: none;
}

.ocr-demo-modal {
    position: fixed;
    z-index: 500;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}

.ocr-demo-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 25, 30, 0.58);
    backdrop-filter: blur(5px);
}

.ocr-demo-dialog {
    position: relative;
    width: min(100%, 460px);
    max-height: min(720px, calc(100dvh - 40px));
    overflow: auto;
    padding: 32px;
    border-radius: 20px;
    background: var(--bg-secondary);
    box-shadow: 0 24px 80px rgba(11, 25, 30, 0.32);
}

.ocr-demo-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
}

.ocr-demo-modal-close:hover,
.ocr-demo-modal-close:focus-visible {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.ocr-demo-dialog h2 {
    margin-bottom: 22px;
    font-size: 2rem;
    letter-spacing: -0.04em;
}

.ocr-demo-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--text-primary);
    font: 600 0.9rem var(--font-secondary);
}

.ocr-demo-field input {
    width: 100%;
    min-height: 48px;
    padding: 0 13px;
    border: 1.5px solid var(--alternate);
    border-radius: 10px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font: 1rem var(--font-primary);
}

.ocr-demo-field input:focus {
    outline: 3px solid var(--accent-1);
    border-color: var(--primary);
}

.ocr-demo-field-error,
.ocr-demo-form-error {
    min-height: 1.2em;
    margin: 6px 0 0;
    color: var(--accent-error);
    font-size: 0.82rem;
}

.ocr-demo-privacy {
    margin: 12px 0 0;
    color: var(--text-secondary);
    font-size: 0.72rem;
    line-height: 1.4;
    text-align: center;
}

.ocr-demo-privacy a {
    color: inherit;
    text-decoration: underline;
}

.ocr-demo-submit {
    width: 100%;
    min-height: 48px;
    margin-top: 20px;
    border-radius: 12px;
}

.ocr-demo-submit i,
.ocr-demo-open-mail i {
    margin-right: 8px;
}

.ocr-demo-loading p {
    margin: 18px 0 14px;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.ocr-demo-skeleton-row {
    height: 54px;
    margin-top: 8px;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--bg-primary) 25%, rgba(198, 205, 198, 0.55) 50%, var(--bg-primary) 75%);
    background-size: 200% 100%;
    animation: ocr-demo-shimmer 1.4s infinite linear;
}

.ocr-demo-success {
    text-align: center;
    padding: 18px 0 8px;
}

.ocr-demo-success h2 {
    margin: 0 0 8px;
}

.ocr-demo-success-check {
    display: grid;
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    place-items: center;
    border-radius: 50%;
    background: rgba(75, 152, 108, 0.14);
    color: var(--primary);
    font-size: 1.65rem;
    animation: ocr-demo-success-pop 0.45s var(--ease-out-expo) both;
}

.ocr-demo-open-mail {
    display: none;
    margin-top: 18px;
}

body.ocr-demo-modal-open {
    overflow: hidden;
}

@keyframes ocr-demo-shimmer {
    to { background-position: -200% 0; }
}

@keyframes hero-sticker-shimmer {
    0%, 20% { background-position: 180% 0; opacity: 0; }
    31%, 42% { opacity: 0.72; }
    56%, 100% { background-position: -180% 0; opacity: 0; }
}

@keyframes hero-sticker-emoji-in {
    from {
        opacity: 0;
        transform: translate3d(var(--emoji-entry-x), var(--emoji-entry-y), 0) rotate(calc(var(--emoji-rotation) - 12deg)) scale(0.62);
    }
    70% {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotate(calc(var(--emoji-rotation) + 4deg)) scale(1.08);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotate(var(--emoji-rotation)) scale(1);
    }
}

@keyframes hero-sticker-emoji-float {
    from {
        transform: translate3d(0, 0, 0) rotate(var(--emoji-rotation)) scale(1);
    }
    to {
        transform: translate3d(var(--emoji-float-x), var(--emoji-float-y), 0) rotate(calc(var(--emoji-rotation) + var(--emoji-float-rotation))) scale(1.03);
    }
}

@keyframes hero-scanner-sticker-in {
    from { opacity: 0; transform: translate3d(10px, -12px, 0) rotate(-6deg) scale(0.78); }
    to { opacity: 1; transform: rotate(var(--hero-sticker-rotation)) scale(1); }
}

@keyframes ocr-demo-success-pop {
    from { opacity: 0; transform: scale(0.6); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes ocr-demo-float-bon {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-8deg); }
    50% { transform: translate3d(0, -6px, 0) rotate(-7.4deg); }
}

@keyframes ocr-demo-float-phone {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(1.5deg); }
    50% { transform: translate3d(0, 5px, 0) rotate(1deg); }
}

@keyframes ocr-demo-nudge-arrow {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--ocr-arrow-rotation)); }
    50% { transform: translate3d(4px, 4px, 0) rotate(var(--ocr-arrow-rotation)); }
}

@keyframes ocr-demo-mascot-pop {
    0% { opacity: 0; transform: translate3d(-14px, 18px, 0) scale(0.72) rotate(-8deg); }
    72% { opacity: 1; transform: translate3d(2px, -3px, 0) scale(1.07) rotate(2deg); }
    100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotate(0); }
}

@keyframes ocr-demo-cta-flash {
    0% { opacity: 0; transform: translate3d(-180%, 0, 0) rotate(18deg); }
    18% { opacity: 1; }
    100% { opacity: 0; transform: translate3d(620%, 0, 0) rotate(18deg); }
}

@media (max-width: 1024px) {
    .ocr-demo-grid {
        grid-template-columns: minmax(0, 1fr) minmax(270px, 0.62fr);
        gap: 40px;
    }

    .ocr-demo-visual {
        width: min(100%, 430px);
    }
}

@media (max-width: 768px) {
    .hero-download-actions,
    .beta-tests-links {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-download-actions .btn,
    .app-store-badge,
    .android-store-button {
        align-self: flex-start;
    }

    .beta-tests {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .ocr-demo-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ocr-demo-copy {
        display: contents;
    }

    .ocr-demo-copy.reveal-left {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .ocr-demo-visual.reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .ocr-demo-eyebrow { order: 1; }
    .ocr-demo-copy h2 { order: 2; }
    .ocr-demo-description {
        order: 3;
        margin-bottom: 8px;
    }

    .ocr-demo-visual {
        order: 4;
        width: min(100%, 390px);
        justify-self: center;
        margin-bottom: 16px;
    }

    .ocr-demo-upload {
        order: 5;
        width: 100%;
        justify-self: stretch;
    }

    .ocr-demo-upload-desktop {
        display: none;
    }

    .ocr-demo-upload-mobile {
        display: inline;
    }

    .ocr-demo-helper {
        order: 6;
        max-width: none;
        text-align: center;
    }

    .ocr-demo-visual-bon {
        left: 1%;
        width: 58%;
        opacity: 1;
        filter: drop-shadow(0 16px 24px rgba(11, 25, 30, 0.15));
    }

    .ocr-demo-visual-phone {
        top: 20%;
        right: -2%;
        width: 64%;
    }

    .ocr-demo-visual-arrow {
        --ocr-arrow-rotation: 28deg;
        top: 12%;
        left: 32%;
        width: 34%;
    }

    .ocr-demo-speed-label {
        top: 5%;
        left: 43%;
    }

    .ocr-demo-visual-mascot {
        left: -1%;
        bottom: 4%;
        width: 23%;
    }

    .ocr-demo-dialog {
        padding: 28px 22px 24px;
    }

    .ocr-demo-open-mail {
        display: inline-flex;
        width: 100%;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .ocr-demo-copy h2 {
        font-size: 2rem;
    }

    .ocr-demo-dialog h2 {
        font-size: 1.75rem;
    }

    .ocr-demo-upload,
    .ocr-demo-submit {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ocr-demo-skeleton-row,
    .ocr-demo-visual-bon,
    .ocr-demo-visual-phone,
    .ocr-demo-visual-arrow,
    .ocr-demo-visual-mascot,
    .hero-mockup-cta::before,
    .hero-sticker-emoji,
    .ocr-demo-upload::after {
        animation: none;
        transition: none;
    }

    .hero-mockup-cta,
    .ocr-demo-success-check {
        animation: none;
    }

    .ocr-demo-visual-bon { transform: rotate(-8deg); }
    .ocr-demo-visual-phone { transform: rotate(1.5deg); }
    .ocr-demo-visual-arrow { transform: rotate(var(--ocr-arrow-rotation)); }
    .ocr-demo.is-animated .ocr-demo-visual-mascot {
        opacity: 1;
        transform: none;
    }
}

/* App-Facts-Bar: dezente Info-Zeile für AI-Crawler + neugierige Nutzer */
.app-facts-bar {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--accent-1);
    border-bottom: 1px solid var(--accent-1);
    padding: var(--spacing-md) 0;
}

.app-facts-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
    margin: 0;
}

.app-facts-text strong {
    color: var(--primary);
}

/* ===================================
   Features Section
   =================================== */
.section-title {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

.feature-card {
    background-color: var(--bg-secondary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(75, 152, 108, 0.08);
    transition: all 0.3s var(--ease-out-expo);
}

.feature-card:nth-child(even) {
    margin-top: var(--spacing-2xl);
}

.feature-card:hover {
    box-shadow: 0 8px 30px rgba(75, 152, 108, 0.15);
    transform: translateY(-5px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background-color: var(--accent-1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary);
}

/* Varied icon tints per feature */
.feature-card:nth-child(2) .feature-icon {
    background-color: rgba(59, 130, 246, 0.12);
}
.feature-card:nth-child(2) .feature-icon i {
    color: #3B82F6;
}

.feature-card:nth-child(3) .feature-icon {
    background-color: rgba(232, 168, 124, 0.15);
}
.feature-card:nth-child(3) .feature-icon i {
    color: #D4874D;
}

.feature-card:nth-child(4) .feature-icon {
    background-color: rgba(196, 69, 77, 0.1);
}
.feature-card:nth-child(4) .feature-icon i {
    color: #C4454D;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.feature-text {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===================================
   Comparison Table
   =================================== */
.comparison {
    background-color: var(--bg-secondary);
}

.table-wrapper {
    overflow-x: auto;
    margin-top: var(--spacing-2xl);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.comparison-table thead {
    background-color: var(--primary);
    color: #FFFFFF;
}

.comparison-table th,
.comparison-table td {
    padding: var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--alternate);
}

.comparison-table th {
    font-weight: 600;
    font-size: 1rem;
}

.comparison-table td {
    font-size: 0.9375rem;
}

.comparison-table tbody tr:hover {
    background-color: var(--accent-1);
}

/* Highlight Spießer column */
.comparison-table th:nth-child(2) {
    background-color: rgba(255, 255, 255, 0.15);
}

.comparison-table td:nth-child(2) {
    background-color: rgba(75, 152, 108, 0.05);
}

.check {
    color: var(--accent-success);
}

.cross {
    color: var(--accent-error);
}

.warning {
    color: var(--accent-warning);
}

.table-footnote {
    margin-top: var(--spacing-md);
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Hinweis "Desktop für mehr Apps" standardmäßig versteckt, nur auf Mobile sichtbar */
.table-mobile-hint {
    display: none;
    text-align: center;
    margin-top: var(--spacing-sm);
}

/* ===================================
   Awards Section
   =================================== */
.awards {
    background-color: var(--bg-primary);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.award-card {
    background-color: var(--bg-secondary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    opacity: 0.85;
    transition: var(--transition-normal);
}

.award-card:hover {
    opacity: 1;
    transform: scale(1.05);
}

.award-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.award-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===================================
   Roadmap Section
   =================================== */
.roadmap {
    background-color: var(--bg-secondary);
}

.roadmap-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
    margin-bottom: 24px; /* Added spacing below roadmap table */
}

.roadmap-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background-color: var(--bg-primary);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.roadmap-item:hover {
    background-color: var(--accent-1);
}

.roadmap-item i {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.roadmap-content h4 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
}

.roadmap-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ===================================
   FAQ Section
   =================================== */
.faq {
    background-color: var(--bg-primary);
}

.faq-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--spacing-2xl);
    align-items: start;
    margin-top: var(--spacing-2xl);
}

.faq-list {
    max-width: none;
    margin: 0;
}

.faq-image {
    text-align: center;
    position: sticky;
    top: 100px;
}

.faq-gnome {
    width: 150px;
    max-width: 150px;
    height: auto;
}

.faq-item {
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: var(--spacing-lg);
    background-color: var(--bg-secondary);
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

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

.faq-question i {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s var(--ease-out-expo);
}

.faq-answer-inner {
    overflow: hidden;
    min-height: 0;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer p {
    padding: var(--spacing-md) var(--spacing-lg) var(--spacing-lg);
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* ===================================
   Beta Stats Section
   =================================== */
.beta-stats {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-success) 100%);
    color: #FFFFFF;
    padding: var(--spacing-3xl) 0;
}

.beta-stats .section-title {
    text-align: center;
    color: #FFFFFF;
    margin-bottom: var(--spacing-2xl);
    font-size: 2.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: transform var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    color: #FFFFFF;
    margin-bottom: var(--spacing-sm);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Gartenzwerg Animation */
.gartenzwerg-animation {
    position: absolute;
    right: 50px;
    bottom: 50px;
    overflow: visible;
}

.gartenzwerg-img {
    width: 120px;
    height: auto;
    opacity: 0;
    transform: translateX(-150px);
    transition: transform 1.5s ease-out, opacity 1.5s ease-out;
}

.gartenzwerg-img.animate {
    opacity: 1;
    transform: translateX(0);
}

.beta-stats .container {
    position: relative;
}

/* ===================================
   Final CTA Section
   =================================== */
.final-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-success) 100%);
    color: #FFFFFF;
}

.cta-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.cta-title {
    color: #FFFFFF;
    font-size: 2.5rem;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
}

.final-cta .btn-primary {
    background-color: #FFFFFF;
    color: var(--primary);
}

.final-cta .btn-primary:hover {
    background-color: var(--bg-secondary);
    color: var(--primary);
}

.cta-microcopy {
    color: rgba(255, 255, 255, 0.8);
    margin-top: var(--spacing-md);
}

.cta-image {
    text-align: center;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--bg-secondary);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-title {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid var(--alternate);
    padding-top: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.footer-badges {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background-color: var(--accent-1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-mockup-right,
    .hero-title,
    .hero-kicker,
    .hero-description,
    .hero-waitlist-form,
    .hero-subtext,
    .screenshots-horizontal-scroll {
        animation: none;
        opacity: 1;
    }
}

/* ===================================
   Scroll Reveal System
   =================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
    transition-delay: var(--reveal-delay, 0s);
    will-change: transform, opacity;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
    transition-delay: var(--reveal-delay, 0s);
    will-change: transform, opacity;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
    transition-delay: var(--reveal-delay, 0s);
    will-change: transform, opacity;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===================================
   Responsive Design
   =================================== */

/* Tablet (768px - 1023px) */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .hero-title-large {
        font-size: 2.25rem;
    }

    .hero-cta-section {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .problem-solution-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .problem-image,
    .solution-image {
        display: none;
    }

    /* Auf Tablet/Mobile: Paare bleiben nebeneinander (Problem | Lösung) */
    .ps-pair {
        gap: var(--spacing-md);
    }

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

    .feature-card:nth-child(even) {
        margin-top: 0;
    }

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

    .roadmap-list {
        grid-template-columns: 1fr;
    }

    .cta-content {
        grid-template-columns: 1fr;
    }

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

/* Mobile (< 768px) */
@media (max-width: 768px) {
    section {
        padding: var(--spacing-2xl) 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero {
        min-height: auto;
        padding: var(--spacing-2xl) 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    /* New hero layout responsive */
    .hero-content-new {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .hero-mockup-right {
        order: -1;
        margin-bottom: var(--spacing-lg);
    }

    .hero-mockup-cta {
        --hero-sticker-rotation: -4deg;
        top: 6%;
        right: -4px;
        width: 114px;
        height: 114px;
        font-size: 0.76rem;
    }

    .hero-sticker-spacer {
        height: 5px;
    }

    .hero-sticker-emoji-check {
        top: -11px;
        left: 1px;
        font-size: 1.08rem;
    }

    .hero-sticker-emoji-photo {
        right: -7px;
        top: 20px;
        font-size: 0.96rem;
    }

    .hero-sticker-emoji-happy {
        bottom: -10px;
        left: 18px;
        font-size: 1.02rem;
    }

    .hero-mockup-image {
        max-width: 300px;
    }

    .reveal-left,
    .reveal-right {
        transform: translateY(30px);
    }

    .reveal-left.visible,
    .reveal-right.visible {
        transform: translateY(0);
    }

    .waitlist-title {
        font-size: 1.5rem;
    }

    .speech-bubble {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-secondary);
        flex-direction: column;
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition-normal);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-download-btn {
        margin-left: 0;
        width: 100%;
        text-align: center;
        margin-top: var(--spacing-sm);
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-md);
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .beta-stats .section-title {
        font-size: 1.75rem;
    }

    .comparison-table {
        font-size: 0.875rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: var(--spacing-sm);
    }

    /* Auf Mobile nur Spießer vs. Splitwise zeigen (Flatastic + Tricount ausblenden) */
    .comparison-table th:nth-child(4),
    .comparison-table td:nth-child(4),
    .comparison-table th:nth-child(5),
    .comparison-table td:nth-child(5) {
        display: none;
    }

    /* Hinweis auf Desktop-Vergleich nur auf Mobile sichtbar */
    .table-mobile-hint {
        display: block;
    }

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

/* Small Mobile (< 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    h1 {
        font-size: 1.75rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .btn {
        width: 100%;
    }

    .comparison-table {
        font-size: 0.75rem;
    }

    /* Sehr kleiner Screen: Paare-Schrift etwas reduzieren */
    .ps-problem,
    .ps-solution {
        font-size: 0.9375rem;
    }

    .ps-problem i,
    .ps-solution i {
        font-size: 1rem;
    }

    .ps-headers {
        gap: var(--spacing-md);
    }

    .ps-pair {
        gap: var(--spacing-sm);
    }
}

/* ===================================
   Carousel Styles
   =================================== */
.screenshot-carousel {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    overflow: visible;
}

.carousel-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 19.5;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    /* Fade-out edges */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
    background: white;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: all;
    z-index: 1;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--alternate);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-dots .dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.carousel-dots .dot:hover {
    background: var(--secondary);
}

/* ===================================
   Horizontal Auto-Scroll Carousel
   =================================== */
.horizontal-carousel {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    padding: var(--spacing-md) 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.horizontal-carousel::-webkit-scrollbar {
    height: 6px;
}

.horizontal-carousel::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 3px;
}

.horizontal-carousel::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.carousel-track {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--spacing-md);
    padding: 0 var(--spacing-md);
}

.carousel-item {
    flex: 0 0 auto;
    width: 200px;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background: white;
    transition: transform var(--transition-normal);
}

.carousel-item:hover {
    transform: scale(1.05);
}

/* App Screenshots Section */
.app-screenshots {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-primary);
}

.app-screenshots .screenshot-carousel {
    max-width: 600px;
}

/* Hero Carousel adjustments */
.hero-image .screenshot-carousel {
    max-width: 350px;
}

/* ===================================
   App Store Preview Section
   =================================== */
.app-preview {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-primary);
}

.app-preview .section-title {
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.app-preview .section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    font-size: 1.1rem;
}

.app-preview .screenshot-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
}

.app-preview .carousel-track {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox - hide scrollbar */
    -ms-overflow-style: none; /* IE/Edge - hide scrollbar */
}

.app-preview .carousel-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari - hide scrollbar */
}

.app-preview .carousel-slide {
    flex: 0 0 auto;
    width: 280px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: none;
}

.app-preview .carousel-slide.active {
    opacity: 1;
    display: block;
}

.app-preview .carousel-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(11, 25, 30, 0.15);
}

.app-preview .carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

/* Screenshots Horizontal Scroll */
.screenshots-horizontal-scroll-wrapper {
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}

.screenshots-horizontal-scroll {
    display: flex;
    width: max-content;
    gap: var(--spacing-lg);
    animation: scrollLeft 40s linear infinite;
    padding: var(--spacing-xl) var(--spacing-md);
}

.screenshot-img {
    flex: 0 0 auto;
    width: 250px;
    max-width: 250px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(11, 25, 30, 0.15);
    transition: transform var(--transition-normal);
    object-fit: cover;
}

.screenshots-horizontal-scroll:hover {
    animation-play-state: paused;
}

.screenshot-img:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(11, 25, 30, 0.2);
}

@media (max-width: 768px) {
    .screenshot-img {
        width: 200px;
        max-width: 200px;
    }

    .screenshots-horizontal-scroll {
        gap: var(--spacing-xs);
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }
}

.app-preview .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-secondary);
    opacity: 0.3;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.app-preview .dot.active {
    background: var(--primary);
    opacity: 1;
    transform: scale(1.2);
}

.app-preview .dot:hover {
    opacity: 0.7;
}

/* ===================================
   Problem/Solution Images
   =================================== */
.problem-image {
    grid-column: 1;
    grid-row: 1;
    align-self: flex-end;
    padding-bottom: var(--spacing-lg);
}

.solution-image {
    grid-column: 4;
    grid-row: 1;
    align-self: flex-start;
    padding-top: var(--spacing-lg);
}

.problem-mascot,
.solution-mascot {
    max-width: 200px;
    height: auto;
    object-fit: contain;
    display: block;
}

/* ===================================
   Contact Form Section
   =================================== */
.contact-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
    text-align: center;
}

.contact-section .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-xl);
}

.contact-section .btn {
    display: inline-block;
    margin: 0 auto;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.form-group .form-input {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--alternate);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group .form-input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
}

/* ===================================
   Hero Disclaimer
   =================================== */
.hero-disclaimer {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

/* ===================================
   Logo Link Styles
   =================================== */
.nav-brand {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
}

.nav-brand:hover .brand-name {
    color: var(--primary);
}

/* ===================================
   Responsive Adjustments
   =================================== */
@media (max-width: 768px) {
    .screenshot-carousel {
        max-width: 300px;
    }

    .hero-image .screenshot-carousel {
        max-width: 280px;
    }

    .carousel-item {
        width: 150px;
        max-height: 300px;
    }

    .app-screenshots .screenshot-carousel {
        max-width: 320px;
    }

    .problem-mascot,
    .solution-mascot {
        max-width: 150px;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-disclaimer {
        font-size: 0.85rem;
    }

    /* FAQ mobile layout */
    .faq-content {
        grid-template-columns: 1fr;
    }

    .faq-image {
        order: 2;
        position: static;
        margin-top: var(--spacing-xl);
    }

    .faq-list {
        order: 1;
    }

    .faq-gnome {
        max-width: 150px;
    }

    /* Beta Stats mobile layout */
    .gartenzwerg-animation {
        position: static;
        text-align: center;
        margin-top: var(--spacing-xl);
    }

    .gartenzwerg-img {
        width: 100px;
        transform: translateX(-100px);
    }

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

    /* Hero mobile layout: Text kürzen statt komplett ausblenden */
    .hero-description {
        font-size: 0.9375rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-kicker {
        display: block;
        font-size: 1rem;
        margin-bottom: var(--spacing-lg);
    }

    .hero-mockup-image {
        max-width: 400px;
    }
}

/* ===================================
   Custom Waitlist Form
   =================================== */

.custom-waitlist-form {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 20px;
    max-width: 600px;
    margin: 3rem auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.custom-waitlist-form .waitlist-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.waitlist-form {
    width: 100%;
}

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

.form-group {
    flex: 1;
    margin-bottom: 1rem;
}

.email-group {
    flex: 2;
}

.form-input {
    width: 100%;
    height: 54px;  /* Fixed height for consistency */
    padding: 0 1.5rem;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 1rem;
    background: #ffffff;
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.submit-btn {
    white-space: nowrap;
    height: 54px;  /* Match input height */
    padding: 0 2rem;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Progressive Fields */
.progressive-fields {
    transition: all 0.4s ease;
    overflow: hidden;
}

.progressive-fields.show {
    display: block !important;
    opacity: 1 !important;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Checkbox Styling */
.checkbox-group {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;  /* Vertically center checkbox and text */
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;  /* Prevent checkbox from shrinking */
    cursor: pointer;
    accent-color: var(--accent-primary);
}

.checkbox-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 2rem;
    background: rgba(74, 222, 128, 0.1);
    border-radius: 12px;
    margin-top: 1.5rem;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.success-message h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.success-message p {
    color: var(--text-secondary);
}

/* Error Message */
.error-message {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
}

/* Loading State */
.submit-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .custom-waitlist-form {
        padding: 2rem 1.5rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    .form-input {
        height: 42px;  /* Mobile height matches button */
    }

    .submit-btn {
        width: 100%;
        height: 42px;  /* Mobile height */
    }
}

/* ===================================
   Hero Waitlist Form (Complete)
   =================================== */

.hero-waitlist-form {
    max-width: 600px;
    margin: 2rem 0 1rem 0;
}

.hero-email-row {
    display: flex;
    gap: 1rem;
}

.hero-email-input {
    flex: 1;
    height: 60px;
    padding: 0 1.5rem;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 1.1rem;
    background: #ffffff;
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.hero-email-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.15);
}

.hero-email-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.hero-submit-btn {
    height: 60px !important;
    padding: 0 2.5rem !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    white-space: nowrap;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

/* Progressive Fields in Hero */
.hero-progressive-fields {
    margin-top: 1rem;
    transition: all 0.4s ease;
}

.hero-progressive-fields.show {
    display: block !important;
    opacity: 1 !important;
    animation: slideDown 0.4s ease;
}

.hero-name-input {
    width: 100%;
    height: 60px;
    padding: 0 1.5rem;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 1rem;
    background: #ffffff;
    color: var(--text-primary);
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.hero-name-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

/* Platform Selector - shadcn Button Group Style */
.platform-selector {
    display: inline-flex;
    height: 60px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 4px;
    gap: 4px;
}

.platform-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 1rem;
    height: 100%;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.platform-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.6;
    transition: all 0.15s ease;
}

.platform-btn:hover:not(.active) {
    background: #ffffff;
    color: #475569;
}

.platform-btn:hover:not(.active) svg {
    opacity: 0.8;
}

/* Active state: Green background with white text/icon */
.platform-btn.active {
    background: #4b986c;  /* User's green color */
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.platform-btn.active svg {
    opacity: 1;
    fill: #ffffff;
}

/* Name Row (Name Input + CTA Button) */
.hero-name-row {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.hero-checkbox-wrapper {
    margin-top: 1rem;
}

.hero-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.hero-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--accent-primary);
}

.hero-checkbox-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Success Message in Hero */
.hero-success-message {
    text-align: center;
    padding: 2rem;
    background: rgba(74, 222, 128, 0.15);
    border-radius: 12px;
    margin-top: 1.5rem;
}

.hero-success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-success-message h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.hero-success-message p {
    color: var(--text-secondary);
}

/* Error Message in Hero */
.hero-error-message {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
}

/* Dark Mode Overrides for Hero Waitlist Form */
.dark-mode .hero-email-input,
.dark-mode .hero-name-input {
    background: var(--bg-secondary);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
}

.dark-mode .hero-email-input::placeholder,
.dark-mode .hero-name-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.dark-mode .platform-selector {
    background: var(--bg-secondary);
    border-color: rgba(255, 255, 255, 0.12);
}

.dark-mode .platform-btn {
    color: var(--text-secondary);
}

.dark-mode .platform-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-email-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-email-input {
        height: 42px !important;  /* Mobile height matches button */
        min-height: 42px !important;
    }

    .hero-name-input {
        height: 42px !important;  /* Mobile height matches button */
        min-height: 42px !important;
    }

    .hero-kicker {
        margin-bottom: 0 !important;  /* No bottom margin on mobile */
    }

    .hero-name-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-submit-btn {
        width: 100%;
        height: 42px !important;
        font-size: 1rem !important;
    }

    #hero-submit-btn-initial {
        width: 100%;
        height: 42px !important;
        font-size: 1rem !important;
    }

    .platform-selector {
        width: 100%;
        height: 42px;
    }

    .platform-btn {
        flex: 1;
        padding: 0 1rem;
        font-size: 0.9rem;
    }
}

/* ===================================
   Blog Grid & Cards (Added for Blog Pages)
   =================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 60px 0;
}

.blog-card {
    background: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--alternate);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-category {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    align-self: flex-start;
    font-weight: 600;
}

.blog-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.blog-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding-top: 1rem;
    border-top: 1px solid var(--alternate);
    margin-top: auto;
}

.blog-card-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.blog-card-link:hover {
    color: #764ba2;
}

.coming-soon-badge {
    background: var(--accent-warning);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* ===================================
   Subpage Visual Polish
   =================================== */
:root {
    --subpage-surface: #FCFCFC;
    --subpage-surface-muted: #EAF1EC;
    --subpage-border: rgba(11, 25, 30, 0.12);
    --subpage-border-soft: rgba(11, 25, 30, 0.08);
    --subpage-shadow: 0 18px 42px rgba(11, 25, 30, 0.08);
}

.dark-mode {
    --subpage-surface: #141816;
    --subpage-surface-muted: rgba(75, 152, 108, 0.16);
    --subpage-border: rgba(255, 255, 255, 0.12);
    --subpage-border-soft: rgba(255, 255, 255, 0.08);
    --subpage-shadow: 0 18px 42px rgba(7, 10, 8, 0.28);
}

body:has(.blog-hero),
body:has(.blog-article),
body:has(.about-page),
body:has(.legal-page) {
    overflow-x: hidden;
}

body .blog-hero {
    padding: clamp(72px, 10vw, 116px) 0 clamp(44px, 6vw, 72px);
    background:
        linear-gradient(135deg, rgba(75, 152, 108, 0.12) 0%, rgba(241, 244, 248, 0.94) 58%, rgba(146, 129, 99, 0.12) 100%),
        var(--bg-primary);
    color: var(--text-primary);
    text-align: left;
    border-bottom: 1px solid var(--subpage-border-soft);
}

.dark-mode .blog-hero {
    background:
        linear-gradient(135deg, rgba(31, 43, 35, 0.98) 0%, rgba(20, 24, 22, 0.96) 58%, rgba(75, 152, 108, 0.18) 100%),
        var(--bg-primary);
}

body .blog-hero .container {
    max-width: 980px;
}

body .blog-hero h1 {
    max-width: 760px;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    letter-spacing: -0.02em;
    line-height: 0.98;
    overflow-wrap: break-word;
}

body .blog-hero p {
    max-width: 620px;
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    overflow-wrap: break-word;
}

body .blog-hero + section {
    padding: clamp(36px, 6vw, 72px) 0;
}

body .blog-hero + section .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(1rem, 2.4vw, 2rem);
    padding: 0;
}

body .blog-card {
    background: var(--subpage-surface);
    border: 1px solid var(--subpage-border-soft);
    border-radius: var(--radius-md);
    box-shadow: none;
    min-width: 0;
    transition: transform 0.28s var(--ease-out-expo), border-color 0.28s var(--ease-out-expo), box-shadow 0.28s var(--ease-out-expo);
}

body .blog-card:hover {
    transform: translateY(-3px);
    border-color: rgba(75, 152, 108, 0.3);
    box-shadow: var(--subpage-shadow);
}

body .blog-card a:hover {
    text-decoration: none;
}

body .blog-card-image {
    height: 180px;
    background: var(--subpage-surface-muted);
    object-fit: cover;
}

body .blog-card-image.illustration {
    object-fit: contain;
    padding: 1rem;
    background:
        linear-gradient(135deg, rgba(75, 152, 108, 0.08), rgba(255, 255, 255, 0.78)),
        var(--subpage-surface-muted);
}

body .blog-card-content {
    padding: clamp(1.1rem, 2vw, 1.65rem);
    min-width: 0;
}

body .blog-card-category,
body .blog-category {
    background: var(--subpage-surface-muted);
    color: var(--accent-success);
    border: 1px solid rgba(75, 152, 108, 0.22);
    border-radius: var(--radius-full);
    letter-spacing: 0;
}

body .blog-card h3 {
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.22;
    letter-spacing: -0.01em;
    overflow-wrap: break-word;
}

body .blog-card p {
    font-size: 0.98rem;
    line-height: 1.68;
    overflow-wrap: break-word;
}

body .blog-card-meta,
body .blog-meta {
    color: var(--text-secondary);
}

body .blog-card-meta {
    align-items: flex-start;
    gap: 0.8rem;
    border-top-color: var(--subpage-border-soft);
}

body .blog-card-link,
body .blog-card-link:hover {
    color: var(--accent-success);
}

body .blog-article {
    width: min(100%, 1040px);
    max-width: 1040px;
    padding: clamp(88px, 12vw, 140px) clamp(16px, 4vw, 28px) clamp(60px, 8vw, 96px);
}

body .blog-header {
    max-width: 820px;
    margin: 0 auto clamp(2rem, 5vw, 3.25rem);
}

body .blog-title {
    color: var(--text-primary);
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 1.03;
    letter-spacing: -0.025em;
    overflow-wrap: break-word;
}

body .blog-meta {
    gap: 0.75rem 1.15rem;
    margin-bottom: 0;
    padding-top: 0.5rem;
    font-size: 0.92rem;
}

body .blog-meta-item {
    padding: 0.35rem 0;
}

body .blog-author {
    max-width: 760px;
    margin: 1.25rem auto 0;
    padding: 1rem;
    background: var(--subpage-surface);
    border: 1px solid var(--subpage-border-soft);
    border-radius: var(--radius-md);
    box-shadow: none;
}

body .author-avatar {
    background: var(--subpage-surface-muted);
    color: var(--accent-success);
}

body .blog-content {
    color: var(--text-primary);
    font-size: 1.04rem;
    line-height: 1.82;
    min-width: 0;
}

body .blog-content > p,
body .blog-content > h2,
body .blog-content > h3,
body .blog-content > h4,
body .blog-content > ul,
body .blog-content > ol,
body .blog-content > blockquote,
body .blog-content > .tldr-box,
body .blog-content > .highlight-box,
body .blog-content > .cta-box,
body .blog-content > .faq-item,
body .blog-content > .related-posts,
body .blog-content > .comparison-box,
body .blog-content > .checklist-section {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

body .blog-content h2 {
    margin-top: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 1.14;
    letter-spacing: -0.015em;
}

body .blog-content h3 {
    color: var(--text-primary);
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    line-height: 1.25;
}

body .blog-content p,
body .blog-content li {
    color: var(--text-secondary);
    overflow-wrap: break-word;
}

body .blog-content strong {
    color: var(--text-primary);
}

body .blog-content a {
    color: var(--accent-success);
    text-decoration-color: rgba(75, 152, 108, 0.35);
    text-underline-offset: 3px;
}

body .blog-content a[style*="#667eea"],
body .blog-content a[style*="rgb(102, 126, 234)"] {
    color: var(--accent-success) !important;
}

body .blog-hero-img {
    display: block;
    max-width: min(100%, 620px);
    margin: 0 auto 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--subpage-border-soft);
    box-shadow: var(--subpage-shadow);
}

body .tldr-box {
    background:
        linear-gradient(135deg, rgba(75, 152, 108, 0.1) 0%, rgba(252, 252, 252, 0.88) 100%),
        var(--subpage-surface);
    border: 1px solid rgba(75, 152, 108, 0.24);
    border-radius: var(--radius-md);
    padding: clamp(1.15rem, 3vw, 1.65rem);
    box-shadow: none;
}

.dark-mode .tldr-box {
    background:
        linear-gradient(135deg, rgba(75, 152, 108, 0.18) 0%, rgba(20, 24, 22, 0.94) 100%),
        var(--subpage-surface);
}

body .tldr-box strong {
    color: var(--accent-success);
}

body .highlight-box,
body .blog-content blockquote {
    background: var(--subpage-surface);
    border: 1px solid var(--subpage-border-soft);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: clamp(1.1rem, 3vw, 1.55rem);
}

body .cta-box {
    background: linear-gradient(135deg, var(--text-primary) 0%, #203028 100%);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: clamp(1.4rem, 4vw, 2rem);
    text-align: left;
    box-shadow: var(--subpage-shadow);
}

body .cta-box h3,
body .cta-box p {
    color: #FFFFFF;
}

body .cta-box .btn {
    width: auto;
    background: #FFFFFF;
    color: var(--accent-success);
    box-shadow: none;
}

body .cta-box .btn:hover {
    background: var(--subpage-surface-muted);
    color: var(--accent-success);
}

body .blog-content table.data-table,
body .blog-content table.compare-table,
body .blog-content table.comparison-table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: clamp(1.5rem, 4vw, 2.5rem) auto;
    overflow-x: auto;
    border: 1px solid var(--subpage-border-soft);
    border-radius: var(--radius-md);
    border-collapse: separate;
    border-spacing: 0;
    background: var(--subpage-surface);
    font-size: 0.94rem;
    box-shadow: none;
    -webkit-overflow-scrolling: touch;
}

body .blog-content table.data-table thead,
body .blog-content table.compare-table thead,
body .blog-content table.comparison-table thead,
body .blog-content table.data-table tbody,
body .blog-content table.compare-table tbody,
body .blog-content table.comparison-table tbody {
    display: table;
    width: 100%;
    min-width: 680px;
}

body .blog-content table.data-table th,
body .blog-content table.compare-table th,
body .blog-content table.comparison-table th {
    background: var(--subpage-surface-muted);
    color: var(--text-primary);
    border-color: var(--subpage-border-soft);
    font-weight: 700;
}

body .blog-content table.data-table td,
body .blog-content table.compare-table td,
body .blog-content table.comparison-table td {
    border-color: var(--subpage-border-soft);
    color: var(--text-secondary);
}

body .blog-content table.data-table tr:nth-child(even) td,
body .blog-content table.compare-table tr:nth-child(even) td,
body .blog-content table.comparison-table tr:nth-child(even) td {
    background: rgba(75, 152, 108, 0.045);
}

body .blog-content .faq-item {
    background: var(--subpage-surface);
    border: 1px solid var(--subpage-border-soft);
    border-radius: var(--radius-md);
    padding: 1.15rem 1.25rem;
    margin-bottom: 0.8rem;
}

body .blog-content .faq-item h3 {
    margin-top: 0;
    color: var(--text-primary);
}

body .blog-content .faq-item p {
    margin-bottom: 0;
}

body .related-posts {
    border-top-color: var(--subpage-border-soft);
}

body .comparison-box {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1rem;
}

body .comparison-card {
    background: var(--subpage-surface);
    border: 1px solid var(--subpage-border-soft);
    border-radius: var(--radius-md);
    box-shadow: none;
}

body .comparison-card.winner {
    border-color: rgba(75, 152, 108, 0.32);
    background: linear-gradient(135deg, rgba(75, 152, 108, 0.08) 0%, var(--subpage-surface) 100%);
}

body .comparison-card i[style*="#667eea"],
body .comparison-card h4 i[style*="#667eea"] {
    color: var(--accent-success) !important;
}

body .checklist-section {
    background: var(--subpage-surface);
    border: 1px solid var(--subpage-border-soft);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.35rem;
}

body .checklist-section h3,
body .checklist li::before {
    color: var(--accent-success);
}

body .about-page,
body .legal-page {
    padding: clamp(64px, 9vw, 104px) 0 clamp(44px, 6vw, 72px);
}

body .about-section,
body .legal-section {
    max-width: 900px;
    padding: 0;
}

body .about-section h1,
body .legal-section h1 {
    max-width: 760px;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--text-primary);
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
}

body .about-section h2,
body .legal-section h2 {
    margin-top: clamp(2.25rem, 5vw, 3.5rem);
    color: var(--text-primary);
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.18;
    letter-spacing: -0.015em;
}

body .about-section p,
body .about-section li,
body .legal-section p,
body .legal-section li {
    color: var(--text-secondary);
    overflow-wrap: break-word;
}

body .hobby-note,
body .support-cta,
body .founder-card,
body .hobby-disclaimer {
    background: var(--subpage-surface);
    border: 1px solid var(--subpage-border-soft);
    border-radius: var(--radius-md);
    box-shadow: none;
}

body .hobby-note {
    background: transparent;
    max-width: 760px;
    padding: clamp(1.1rem, 3vw, 1.6rem) 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
}

body .hobby-note p,
body .hobby-note strong,
body .hobby-disclaimer,
body .hobby-disclaimer strong {
    color: var(--text-primary);
}

body .story-section,
body .founder-card {
    gap: clamp(1.25rem, 4vw, 2.25rem);
}

body .story-image img,
body .founder-photo {
    border: 0;
    box-shadow: none;
}

body .founder-card {
    background: transparent;
    padding: clamp(1.2rem, 4vw, 2rem) 0;
    align-items: center;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
}

body .founder-card p,
body .founder-card strong {
    color: var(--text-primary);
}

body .founder-card a,
body .about-section a,
body .legal-section a {
    color: var(--accent-success);
    text-decoration-color: rgba(75, 152, 108, 0.35);
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

body .support-cta {
    background: transparent;
    text-align: left;
    padding: clamp(1.4rem, 4vw, 2rem) 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
}

body .legal-nav {
    background: rgba(252, 252, 252, 0.92);
    border-bottom: 1px solid var(--subpage-border-soft);
    box-shadow: none;
    backdrop-filter: blur(14px);
}

.dark-mode .legal-nav {
    background: rgba(20, 24, 22, 0.9);
}

body .legal-nav-links {
    justify-content: flex-start;
}

body .legal-nav-links a {
    border: 1px solid var(--subpage-border-soft);
    color: var(--text-secondary);
}

body .legal-nav-links a:hover,
body .legal-nav-links a.active {
    background: var(--subpage-surface-muted);
    color: var(--accent-success);
    text-decoration: none;
}

@media (max-width: 900px) {
    body .blog-hero + section .blog-grid {
        grid-template-columns: 1fr;
    }

    body .comparison-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body .blog-hero {
        padding-top: 56px;
        text-align: left;
    }

    body .blog-article {
        padding-top: 72px;
    }

    body .blog-card-meta,
    body .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }

    body .blog-content {
        font-size: 1rem;
        line-height: 1.74;
    }

    body .blog-content table.data-table,
    body .blog-content table.compare-table,
    body .blog-content table.comparison-table {
        font-size: 0.86rem;
    }

    body .blog-content table.data-table thead,
    body .blog-content table.compare-table thead,
    body .blog-content table.comparison-table thead,
    body .blog-content table.data-table tbody,
    body .blog-content table.compare-table tbody,
    body .blog-content table.comparison-table tbody {
        min-width: 620px;
    }

    body .cta-box {
        text-align: left;
    }

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

    body .about-section,
    body .legal-section {
        padding: 0 var(--spacing-md);
    }

    body .story-section,
    body .founder-card {
        align-items: flex-start;
        text-align: left;
    }

    body .founder-photo {
        width: 128px;
        height: 128px;
    }

    body .legal-nav {
        top: 66px;
        padding: var(--spacing-sm) 0;
    }

    body .legal-nav-links {
        gap: var(--spacing-sm);
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 2px;
    }

body .legal-nav-links a {
        flex: 0 0 auto;
    }
}

/* Launch funnel refinements */
.beta-signup-form.hero-waitlist-form {
    max-width: none;
    margin: 0;
}

.beta-signup-form .platform-selector {
    display: flex;
    width: 100%;
    height: 60px;
}

.beta-signup-form .platform-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 0.65rem;
    font-size: 0.84rem;
}

.beta-signup-form .hero-email-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
}

.beta-signup-form .hero-email-input {
    width: 100%;
    min-width: 0;
    height: 56px;
    min-height: 56px;
    padding-inline: 1rem;
    font-size: 1.0625rem;
    border-color: rgba(75, 152, 108, 0.25);
}

.beta-signup-form .hero-email-input:focus,
.beta-signup-form .hero-email-input:focus-visible {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(75, 152, 108, 0.12);
}

.beta-signup-form .hero-email-input[aria-invalid="true"] {
    border-color: #b42318;
    box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.12);
}

.beta-signup-form .hero-submit-btn {
    width: 100%;
    height: 52px !important;
    min-height: 52px;
    padding-inline: 1rem !important;
}

.beta-signup-form .platform-btn:focus-visible,
.beta-signup-form .hero-submit-btn:focus-visible,
.beta-signup-form .hero-checkbox-label input:focus-visible {
    outline: 3px solid rgba(75, 152, 108, 0.28);
    outline-offset: 2px;
}

.beta-signup-form .hero-checkbox-wrapper {
    margin-top: 0.85rem;
}

.beta-signup-form .hero-checkbox-label {
    align-items: flex-start;
    gap: 0.65rem;
}

.beta-signup-form .hero-checkbox-label input[type="checkbox"] {
    margin-top: 0.12rem;
}

.beta-signup-form .beta-privacy-note {
    margin: 0.75rem 0 0;
    text-align: left;
    font-size: 0.82rem;
}

.beta-signup-form .hero-success-subtext {
    margin: 1rem 0 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.beta-signup-form .hero-success-subtext a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.dark-mode .beta-tests-section {
    background: radial-gradient(circle at 12% 12%, rgba(75, 152, 108, 0.14), transparent 29rem), var(--bg-secondary);
}

.dark-mode .beta-tests {
    background: rgba(31, 41, 35, 0.92);
}

@media (max-width: 768px) {
    .app-store-rating {
        align-self: center;
        width: min(100%, 300px);
        margin-bottom: 0.35rem;
    }

    .app-store-rating-link {
        grid-template-columns: 36px minmax(0, 1fr) 36px;
        width: 100%;
        gap: 0.1rem;
    }

    .app-store-rating-wreath {
        width: 36px;
        height: 62px;
    }

    .app-store-rating-source {
        font-size: 0.68rem;
    }

    .app-store-rating strong {
        font-size: 2rem;
    }

    .hero-download-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: min(100%, 290px);
        margin-inline: auto;
        align-items: center;
        gap: 0.55rem;
    }

    .hero-download-actions .app-store-badge,
    .hero-download-actions .android-store-button {
        width: 100%;
        min-width: 0;
    }

    .app-store-badge img {
        width: 100%;
        height: auto;
    }

    .android-store-button {
        height: 47px;
        gap: 0.4rem;
        padding-inline: 0.45rem;
        justify-content: center;
    }

    .android-store-button small {
        font-size: 0.58rem;
    }

    .android-store-button strong {
        font-size: 0.88rem;
    }

    .beta-tests-section {
        padding: 4rem 0;
    }

    .beta-tests {
        gap: 2.5rem;
        border-radius: 20px;
    }

    .beta-tests-intro h2 {
        font-size: clamp(2.15rem, 11vw, 3.2rem);
    }

    .beta-tests-intro .section-eyebrow {
        min-height: 0;
    }

    .beta-signup-form .platform-selector {
        height: auto;
        min-height: 48px;
    }

    .beta-signup-form .platform-btn {
        padding: 0.65rem 0.45rem;
        white-space: normal;
        line-height: 1.15;
    }

    .beta-signup-form .hero-email-input,
    .beta-signup-form .hero-submit-btn {
        height: 48px !important;
        min-height: 48px;
    }
}

@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        padding: var(--spacing-lg);
        background-color: var(--bg-secondary);
        box-shadow: var(--shadow-md);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-100%);
        transition: transform var(--transition-normal), opacity var(--transition-normal);
    }

    .nav-menu.active {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
    }

    .nav-download-btn {
        width: 100%;
        margin: var(--spacing-sm) 0 0;
        text-align: center;
    }
}

@media (max-width: 350px) {
    .hero-download-actions {
        width: min(100%, 290px);
    }
}

@media (max-width: 1024px) {
    .hero-content-new {
        grid-template-columns: 1fr;
    }

    .hero-mockup-right {
        order: -1;
        width: min(100%, 560px);
        margin-inline: auto;
    }

    .hero-mockup-button {
        width: min(100%, 520px);
    }

    .hero-mockup-image {
        max-width: 100%;
        margin-inline: auto;
    }

    .hero-text-left {
        align-items: center;
        width: 100%;
        min-width: 0;
        text-align: center;
    }

    .lang-pill {
        align-self: center;
        transform-origin: center;
    }

    .hero-title,
    .hero-kicker,
    .hero-description,
    .hero-subtext {
        width: 100%;
        max-width: 42rem;
    }

    .app-store-rating {
        align-self: center;
    }

    .hero-download-actions {
        justify-content: center;
        justify-items: center;
    }

    .hero-download-actions .app-store-badge,
    .hero-download-actions .android-store-button {
        align-self: center;
    }

    .hero-subtext {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-mockup-right {
        width: min(100%, 500px);
    }

    .hero-mockup-button {
        width: min(100%, 400px);
    }
}
