:root {
    /* Primitive Color Tokens */
    --color-white: rgba(255, 255, 255, 1);
    --color-black: rgba(0, 0, 0, 1);
    --color-cream-50: rgba(252, 252, 249, 1);
    --color-cream-100: rgba(255, 255, 253, 1);
    --color-gray-200: rgba(245, 245, 245, 1);
    --color-gray-300: rgba(167, 169, 169, 1);
    --color-gray-400: rgba(119, 124, 124, 1);
    --color-slate-500: rgba(98, 108, 113, 1);
    --color-brown-600: rgba(94, 82, 64, 1);
    --color-charcoal-700: rgba(31, 33, 33, 1);
    --color-charcoal-800: rgba(38, 40, 40, 1);
    --color-slate-900: rgba(19, 52, 59, 1);
    --color-teal-300: rgba(50, 184, 198, 1);
    --color-teal-400: rgba(45, 166, 178, 1);
    --color-teal-500: rgba(33, 128, 141, 1);
    --color-teal-600: rgba(29, 116, 128, 1);
    --color-teal-700: rgba(26, 104, 115, 1);
    --color-teal-800: rgba(41, 150, 161, 1);
    --color-red-400: rgba(255, 84, 89, 1);
    --color-red-500: rgba(192, 21, 47, 1);
    --color-orange-400: rgba(230, 129, 97, 1);
    --color-orange-500: rgba(168, 75, 47, 1);
    /* RGB versions for opacity control */
    --color-brown-600-rgb: 94, 82, 64;
    --color-teal-500-rgb: 33, 128, 141;
    --color-slate-900-rgb: 19, 52, 59;
    --color-slate-500-rgb: 98, 108, 113;
    --color-red-500-rgb: 192, 21, 47;
    --color-red-400-rgb: 255, 84, 89;
    --color-orange-500-rgb: 168, 75, 47;
    --color-orange-400-rgb: 230, 129, 97;
    --color-bg-2: rgba(245, 158, 11, 0.08);
    --color-bg-4: rgba(239, 68, 68, 0.08);
    --color-bg-6: rgba(249, 115, 22, 0.08);
    --color-bg-8: rgba(6, 182, 212, 0.08);
    /* Semantic Color Tokens (Light Mode) */
    --color-background: var(--color-cream-50);
    --color-surface: var(--color-cream-100);
    --color-text: var(--color-slate-900);
    --color-text-secondary: var(--color-slate-500);
    --color-primary: var(--color-teal-500);
    --color-primary-hover: var(--color-teal-600);
    --color-primary-active: var(--color-teal-700);
    --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
    --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
    --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
    --color-border: rgba(var(--color-brown-600-rgb), 0.2);
    --color-btn-primary-text: var(--color-cream-50);
    --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
    --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
    --color-error: var(--color-red-500);
    --color-success: var(--color-teal-500);
    --color-warning: var(--color-orange-500);
    --color-info: var(--color-slate-500);
    --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);
    --color-select-caret: rgba(var(--color-slate-900-rgb), 0.8);
    /* Common style patterns */
    --focus-ring: 0 0 0 3px var(--color-focus-ring);
    --focus-outline: 2px solid var(--color-primary);
    --status-bg-opacity: 0.15;
    --status-border-opacity: 0.25;
    --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    /* RGB versions for opacity control */
    --color-success-rgb: 33, 128, 141;
    --color-error-rgb: 192, 21, 47;
    --color-warning-rgb: 168, 75, 47;
    --color-info-rgb: 98, 108, 113;
    /* Typography */
    --font-family-base: "FKGroteskNeue", "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-family-mono: "Berkeley Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    --font-size-xs: 11px;
    --font-size-sm: 12px;
    --font-size-base: 14px;
    --font-size-md: 14px;
    --font-size-lg: 16px;
    --font-size-xl: 18px;
    --font-size-2xl: 20px;
    --font-size-3xl: 24px;
    --font-size-4xl: 30px;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 550;
    --font-weight-bold: 600;
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --letter-spacing-tight: -0.01em;
    /* Spacing */
    --space-0: 0;
    --space-1: 1px;
    --space-2: 2px;
    --space-4: 4px;
    --space-6: 6px;
    --space-8: 8px;
    --space-10: 10px;
    --space-12: 12px;
    --space-16: 16px;
    --space-20: 20px;
    --space-24: 24px;
    --space-32: 32px;
    /* Border Radius */
    --radius-sm: 6px;
    --radius-base: 8px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --radius-full: 9999px;
    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.03);
    /* Animation */
    --duration-fast: 150ms;
    --duration-normal: 250ms;
    --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);
    /* Layout */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
}

@media (prefers-color-scheme: dark) {
     :root {
        /* RGB versions for opacity control (Dark Mode) */
        --color-gray-400-rgb: 119, 124, 124;
        --color-teal-300-rgb: 50, 184, 198;
        --color-gray-300-rgb: 167, 169, 169;
        --color-gray-200-rgb: 245, 245, 245;
        --color-bg-2: rgba(180, 83, 9, 0.15);
        --color-bg-4: rgba(185, 28, 28, 0.15);
        --color-bg-6: rgba(194, 65, 12, 0.15);
        --color-bg-8: rgba(8, 145, 178, 0.15);
        /* Semantic Color Tokens (Dark Mode) */
        --color-background: var(--color-charcoal-700);
        --color-surface: var(--color-charcoal-800);
        --color-text: var(--color-gray-200);
        --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
        --color-primary: var(--color-teal-300);
        --color-primary-hover: var(--color-teal-400);
        --color-primary-active: var(--color-teal-800);
        --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
        --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
        --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
        --color-border: rgba(var(--color-gray-400-rgb), 0.3);
        --color-error: var(--color-red-400);
        --color-success: var(--color-teal-300);
        --color-warning: var(--color-orange-400);
        --color-info: var(--color-gray-300);
        --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
        --color-btn-primary-text: var(--color-slate-900);
        --color-card-border: rgba(var(--color-gray-400-rgb), 0.2);
        --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
        --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.15);
        --button-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
        --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
        --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);
        /* Common style patterns - updated for dark mode */
        --focus-ring: 0 0 0 3px var(--color-focus-ring);
        --focus-outline: 2px solid var(--color-primary);
        --status-bg-opacity: 0.15;
        --status-border-opacity: 0.25;
        --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        /* RGB versions for dark mode */
        --color-success-rgb: var(--color-teal-300-rgb);
        --color-error-rgb: var(--color-red-400-rgb);
        --color-warning-rgb: var(--color-orange-400-rgb);
        --color-info-rgb: var(--color-gray-300-rgb);
    }
}

/* Base styles */

html {
    font-size: var(--font-size-base);
    font-family: var(--font-family-base);
    line-height: var(--line-height-normal);
    color: var(--color-text);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

/* Typography */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    color: var(--color-text);
    letter-spacing: var(--letter-spacing-tight);
}

h1 {
    font-size: var(--font-size-4xl);
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

h5 {
    font-size: var(--font-size-lg);
}

h6 {
    font-size: var(--font-size-md);
}

p {
    margin: 0 0 var(--space-16) 0;
}

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

a:hover {
    color: var(--color-primary-hover);
}

code,
pre {
    font-family: var(--font-family-mono);
    font-size: calc(var(--font-size-base) * 0.95);
    background-color: var(--color-secondary);
    border-radius: var(--radius-sm);
}

code {
    padding: var(--space-1) var(--space-4);
}

pre {
    padding: var(--space-16);
    margin: var(--space-16) 0;
    overflow: auto;
    border: 1px solid var(--color-border);
}

pre code {
    background: none;
    padding: 0;
}

/* Container layout */

.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--space-16);
    padding-left: var(--space-16);
}

