/* ==========================================================================
   DOOEATS LANDING PAGE - DARK THEME
   ========================================================================== */

:root {
    --primary: #FF3B2F; /* Vibrant red */
    --primary-hover: #D83127;
    --dark-bg: #141414; /* Deep dark background */
    --text-light: #FFFFFF;
    --text-muted: #A1A1AA;
    --text-dark: #111111;
    --surface-dark: #0f1013;
    --surface-dark-soft: #0f0f12;
    --surface-dark-hover: #1a1a1f;
    --surface-light: #ffffff;
    --surface-soft: #fafafa;
    --border-soft: #f0f0f0;
    --accent-yellow: #ffc107;
    --accent-green: #2fa84f;
    --primary-soft: #ffe9e7;
    --primary-ring-start: #ff4636;
    --primary-ring-end: #d62a1f;
    --font: 'Inter', system-ui, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--dark-bg);
}

body.landing-page {
    font-family: var(--font);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Helpers */
.landing-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* 2. Header & Navigation */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.landing-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.landing-logo__img {
    height: 130px;
    width: auto;
    display: block;
}

.landing-logo__mark {
    width: 28px;
    height: 28px;
    background-color: var(--primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.landing-logo__mark::after {
    content: '';
    width: 12px;
    height: 4px;
    background: #fff;
    border-radius: 2px;
}

.landing-nav {
    display: flex;
    gap: 40px;
}

.landing-nav a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

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

.landing-header__cta {
    display: flex;
    align-items: center;
}

.landing-icon-btn {
    background-color: var(--primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 16px rgba(255, 59, 47, 0.35);
}

.landing-icon-btn:hover {
    transform: scale(1.05);
}

.landing-icon-btn svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.landing-icon-btn__svg {
    width: 20px;
    height: 20px;
}

.landing-icon-btn__img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

.landing-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
}

.landing-nav-drawer {
    display: none;
}

/* 3. Hero Section */
.landing-hero {
    padding-top: 160px;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

/* Background Glow */
.landing-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 59, 47, 0.15) 0%, rgba(20, 20, 20, 0) 70%);
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.landing-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.landing-hero__content,
.landing-promo__main,
.landing-delivery__content {
    min-width: 0;
}

.landing-hero__title {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 24px;
}

.landing-hero__lead {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 400px;
    line-height: 1.8;
}

.landing-btn-primary {
    display: inline-block;
    text-decoration: none;
    background-color: var(--primary);
    color: var(--text-light);
    padding: 12px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    margin-bottom: 32px;
    border: none;
    cursor: pointer;
}

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

.landing-store-badges {
    display: flex;
    gap: 16px;
}

.landing-store-link img {
    height: 40px;
}

/* Visual Side */
.landing-hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.landing-hero__circle {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background-color: var(--primary);
    z-index: 1;
}

/* Green decoration circles */
.landing-hero__decor-green-1,
.landing-hero__decor-green-2 {
    position: absolute;
    border-radius: 50%;
    background-color: var(--accent-green);
    z-index: 0;
}
.landing-hero__decor-green-1 {
    width: 80px; height: 80px;
    top: -20px; left: -40px;
}
.landing-hero__decor-green-2 {
    width: 50px; height: 50px;
    top: 60px; right: 20px;
}

.landing-hero__photo {
    position: relative;
    z-index: 2;
    object-fit: contain;
    max-height: 550px;
}

.landing-float-card {
    position: absolute;
    background: #fff;
    color: #000;
    padding: 8px 16px;
    border-radius: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    z-index: 3;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    animation: float-slow 4s ease-in-out infinite;
}

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

.landing-float-card img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.landing-float-card .stars {
    color: var(--accent-yellow);
}

.landing-float-card--tr {
    top: 80px;
    right: -20px;
}

.landing-float-card--bl {
    bottom: 80px;
    left: -20px;
}

.landing-float-card--bl .check {
    color: var(--primary);
    background: #FFF0ED;
    border-radius: 50%;
    width: 20px; height: 20px;
    display: inline-flex; align-items: center; justify-content: center;
}

/* Arrow decoration */
.landing-hero__arrow {
    position: absolute;
    bottom: 20px;
    right: -40px;
    width: 100px;
    height: 100px;
    z-index: 2;
    opacity: 0.6;
}

/* 4. Promo Section */
.landing-promo {
    padding: 60px 0;
    position: relative;
}

.landing-promo::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 100%; height: 600px;
    background: radial-gradient(ellipse at center, rgba(255, 59, 47, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.landing-promo__container {
    position: relative;
    z-index: 1;
}

.landing-promo__card {
    background-color: var(--primary);
    border-radius: 30px;
    display: flex;
    align-items: center;
    position: relative;
    height: 180px;
}

.landing-promo__food-wrap {
    width: 250px;
    height: 250px;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.landing-promo__food {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: spin-slow 30s linear infinite;
}

@keyframes spin-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.landing-promo__main {
    margin-left: 300px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--text-light);
}

.landing-promo__headline {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.landing-promo__social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.landing-avatars {
    display: flex;
}

.landing-avatars span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    margin-left: -10px;
    background-size: cover;
    background-position: center;
}
.landing-avatars span:first-child { margin-left: 0; }

.landing-promo__rating-block {
    display: flex;
    flex-direction: column;
}
.landing-promo__happy { font-size: 11px; opacity: 0.9; }
.landing-promo__rating { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.landing-promo__star { color: var(--accent-yellow); }

/* Tear Track and App Stores inside Promo */
.landing-promo__tear {
    height: 100%;
    width: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.landing-promo__tear-line {
    width: 2px;
    height: 100%;
    background: repeating-linear-gradient(0deg, #fff 0px, #fff 6px, transparent 6px, transparent 12px);
    opacity: 0.5;
}
.landing-promo__tear-cap {
    position: absolute;
    width: 30px; height: 30px;
    background-color: var(--dark-bg);
    border-radius: 50%;
    left: 5px;
}
.landing-promo__tear-cap--top { top: -15px; }
.landing-promo__tear-cap--bottom { bottom: -15px; }

.landing-promo__stores {
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 30px;
    align-items: center;
    justify-content: center;
}
.landing-promo__stores img {
    height: 36px;
}

.landing-promo__stores > a,
.landing-promo__stores .landing-store-link {
    width: fit-content;
    height: 100%;
    box-sizing: content-box;
    color: rgba(255, 255, 255, 0);
}

.landing-promo__stores > a img,
.landing-promo__stores .landing-store-link img {
    width: 115px;
    height: 51px;
    box-sizing: content-box;
    color: rgba(255, 255, 255, 0);
}

/* Curve Transitions for White Section */
.curve-top {
    width: 100%;
    height: 80px;
    background-color: var(--text-light);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    margin-top: 60px;
}
.curve-bottom {
    width: 100%;
    height: 80px;
    background-color: var(--text-light);
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

/* 5. App Screenshots (White Background) */
.landing-appshots-wrapper {
    background-color: var(--text-light);
    padding: 40px 0;
    color: var(--text-dark);
}

.landing-section-head {
    text-align: center;
    margin-bottom: 40px;
}
.landing-section-head h2 {
    font-size: 32px;
    font-weight: 800;
}

.landing-phones {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.landing-phone {
    width: 160px;
    height: 340px;
    border-radius: 24px;
    border: 6px solid var(--border-soft);
    background-color: var(--surface-light);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    position: relative;
    opacity: 0.7;
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.landing-phone:hover {
    opacity: 1;
    transform: scale(0.95) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    z-index: 5;
}

.landing-phone--hero {
    width: 200px;
    height: 420px;
    border: 8px solid var(--text-dark);
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    z-index: 2;
}

.landing-phone__screen {
    width: 100%; height: 100%;
    background-color: var(--surface-soft);
    display: flex; align-items: center; justify-content: center;
    color: #999; font-size: 12px; font-weight: 500;
}

.landing-phone__screen--image {
    background: var(--surface-light);
    overflow: hidden;
}

.landing-phone__screen--image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.landing-phone--hero .landing-phone__screen {
    background-color: #1A1A1A; /* dark mode screen */
    color: #fff;
}

.landing-dots {
    display: flex; justify-content: center; gap: 8px;
}
.landing-dots span {
    width: 8px; height: 8px; border-radius: 50%; background-color: #ddd;
}
.landing-dots span.is-active {
    background-color: var(--primary);
}

/* 6. Quick Delivery Section */
.landing-delivery {
    padding: 80px 0;
    position: relative;
}

.landing-delivery::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(255, 59, 47, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 0; pointer-events: none;
}

.landing-delivery__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.landing-delivery__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 450px;
}

.landing-delivery__circle {
    position: absolute;
    width: 380px; height: 380px;
    background-color: var(--primary);
    border-radius: 50%;
    z-index: 1;
}

.landing-delivery__img {
    position: relative; z-index: 2;
    max-height: 400px;
    border-radius: 20px;
}

.landing-delivery__img--full {
    width: min(100%, 457px);
    height: auto;
    max-height: none;
    object-fit: contain;
}

.landing-delivery__float-meat {
    position: absolute;
    top: 20px; left: 20px;
    background-color: #fff;
    border: 2px solid var(--primary);
    border-radius: 50%;
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    z-index: 3;
}

.landing-delivery__content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.landing-delivery__lead {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.landing-feature-card {
    background-color: var(--surface-light);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.landing-feature-card:hover {
    transform: translateX(10px);
    border-color: rgba(255, 59, 47, 0.2);
    box-shadow: 0 10px 20px rgba(255, 59, 47, 0.1);
}

.landing-feature-card__icon {
    width: 48px; height: 48px;
    background-color: var(--primary-soft);
    color: var(--primary);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}

.landing-feature-card h3 {
    font-size: 15px; font-weight: 700; margin-bottom: 4px;
}
.landing-feature-card p {
    font-size: 12px; color: #666;
}

/* 7. Register Section */
.landing-register {
    padding: 60px 0 100px 0;
}

.landing-register__banner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    padding: 60px 40px;
    min-height: 284px;
    text-align: center;
    background: url('../images/register-banner-food.png') center/cover no-repeat;
}

.landing-register__banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.landing-register__content {
    position: relative; z-index: 1;
}

.landing-register__content h2 {
    font-size: 32px; font-weight: 700;
    color: #fff; margin-bottom: 30px;
}

.landing-register__form {
    display: flex; justify-content: center; gap: 12px; max-width: 500px; margin: 0 auto;
}

.landing-register__form input {
    flex: 1;
    padding: 14px 20px;
    border: none; border-radius: 6px;
    font-family: var(--font);
    background: #fff;
}

.landing-register__form button {
    background-color: var(--primary);
    color: #fff;
    border: none; border-radius: 6px;
    padding: 0 30px; font-weight: 600; cursor: pointer;
}

/* Footer */
.landing-footer {
    position: relative;
    background: radial-gradient(1200px 320px at 50% 0%, rgba(255, 59, 47, 0.08), transparent 60%), #0f1013;
    padding: 58px 0 24px;
}

.landing-footer__grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.45fr) minmax(130px, 0.8fr) minmax(130px, 0.8fr) minmax(230px, 1.15fr);
    gap: 40px;
    align-items: start;
}

.landing-footer__brand .landing-logo {
    margin-bottom: 14px;
}

.landing-footer__description {
    max-width: 300px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 18px;
}

.landing-footer__socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.landing-footer__social {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.74);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.landing-footer__social:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.landing-footer__social svg {
    width: 16px;
    height: 16px;
}

.landing-footer__heading {
    font-size: 24px;
    line-height: 1.1;
    color: #fff;
    font-weight: 700;
    margin-bottom: 16px;
}

.landing-footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
}

.landing-footer__links li,
.landing-footer__links a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.45;
    text-decoration: none;
    transition: var(--transition);
}

.landing-footer__links a:hover {
    color: #fff;
}

.landing-footer__partners {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.landing-footer__partners span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
    padding: 6px 12px;
    border-radius: 7px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.landing-footer__bottom {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.landing-footer__bottom p {
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
}

@media (max-width: 992px) {
    .landing-hero__grid, .landing-delivery__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .landing-hero__lead { margin: 0 auto 32px auto; }
    .landing-hero__visual, .landing-delivery__visual { order: -1; }
    .landing-promo__card { height: auto; flex-direction: column; padding-bottom: 20px; }
    .landing-promo__main { margin-left: 0; padding: 180px 20px 20px 20px; align-items: center; text-align: center; }
    .landing-promo__food-wrap { top: -50px; left: 50%; transform: translateX(-50%); width: 200px; height: 200px; }
    .landing-promo__tear { display: none; }
    .landing-promo__stores { flex-direction: row; margin-top: 20px; }

    .landing-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 34px 30px;
    }

    .landing-footer__heading {
        font-size: 20px;
    }

    .landing-footer__links li,
    .landing-footer__links a {
        font-size: 15px;
    }
}

/* ==========================================================================
   LANDING REDESIGN OVERRIDES
   ========================================================================== */

.landing-page {
    background: var(--surface-dark);
}

.landing-header {
    height: 84px;
    background: rgba(15, 16, 19, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-nav {
    gap: 30px;
}

.landing-nav a {
    font-size: 13px;
}

.landing-hero {
    padding-top: 145px;
    padding-bottom: 80px;
}

.landing-hero__grid {
    gap: 26px;
}

.landing-hero__title {
    font-size: clamp(38px, 6vw, 64px);
    margin-bottom: 16px;
}

.landing-hero__lead {
    max-width: 460px;
    margin-bottom: 24px;
}

.landing-btn-primary {
    border-radius: 8px;
    margin-bottom: 20px;
}

.landing-store-badges {
    align-items: center;
}

.landing-store-link img {
    width: auto;
    max-width: 150px;
    height: 44px;
    display: block;
}

.landing-store-link--app {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
}

.landing-hero__visual {
    height: 510px;
}

.landing-hero__ring {
    position: absolute;
    inset: auto;
    width: 370px;
    height: 370px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(254, 35, 0, 1) 0%, rgba(214, 42, 31, 1) 100%);
    border: 1px solid rgba(0, 0, 0, 1);
    z-index: 1;
}

.landing-hero__food {
    position: absolute;
    width: 265px;
    height: 265px;
    object-fit: cover;
    border-radius: 50%;
    z-index: 2;
    left: -12px;
    bottom: 86px;
    border: 6px solid rgba(15, 16, 19, 0.75);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}

.landing-hero__photo {
    width: 466px;
    height: 464px;
    max-height: 465px;
    z-index: 3;
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.3));
}

.landing-float-card {
    border-radius: 16px;
    padding: 8px 12px;
}

.landing-float-card--tr {
    right: -6px;
}

.landing-float-card--tr strong {
    display: block;
    font-size: 11px;
}

.landing-float-card--tr span {
    font-size: 11px;
}

.landing-float-card--bl {
    left: 0;
    bottom: 48px;
}

.landing-promo {
    padding-top: 24px;
    padding-bottom: 60px;
}

.landing-promo__card {
    min-height: 190px;
    padding-right: 12px;
}

.landing-promo__food-wrap {
    width: 238px;
    height: 238px;
    left: -18px;
}

.landing-promo__main {
    margin-left: 246px;
}

.landing-promo__headline {
    font-size: clamp(28px, 4vw, 38px);
}

.landing-avatars span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #251f1f;
}

.landing-promo__tear {
    width: 2px;
    margin: 0 24px 0 10px;
    background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.7) 0px, rgba(255, 255, 255, 0.7) 7px, transparent 7px, transparent 14px);
    border-radius: 1px;
    align-self: stretch;
}

.landing-promo__stores {
    width: 200px;
    gap: 10px;
    padding: 0 10px;
}

.landing-promo__stores img {
    height: 40px;
}

.landing-promo__stores .landing-store-link--app {
    width: 100%;
    font-size: 11px;
}

.curve-top,
.curve-bottom {
    height: 74px;
    background-color: var(--surface-light);
}

.landing-appshots-wrapper {
    padding: 30px 0;
}

.landing-section-head {
    margin-bottom: 24px;
}

.landing-phone {
    width: 122px;
    height: 252px;
    border-radius: 28px;
    border: 4px solid #f2f2f2;
    transform: scale(0.95);
}

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

.landing-phone--hero {
    width: 168px;
    height: 344px;
    border: 6px solid #171717;
    transform: scale(1);
}

.landing-delivery {
    padding: 70px 0 60px;
}

.landing-delivery__grid {
    gap: 36px;
}

.landing-delivery__visual {
    height: 420px;
}

.landing-delivery__ring {
    display: none;
}

.landing-delivery__img {
    width: 420px;
    height: 420px;
    max-height: none;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    z-index: 2;
    box-shadow: none;
}

.landing-feature-card {
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 12px;
}

.landing-register {
    padding-top: 32px;
}

.landing-register__banner {
    padding: 54px 34px;
    background: url('../images/register-banner-food.png') center/cover no-repeat;
}

.landing-register__banner::before {
    background: rgba(0, 0, 0, 0.42);
}

@media (max-width: 992px) {
    .landing-nav {
        gap: 14px;
    }

    .landing-hero__visual {
        order: -1;
        height: 400px;
    }

    .landing-hero__ring {
        width: 290px;
        height: 290px;
    }

    .landing-hero__photo {
        max-height: 348px;
    }

    .landing-hero__food {
        width: 165px;
        height: 165px;
        left: 10px;
        bottom: 62px;
    }

    .landing-float-card--tr {
        right: 0;
        top: 56px;
    }

    .landing-float-card--bl {
        left: 8px;
        bottom: 20px;
    }

    .landing-promo__card {
        padding-right: 0;
    }

    .landing-promo__main {
        margin-left: 0;
        padding-top: 162px;
    }

    .landing-promo__stores {
        width: auto;
        padding-bottom: 18px;
    }

    .landing-promo__stores .landing-store-link--app {
        width: auto;
    }

    .landing-phone {
        width: 104px;
        height: 214px;
    }

    .landing-phone--hero {
        width: 136px;
        height: 280px;
    }
}

@media (max-width: 640px) {
    .landing-header {
        height: 74px;
    }

    .landing-logo {
        font-size: 14px;
    }

    .landing-nav {
        display: none;
    }

    .landing-hero {
        padding-top: 122px;
    }

    .landing-hero__title {
        font-size: 42px;
    }

    .landing-store-badges {
        flex-direction: column;
        align-items: flex-start;
    }

    .landing-phones {
        gap: 10px;
    }

    .landing-phone {
        width: 86px;
        height: 182px;
    }

    .landing-phone--hero {
        width: 120px;
        height: 240px;
    }

    .landing-delivery__visual {
        height: 360px;
    }

    .landing-delivery__ring {
        width: 300px;
        height: 300px;
    }

    .landing-delivery__img {
        width: 260px;
        height: 320px;
    }

    .landing-register__content h2 {
        font-size: 28px;
    }

    .landing-register__form {
        flex-direction: column;
    }

    .landing-register__form button {
        height: 48px;
    }

    .landing-footer {
        padding-top: 50px;
    }

    .landing-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .landing-footer__description {
        max-width: 100%;
        font-size: 13px;
    }

    .landing-footer__heading {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .landing-footer__links {
        gap: 8px;
    }

    .landing-footer__links li,
    .landing-footer__links a {
        font-size: 14px;
    }

    .landing-footer__bottom {
        margin-top: 28px;
        padding-top: 16px;
    }
}

/* ==========================================================================
   STORE BADGES, HERO DECOR, APP-SHOTS CAROUSEL
   ========================================================================== */

/* App store badges (Google Play / App Store pill buttons) */
.landing-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    min-height: 48px;
    border-radius: 10px;
    background: var(--surface-dark-soft);
    color: var(--surface-light);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
    transition: var(--transition);
}

.landing-store-badge:hover {
    background: var(--surface-dark-hover);
    transform: translateY(-1px);
}

.landing-store-badge__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: var(--surface-light);
}

.landing-store-badge__icon svg {
    width: 24px;
    height: 24px;
}

.landing-store-badge__copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    text-align: left;
}

.landing-store-badge__small {
    font-size: 9px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.85;
}

.landing-store-badge__big {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.landing-store-badge--compact {
    min-height: 44px;
    padding: 6px 12px;
    background: var(--surface-dark-soft);
}

.landing-store-badge--compact .landing-store-badge__big {
    font-size: 13px;
}

.landing-store-badge--image {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.landing-store-badge--image:hover {
    background: transparent;
}

.landing-store-badge__asset {
    width: 150px;
    height: 44px;
    display: block;
}

.landing-store-badge--compact .landing-store-badge__asset {
    width: 130px;
    height: 38px;
}

.landing-store-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Hero green decoration circles */
.landing-hero__decor-green-1,
.landing-hero__decor-green-2 {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-green);
    z-index: 0;
    pointer-events: none;
}

.landing-hero__decor-green-1 {
    width: 64px;
    height: 64px;
    top: 105px;
    left: 26px;
}

.landing-hero__decor-green-2 {
    width: 26px;
    height: 26px;
    top: 180px;
    left: 96px;
}

/* Hero arrow / paper plane decoration */
.landing-hero__arrow {
    position: absolute;
    right: -30px;
    bottom: 24px;
    width: 110px;
    height: 110px;
    z-index: 4;
    pointer-events: none;
}

/* Hero ring sizing (red circle behind the chef) */
.landing-hero__ring {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at 35% 30%, rgba(254, 35, 0, 1) 0%, rgba(214, 42, 31, 1) 100%);
    border: 1px solid rgba(0, 0, 0, 1);
    box-shadow: 0 40px 80px rgba(214, 42, 31, 0.35);
}

/* Floating cards refinement */
.landing-float-card {
    background: #fff;
    color: #1a1a1f;
    padding: 8px 14px;
    border-radius: 22px;
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.25);
    font-size: 12px;
}

