/* ============================================================
   3D CANVAS
   ============================================================ */
#bg-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: block;
}

.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.028;
    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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 128px 128px;
}

/* ============================================================
   TOKENS
   ============================================================ */
:root {
    --ink: #0C0A07;
    --bg: #070709;
    --glass: rgba(255,255,255,0.045);
    --glass-hover: rgba(255,255,255,0.08);
    --border: rgba(255,255,255,0.08);
    --border-strong: rgba(255,255,255,0.16);
    --text-1: #F0EBE0;
    --text-2: rgba(240,235,224,0.68);
    --amber: #F5A623;
    --amber-soft: rgba(245,166,35,0.14);
    --amber-glow: rgba(245,166,35,0.32);
    --orange: #FF6B35;
    --green: #4ADE80;
    --font: 'Outfit', sans-serif;
    --mono: 'Space Grotesk', sans-serif;
    --nav-h: 72px;
    --ease: cubic-bezier(0.22,1,0.36,1);
    --spring: cubic-bezier(0.34,1.56,0.64,1);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: clip;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text-1);
    min-height: 100vh;
    width: 100%;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

/* All content must sit above the 3D canvas */
header, main, footer { position: relative; z-index: 2; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    height: var(--nav-h);
    padding: 0 max(6%, env(safe-area-inset-left));
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(7,7,9,0.6);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text-1);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.4px;
}

.logo-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
    filter: drop-shadow(0 0 8px var(--amber-glow));
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-2);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.1px;
    transition: color 0.2s;
}

.nav-link:hover { color: var(--text-1); }

a:focus-visible,
button:focus-visible,
.dl-btn:focus-visible,
.nav-link:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 3px;
}

.btn-nav-dl {
    padding: 0.55rem 1.35rem;
    background: var(--amber-soft);
    border: 1px solid var(--amber-glow);
    border-radius: 8px;
    color: var(--amber) !important;
    font-weight: 700;
    transition: background 0.2s, box-shadow 0.2s !important;
}

.btn-nav-dl:hover {
    background: rgba(245,166,35,0.22) !important;
    box-shadow: 0 0 20px var(--amber-glow);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100svh;
    padding: calc(var(--nav-h) + 2rem) 6% 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1380px;
    margin: 0 auto;
}

/* Left column */
.hero-left { display: flex; flex-direction: column; align-items: flex-start; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.42rem 1rem;
    border-radius: 6px;
    background: var(--amber-soft);
    border: 1px solid var(--amber-glow);
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 2.5rem;
    animation: fade-up 0.5s var(--ease) both;
}

.badge-dot {
    width: 7px; height: 7px;
    background: var(--amber);
    border-radius: 50%;
    animation: dot-blink 2s ease-in-out infinite;
}

@keyframes dot-blink {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--amber-glow); }
    50% { opacity: 0.6; box-shadow: 0 0 0 5px transparent; }
}

.hero-heading {
    font-size: clamp(3.2rem, 5.5vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2.5px;
    margin-bottom: 1.8rem;
    animation: fade-up 0.55s var(--ease) 0.1s both;
}

.heading-accent {
    color: var(--amber);
    display: block;
}

.hero-body {
    font-size: 1.18rem;
    color: rgba(240,235,224,0.88);
    line-height: 1.75;
    max-width: 460px;
    margin-bottom: 3rem;
    font-weight: 500;
    text-shadow: 0 1px 18px rgba(0,0,0,0.9), 0 2px 6px rgba(0,0,0,0.7);
    animation: fade-up 0.55s var(--ease) 0.2s both;
}

/* ============================================================
   DOWNLOAD BUTTON
   ============================================================ */
.dl-btn {
    position: relative;
    display: inline-flex;
    overflow: hidden;
    border-radius: 12px;
    text-decoration: none;
    /* Gradient border */
    background: linear-gradient(135deg, var(--amber), var(--orange));
    padding: 2px;
    box-shadow: 0 0 38px var(--amber-glow), 0 8px 32px rgba(0,0,0,0.4);
    transition: transform 0.35s var(--spring), box-shadow 0.35s var(--ease);
    animation: fade-up 0.55s var(--ease) 0.3s both;
    margin-bottom: 2.5rem;
}

.dl-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 0 60px var(--amber-glow), 0 16px 50px rgba(0,0,0,0.5);
}

