/* ===== VARIABLES ===== */
:root {
    --amber: #F5A623;
    --amber-light: #FFECD2;
    --amber-dark: #D4891A;
    --coral: #FF6B6B;
    --bg-cream: #FFFDF9;
    --bg-warm: #FFF8F0;
    --bg-gradient: linear-gradient(135deg, #FFF8F0 0%, #FFECD2 50%, #FFE0E0 100%);
    --text-dark: #2D2019;
    --text-muted: #7A6E63;
    --text-light: #A89888;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(45, 32, 25, 0.06);
    --shadow-md: 0 4px 20px rgba(45, 32, 25, 0.1);
    --shadow-lg: 0 8px 40px rgba(45, 32, 25, 0.12);
    --shadow-glow: 0 4px 30px rgba(245, 166, 35, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    line-height: 1.6;
    overflow: hidden;
    height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }

/* ===== AMBIENT BACKGROUND ===== */

/* Grain texture overlay — subtle premium film grain */
.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    pointer-events: none;
    opacity: 0.3;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 180px 180px;
}

/* Animated gradient orbs — living background */
.ambient-orbs {
    position: fixed;
    inset: 0;
    z-index: 50;
    pointer-events: none;
    overflow: hidden;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    will-change: transform, opacity;
    transition: opacity 1.5s ease;
}

.ambient-orbs.active .ambient-orb {
    opacity: 1;
}

.ambient-orb:nth-child(1) {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.2) 0%, transparent 70%);
    top: -10%; right: -5%;
    animation: orbFloat1 18s ease-in-out infinite;
}

.ambient-orb:nth-child(2) {
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(255, 140, 100, 0.15) 0%, transparent 70%);
    bottom: -8%; left: -5%;
    animation: orbFloat2 22s ease-in-out infinite;
}

.ambient-orb:nth-child(3) {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, transparent 70%);
    top: 40%; left: 30%;
    animation: orbFloat3 25s ease-in-out infinite;
}

.ambient-orb:nth-child(4) {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(245, 200, 80, 0.12) 0%, transparent 70%);
    top: 15%; left: 55%;
    animation: orbFloat4 20s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-60px, 40px) scale(1.1); }
    50% { transform: translate(-30px, 80px) scale(0.95); }
    75% { transform: translate(40px, 30px) scale(1.05); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -30px) scale(1.08); }
    50% { transform: translate(80px, -60px) scale(0.92); }
    75% { transform: translate(20px, -40px) scale(1.12); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-70px, -50px) scale(1.15); }
    66% { transform: translate(50px, 30px) scale(0.9); }
}

@keyframes orbFloat4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, 50px) scale(0.9); }
    66% { transform: translate(-50px, -30px) scale(1.1); }
}

/* Floating food emojis — ghostly, thematic */
.floating-foods {
    position: fixed;
    inset: 0;
    z-index: 51;
    pointer-events: none;
    overflow: hidden;
}

.floating-food {
    position: absolute;
    font-size: 28px;
    opacity: 0;
    filter: blur(1px);
    will-change: transform;
    transition: opacity 1.5s ease;
    user-select: none;
}

.floating-foods.active .floating-food {
    opacity: 0.08;
}

.floating-food:nth-child(1) { top: 8%; left: 82%; font-size: 32px; animation: foodDrift1 28s linear infinite; }
.floating-food:nth-child(2) { top: 72%; left: 8%; font-size: 24px; animation: foodDrift2 34s linear infinite; }
.floating-food:nth-child(3) { top: 25%; left: 70%; font-size: 20px; animation: foodDrift3 30s linear infinite; }
.floating-food:nth-child(4) { top: 85%; left: 55%; font-size: 26px; animation: foodDrift4 26s linear infinite; }
.floating-food:nth-child(5) { top: 45%; left: 88%; font-size: 22px; animation: foodDrift1 32s linear infinite reverse; }
.floating-food:nth-child(6) { top: 15%; left: 35%; font-size: 18px; animation: foodDrift3 36s linear infinite reverse; }
.floating-food:nth-child(7) { top: 60%; left: 75%; font-size: 30px; animation: foodDrift2 24s linear infinite; }
.floating-food:nth-child(8) { top: 35%; left: 12%; font-size: 22px; animation: foodDrift4 38s linear infinite reverse; }