.landing-float-card--tr {
    top: 60px;
    right: -20px;
}

.landing-float-card--tr img {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    object-fit: cover;
}

.landing-float-card--tr strong {
    font-size: 12px;
    font-weight: 700;
    display: block;
}

.landing-rating-inline {
    font-size: 11px;
    color: #555;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.landing-rating-inline__icon {
    width: 12px;
    height: 12px;
}

.landing-float-card--bl {
    left: -10px;
    bottom: 60px;
}

.landing-float-card--bl .check {
    background: var(--primary-soft);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 12px;
}

.landing-check-icon {
    width: 14px;
    height: 14px;
}

/* App Screenshots carousel (center-focused desktop + swipe mobile) */
.landing-carousel {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: 16px 68px 48px;
    overflow: hidden;
    touch-action: pan-y;
}

.landing-carousel__track {
    position: relative;
    height: 400px;
}

.landing-carousel__item {
    --offset: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 128px;
    height: 270px;
    border-radius: 24px;
    border: 4px solid var(--border-soft);
    background: var(--surface-light);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transform: translate(-50%, -50%) translateX(calc(var(--offset) * 158px)) scale(0.82);
    opacity: 0.46;
    z-index: 1;
    transition: transform 0.45s ease, opacity 0.45s ease, width 0.45s ease, height 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
    cursor: pointer;
}

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