.dl-btn:active { transform: scale(0.98); }

/* Shimmer */
.dl-btn-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.24) 50%, transparent 70%);
    transform: translateX(-100%);
    pointer-events: none;
    z-index: 2;
}

.dl-btn:hover .dl-btn-shimmer {
    animation: shimmer 0.6s var(--ease) forwards;
}

@keyframes shimmer { to { transform: translateX(120%); } }

.dl-btn-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0E0B07;
    border-radius: 10px;
    padding: 1.2rem 3rem;
    text-align: center;
}

.dl-icon-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    color: #000;
    flex-shrink: 0;
    transition: transform 0.3s var(--spring);
}

.dl-btn:hover .dl-icon-ring { transform: translateY(3px); }

.dl-btn-text {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.2px;
    color: var(--text-1);
}

.dl-btn-arrow {
    color: var(--amber);
    display: flex;
    align-items: center;
    transition: transform 0.3s var(--spring);
}

.dl-btn:hover .dl-btn-arrow { transform: translateX(5px); }

/* Trust strip */
.trust-strip {
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: fade-up 0.55s var(--ease) 0.4s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-2);
    white-space: nowrap;
}

.trust-item svg { color: var(--amber); flex-shrink: 0; }

.trust-sep {
    color: var(--border-strong);
    font-size: 1.2rem;
    line-height: 1;
}


/* ============================================================
   HERO RIGHT — Food visual
   ============================================================ */
.hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    animation: fade-in 0.8s var(--ease) 0.35s both;
}

.food-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    pointer-events: none;
}

.food-ring-1 {
    width: 520px; height: 520px;
    border-color: rgba(245,166,35,0.12);
    animation: ring-spin 28s linear infinite;
}

.food-ring-2 {
    width: 400px; height: 400px;
    border-color: rgba(255,107,53,0.1);
    animation: ring-spin 20s linear infinite reverse;
}

.food-ring-3 {
    width: 290px; height: 290px;
    border-color: rgba(245,166,35,0.08);
    animation: ring-spin 14s linear infinite;
}

@keyframes ring-spin { to { transform: rotate(360deg); } }

.phone-mockup {
    position: relative;
    z-index: 3;
    width: min(72vw, 290px);
    aspect-ratio: 290 / 610;
    height: auto;
    background: #000;
    border-radius: 42px;
    padding: 10px;
    /* Reduced multilayer box-shadow for subtle 3D thickness */
    box-shadow: 
        1px 1px 0 #3a3a42,
        2px 2px 0 #323238,
        3px 3px 0 #2a2a30,
        4px 4px 0 #222228,
        -1px -1px 0 1px #000 inset,
        20px 30px 50px rgba(245,166,35,0.2), 
        10px 15px 25px rgba(0,0,0,0.6);
    
    transform-style: preserve-3d;
    animation: phone-float 7s ease-in-out infinite;
    display: flex;
    justify-content: center;
}

/* Hardware Power Button on the Right Edge */
.phone-mockup::after {
    content: '';
    position: absolute;
    top: 170px;
    right: -4px; /* Reduced sticking out */
    width: 4px;  /* Thinner button */
    height: 60px;
    background: #444;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    box-shadow: inset 1px 0 2px rgba(255,255,255,0.1);
    z-index: -1;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    object-fit: cover;
    z-index: 1;
}

@keyframes phone-float {
    /* Much subtler 3D Isometric Tilt facing left */
    0%, 100% { transform: perspective(1200px) rotateY(-12deg) rotateX(4deg) rotateZ(-1deg) translateY(0); }
    50% { transform: perspective(1200px) rotateY(-15deg) rotateX(6deg) rotateZ(0deg) translateY(-15px); }
}

/* Floating info cards */
.float-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.2rem;
    background: var(--glass);
    backdrop-filter: blur(65px) saturate(140%);
    -webkit-backdrop-filter: blur(65px) saturate(140%);
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
    white-space: nowrap;
}

.float-card svg { flex-shrink: 0; }

.float-card-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.float-card-text strong {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-1);
    display: block;
}

.float-card-text span {
    font-size: 0.75rem;
    color: var(--text-2);
    display: block;
}