@media (min-width: 640px) {
    .container {
        max-width: var(--container-sm);
    }
}

@media (min-width: 768px) {
    .container {
        max-width: var(--container-md);
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: var(--container-lg);
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: var(--container-xl);
    }
}

:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 2px;
}

@font-face {
    font-family: 'FKGroteskNeue';
    src: url('https://r2cdn.perplexity.ai/fonts/FKGroteskNeue.woff2') format('woff2');
}

/* END PERPLEXITY DESIGN SYSTEM */

/* Dailypal Color Variables - Keeping existing colors */

:root {
    --primary: #E2755D;
    --secondary: #4ECDC4;
    --success: #95E1A3;
    --danger: #E2755D;
    --gray4: #3A3A3C;
    --gray5: #2C2C2E;
    --gray6: #1C1C1E;
    --white: #FFFFFF;
    --black: #000000;
    --text: #FFFFFF;
    --text-secondary: #8E8E93;
    --background: #1A1D29;
    --card-background: #252A3A;
    --border: #3A3A3C;
    --shadow: rgba(0, 0, 0, 0.3);
    /* New iOS-style variables */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
    --shadow-ios: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-ios-lg: 0 8px 30px rgba(0, 0, 0, 0.25);
}

/* Reset and Base Styles */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 14px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Large Hero Mascot */

.hero-mascot {
    text-align: left;
    margin-bottom: 0.75rem;
}

.mascot-large {
    display: inline-block;
    position: relative;
}

.hero-mascot img {
    max-width: min(520px, 100%);
    height: auto;
    display: block;
}

.mini-day {
    aspect-ratio: 1;
    background: var(--gray5);
    border-radius: 4px;
    font-size: 14px;
    /* Viel kleiner, da 7 Spalten */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* Wichtig für den Punkt */
    /* height: 90px; <-- ENTFERNEN! Sonst funktioniert aspect-ratio nicht */
}

/* Kleiner Event-Punkt hinzufügen */

.mini-day.has-event::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
}

/* Wenn Tag aktiv UND hat Event - weißer Punkt */

.mini-day.active.has-event::after {
    background-color: var(--white);
}

/* Kleiner Event-Punkt hinzufügen */

.mini-day.has-event2::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--success);
    border-radius: 50%;
}

/* Wenn Tag aktiv UND hat Event - weißer Punkt */

.mini-day.active.has-event2::after {
    background-color: var(--white);
}

/* Kleiner Event-Punkt hinzufügen */

.mini-day.has-event3::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: rgba(50, 80, 240, 1);
    border-radius: 50%;
}

/* Wenn Tag aktiv UND hat Event - weißer Punkt */

.mini-day.active.has-event3::after {
    background-color: var(--white);
}

.mini-day.active {
    background: var(--primary);
}

/* Header/Navigation */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 29, 41, 0.85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(58, 58, 60, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo h2 {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-lang {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-lang-item {
    display: flex;
    align-items: center;
}

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

.text-white {
    color: #ffffff;
}

.accent-red {
    color: #E2755D;
}

.team-img {
    height: 250px;
    width: auto;
}

.qr-img {
    height: 170px;
    width: 170px;
}

.footer-mascot-img {
    height: 140px;
    width: auto;
}

.progress-fill.red {
    width: 30%;
}

.progress-fill.green {
    width: 90%;
}

.support-form {
    margin-top: 1rem;
}

.support-input,
.support-textarea {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.15);
    color: #ffffff;
    outline: none;
}

.support-textarea {
    resize: vertical;
}

.support-input::placeholder,
.support-textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.support-input:focus,
.support-textarea:focus {
    border-color: rgba(226, 117, 93, 0.8);
    box-shadow: 0 0 0 3px rgba(226, 117, 93, 0.18);
}

.progress-fill.blue {
    width: 60%;
}

.lang-button {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #fff;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lang-button.active,
.lang-button[aria-current="page"] {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(226, 117, 93, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */

.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--background) 0%, var(--gray6) 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    align-self: start;
}

.hero-mockup {
    align-self: start;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    /*background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;*/
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.2vw, 1.5rem);
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-description {
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 14px 28px;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-ios);
}

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

.btn-primary:hover {
    background: #d86651;
    transform: translateY(-2px);
    box-shadow: var(--shadow-ios-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-icon {
    font-size: 1.1em;
}

/* iOS-style Phone Mockup */

/* Phone Mockup */

.hero-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 300px;
    height: auto;
    aspect-ratio: 9 / 19.2;
    background: var(--gray6);
    border-radius: 40px;
    padding: 10px;
    position: relative;
    box-shadow: 0 20px 40px var(--shadow);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--card-background);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Section Headers */

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

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: clamp(1rem, 1.9vw, 1.2rem);
    color: var(--text-secondary);
}

/* Features Section - App Style */

.features {
    padding: 80px 0;
    background: var(--gray6);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 24px;
}

.feature-card.app-style {
    background: var(--card-background);
    padding: 0;
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-ios);
}

.feature-card.app-style:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-ios-lg);
    border-color: var(--primary);
}

.feature-mockup {
    padding: 20px;
    margin-bottom: 20px;
}

.mockup-header {
    font-size: clamp(1rem, 1.6vw, 1.05rem);
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}

.mockup-body {
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius-md);
    padding: 16px;
    min-height: 120px;
}

.chat-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    color: #f5f5f5;
    position: relative;
    padding: 8px;
    min-height: 200px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.chat-body::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.2));
    mix-blend-mode: screen;
}

.chat-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: 'Courier New', Courier, monospace, var(--font-weight-bold);
    font-size: 0.85rem;
    color: #f5f5f5;
}

.chat-message {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.chat-message.user-msg {
    justify-content: flex-end;
}

.chat-message .message-bubble {
    max-width: 220px;
    padding: 10px 14px;
    border-radius: 16px;
    line-height: 1.4;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.chat-message.user-msg .message-bubble {
    background: var(--danger);
    color: #fff;
    border-radius: 16px 16px 4px 16px;
    position: relative;
}

.chat-message.user-msg .message-bubble::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 18px;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.95);
    transform: rotate(45deg);
    border-radius: 2px;
}

.chat-message.ai-msg .message-bubble {
    background: rgba(15, 17, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px 16px 16px 4px;
    color: rgba(255, 255, 255, 0.9);
}

.ai-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.chat-message.user-msg .ai-avatar {
    display: none;
}

/* Calendar Mockup */

.calendar-mini-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    /* Von 5 auf 7 Spalten */
    gap: 4px;
    /* Kleinerer Gap für mehr Platz */
    margin-bottom: 12px;
}

.event-preview {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.event-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.event-dot.primary {
    background: var(--primary);
}

.event-dot.secondary {
    background: var(--success);
}

.event-dot.third {
    background: rgba(50, 80, 240, 1);
}

/* To-Do Mockup */

.todo-category {
    margin-bottom: 8px;
}

.todo-category:last-child {
    margin-bottom: 0;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.92);
}

.category-header span {
    font-size: inherit;
    min-width: 0;
}