.landing-carousel__item.is-far {
    width: 138px;
    height: 286px;
    opacity: 0.58;
    transform: translate(-50%, -50%) translateX(calc(var(--offset) * 164px)) scale(0.88);
    z-index: 2;
}

.landing-carousel__item.is-near {
    width: 156px;
    height: 322px;
    opacity: 0.82;
    transform: translate(-50%, -50%) translateX(calc(var(--offset) * 158px)) scale(0.95);
    z-index: 3;
}

.landing-carousel__item.is-center {
    width: 188px;
    height: 380px;
    border: 0px solid #;
    opacity: 1;
    transform: translate(-50%, -50%) translateX(0) scale(1);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
    z-index: 4;
}

.landing-carousel__item.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.landing-carousel__control {
    position: absolute;
    top: calc(50% - 16px);
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: #171717;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.landing-carousel__control:hover {
    background: #292929;
    transform: translateY(-50%) scale(1.04);
}

.landing-carousel__control--prev {
    left: 8px;
}

.landing-carousel__control--next {
    right: 8px;
}

.landing-carousel__dots {
    position: absolute;
    left: 50%;
    bottom: 6px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.landing-carousel__dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    background: #dadada;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.landing-carousel__dots button.is-active {
    background: var(--primary);
    transform: scale(1.2);
}