.float-card-1 {
    top: 15%;
    right: -5px;
    animation: card-bob 5s ease-in-out infinite;
}

.float-card-2 {
    top: 48%;
    left: -5px;
    animation: card-bob 6.5s ease-in-out 1.2s infinite reverse;
}

.float-card-3 {
    bottom: 12%;
    right: -5px;
    animation: card-bob 5.5s ease-in-out 0.8s infinite;
}

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

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
    padding: 8rem 6% 8rem;
    max-width: 1380px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 5rem;
}

.section-eyebrow {
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 1.25rem;
    display: block;
}

.section-heading {
    font-size: clamp(2.4rem, 4.5vw, 4rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--text-1);
}

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

.step-card {
    background: var(--glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, background 0.3s, transform 0.4s var(--spring), box-shadow 0.4s;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--amber), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.step-card:hover {
    background: var(--glass-hover);
    border-color: var(--border-strong);
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 40px var(--amber-glow);
}

.step-card:hover::before { opacity: 1; }

/* Center card slight highlight */
.step-card-center {
    background: rgba(245,166,35,0.04);
    border-color: rgba(245,166,35,0.18);
}

.step-icon-wrap {
    width: 60px; height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--amber-soft);
    border: 1px solid var(--amber-glow);
    border-radius: 14px;
    color: var(--amber);
    margin-bottom: 2rem;
}

.step-num {
    display: block;
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-2);
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    color: var(--text-1);
}

.step-card p {
    font-size: 1rem;
    line-height: 1.72;
    color: var(--text-2);
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(245,166,35,0.03);
    backdrop-filter: blur(20px);
    padding: 3.5rem 6%;
}

.stats-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
    flex: 1;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -2px;
    color: var(--amber);
    line-height: 1;
}

.stat-label {
    font-size: 0.88rem;
    color: var(--text-2);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 56px;
    background: var(--border-strong);
    flex-shrink: 0;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in-view { opacity: 1; transform: translateY(0); }

.step-card:nth-child(2).reveal { transition-delay: 0.1s; }
.step-card:nth-child(3).reveal { transition-delay: 0.2s; }

/* ============================================================
   DOWNLOAD TOAST
   ============================================================ */
.download-toast {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 260;
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
}

.download-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.download-toast.centered {
    top: 50%;
    right: auto;
    bottom: auto;
    left: 50%;
    transform: translate(-50%, -42%);
}

.download-toast.centered.show {
    transform: translate(-50%, -50%);
}

.download-toast-inner {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 260px;
    max-width: min(92vw, 360px);
    padding: 0.78rem 0.95rem;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    background: rgba(10, 9, 8, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.45), 0 0 22px var(--amber-glow);
}

.download-toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #050505;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    font-weight: 900;
    font-size: 0.78rem;
    flex-shrink: 0;
}

.download-toast-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.download-toast-text strong {
    font-size: 0.9rem;
    color: var(--text-1);
    line-height: 1.25;
}

.download-toast-text span {
    font-size: 0.77rem;
    color: var(--text-2);
    line-height: 1.35;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    border-top: 1px solid var(--border);
    background: rgba(7,7,9,0.9);
    backdrop-filter: blur(24px);
    padding: 2.5rem max(6%, env(safe-area-inset-left));
}

.footer-inner {
    max-width: 1380px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-1);
}

.footer-logo-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    filter: drop-shadow(0 0 4px var(--amber-glow));
}

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

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