@keyframes foodDrift1 {
    0%   { transform: translate(0, 0) rotate(0deg); }
    25%  { transform: translate(-30px, -40px) rotate(15deg); }
    50%  { transform: translate(20px, -70px) rotate(-10deg); }
    75%  { transform: translate(-10px, -30px) rotate(20deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes foodDrift2 {
    0%   { transform: translate(0, 0) rotate(0deg); }
    25%  { transform: translate(40px, 25px) rotate(-12deg); }
    50%  { transform: translate(-20px, 50px) rotate(8deg); }
    75%  { transform: translate(30px, 20px) rotate(-18deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes foodDrift3 {
    0%   { transform: translate(0, 0) rotate(0deg); }
    33%  { transform: translate(-50px, 30px) rotate(22deg); }
    66%  { transform: translate(30px, -40px) rotate(-15deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes foodDrift4 {
    0%   { transform: translate(0, 0) rotate(0deg); }
    33%  { transform: translate(25px, -55px) rotate(-20deg); }
    66%  { transform: translate(-40px, 20px) rotate(12deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* Mouse glow — interactive warmth */
.cursor-glow {
    position: fixed;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.07) 0%, transparent 65%);
    pointer-events: none;
    z-index: 52;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s ease;
    opacity: 0;
    will-change: left, top;
}

.cursor-glow.active {
    opacity: 1;
}

/* Reduced motion: disable ambient animations */
@media (prefers-reduced-motion: reduce) {
    .ambient-orb, .floating-food { animation: none !important; }
    .cursor-glow { display: none; }
    .grain-overlay { opacity: 0.15; }
}

/* ===== PANELS (stacked, fixed) ===== */
.panel {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 80px 60px 232px;
    background: #FFF8F0;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%) scale(0.95);
    will-change: transform, opacity;
}

/* === SECTION BACKGROUNDS — warm color story === */
/* Each panel has layered gradients + soft blobs for depth */

/* Hero: Einladend, warm, golden-peach — "Willkommen" */
#hero {
    background:
        radial-gradient(ellipse 80% 60% at 75% 20%, rgba(255, 200, 120, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 15% 80%, rgba(255, 140, 140, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 50% 50% at 50% 50%, rgba(245, 166, 35, 0.06) 0%, transparent 70%),
        linear-gradient(155deg, #FFFCF5 0%, #FFF3E0 30%, #FFECD2 55%, #FFE4CC 75%, #FFE0D8 100%);
}

/* Problem: Leicht frustriert, wärmer/rötlicher — "Das kennt jeder" */
#problem {
    background:
        radial-gradient(ellipse 70% 50% at 80% 30%, rgba(255, 160, 130, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 70% at 20% 75%, rgba(245, 166, 35, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse 40% 40% at 50% 10%, rgba(255, 107, 107, 0.06) 0%, transparent 60%),
        linear-gradient(160deg, #FFF8F0 0%, #FFF0E5 25%, #FFE8D8 50%, #FFDFD0 80%, #FFE5DD 100%);
}

/* How it works: Klar, frisch, lösungsorientiert — "So einfach" */
#how-it-works {
    background:
        radial-gradient(ellipse 70% 60% at 25% 25%, rgba(245, 200, 100, 0.15) 0%, transparent 55%),
        radial-gradient(ellipse 50% 60% at 80% 70%, rgba(255, 220, 180, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 80% 40% at 50% 100%, rgba(245, 166, 35, 0.05) 0%, transparent 50%),
        linear-gradient(145deg, #FFFDF7 0%, #FFF9EE 30%, #FFF5E4 55%, #FFEED4 80%, #FFF2E0 100%);
}

/* Features: Selbstbewusst, warm-golden — "Alles was du brauchst" */
#features {
    background:
        radial-gradient(ellipse 60% 55% at 70% 25%, rgba(245, 180, 80, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 65% 65% at 25% 70%, rgba(255, 190, 140, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 40% 40% at 90% 85%, rgba(255, 140, 100, 0.06) 0%, transparent 50%),
        linear-gradient(150deg, #FFF9F0 0%, #FFF2E2 30%, #FFEBD0 55%, #FFE6C8 80%, #FFEAD5 100%);
}

/* Download: Reich, einladend, emotional — "Jetzt loslegen" */
#download {
    background:
        radial-gradient(ellipse 60% 60% at 50% 40%, rgba(245, 166, 35, 0.15) 0%, transparent 55%),
        radial-gradient(ellipse 80% 50% at 20% 20%, rgba(255, 180, 120, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 85% 80%, rgba(255, 140, 140, 0.1) 0%, transparent 55%),
        linear-gradient(140deg, #FFF5E8 0%, #FFECD2 25%, #FFE2C0 50%, #FFDCB8 75%, #FFE3CC 100%);
}

/* Active panel: fully visible */
.panel.active {
    opacity: 1;
    pointer-events: all;
    z-index: 5;
    transform: translateY(0) scale(1);
}

/* Panel sliding IN from below (scroll down) */
.panel.slide-in-up {
    z-index: 10;
    pointer-events: none;
    animation: slideInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Panel sliding IN from above (scroll up) */
.panel.slide-in-down {
    z-index: 10;
    pointer-events: none;
    animation: slideInDown 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Panel sliding OUT to top (scroll down) */
.panel.slide-out-up {
    z-index: 5;
    pointer-events: none;
    animation: slideOutUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Panel sliding OUT to bottom (scroll up) */
.panel.slide-out-down {
    z-index: 5;
    pointer-events: none;
    animation: slideOutDown 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInUp {
    0% { transform: translateY(100%); opacity: 1; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes slideInDown {
    0% { transform: translateY(-100%); opacity: 1; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes slideOutUp {
    0% { transform: translateY(0) scale(1); opacity: 1; filter: blur(0); }
    100% { transform: translateY(-35%) scale(0.88); opacity: 0; filter: blur(6px); }
}

@keyframes slideOutDown {
    0% { transform: translateY(0) scale(1); opacity: 1; filter: blur(0); }
    100% { transform: translateY(35%) scale(0.88); opacity: 0; filter: blur(6px); }
}

/* Reduced motion fallback */
@media (prefers-reduced-motion: reduce) {
    .panel.slide-in-up, .panel.slide-in-down {
        animation: simpleFadeIn 0.3s ease forwards;
    }
    .panel.slide-out-up, .panel.slide-out-down {
        animation: simpleFadeOut 0.3s ease forwards;
    }
    @keyframes simpleFadeIn { from { opacity: 0; } to { opacity: 1; transform: translateY(0) scale(1); } }
    @keyframes simpleFadeOut { from { opacity: 1; } to { opacity: 0; } }
}

.panel-inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.panel-center { text-align: center; }

/* ===== CONTENT REVEAL (staggered + dramatic) ===== */

/* --- Titles: slide up with blur --- */
.panel .section-title {
    opacity: 0;
    transform: translateY(50px) scale(0.92);
    filter: blur(8px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.panel .section-subtitle {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(4px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Hero content: each child from left --- */
.hero-content > * {
    opacity: 0;
    transform: translateX(-40px) translateY(20px);
    filter: blur(6px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Hero visual: scale up from right --- */
.hero-visual {
    opacity: 0;
    transform: translateX(60px) scale(0.85);
    filter: blur(8px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Problem cards: pop up with rotation --- */
.problem-card {
    opacity: 0;
    transform: translateY(60px) scale(0.8) rotate(3deg);
    filter: blur(4px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.problem-card:nth-child(even) {
    transform: translateY(60px) scale(0.8) rotate(-3deg);
}

/* --- Steps: slide from left --- */
.step, .step-preview {
    opacity: 0;
    transform: translateX(-50px) translateY(20px);
    filter: blur(6px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.step-connector {
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Feature cards: scale up from center --- */
.feature-card {
    opacity: 0;
    transform: translateY(40px) scale(0.75);
    filter: blur(6px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Download content: scale + blur --- */
.download-content {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
    filter: blur(10px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* === IN-VIEW: everything resolves === */
.panel.in-view .section-title {
    opacity: 1; transform: translateY(0) scale(1); filter: blur(0);
}
.panel.in-view .section-subtitle {
    opacity: 1; transform: translateY(0); filter: blur(0);
    transition-delay: 0.12s;
}
.panel.in-view .hero-content > * {
    opacity: 1; transform: translateX(0) translateY(0); filter: blur(0);
}
.panel.in-view .hero-visual {
    opacity: 1; transform: translateX(0) scale(1); filter: blur(0);
}
.panel.in-view .problem-card,
.panel.in-view .problem-card:nth-child(even) {
    opacity: 1; transform: translateY(0) scale(1) rotate(0deg); filter: blur(0);
}
.panel.in-view .step {
    opacity: 1; transform: translateX(0) translateY(0); filter: blur(0);
}
.panel.in-view .step-connector {
    opacity: 1; transform: scaleX(1);
}
.panel.in-view .feature-card {
    opacity: 1; transform: translateY(0) scale(1); filter: blur(0);
}
.panel.in-view .download-content {
    opacity: 1; transform: translateY(0) scale(1); filter: blur(0);
}

/* === STAGGER DELAYS === */
.panel.in-view .hero-content > *:nth-child(1) { transition-delay: 0.2s; }
.panel.in-view .hero-content > *:nth-child(2) { transition-delay: 0.35s; }
.panel.in-view .hero-content > *:nth-child(3) { transition-delay: 0.5s; }
.panel.in-view .hero-content > *:nth-child(4) { transition-delay: 0.6s; }
.panel.in-view .hero-visual { transition-delay: 0.4s; }

.panel.in-view .problem-card:nth-child(1) { transition-delay: 0.15s; }
.panel.in-view .problem-card:nth-child(2) { transition-delay: 0.25s; }
.panel.in-view .problem-card:nth-child(3) { transition-delay: 0.35s; }
.panel.in-view .problem-card:nth-child(4) { transition-delay: 0.45s; }

.panel.in-view .step:nth-child(1) { transition-delay: 0.15s; }
.panel.in-view .step-connector:nth-child(2) { transition-delay: 0.3s; }
.panel.in-view .step:nth-child(3) { transition-delay: 0.35s; }
.panel.in-view .step-connector:nth-child(4) { transition-delay: 0.5s; }
.panel.in-view .step:nth-child(5) { transition-delay: 0.55s; }

.panel.in-view .feature-card:nth-child(1) { transition-delay: 0.15s; }
.panel.in-view .feature-card:nth-child(2) { transition-delay: 0.25s; }
.panel.in-view .feature-card:nth-child(3) { transition-delay: 0.35s; }
.panel.in-view .feature-card:nth-child(4) { transition-delay: 0.45s; }

/* ===== SIDE NAVIGATION (roller) ===== */
.side-nav {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-right: 1px solid rgba(168, 152, 136, 0.1);
}

.side-nav-roller {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 28px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.side-nav-item {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    padding: 14px 0;
    border-top: 1px solid rgba(168, 152, 136, 0.15);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: blur(1.5px);
    opacity: 0.4;
    transform: scale(0.9);
    transform-origin: left center;
}

.side-nav-item:first-child { border-top: none; }
.side-nav-item:last-child { border-bottom: 1px solid rgba(168, 152, 136, 0.15); }

.side-nav-item.active {
    font-size: 14px;
    font-weight: 800;
    color: var(--amber);
    filter: blur(0);
    opacity: 1;
    transform: scale(1);
    padding: 16px 0;
}

.side-nav-item.near {
    filter: blur(0.5px);
    opacity: 0.55;
    transform: scale(0.95);
}

.side-nav-item:hover {
    opacity: 0.8;
    filter: blur(0);
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 200;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: rgba(255, 253, 249, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid rgba(245, 166, 35, 0.15);
}

.lang-toggle:hover {
    background: var(--white);
    border-color: var(--amber);
}

.lang-flag { font-size: 12px; font-weight: 700; color: var(--amber); }

.lang-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 4px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: var(--transition);
    border: 1px solid rgba(245, 166, 35, 0.1);
    max-height: 300px;
    overflow-y: auto;
}

.lang-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }

.lang-option {
    display: block; width: 100%; padding: 7px 12px;
    text-align: left; font-size: 13px;
    border-radius: var(--radius-sm); transition: var(--transition);
}
.lang-option:hover { background: var(--amber-light); }
.lang-option.active { color: var(--amber); font-weight: 600; background: var(--amber-light); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-weight: 600; border-radius: 50px;
    cursor: pointer; border: none;
    position: relative; overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.btn-primary {
    background: linear-gradient(135deg, var(--amber) 0%, #F7B731 50%, var(--amber-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.35);
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.5s ease;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(245, 166, 35, 0.45);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-xl { padding: 20px 48px; font-size: 18px; letter-spacing: 0.01em; }

/* ===== HERO ===== */
#hero .panel-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px;
    background: rgba(245, 166, 35, 0.12);
    backdrop-filter: blur(8px);
    color: var(--amber-dark);
    border-radius: 50px; font-size: 13px; font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(245, 166, 35, 0.15);
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: clamp(38px, 5vw, 60px); font-weight: 800;
    line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--text-dark) 0%, #5A3E28 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px); color: var(--text-muted);
    max-width: 480px; margin-bottom: 36px; line-height: 1.75;
}

.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hero-meta { font-size: 13px; color: var(--text-light); letter-spacing: 0.02em; }
.hero-visual { display: flex; justify-content: center; }

/* ===== MOCKUP ===== */
.hero-phone-mockup {
    width: 320px; background: var(--white);
    border-radius: 24px;
    box-shadow:
        0 0 0 1px rgba(0,0,0,0.03),
        0 4px 8px rgba(0,0,0,0.04),
        0 12px 24px rgba(0,0,0,0.06),
        0 24px 48px rgba(45, 32, 25, 0.08),
        0 0 80px rgba(245, 166, 35, 0.08);
    overflow: visible;
    transform: perspective(1000px) rotateY(-6deg) rotateX(3deg);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-phone-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-4px);
}

.mockup-menubar {
    background: linear-gradient(180deg, #F5F5F5, #EBEBEB);
    padding: 10px 14px; display: flex; justify-content: flex-end;
    border-radius: 24px 24px 0 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.mockup-menubar-icons { display: flex; align-items: center; }
.mockup-app { padding: 28px; text-align: center; }
.mockup-header { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 28px; }
.mockup-logo { border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.mockup-title { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.mockup-card {
    background: linear-gradient(145deg, var(--bg-warm) 0%, #FFF5E8 100%);
    border-radius: 16px;
    padding: 36px 28px; margin-bottom: 24px;
    will-change: transform, opacity;
    border: 1px solid rgba(245, 166, 35, 0.08);
}
.mockup-food-emoji { font-size: 64px; margin-bottom: 10px; }
.mockup-food-name { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.mockup-actions { display: flex; justify-content: center; gap: 28px; }
.mockup-btn {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: bold;
}
.mockup-btn-no {
    background: linear-gradient(145deg, #FFF0F0, #FFE4E4);
    color: var(--coral); border: 2px solid rgba(255,107,107,0.2);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.mockup-btn-no:hover {
    transform: scale(1.18) rotate(-5deg);
    box-shadow: 0 6px 20px rgba(255,107,107,0.3);
}
.mockup-btn-no:active { transform: scale(0.92); }
.mockup-btn-yes {
    background: linear-gradient(145deg, #FFF7EC, #FFECD2);
    color: var(--amber); border: 2px solid rgba(245,166,35,0.2);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.mockup-btn-yes:hover {
    transform: scale(1.18) rotate(5deg);
    box-shadow: 0 6px 20px rgba(245,166,35,0.3);
}
.mockup-btn-yes:active { transform: scale(0.92); }

/* ===== SECTION TITLES ===== */
.section-title {
    font-size: clamp(30px, 4.5vw, 48px); font-weight: 800;
    margin-bottom: 14px; letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--text-dark) 0%, #5A3E28 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-subtitle {
    font-size: 18px; color: var(--text-muted);
    max-width: 520px; margin: 0 auto 52px;
    line-height: 1.7;
}

/* ===== PROBLEM ===== */
.problem-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; max-width: 840px; margin: 0 auto; }
.problem-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 32px; border-radius: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02), 0 4px 16px rgba(0,0,0,0.04);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    border: 1px solid rgba(245,166,35,0.06); text-align: left;
    position: relative; overflow: hidden;
}
.problem-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--amber), var(--coral));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.problem-card:hover::before { opacity: 1; }
.problem-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 32px rgba(45, 32, 25, 0.1);
}
.problem-emoji { font-size: 40px; margin-bottom: 14px; }
.problem-quote {
    font-size: 15px; color: var(--text-muted); line-height: 1.7;
    font-style: italic; font-weight: 500;
}

/* ===== STEPS ===== */
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 12px; }
.step {
    flex: 1; max-width: 280px; padding: 32px 28px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}
.step:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-4px);
}
.step-number {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--amber), #F7B731);
    color: var(--white);
    border-radius: 14px; font-size: 17px; font-weight: 700; margin-bottom: 18px;
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
}
.step-title { font-size: 20px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.step-desc { font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.step-connector {
    display: flex; align-items: center; padding-top: 48px;
    color: var(--amber);
}

/* Step preview (match screenshot) */
.step-preview {
    margin-top: 14px;
    width: 120px; height: 100px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 2px 6px rgba(0,0,0,0.05),
        0 6px 16px rgba(0,0,0,0.06);
    background: var(--white);
    border: 1px solid rgba(245,166,35,0.08);
}
.step-preview img {
    width: 100%; height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 25%;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.step:hover .step-preview img {
    transform: scale(1.06);
}

/* ===== FEATURES ===== */
/* Features grid: top row landscape, bottom row portrait */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 880px;
    margin: 0 auto;
}
.feature-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 28px; border-radius: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02), 0 4px 16px rgba(0,0,0,0.04);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    border: 1px solid rgba(245,166,35,0.06);
    text-align: left;
    position: relative;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(45, 32, 25, 0.1);
}

/* Shared preview container */
.feature-preview {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 18px;
    background: linear-gradient(155deg, rgba(250,245,240,0.9) 0%, rgba(255,243,228,0.6) 100%);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
    border: 1px solid rgba(245,166,35,0.05);
}
.feature-preview img {
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card:hover .feature-preview img {
    transform: scale(1.04);
}

/* === TOP ROW: Landscape — crop to relevant part === */

/* 1. Menu Bar: show from the very top so macOS bar is visible (638×574) */
.feature-card:nth-child(1) .feature-preview {
    height: 140px;
}
.feature-card:nth-child(1) .feature-preview img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
}

/* 2. Notification: cropped banner image (818×255) — zoom into bubble */
.feature-card:nth-child(2) .feature-preview {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}
.feature-card:nth-child(2) .feature-preview img {
    width: 100%; height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 2px 14px rgba(0,0,0,0.07);
}

/* === BOTTOM ROW: Portrait — full app screenshots === */

.feature-card:nth-child(3) .feature-preview,
.feature-card:nth-child(4) .feature-preview {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.feature-card:nth-child(3) .feature-preview img,
.feature-card:nth-child(4) .feature-preview img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow:
        0 0 0 1px rgba(0,0,0,0.04),
        0 4px 12px rgba(0,0,0,0.06),
        0 12px 28px rgba(0,0,0,0.06);
}

.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* Wide feature card (match) — spans full width */
.feature-card-wide {
    grid-column: 1 / -1;
}
.feature-wide-layout {
    display: flex;
    align-items: center;
    gap: 28px;
}
.feature-wide-layout .feature-preview {
    flex-shrink: 0;
    width: 160px; height: 140px;
    margin-bottom: 0;
}
.feature-preview-match img {
    object-fit: cover;
    object-position: center 30%;
    padding: 0 !important;
}
.feature-wide-text {
    flex: 1;
    text-align: left;
}

/* ===== DOWNLOAD ===== */
.download-content { display: flex; flex-direction: column; align-items: center; position: relative; }
.download-logo {
    border-radius: 28px;
    box-shadow:
        0 4px 12px rgba(0,0,0,0.06),
        0 16px 40px rgba(245, 166, 35, 0.15);
    margin-bottom: 36px;
    animation: logoFloat 5s ease-in-out infinite;
}
.download-title {
    font-size: clamp(26px,4vw,40px); font-weight: 800;
    margin-bottom: 18px; letter-spacing: -0.03em; line-height: 1.3;
    background: linear-gradient(135deg, var(--text-dark) 0%, #5A3E28 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.download-subtitle { font-size: 18px; color: var(--text-muted); margin-bottom: 40px; line-height: 1.7; }
.download-meta {
    display: inline-block; margin-top: 18px;
    font-size: 13px; color: var(--text-light);
    padding: 6px 16px;
    background: rgba(255,255,255,0.5);
    border-radius: 50px;
    letter-spacing: 0.02em;
}

/* ===== FOOTER ===== */
.footer {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 24px 40px;
    border-top: 1px solid rgba(168, 152, 136, 0.08);
}
.footer-inner { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.footer-love { font-size: 13px; color: var(--text-light); letter-spacing: 0.02em; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
    font-size: 13px; color: var(--text-light);
    transition: color 0.3s ease;
    position: relative;
}
.footer-links a::after {
    content: ''; position: absolute;
    bottom: -2px; left: 0; width: 0; height: 1px;
    background: var(--amber);
    transition: width 0.3s ease;
}
.footer-links a:hover { color: var(--amber); }
.footer-links a:hover::after { width: 100%; }

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
    33% { transform: translateY(-8px) scale(1.02) rotate(1deg); }
    66% { transform: translateY(-4px) scale(1.01) rotate(-0.5deg); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .panel { padding: 60px 24px; }
    .side-nav { display: none; }

    #hero .panel-inner {
        grid-template-columns: 1fr; text-align: center; gap: 40px;
    }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { align-items: center; }
    .hero-phone-mockup { transform: none; margin: 0 auto; }
    .hero-phone-mockup:hover { transform: translateY(-4px); }
    .steps { flex-direction: column; align-items: center; }
    .step-connector { padding-top: 0; transform: rotate(90deg); }
    .problem-grid, .features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 28px; }
    .btn-xl { padding: 16px 28px; font-size: 16px; }
    .problem-card, .feature-card { padding: 22px; }
    .hero-phone-mockup { width: 260px; }
    .section-title { font-size: 26px; }
    .step-number { width: 38px; height: 38px; border-radius: 12px; }
}