.landing-carousel__control:focus-visible,
.landing-carousel__dots button:focus-visible,
.landing-carousel__item:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Promo card refinements */
.landing-promo__food {
    border: 8px solid #fff;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

.landing-promo__rating {
    color: #fff;
}

.landing-promo__star-icon {
    width: 12px;
    height: 12px;
    filter: brightness(0) invert(1);
}

.landing-promo__stores {
    width: auto;
    min-width: 220px;
    padding: 0 14px;
}

.landing-promo__stores .landing-store-badge {
    width: fit-content;
    height: 100%;
    box-sizing: content-box;
    color: rgba(255, 255, 255, 0);
    background: var(--surface-dark-soft);
}

.landing-promo__stores .landing-store-badge .landing-store-badge__asset {
    width: 115px;
    height: 51px;
    box-sizing: content-box;
    color: rgba(255, 255, 255, 0);
}

/* Feature card icons - make them small red-tinted icons like target */
.landing-feature-card__icon img {
    width: 22px;
    height: 22px;
    filter: invert(33%) sepia(83%) saturate(2627%) hue-rotate(347deg) brightness(99%) contrast(101%);
}

.landing-feature-card__icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

/* Responsive tweaks for the carousel */
@media (max-width: 992px) {
    .landing-carousel {
        max-width: 720px;
        padding-left: 54px;
        padding-right: 54px;
    }

    .landing-carousel__track {
        height: 330px;
    }

    .landing-carousel__item {
        transform: translate(-50%, -50%) translateX(calc(var(--offset) * 122px)) scale(0.8);
    }

    .landing-carousel__item.is-far {
        width: 118px;
        height: 240px;
        transform: translate(-50%, -50%) translateX(calc(var(--offset) * 128px)) scale(0.86);
    }

    .landing-carousel__item.is-near {
        width: 134px;
        height: 274px;
        transform: translate(-50%, -50%) translateX(calc(var(--offset) * 120px)) scale(0.92);
    }

    .landing-carousel__item.is-center {
        width: 154px;
        height: 312px;
    }

    .landing-hero__arrow {
        display: none;
    }
}

@media (max-width: 640px) {
    .landing-carousel {
        max-width: 372px;
        padding: 8px 0 44px;
    }

    .landing-carousel__track {
        height: 328px;
    }

    .landing-carousel__item {
        width: 112px;
        height: 228px;
        transform: translate(-50%, -50%) scale(0.88);
        opacity: 0;
        pointer-events: none;
    }

    .landing-carousel__item.is-center {
        width: 144px;
        height: 286px;
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        pointer-events: auto;
    }

    .landing-carousel__item.is-near,
    .landing-carousel__item.is-far {
        opacity: 0;
        pointer-events: none;
    }

    .landing-carousel__control {
        display: none;
    }

    .landing-hero__decor-green-1 {
        width: 50px;
        height: 50px;
        top: 90px;
        left: 8px;
    }
    .landing-hero__decor-green-2 {
        width: 20px;
        height: 20px;
        top: 150px;
        left: 78px;
    }
}

/* ==========================================================================
   VIEWPORT FIT + NO CLIPPING OVERRIDES
   ========================================================================== */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

main,
section,
.landing-header,
.landing-footer {
    width: 100%;
    max-width: 100%;
}

.landing-container {
    padding: 0 clamp(16px, 4vw, 24px);
}

img,
svg {
    max-width: 100%;
}

[id] {
    scroll-margin-top: 98px;
}

@media (max-width: 992px) {
    .landing-hero__visual {
        height: auto;
        min-height: 360px;
        padding: 22px 0;
    }

    .landing-hero__photo {
        width: min(100%, 348px);
        height: auto;
    }

    .landing-delivery__img {
        width: min(100%, 420px);
        height: auto;
    }
}

@media (max-width: 640px) {
    .landing-hero {
        padding-bottom: 60px;
    }

    .landing-hero__title {
        line-height: 1.15;
    }

    .landing-delivery__visual {
        height: auto;
        min-height: 300px;
    }

    .landing-delivery__img {
        width: min(100%, 260px);
        height: auto;
    }

    .landing-promo__headline,
    .landing-register__content h2 {
        word-break: break-word;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   PATCH: ZOOM PREVENTION + RESPONSIVE VIEWPORT FIT
   ========================================================================== */

/* CSS-level double-tap zoom prevention (reinforces <meta viewport> tag) */
html {
    touch-action: manipulation;
}

/* Prevent any horizontal overflow escaping from sections */
.landing-hero,
.landing-promo,
.landing-appshots-wrapper,
.landing-delivery,
.landing-register {
    overflow-x: hidden;
}

/* ---- Float cards: keep inside viewport on all screen widths ---- */
@media (max-width: 992px) {
    .landing-float-card {
        max-width: calc(100vw - 32px);
        white-space: nowrap;
    }

    .landing-float-card--tr {
        right: 6px;
        top: 48px;
    }

    .landing-float-card--bl {
        left: 6px;
        bottom: 40px;
    }
}

@media (max-width: 640px) {
    /* Clip anything that leaks outside the visual ring on small phones */
    .landing-hero__visual {
        overflow: hidden;
        padding: 28px 8px;
    }

    .landing-float-card {
        font-size: 11px;
        padding: 6px 10px;
        gap: 6px;
    }

    .landing-float-card--tr {
        right: 4px;
        top: 36px;
    }

    .landing-float-card--bl {
        left: 4px;
        bottom: 32px;
    }
}

/* ---- Promo section: prevent food image from protruding above card ---- */
@media (max-width: 992px) {
    .landing-promo__card {
        overflow: visible;
        padding-top: 16px;
    }

    .landing-promo__food-wrap {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 180px;
        height: 180px;
        margin: 0 auto;
        flex-shrink: 0;
    }

    .landing-promo__main {
        padding-top: 12px !important;
        padding-bottom: 8px !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 640px) {
    .landing-promo__food-wrap {
        width: 150px;
        height: 150px;
    }

    .landing-promo__main {
        padding: 8px 16px 16px !important;
    }
}

/* ---- Delivery section: fluid image, auto height ---- */
.landing-delivery__img {
    max-width: 100%;
    width: min(420px, 100%);
    height: auto;
}

.landing-delivery__visual {
    height: auto;
    min-height: 280px;
}

/* ---- Hero title: scale down on very small screens ---- */
@media (max-width: 400px) {
    .landing-hero__title {
        font-size: clamp(26px, 8.5vw, 36px);
        line-height: 1.2;
    }

    .landing-hero__visual {
        min-height: 260px;
    }

    .landing-hero__ring {
        width: 220px;
        height: 220px;
    }

    .landing-hero__photo {
        max-height: 260px;
    }
}

/* ---- Register section: readable on very small screens ---- */
@media (max-width: 480px) {
    .landing-register__banner {
        padding: 40px 20px;
        min-height: auto;
    }

    .landing-register__content h2 {
        font-size: clamp(18px, 5.5vw, 28px);
        line-height: 1.3;
    }
}

/* ---- Store badge assets: never overflow their container ---- */
.landing-store-badge__asset {
    max-width: 150px;
    width: 100%;
    height: auto;
}

/* ---- All images: hard cap at container width ---- */
.landing-hero__photo,
.landing-promo__food,
.landing-delivery__img {
    max-width: 100%;
}

/* ---- Nav: wrap gracefully between 640–992px ---- */
@media (max-width: 780px) and (min-width: 641px) {
    .landing-nav {
        gap: 10px;
    }

    .landing-nav a {
        font-size: 12px;
    }
}