.progress-bar {
    width: 80px;
    height: 6px;
    background: var(--gray5);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-fill.red {
    background: var(--primary);
}

.progress-fill.green {
    background: var(--success);
}

.progress-fill.blue {
    background: rgba(50, 80, 240, 1);
}

/* Meal Plans Mockup */

.meal-day {
    margin-bottom: 12px;
}

.day-header {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.meals {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meal {
    font-size: 12px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

/* Recipe Book Mockup */

.recipe-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.recipe-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.recipe-details {
    min-width: 0;
    flex: 1;
}

.recipe-name {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recipe-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.3;
    color: var(--text-secondary);
}

.recipe-time,
.recipe-servings {
    font-size: inherit;
}

.recipe-action {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(226, 117, 93, 0.55);
}

/* Notes Mockup */

.note-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.note-item:last-child {
    border-bottom: none;
}

.note-title {
    font-weight: 500;
    font-size: 14px;
}

.note-time {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Sync Mockup */

.sync-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.sync-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
}

.sync-indicator.active {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.family-members {
    display: flex;
    gap: 8px;
}

.member {
    font-size: 12px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

/* Notifications Mockup */

.notification-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
}

.notif-icon {
    font-size: 20px;
}

.notif-text {
    flex: 1;
}

.notif-title {
    font-weight: 500;
    font-size: 14px;
}

.notif-time {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Feature card content */

.feature-card.app-style h3 {
    font-size: 1.3rem;
    margin: 0 20px 12px;
    font-weight: 600;
}

.feature-card.app-style p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 20px 20px;
    font-size: clamp(1rem, 1.5vw, 1.05rem);
}

/* Screenshots Section */

.screenshots {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--background) 0%, var(--gray6) 100%);
}

.screenshots-gallery {
    position: relative;
    width: 100%;
    max-width: 320px;
    /* begrenzt die Breite */
    height: 600px;
    margin: 0 auto;
    overflow: hidden;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    display: flex;
    /* neu: Flexbox aktivieren */
    justify-content: center;
    /* horizontal zentrieren */
    align-items: center;
    /* vertikal zentrieren */
}

/*
.screenshots-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 19.5;    gleiche Proportionen wie phone-mockup
  object-fit: cover;
  border-radius: 20px;
}*/

.screenshot-mockup {
    width: 300px;
    height: 550px;
    background: var(--gray6);
    border-radius: 40px;
    padding: 10px;
    position: relative;
    box-shadow: 0 20px 20px var(--shadow);
}

.screenshot-screen {
    width: 100%;
    height: 100%;
    background: var(--card-background);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.screenshot-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.screenshot-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    /* Alle standardmäßig unsichtbar */
    pointer-events: none;
    /* Verhindert Interaktion mit unsichtbaren Elementen */
    flex: 0 0 100%;
    /* ein Item pro View */
    scroll-snap-align: center;
    display: flex;
    /* damit Inhalt mittig */
    justify-content: center;
    scroll-snap-align: center;
}

.screenshot-item.active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
    /* Aktiviert Interaktion für den aktiven Screenshot */
}

.screenshot-item:first-child {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

/* Neue Screenshot-spezifische Klassen */

.screenshots-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    /* kein Zeilenumbruch */
    justify-content: center;
    /* zentrieren */
    gap: 8px;
    /* Abstand zwischen Buttons */
    overflow-x: auto;
    /* erlaubt horizontales Scrollen falls nötig */
}

.screenshots-nav .nav-dot {
    flex: 0 0 auto;
    /* verhindert Schrumpfen */
    white-space: nowrap;
    /* kein Textumbruch */
}

.nav-dot {
    padding: 8px 16px;
    border-radius: var(--border-radius-lg);
    border: none;
    background: var(--gray4);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
}

.nav-dot.active {
    background: var(--primary);
    color: var(--white);
}

/* Pricing Section - iOS Style */

.pricing {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--background) 0%, var(--gray6) 100%);
}

/* --- Robuster, responsiver Pricing-Grid-Fix ---
   Place this at the END of your style.css to override earlier rules.
*/

.pricing .pricing-grid {
    display: grid;
    gap: 2rem;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    /* genug Platz für 3 Spalten */
    grid-auto-rows: 1fr;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    /* 3 Spalten (Desktop) */
}

/* Tablet: 2 Spalten */

@media (max-width: 1023px) {
    .pricing .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Handy: 1 Spalte */

@media (max-width: 639px) {
    .pricing .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* Ensure cards can shrink and don't force extra width */

.pricing .pricing-card.ios-style {
    min-width: 0;
    width: 100%;
}

/* Ensure cards can shrink and don't force extra width */

.pricing .pricing-card.ios-style {
    min-width: 0;
    width: 100%;
}

.pricing-card.ios-style {
    background: var(--card-background);
    border-radius: 20px;
    padding: 3rem 2rem 2rem;
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.ios-style.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-ios-lg);
}

.pricing-card.ios-style:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-ios-lg);
}

.pricing-card.ios-style.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 6px 20px;
    border-radius: var(--border-radius-lg);
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow-ios);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: clamp(1.5rem, 2.2vw, 1.7rem);
    margin-bottom: 1rem;
    font-weight: 600;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 12px 0;
    position: relative;
    padding-left: 28px;
    line-height: 1.5;
}

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

/* ❌ Nicht verfügbare Features mit rotem X */

.pricing-featuresX li::before {
    content: "✖";
    color: #E74C3C;
    /* Rot */
    margin-right: 10px;
    font-weight: bold;
    opacity: 0.8;
}

.pricing-features,
.pricing-featuresX {
    list-style: none;
    padding: 0;
    margin: 0;
    /* Standard-Abstände entfernen */
}

.pricing-featuresX {
    list-style: none;
    margin-bottom: 1rem;
    margin-top: 16px;
    /* kleiner Abstand nach oben */
}

.btn-outline.ios-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 14px 24px;
    border-radius: var(--border-radius-lg);
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-outline.ios-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-primary.ios-btn {
    width: 100%;
    border-radius: var(--border-radius-lg);
}

a.ios-btn {
    display: block;
    text-align: center;
    text-decoration: none;
}

/* About Section with Team Dino */

.about {
    padding: 80px 0;
    background: var(--background);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.about-text h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: clamp(1rem, 1.5vw, 1.08rem);
}

.contact-info {
    margin-top: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 16px;
    background: rgba(226, 117, 93, 0.1);
    border-radius: var(--border-radius-sm);
}

.social-links a:hover {
    color: var(--secondary);
    background: rgba(78, 205, 196, 0.1);
}

.team-dino {
    display: flex;
    justify-content: center;
}

.dino-team {
    text-align: center;
}

/* Download Section */

.download {
    padding: 80px 0;
    background: var(--gray6);
}

.download-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.download-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.download-text p {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.app-store-btn.ios-style {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--card-background);
    padding: 16px 24px;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    color: var(--text);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    width: fit-content;
    box-shadow: var(--shadow-ios);
}

.app-store-btn.ios-style:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-ios-lg);
}

.store-icon {
    font-size: 2.5rem;
}

.store-text small {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.store-text strong {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 600;
}

.requirements {
    margin-top: 2rem;
}

.requirements h4 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 600;
}

.requirements ul {
    list-style: none;
}

.requirements li {
    padding: 8px 0;
    position: relative;
    padding-left: 24px;
    color: var(--text-secondary);
}

.requirements li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.qr-code {
    text-align: center;
}

.qr-mockup {
    width: 200px;
    height: 200px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: var(--shadow-ios);
    transition: transform 0.3s ease;
}

.qr-code p {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

/* Footer with Dino */

.footer {
    background: var(--gray6);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-mascot {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.footer-logo p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 1rem;
}

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

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--text);
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 4px 0;
    font-size: 1rem;
}

.footer-column a:hover {
    color: var(--primary);
}

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

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Responsive Design */