.footer-links a {
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-2);
    transition: color 0.2s;
}

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

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .hero { 
        grid-template-columns: 1fr; 
        max-width: 800px; 
        text-align: center; 
        gap: 2rem;
    }
    .hero-left { align-items: center; }
    .hero-heading { text-align: center; }
    .hero-body { text-align: center; margin-bottom: 2rem; }
    .heading-accent { display: inline; }
    
    .hero-right {
        margin-top: 1.5rem;
    }
    .food-ring-1 { width: 460px; height: 460px; }
    .food-ring-2 { width: 350px; height: 350px; }
    .food-ring-3 { width: 260px; height: 260px; }
    .trust-strip { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 760px) {
    :root { --nav-h: 64px; }

    .navbar { padding: 0 max(5%, env(safe-area-inset-left)); }
    .nav-links { gap: 0.9rem; }

    .btn-nav-dl {
        padding: 0.5rem 0.9rem;
        font-size: 0.86rem;
    }

    .hero {
        padding: calc(var(--nav-h) + 1.5rem) 5% 3rem;
        gap: 1.25rem;
    }

    .hero-heading {
        font-size: clamp(2.2rem, 10vw, 3rem);
        line-height: 1.08;
        letter-spacing: -1.2px;
        margin-bottom: 1.1rem;
    }

    .hero-body {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.75rem;
        max-width: 36ch;
    }

    .dl-btn {
        width: min(100%, 340px);
        margin-bottom: 1.6rem;
    }

    .dl-btn-inner {
        width: 100%;
        padding: 0.95rem 1.2rem;
    }

    .hero-right {
        width: 100%;
        margin-top: 0.5rem;
        overflow: clip;
    }

    .food-ring { display: none; }

    .float-card {
        padding: 0.6rem 0.85rem;
        border-radius: 12px;
        gap: 0.45rem;
        max-width: min(46vw, 180px);
        white-space: normal;
    }

    .float-card-text strong { font-size: 0.78rem; }
    .float-card-text span { font-size: 0.68rem; }
    .float-card-1 { top: 8%; right: 2%; }
    .float-card-2 { top: 44%; left: 2%; }
    .float-card-3 { bottom: 7%; right: 2%; }

    .how-it-works { padding: 4.5rem 5% 4rem; }
    .section-header { margin-bottom: 2.5rem; }

    .section-heading {
        font-size: clamp(1.85rem, 8.4vw, 2.4rem);
        letter-spacing: -0.8px;
    }

    .step-card { padding: 1.6rem 1.25rem; }
    .step-card h3 { font-size: 1.2rem; }

    .step-card p {
        font-size: 0.95rem;
        line-height: 1.58;
    }

    .stats-band { padding: 2.25rem 5%; }
    .stat-value { font-size: 1.85rem; letter-spacing: -1px; }
    .stat-label { font-size: 0.82rem; }
}

@media (max-width: 900px) {
    .steps-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .stats-inner { flex-direction: column; gap: 2.5rem; }
    .stat-divider { width: 80px; height: 1px; }
}

@media (max-width: 600px) {
    .navbar { padding: 0 max(5%, env(safe-area-inset-left)); }
    .logo-name { display: none; } /* Show only icon on very small screens */
    .hero { padding: calc(var(--nav-h) + 1.25rem) 5% 2.4rem; }
    .hero-heading { font-size: 2.25rem; letter-spacing: -0.8px; }
    .hero-body { font-size: 0.98rem; }
    .hero-badge { margin-bottom: 1.5rem; }
    
    .hero-right { margin-top: 0.4rem; }
    .nav-link:not(.btn-nav-dl) { display: none; }
    .dl-btn { 
        width: min(100%, 320px); 
        max-width: 340px; 
        margin-top: 0.8rem; 
        justify-content: center; 
    }
    .dl-btn-inner { 
        width: 100%; 
        justify-content: center; 
        padding: 0.9rem 1.1rem; 
    }
    .dl-btn-text { font-size: 1rem; }
    .how-it-works { padding: 4rem 5% 3.5rem; }
    .section-heading { margin-bottom: 2.2rem; }
    .stats-band { padding: 2rem 5%; }
    
    .trust-strip { display: none; }
    .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 1rem; }

    .download-toast {
        left: 50%;
        right: auto;
        bottom: calc(0.8rem + env(safe-area-inset-bottom));
        transform: translateX(-50%) translateY(18px);
    }

    .download-toast.show {
        transform: translateX(-50%) translateY(0);
    }

    .download-toast.centered {
        top: 50%;
        bottom: auto;
        left: 50%;
        transform: translate(-50%, -42%);
    }

    .download-toast.centered.show {
        transform: translate(-50%, -50%);
    }

    .download-toast-inner {
        min-width: 0;
        width: min(92vw, 360px);
    }
}

@media (max-width: 400px) {
    .hero-right { margin-top: 0.25rem; }
    .phone-mockup { width: min(78vw, 255px); }
    .food-ring { display: none; } /* Hide rings on super tiny screens to prevent overflow */
}

@media (hover: none) {
    .dl-btn:hover,
    .step-card:hover {
        transform: none;
        box-shadow: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