@media (min-width: 769px) {
    .hero-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
    .hero-mockup {
        grid-column: 2;
        grid-row: 1 / 3;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 140px 0 40px;
    }
    .nav-toggle {
        display: flex;
    }
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    .hero-title {
        font-size: 2.4rem;
    }
    .hero-subtitle {
        font-size: 1.25rem;
    }
    .hero-description {
        font-size: 1.02rem;
    }
    .phone-mockup {
        width: 220px;
        height: auto;
        aspect-ratio: 470 / 1024;
    }
    .nav-logo img {
        height: 54px;
    }
    /*.phone-mockup {
    width: 280px;
    height: 600px;
  }*/
    .features-grid {
        grid-template-columns: 1fr;
    }
    .about-content,
    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-links {
        grid-template-columns: 1fr;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card.ios-style.featured {
        transform: none;
    }
    .pricing-card.ios-style {
        padding: 1.5rem;
    }
    .pricing-header h3 {
        font-size: 1.5rem;
    }
    .pricing-header p {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        max-width: 100%;
    }
    /* Styles for “Warum Dailypal?” section */
    .why-section {
        background: var(--background);
        padding: 4rem 1rem;
        color: #FFFFFF;
    }
    .why-section .container {
        max-width: 960px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    @media(min-width: 768px) {
        .why-section .container {
            grid-template-columns: repeat(3, 1fr);
        }
    }
    }
    .why-card {
        background: #252A3A;
        border: 1px solid #3A3A3C;
        border-radius: 16px;
        display: flex;
        padding: 1.5rem;
        align-items: flex-start;
    }
    #why-dailypal .why-text {
        font-size: 2rem;
        color: #fff;
        margin-bottom: 2rem;
        line-height: 1.6;
    }
    /* Optional: Schriftgröße für einzelne Paragraphen und Unterüberschrift feiner anpassen */
    #why-dailypal .why-text h3 {
        margin: 0 0 .5rem;
        font-size: 1.25rem;
        color: #fff;
    }
    #why-dailypal .why-text p {
        margin: 0 0 1rem 0;
        color: #8E8E93;
        line-height: 1.5;
    }
    @media (max-width: 768px) {
        #why-dailypal .why-text {
            font-size: 1rem;
        }
        #why-dailypal .why-text h3 {
            font-size: 1.1rem;
        }
        #why-dailypal .why-text p {
            font-size: 1rem;
        }
    }
    @media (max-width: 480px) {
        #why-dailypal .why-text {
            font-size: 0.98rem;
        }
        #why-dailypal .why-text h3 {
            font-size: 1.08rem;
        }
        #why-dailypal .why-text p {
            font-size: 0.98rem;
        }
    }
}

.feature-card,
.pricing-card {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card.animate-in,
.pricing-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

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

@keyframes bounce {
    0%,
    20%,
    60%,
    100% {
        transform: scale(1);
    }
    40% {
        transform: scale(1.2);
    }
    80% {
        transform: scale(1.1);
    }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes scan {
    0% {
        top: 0;
    }
    50% {
        top: calc(100% - 2px);
    }
    100% {
        top: 0;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        max-height: calc(100vh - 110px);
        background: rgba(26, 29, 41, 0.98);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 0.75rem 0;
        transition: left 0.35s ease;
        gap: 0.5rem;
        border-right: 1px solid var(--border);
        overflow-y: auto;
    }
    .nav-menu.show {
        left: 0;
    }
    .nav-menu li {
        width: 80%;
        text-align: center;
    }
    .nav-link {
        display: block;
        padding: 16px 24px;
        width: 100%;
        font-size: 1.1rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.05);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        margin-bottom: 8px;
        transition: all 0.3s ease;
    }

    .nav-link {
        padding: 10px 14px;
        font-size: 1rem;
    }
    .nav-link:hover {
        background: rgba(226, 117, 93, 0.2);
        transform: translateY(-2px);
    }
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* Extra-small phone optimizations (480px and below) */

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1.18rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .hero {
        padding: 40px 0 30px;
    }
    .phone-mockup {
        width: 180px;
        height: auto;
        aspect-ratio: 470 / 1024;
    }
    .setup-steps {
        grid-template-columns: 1fr;
    }
    .setup-step {
        min-width: 0;
        padding: 1rem;
    }
    .setup-step h3 {
        font-size: 1.18rem;
    }
    .setup-step p {
        font-size: 0.98rem;
    }
    .video-placeholder {
        aspect-ratio: 16 / 9;
        min-height: 180px;
    }
    .feature-card.app-style h3 {
        font-size: 1.18rem;
    }
    .feature-card.app-style p {
        font-size: 0.98rem;
    }
    .why-feature-list {
        font-size: 0.98rem;
    }
    .faq-question {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
    .faq-answer {
        padding: 0.75rem 1rem;
    }
    .faq-answer p {
        font-size: 0.98rem;
    }
    .pricing-card.ios-style {
        padding: 1rem;
    }
    .pricing-header h3 {
        font-size: 1.25rem;
    }
    .pricing-header p {
        font-size: 0.95rem;
    }
    .pricing-card.ios-style ul li {
        font-size: 0.95rem;
    }
}

.header.scrolled {
    background: rgba(26, 29, 41, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.phone-mockup {
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: translateY(-5px) scale(1.02);
}

.screenshot-mockup {
    transition: all 0.3s ease;
}

.legal-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, rgba(26, 29, 41, 0.92) 0%, rgba(26, 29, 41, 1) 100%);
    color: var(--color-white);
}

.legal-section h1,
.legal-section h3,
.legal-section h4 {
    color: var(--primary);
}

.legal-section h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-section ul {
    list-style: disc;
    margin-left: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
}

.legal-section a {
    color: var(--primary);
}

.legal-section p,
.legal-section li {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.setup-guide {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(26, 29, 41, 0.9) 0%, rgba(26, 29, 41, 0.98) 100%);
}

.setup-guide .container {
    position: relative;
    z-index: 1;
}

.setup-guide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(226, 117, 93, 0.25), transparent 45%);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

.setup-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.setup-step {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
    min-width: 0;
}

.setup-step h3 {
    font-size: clamp(1.15rem, 2vw, 1.3rem);
    font-weight: 600;
    color: var(--color-white, #fff);
}

.setup-step p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 1rem;
}

.video-placeholder {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
}

.video-placeholder iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    position: absolute;
    inset: 0;
}

.setup-step:last-child {
    min-height: 250px;
}

.faq {
    padding: 100px 0;
    background: var(--background);
}

.faq .section-header h2 {
    color: var(--primary);
}

.faq-category {
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.faq-category h3 {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1.1rem, 2vw, 1.2rem);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.faq-item {
    margin-top: 1rem;
}

.faq-question {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 1rem 1.2rem;
    border-radius: var(--border-radius-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.02rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
    position: relative;
}

.faq-question.active {
    background: rgba(226, 117, 93, 0.2);
}

.faq-toggle {
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, padding 0.3s ease;
    padding: 0 1.2rem;
    margin-top: 0.4rem;
    border-left: 2px solid transparent;
}

.faq-answer.active {
    max-height: none;
    overflow: visible;
    padding: 0.8rem 1.2rem;
    border-left-color: var(--primary);
    background: rgba(255, 255, 255, 0.04);
}

.faq-answer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 1rem;
}

.screenshot-mockup:hover {
    transform: translateY(-5px);
}

.progress-fill {
    transition: width 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mini-day {
    transition: all 0.2s ease;
    cursor: pointer;
}

.why-highlight {
    color: #ffffff;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: bold;
    line-height: 1.6;
    text-align: left;
}

@media (max-width: 768px) {
    .why-highlight {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .why-highlight {
        font-size: 0.9rem;
    }
}

.why-feature-list {
    display: grid;
    gap: 0.2rem;
    margin: 1rem 0;
    font-size: 1rem;
    padding-left: 3rem;
    border-left: 2px solid rgba(255, 255, 255, 0.15);
}


/* ============================================
   Layout polish — professional composition
   ============================================ */

:root {
    --font-display: "Outfit", "Segoe UI", sans-serif;
    --font-body: "Source Sans 3", "Segoe UI", sans-serif;
    --surface-1: #161924;
    --surface-2: #1e2333;
    --surface-3: #252b3d;
    --line: rgba(255, 255, 255, 0.08);
    --glow-coral: rgba(226, 117, 93, 0.22);
    --glow-teal: rgba(78, 205, 196, 0.16);
    --space-section: clamp(2.75rem, 5vw, 4.25rem);
    --content-max: 1080px;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    background:
        radial-gradient(1200px 600px at 85% -10%, var(--glow-coral), transparent 55%),
        radial-gradient(900px 500px at -10% 20%, var(--glow-teal), transparent 50%),
        var(--background);
    color: var(--text);
    letter-spacing: 0.01em;
}

h1, h2, h3, h4,
.brand-lockup,
.section-header h2,
.price {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

.container {
    max-width: var(--content-max);
    padding: 0 clamp(1.25rem, 4vw, 2rem);
}

/* ---- Header ---- */

.header {
    background: rgba(22, 25, 36, 0.72);
    border-bottom: 1px solid var(--line);
}

.nav-container {
    max-width: var(--content-max);
    height: 72px;
    padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--text);
}

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

.nav-menu {
    gap: 0.35rem;
    align-items: center;
}

.nav-link {
    padding: 0.45rem 0.75rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
}

.nav-link-cta {
    color: var(--primary);
}

.nav-link-cta:hover {
    background: rgba(226, 117, 93, 0.12);
    color: #ff8f76;
}

.lang-button {
    border-radius: 8px;
    border: 1px solid var(--line);
    padding: 0.4rem 0.65rem;
    font-family: var(--font-display);
    font-weight: 600;
}

.lang-button.active,
.lang-button[aria-current="page"] {
    background: rgba(226, 117, 93, 0.2);
    border-color: rgba(226, 117, 93, 0.45);
    transform: none;
}

/* ---- Hero: one composition ---- */

.hero {
    min-height: 0;
    padding: 0;
    display: grid;
    align-items: center;
    background: transparent;
    overflow: hidden;
    position: relative;
}

.hero-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 45% at 75% 45%, var(--glow-coral), transparent 70%),
        radial-gradient(ellipse 40% 35% at 15% 70%, var(--glow-teal), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: var(--content-max);
    width: 100%;
    margin: 0 auto;
    padding: 0.85rem clamp(1.25rem, 4vw, 2rem) 0.5rem;
    display: grid;
    grid-template-columns: auto auto;
    gap: clamp(1.5rem, 3vw, 2.75rem);
    align-items: end;
    justify-content: center;
}

.hero-content {
    align-self: center;
    max-width: 38rem;
    animation: heroRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand-lockup {
    font-size: clamp(2.4rem, 5.5vw, 3.6rem);
    font-weight: 700;
    line-height: 0.95;
    margin: 0 0 0.55rem;
    color: var(--white);
}

.hero-content .hero-mascot {
    animation: heroRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
    margin-bottom: 0.35rem;
}

.hero-content .mascot-large img {
    width: min(480px, 100%);
    max-width: 100%;
    margin-left: 0;
}

.brand-accent {
    color: var(--primary);
}

.hero-title {
    font-size: clamp(1.3rem, 2.6vw, 1.7rem);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 0.65rem;
    color: rgba(255, 255, 255, 0.92);
}

.hero-lede,
.hero-subtitle {
    font-size: clamp(1rem, 1.7vw, 1.12rem);
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0 0 1.25rem;
    max-width: 34ch;
    font-weight: 400;
}

.hero-buttons {
    gap: 0.75rem;
}

.btn-primary,
.btn-secondary {
    border-radius: 12px;
    padding: 0.9rem 1.35rem;
    font-family: var(--font-display);
    font-weight: 600;
    box-shadow: none;
}

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

.btn-primary:hover {
    background: #d86651;
    box-shadow: 0 10px 28px rgba(226, 117, 93, 0.28);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-visual {
    position: relative;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-phone-stage {
    position: relative;
    width: 210px;
    animation: heroPhone 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.hero-phone-stage::before {
    content: "";
    position: absolute;
    inset: 12% -18% -8%;
    background: radial-gradient(circle at 50% 40%, rgba(226, 117, 93, 0.35), transparent 68%);
    filter: blur(18px);
    z-index: 0;
}

.hero .phone-mockup {
    position: relative;
    z-index: 1;
    width: 200px;
    max-width: 200px;
    height: auto;
    aspect-ratio: 9 / 19.2;
    padding: 7px;
    border-radius: 28px;
    background: linear-gradient(160deg, #3a3f52, #1a1d29 55%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
    animation: float 5.5s ease-in-out infinite;
}

.hero .phone-screen {
    border-radius: 28px;
}

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

@keyframes heroPhone {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ---- Why ---- */

.why-section {
    padding: var(--space-section) 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(78, 205, 196, 0.08), transparent 60%),
        linear-gradient(180deg, transparent, rgba(30, 35, 51, 0.65) 18%, rgba(30, 35, 51, 0.65) 82%, transparent);
}

.why-layout {
    display: grid;
    gap: clamp(1.35rem, 2.5vw, 2rem);
}

.why-intro {
    max-width: 44rem;
}

.why-eyebrow {
    margin: 0 0 0.85rem;
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--secondary);
}

.why-intro h2 {
    font-size: clamp(1.65rem, 3.4vw, 2.35rem);
    line-height: 1.18;
    margin: 0;
    color: var(--white);
}

.section-lede {
    margin-top: 0.75rem;
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.7vw, 1.12rem);
    line-height: 1.55;
}

.why-compare {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: clamp(1rem, 3vw, 2rem);
    align-items: stretch;
}

.why-compare-col h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 1rem;
}

.why-compare-them h3 {
    color: rgba(255, 255, 255, 0.45);
}

.why-compare-us h3 {
    color: var(--primary);
}

.why-compare-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.why-compare-list li {
    font-size: 1.05rem;
    line-height: 1.4;
    padding-left: 1rem;
    border-left: 2px solid transparent;
}

.why-compare-them .why-compare-list li {
    color: rgba(255, 255, 255, 0.42);
    border-left-color: rgba(255, 255, 255, 0.12);
    text-decoration: line-through;
    text-decoration-color: rgba(255, 255, 255, 0.25);
}

.why-compare-us .why-compare-list li {
    color: rgba(255, 255, 255, 0.92);
    border-left-color: var(--primary);
    font-weight: 500;
}

.why-compare-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    align-self: center;
}

.why-proof {
    margin: 0;
    max-width: 40rem;
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 1.9vw, 1.25rem);
    font-weight: 600;
    line-height: 1.4;
    color: var(--white);
}

.why-essentials {
    display: grid;
    gap: 0.85rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--line);
}

.why-essentials-label {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.why-essentials-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1.25rem;
}

.why-essentials-list li {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary);
}

/* ---- Sections rhythm ---- */

.section-header {
    margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.section-header h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
}

.features,
.screenshots,
.setup-guide,
.faq,
.pricing,
.about,
.download {
    padding: var(--space-section) 0;
}

.features {
    background: transparent;
}

.features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.feature-card.app-style {
    background: rgba(37, 43, 61, 0.55);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.feature-card.app-style:hover {
    transform: translateY(-4px);
    border-color: rgba(226, 117, 93, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.feature-card.app-style > p {
    padding: 0 1.25rem 1.35rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.mockup-body {
    background: rgba(0, 0, 0, 0.22);
}

/* Screenshots */

.screenshots {
    background: linear-gradient(180deg, transparent, rgba(226, 117, 93, 0.05), transparent);
}

.screenshots-gallery {
    max-width: 420px;
    margin: 0 auto 1.5rem;
}

.screenshot-mockup {
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.screenshots-nav {
    gap: 0.5rem;
}

.nav-dot {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.55rem 0.95rem;
}

.nav-dot.active {
    background: rgba(226, 117, 93, 0.2);
    border-color: rgba(226, 117, 93, 0.5);
    color: var(--white);
}

/* Setup */

.setup-steps {
    display: grid;
    gap: 0.85rem;
}

.setup-step {
    background: rgba(37, 43, 61, 0.4);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1rem 1.1rem 0.9rem;
}

.setup-step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.setup-step p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* FAQ */

.faq-category {
    margin-bottom: 1.15rem;
}

.faq-category h3 {
    font-size: 1.05rem;
    color: var(--secondary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.faq-question {
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(37, 43, 61, 0.45);
}

.faq-question:hover,
.faq-question.active {
    border-color: rgba(226, 117, 93, 0.4);
}

/* Pricing */

.pricing {
    background: transparent;
}

.pricing .pricing-grid {
    gap: 0.85rem;
}

.pricing-card.ios-style {
    background: rgba(37, 43, 61, 0.5);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: none;
    padding: 1.25rem;
}

.pricing-card.ios-style.featured {
    border-color: rgba(226, 117, 93, 0.55);
    background: linear-gradient(180deg, rgba(226, 117, 93, 0.12), rgba(37, 43, 61, 0.65));
    transform: none;
}

.pricing-badge {
    border-radius: 8px;
}

.pricing-card.ios-style.featured .pricing-badge {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    display: table;
    margin: 0 auto 1rem;
}

.pricing-card.ios-style.featured .pricing-header {
    margin-top: 0;
}

.btn-outline.ios-btn,
.btn-primary.ios-btn {
    border-radius: 12px;
    box-shadow: none;
}

/* About / Download / Footer */

.about,
.download {
    background: transparent;
}

.about-content {
    gap: clamp(1.25rem, 3vw, 2.25rem);
    align-items: center;
}

.download-content {
    background: rgba(37, 43, 61, 0.45);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: clamp(1.15rem, 2.5vw, 1.75rem);
    gap: 1.25rem;
}

.app-store-btn.ios-style {
    border-radius: 14px;
    box-shadow: none;
}

.footer {
    background: #12141c;
    border-top: 1px solid var(--line);
    padding-top: 3rem;
}

.footer-mascot-img {
    height: 96px;
}

/* Motion for scroll reveals */

.feature-card,
.pricing-card,
.why-compare-col,
.why-essentials,
.setup-step,
.faq-category,
.about-text {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-card.animate-in,
.pricing-card.animate-in,
.why-compare-col.animate-in,
.why-essentials.animate-in,
.setup-step.animate-in,
.faq-category.animate-in,
.about-text.animate-in,
.screenshots-gallery.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive ---- */

@media (max-width: 960px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 4.75rem;
        padding-bottom: 1.75rem;
        gap: 1.15rem;
    }

    .hero-content {
        max-width: none;
        margin: 0 auto;
    }

    .brand-lockup {
        font-size: clamp(2.6rem, 12vw, 3.4rem);
    }

    .hero-lede,
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
        max-width: 28ch;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        min-height: auto;
    }

    .hero-phone-stage {
        width: min(100%, 180px);
        margin-inline: auto;
    }

    .hero .phone-mockup {
        width: min(48vw, 170px);
        animation: none;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: auto;
        min-width: 10.5rem;
        justify-content: center;
    }

    .hero-content .hero-mascot {
        text-align: center;
    }

    .hero-content .mascot-large img {
        margin-inline: auto;
        max-width: min(300px, 88%);
    }

    .why-intro {
        text-align: center;
        margin-inline: auto;
    }

    .why-compare {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .why-compare-divider {
        padding: 0.25rem 0;
    }

    .why-proof {
        text-align: center;
        margin-inline: auto;
    }

    .why-essentials {
        text-align: center;
    }

    .why-essentials-list {
        justify-content: center;
    }

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

@media (max-width: 768px) {
    .hero {
        min-height: auto;
    }

    .why-section .container {
        display: block;
    }

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

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

@media (prefers-reduced-motion: reduce) {
    .hero-content,
    .hero-phone-stage,
    .hero .phone-mockup {
        animation: none !important;
    }

    .feature-card,
    .pricing-card,
    .why-compare-col,
    .why-essentials,
    .setup-step,
    .faq-category,
    .about-text {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Density pass — override leftover spacious section paddings */
.features,
.screenshots,
.pricing,
.about,
.download,
.setup-guide,
.faq,
.why-section {
    padding-top: var(--space-section);
    padding-bottom: var(--space-section);
}

.hero-mascot {
    margin-bottom: 0.35rem;
}

.nav-container {
    height: 72px;
}

.logo-img {
    height: 58px;
    width: auto;
    max-height: 100%;
}

.feature-card.app-style > p {
    padding: 0 1rem 1rem;
    font-size: 0.95rem;
}

.mockup-header {
    margin-bottom: 0.7rem;
}

/* Feature mockups share one type scale */
.mockup-body {
    font-size: 13px;
    line-height: 1.35;
}

.mockup-body .sync-status {
    align-items: flex-start;
    margin-bottom: 0.7rem;
}

.mockup-body .sync-status span,
.mockup-body .day-header,
.mockup-body .note-title,
.mockup-body .notif-title,
.mockup-body .category-header,
.mockup-body .recipe-name {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
}

.mockup-body .meal,
.mockup-body .member,
.mockup-body .event-preview,
.mockup-body .note-time,
.mockup-body .notif-time,
.mockup-body .recipe-meta,
.mockup-body .mini-day {
    font-size: 12px;
}

.chat-body,
.chat-body .message-bubble {
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.4;
}

/*
  Compact composition pass
  Goal: one tight visual unit per section — no empty “sea” of dark space.
*/
:root {
    --space-section: clamp(2.25rem, 4vw, 3.5rem);
    --content-max: 1040px;
}

.hero {
    min-height: unset;
    height: auto;
    padding: 0.35rem 0 0.75rem;
    align-items: start;
}

.hero-container {
    width: fit-content;
    max-width: min(1040px, calc(100% - 2rem));
    margin-inline: auto;
    padding: 0.85rem 1.25rem 0.5rem;
    gap: clamp(1.5rem, 3vw, 2.75rem);
    grid-template-columns: auto auto;
    align-items: end;
    justify-content: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    max-width: 460px;
    align-self: end;
}

.hero-content .mascot-large,
.hero-content .hero-mascot {
    margin: 0;
}

.hero-content .mascot-large img {
    width: 460px;
    max-width: 100%;
    display: block;
}

.brand-lockup {
    display: block;
    margin: 0;
    font-size: clamp(2rem, 4vw, 2.85rem);
}

.brand-lockup .brand-mark {
    width: 42px;
    height: 42px;
}

.brand-lockup .brand-name {
    font-size: inherit;
    line-height: 0.95;
}

.hero-title {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    line-height: 1.2;
    margin: 0;
    max-width: none;
}

.hero-subtitle,
.hero-lede {
    font-size: 1.02rem;
    line-height: 1.4;
    margin: 0;
    max-width: 36ch;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0.2rem 0 0;
}

.btn-primary,
.btn-secondary {
    padding: 0.78rem 1.2rem;
}

.hero-visual,
.hero-mockup {
    padding: 0;
    margin: 0;
    align-self: end;
}

.hero-phone-stage {
    width: 210px;
}

.hero .phone-mockup,
.phone-mockup {
    width: 200px;
    max-width: 200px;
    height: auto;
}

.section-header {
    margin-bottom: clamp(1.1rem, 2.5vw, 1.65rem);
    gap: 0.4rem;
}

.section-header h2 {
    font-size: clamp(1.45rem, 2.8vw, 2rem);
    margin: 0;
}

.section-header p {
    font-size: 1rem;
    max-width: 46ch;
    margin: 0 auto;
}

.why-section {
    padding-top: var(--space-section);
    padding-bottom: var(--space-section);
}

.why-layout {
    gap: 1.1rem;
}

.why-intro {
    margin-bottom: 0;
    max-width: 40rem;
}

.why-eyebrow {
    margin: 0 0 0.55rem;
}

.why-intro h2 {
    margin-bottom: 0.45rem;
}

.section-lede {
    margin-top: 0.55rem;
    margin-bottom: 0;
}

.why-compare {
    gap: 0.75rem;
    margin-bottom: 0;
}

.why-compare-col h3 {
    margin-bottom: 0.65rem;
}

.why-compare-list {
    gap: 0.55rem;
}

.why-compare-list li {
    font-size: 0.98rem;
}

.why-proof {
    margin: 0;
}

.why-essentials {
    gap: 0.65rem;
    margin-top: 0;
    padding-top: 0.85rem;
}

.feature-grid {
    gap: 0.85rem;
}

.pricing-grid {
    gap: 0.9rem;
}

.setup-steps {
    gap: 0.75rem;
}

.faq-container {
    gap: 0.5rem;
}

.footer {
    padding: 1.75rem 0 1.25rem;
}

@media (max-width: 900px) {
    .hero {
        padding: 0.5rem 0 1rem;
    }

    .hero-container {
        width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr;
        gap: 1rem;
        justify-items: center;
        text-align: center;
        padding: 0.5rem 1rem 0.75rem;
    }

    .hero-content {
        align-items: center;
        max-width: 28rem;
    }

    .hero-title,
    .hero-subtitle,
    .hero-lede {
        max-width: none;
    }

    .hero-content .mascot-large img {
        width: min(320px, 82vw);
    }

    .hero-phone-stage,
    .phone-mockup {
        width: min(168px, 44vw);
        max-width: min(168px, 44vw);
    }

    .hero-visual,
    .hero-mockup {
        justify-content: center;
    }
}

.feature-mockup {
    padding: 0.9rem 0.9rem 0.55rem;
    margin-bottom: 0;
}

/* ---- Mobile polish (final overrides) ---- */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

#site-root {
    padding-top: 72px;
}

.nav-toggle {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent !important;
    color: inherit;
    padding: 0.5rem;
    margin: 0;
    z-index: 1002;
    cursor: pointer;
    line-height: 0;
    box-shadow: none;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px 0;
    background: #fff;
    border-radius: 2px;
}

body.nav-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #site-root {
        padding-top: 68px;
    }

    .nav-container {
        height: 68px;
        padding: 0 1rem;
        gap: 0.75rem;
    }

    .logo-img,
    .nav-logo img,
    .nav-logo .logo-img {
        height: 56px !important;
    }

    .nav-menu {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100dvh - 68px);
        margin: 0;
        padding: 0.85rem 1rem 1.25rem;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
        background: rgba(18, 21, 32, 0.97);
        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px);
        border-bottom: 1px solid var(--line);
        transform: translateY(-110%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.28s ease, opacity 0.28s ease;
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-menu.show {
        left: 0;
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu li {
        width: 100%;
        text-align: left;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 0.85rem 1rem;
        font-size: 1.05rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.04);
        margin: 0;
    }

    .nav-lang-item {
        justify-content: flex-start;
        padding: 0.35rem 0.15rem 0;
    }

    .hero {
        padding: 0.75rem 0 1.25rem;
        min-height: auto;
    }

    .hero-container {
        width: 100%;
        max-width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 1.1rem;
        padding: 0.85rem 1rem 0.5rem;
    }

    .hero-content {
        width: 100%;
        max-width: 24rem;
        align-items: center;
        gap: 0.6rem;
    }

    .hero-content .mascot-large img {
        width: min(280px, 78vw);
        max-width: 100%;
        margin-inline: auto;
    }

    .brand-lockup {
        font-size: clamp(1.85rem, 9vw, 2.4rem);
    }

    .hero-title {
        font-size: clamp(1.2rem, 5.5vw, 1.55rem);
    }

    .hero-subtitle,
    .hero-lede {
        font-size: 0.98rem;
        max-width: 30ch;
        margin-inline: auto;
    }

    .hero-buttons {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.55rem;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
        min-width: 0;
    }

    .hero-visual,
    .hero-mockup {
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 0;
    }

    .hero-phone-stage {
        width: min(168px, 46vw);
        margin-inline: auto;
    }

    .hero-phone-stage,
    .hero .phone-mockup,
    .phone-mockup {
        width: min(168px, 46vw);
        max-width: min(168px, 46vw);
        height: auto;
        aspect-ratio: 470 / 1024;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
        width: 100%;
        max-width: 100%;
    }

    .why-section {
        padding: var(--space-section) 0;
    }

    .why-section .container {
        display: block;
        grid-template-columns: none;
    }

    .why-intro,
    .why-proof {
        text-align: center;
        margin-inline: auto;
        max-width: 36rem;
    }

    .why-compare {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .why-compare-divider {
        padding: 0.15rem 0;
    }

    .why-essentials-list {
        justify-content: center;
    }

    .features-grid,
    .pricing .pricing-grid,
    .pricing-grid,
    .setup-steps,
    .about-content,
    .download-content,
    .footer-main,
    .footer-links {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .setup-steps {
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .setup-step {
        min-width: 0;
        min-height: 0;
        width: 100%;
        padding: 1rem;
    }

    .feature-card.app-style,
    .pricing-card.ios-style {
        width: 100%;
        max-width: 100%;
    }

    .pricing-card.ios-style.featured {
        transform: none;
    }

    .screenshots-gallery {
        max-width: min(320px, 100%);
    }

    .screenshots-nav {
        justify-content: flex-start;
        padding-bottom: 0.25rem;
        -webkit-overflow-scrolling: touch;
    }

    .team-img {
        height: auto;
        max-width: min(220px, 70vw);
        width: 100%;
        margin-inline: auto;
    }

    .qr-img {
        height: 140px;
        width: 140px;
    }

    .footer-mascot-img {
        height: auto;
        max-width: 110px;
    }

    .section-header h2 {
        font-size: clamp(1.35rem, 6vw, 1.75rem);
    }

    .section-header p {
        max-width: 34ch;
    }
}

@media (max-width: 480px) {
    #site-root {
        padding-top: 64px;
    }

    .nav-container {
        height: 64px;
    }

    .logo-img,
    .nav-logo img,
    .nav-logo .logo-img {
        height: 52px !important;
    }

    .nav-menu {
        top: 64px;
        max-height: calc(100dvh - 64px);
    }

    .hero-content .mascot-large img {
        width: min(240px, 84vw);
    }

    .hero-phone-stage,
    .hero .phone-mockup,
    .phone-mockup {
        width: min(150px, 48vw);
        max-width: min(150px, 48vw);
        height: auto;
        aspect-ratio: 470 / 1024;
        border-radius: 26px;
    }

    .hero .phone-screen {
        border-radius: 21px;
    }

    .download-content {
        padding: 1rem;
    }
}

@media (min-width: 901px) {
    .nav-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        max-height: none;
        background: transparent;
        border: 0;
        padding: 0;
        flex-direction: row;
        width: auto;
        overflow: visible;
    }
}

/* iPhone 17 chassis for the hero device */
.hero .phone-mockup {
    height: auto;
    aspect-ratio: 470 / 1024;
    padding: 0;
    border: 0;
    border-radius: 36px;
    background:
        linear-gradient(165deg, #9aa0ab 0%, #5c616b 4%, #2a2d34 10%, #16181d 28%, #2c3038 58%, #0e1014 78%, #4a4e57 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.22),
        inset 0 0 0 1px rgba(255, 255, 255, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        0 24px 44px rgba(0, 0, 0, 0.48);
    overflow: visible;
}

.hero .phone-screen {
    position: absolute;
    inset: 4px;
    width: auto;
    height: auto;
    border-radius: 30px;
    overflow: hidden;
    background: #12141c;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.65);
}

.hero .phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.phone-island {
    display: none;
    position: absolute;
    z-index: 3;
    top: 2.4%;
    left: 50%;
    width: 32%;
    height: 3.6%;
    transform: translateX(-50%);
    border-radius: 999px;
    background: #050506;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.phone-island::after {
    content: "";
    position: absolute;
    right: 10%;
    top: 50%;
    width: 18%;
    aspect-ratio: 1;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #243656 0%, #070b14 55%, #000 100%);
    box-shadow: inset 0 0 0 1px rgba(90, 130, 180, 0.35);
}

.phone-btn {
    position: absolute;
    z-index: 1;
    width: 3px;
    border-radius: 2px 0 0 2px;
    background: linear-gradient(90deg, #6a707a, #1c1f26 70%);
    box-shadow: -1px 0 0 rgba(255, 255, 255, 0.18);
}

.phone-btn-action {
    left: -3px;
    top: 17%;
    height: 6.5%;
}

.phone-btn-vol-up {
    left: -3px;
    top: 26%;
    height: 12%;
}

.phone-btn-vol-down {
    left: -3px;
    top: 40%;
    height: 12%;
}

.phone-btn-side,
.phone-btn-camera {
    left: auto;
    right: -3px;
    border-radius: 0 2px 2px 0;
    background: linear-gradient(270deg, #6a707a, #1c1f26 70%);
    box-shadow: 1px 0 0 rgba(255, 255, 255, 0.18);
}

.phone-btn-side {
    top: 29%;
    height: 16%;
}

.phone-btn-camera {
    top: 50%;
    height: 8%;
    background: linear-gradient(270deg, #7a808a, #242830 70%);
}

@media (max-width: 900px) {
    .hero .phone-mockup {
        border-radius: 28px;
    }

    .hero .phone-screen {
        inset: 3px;
        border-radius: 23px;
    }
}

/* Gallery: a smaller iPhone, click to enlarge */
.screenshots-gallery {
    height: auto;
    max-width: 210px;
    aspect-ratio: 470 / 1024;
    overflow: visible;
    margin-bottom: 0.85rem;
}

.screenshots-gallery .phone-btn {
    z-index: 4;
    pointer-events: none;
}

.screenshot-mockup {
    width: 100%;
    height: 100%;
    padding: 6px;
    border-radius: 36px;
    overflow: hidden;
    background:
        linear-gradient(165deg, #b7bdc6 0%, #6d737c 5%, #2a2d34 12%, #12141a 30%, #3a3f48 62%, #0c0e12 80%, #6a707a 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.28),
        inset 0 0 0 1px rgba(255, 255, 255, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 18px 36px rgba(0, 0, 0, 0.4);
}

.screenshot-screen {
    border-radius: 30px;
    background: #12141c;
}

.screenshot-screen img {
    object-fit: cover;
    object-position: center center;
}

.screenshot-zoom-hit {
    position: absolute;
    inset: 6px;
    z-index: 3;
    border: 0;
    padding: 0;
    border-radius: 30px;
    background: transparent;
    cursor: zoom-in;
}

.screenshots-zoom-hint {
    margin: 0 0 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
}

.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;
}

body.shot-zoom-open {
    overflow: hidden;
}

.shot-zoom[hidden] {
    display: none;
}

.shot-zoom {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 1.25rem;
}

.shot-zoom-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(6, 8, 14, 0.84);
    cursor: zoom-out;
}

.shot-zoom-phone {
    position: relative;
    z-index: 1;
    height: min(86vh, 820px);
    aspect-ratio: 470 / 1024;
    width: auto;
    max-width: 92vw;
    padding: 8px;
    border-radius: 44px;
    background:
        linear-gradient(165deg, #b7bdc6 0%, #6d737c 5%, #2a2d34 12%, #12141a 30%, #3a3f48 62%, #0c0e12 80%, #6a707a 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 28px 70px rgba(0, 0, 0, 0.55);
}

.shot-zoom-phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 36px;
    display: block;
    background: #12141c;
}

.shot-zoom-close {
    position: absolute;
    top: -0.2rem;
    right: -0.2rem;
    z-index: 2;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 50%;
    background: #f4f5f7;
    color: #16181d;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 900px) {
    .screenshots-gallery {
        max-width: 230px;
    }

    .screenshot-mockup {
        border-radius: 40px;
        padding: 6px;
    }
}

.screenshot-item:first-child {
    opacity: 0;
    z-index: auto;
    pointer-events: none;
}

.screenshot-item.active,
.screenshot-item.active:first-child {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

@media (max-width: 640px) {
    .screenshots-nav {
        flex-wrap: wrap;
        justify-content: center;
        overflow: visible;
        max-width: 20rem;
        margin-inline: auto;
    }

    .nav-dot {
        padding: 0.4rem 0.7rem;
        font-size: 13px;
    }
}

/* Pricing fills one MacBook screen without crushing the plan rows */
.pricing {
    scroll-margin-top: 5.25rem;
}

@media (min-width: 901px) {
    .pricing {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .pricing .section-header {
        margin-bottom: 1.15rem;
        gap: 0.35rem;
    }

    .pricing .section-header h2 {
        font-size: 1.9rem;
    }

    .pricing .section-header p {
        font-size: 1.02rem;
    }

    .pricing .pricing-grid {
        gap: 1rem;
    }

    .pricing-card.ios-style {
        display: flex;
        flex-direction: column;
        padding: 1.2rem 1.15rem 1.25rem;
    }

    .pricing-card.ios-style .ios-btn {
        margin-top: auto;
        padding: 0.75rem 1rem;
    }

    .pricing-header {
        margin-bottom: 0.85rem;
    }

    .pricing-header h3 {
        font-size: 1.4rem;
        margin-bottom: 0.35rem;
    }

    .pricing-header p {
        margin: 0 0 0.15rem;
        font-size: 0.95rem;
    }

    .price {
        font-size: 2.2rem;
        line-height: 1.15;
    }

    .pricing-features,
    .pricing-featuresX {
        margin-bottom: 1rem;
    }

    .pricing-features li,
    .pricing-featuresX li {
        padding: 0.48rem 0 0.48rem 1.55rem;
        line-height: 1.4;
        font-size: 0.98rem;
    }

    .pricing-features li::before {
        top: 0.48rem;
    }

    .pricing-card.ios-style.featured .pricing-badge {
        margin-bottom: 0.65rem;
        padding: 0.25rem 0.8rem;
        font-size: 0.8rem;
    }
}
