/* =============================================================
   desktop.css: myFoodPlaces desktop landing (BEM: dt-)
   ============================================================= */

/* ── Tokens ── */
:root {
    --dt-bg:        #0f0d0a;
    --dt-surface:   #1a1713;
    --dt-surface2:  #231f1a;
    --dt-border:    #2e2820;
    --dt-accent:    #8B5E3C;
    --dt-gold:      #C49A6C;
    --dt-text:      #f0ece6;
    --dt-muted:     #8a7e74;
    --dt-cream:     #f5f0e8;
    --dt-dark:      #0f0d0a;
    --dt-radius:    16px;
    --dt-radius-sm: 10px;
    --dt-max:       1280px;
    --dt-font:      'DM Sans', system-ui, sans-serif;
    --dt-display:   'Fraunces', Georgia, 'Times New Roman', serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--dt-font);
    background: var(--dt-bg);
    color: var(--dt-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Shared eyebrow ── */
.dt-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dt-gold);
    margin-bottom: 0.85rem;
}

/* ── Buttons ── */
.dt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 2rem;
    border-radius: 999px;
    font-family: var(--dt-font);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    border: none;
    transition: opacity 0.18s, transform 0.18s;
    white-space: nowrap;
}
.dt-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.dt-btn--primary {
    background: var(--dt-accent);
    color: #fff;
}
.dt-btn--ghost {
    background: transparent;
    border: 2px solid var(--dt-gold);
    color: var(--dt-gold);
}

/* =============================================================
   TOPBAR
   ============================================================= */
.dt-topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(15,13,10,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(46,40,32,0.5);
}
.dt-topbar__inner {
    max-width: var(--dt-max);
    margin: 0 auto;
    padding: 0 2rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dt-topbar__logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--dt-text);
}
.dt-topbar__logo span { color: var(--dt-gold); }
.dt-topbar__link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dt-muted);
    transition: color 0.15s;
}
.dt-topbar__link:hover { color: var(--dt-gold); }

/* =============================================================
   HERO: SECTION 1
   ============================================================= */
.dt-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 60px;
}

.dt-hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('/webpage/hero-menu-phone.webp');
    background-size: cover;
    background-position: center 30%;
    opacity: 0.07;
    z-index: 0;
}

.dt-hero__overlay {
    display: none;
}

.dt-hero__inner {
    position: relative;
    z-index: 2;
    max-width: var(--dt-max);
    margin: 0 auto;
    padding: 5rem 2rem 5rem;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 4rem;
    align-items: center;
}

.dt-hero__title {
    font-family: var(--dt-display);
    font-size: clamp(2.35rem, 3.6vw, 3.35rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 1.25rem;
}

.dt-hero__title em {
    font-style: normal;
    color: var(--dt-gold);
}

.dt-hero__desc {
    font-size: 1.05rem;
    color: rgba(240,236,230,0.78);
    line-height: 1.7;
    max-width: 620px;
    margin-bottom: 2rem;
}

.dt-hero__nudge {
    margin-top: 1rem;
    font-size: 0.82rem;
    color: var(--dt-muted);
    max-width: 380px;
}

/* ── Hero scan card (QR + copy) ── */
.dt-scan-card {
    display: grid;
    grid-template-columns: minmax(200px, 280px) 1fr;
    margin-top: 2.25rem;
    max-width: 720px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(196,154,108,0.35);
    background:
        linear-gradient(145deg, rgba(196,154,108,0.14) 0%, transparent 42%),
        linear-gradient(180deg, rgba(26,23,19,0.95) 0%, rgba(15,13,10,0.98) 100%);
    box-shadow:
        0 28px 90px rgba(0,0,0,0.55),
        0 0 0 1px rgba(255,255,255,0.04) inset;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: dt-scan-glow 5s ease-in-out infinite alternate;
}
@keyframes dt-scan-glow {
    from { box-shadow: 0 28px 90px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04) inset, 0 0 42px rgba(196,154,108,0.08); }
    to   { box-shadow: 0 28px 90px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04) inset, 0 0 56px rgba(196,154,108,0.16); }
}

.dt-scan-card__visual {
    position: relative;
    padding: 1.75rem 1.5rem 1.5rem;
    background:
        radial-gradient(ellipse 120% 80% at 50% 0%, rgba(245,240,232,0.22) 0%, transparent 55%),
        var(--dt-cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.dt-scan-card__chip {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #3d2918;
    background: linear-gradient(180deg, #fff 0%, #ebe4d8 100%);
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(139,94,60,0.25);
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.dt-scan-card__frame {
    position: relative;
    padding: 14px;
    background: #fff;
    border-radius: 14px;
    box-shadow:
        0 12px 36px rgba(0,0,0,0.18),
        0 0 0 1px rgba(0,0,0,0.06) inset;
}

.dt-scan-card__corner {
    position: absolute;
    width: 18px;
    height: 18px;
    border-color: var(--dt-accent);
    border-style: solid;
    pointer-events: none;
    opacity: 0.85;
}
.dt-scan-card__corner--tl { top: 4px; left: 4px; border-width: 3px 0 0 3px; border-radius: 4px 0 0 0; }
.dt-scan-card__corner--tr { top: 4px; right: 4px; border-width: 3px 3px 0 0; border-radius: 0 4px 0 0; }
.dt-scan-card__corner--bl { bottom: 4px; left: 4px; border-width: 0 0 3px 3px; border-radius: 0 0 0 4px; }
.dt-scan-card__corner--br { bottom: 4px; right: 4px; border-width: 0 3px 3px 0; border-radius: 0 0 4px 0; }

.dt-scan-card__qr-pad {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dt-cream);
    border-radius: 8px;
    padding: 10px;
}

.dt-scan-card__qr-img {
    width: 220px;
    height: 220px;
    display: block;
    image-rendering: crisp-edges;
}

.dt-scan-card__hint {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(61,41,24,0.65);
    text-align: center;
    max-width: 200px;
    line-height: 1.45;
}

.dt-scan-card__body {
    padding: 1.75rem 1.75rem 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.65rem;
    border-left: 1px solid rgba(196,154,108,0.15);
}

.dt-scan-card__title {
    font-family: var(--dt-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dt-text);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.dt-scan-card__url {
    font-size: 0.88rem;
    color: rgba(240,236,230,0.78);
    line-height: 1.5;
    word-break: break-all;
}
.dt-scan-card__url strong {
    color: var(--dt-gold);
    font-weight: 700;
}
.dt-scan-card__url-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dt-muted);
    margin-bottom: 0.25rem;
}

.dt-scan-card__steps {
    list-style: none;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.dt-scan-card__steps li {
    position: relative;
    padding-left: 1.15rem;
    font-size: 0.88rem;
    color: rgba(240,236,230,0.72);
    line-height: 1.5;
}
.dt-scan-card__steps li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--dt-gold);
    box-shadow: 0 0 0 3px rgba(196,154,108,0.15);
}

/* Hero image label */
.dt-hero__img-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
}
.dt-hero__img-label {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    background: #3b1f0f;
    color: rgba(240,236,230,0.9);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
}
.dt-hero__phone {
    display: flex;
    justify-content: center;
}

.dt-phone-frame {
    width: 100%;
    border-radius: var(--dt-radius);
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.dt-phone-frame__img {
    width: 100%;
    height: auto;
    display: block;
}

/* =============================================================
   SECTIONS: shared
   ============================================================= */
.dt-section {
    padding: 6rem 2rem;
}
.dt-section--dark  { background: var(--dt-bg); }
.dt-section--mid   { background: var(--dt-surface); }
.dt-section--cta   {
    background: var(--dt-surface2);
    border-top: 1px solid var(--dt-border);
    border-bottom: 1px solid var(--dt-border);
}

.dt-section__inner {
    max-width: var(--dt-max);
    margin: 0 auto;
}

.dt-section__inner--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.dt-section__inner--reverse .dt-section__visual { order: -1; }

.dt-section__inner--center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dt-section__title {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--dt-text);
    margin-bottom: 1.25rem;
}

.dt-section__body {
    font-size: 1rem;
    color: rgba(240,236,230,0.72);
    line-height: 1.75;
    margin-bottom: 1rem;
    max-width: 520px;
}
.dt-section__body--emphasis {
    color: var(--dt-text);
    font-weight: 600;
    font-size: 1.05rem;
    margin-top: 1.25rem;
    margin-bottom: 0;
}

/* ── Feature list ── */
.dt-list {
    list-style: none;
    margin: 1.25rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.dt-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.95rem;
    color: rgba(240,236,230,0.85);
    line-height: 1.5;
}
.dt-list li::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border-radius: 50%;
    background: rgba(196,154,108,0.18);
    border: 1.5px solid var(--dt-gold);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%23C49A6C' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px 8px;
}

/* =============================================================
   SECTION 2: Image grid
   ============================================================= */
.dt-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.75rem;
}
.dt-image-grid__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--dt-radius);
    border: 1px solid var(--dt-border);
}
.dt-image-grid__img--tall {
    grid-row: span 2;
    height: 100%;
    min-height: 410px;
}

/* =============================================================
   SECTION 3: QR CTA
   ============================================================= */
.dt-cta__title {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--dt-text);
    margin-bottom: 1.25rem;
    max-width: 680px;
    text-align: center;
}
.dt-cta__body {
    font-size: 1.05rem;
    color: rgba(240,236,230,0.72);
    line-height: 1.75;
    max-width: 560px;
    text-align: center;
    margin-bottom: 3rem;
}

/* Bottom QR showcase */
.dt-qr-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.35rem;
    padding: 2.5rem 2rem 2rem;
}
.dt-qr-showcase__ring {
    position: absolute;
    inset: 0;
    margin: auto;
    width: min(320px, 88vw);
    height: min(320px, 88vw);
    border-radius: 50%;
    background: conic-gradient(from 120deg, rgba(196,154,108,0.35), transparent 40%, rgba(196,154,108,0.12) 70%, rgba(196,154,108,0.35));
    opacity: 0.5;
    filter: blur(2px);
    pointer-events: none;
    animation: dt-ring-spin 18s linear infinite;
}
@keyframes dt-ring-spin {
    to { transform: rotate(360deg); }
}
.dt-qr-showcase__inner {
    position: relative;
    z-index: 1;
    padding: 1.35rem;
    background: linear-gradient(180deg, #fff 0%, var(--dt-cream) 100%);
    border-radius: 24px;
    box-shadow:
        0 24px 70px rgba(0,0,0,0.45),
        0 0 0 1px rgba(196,154,108,0.35),
        0 0 0 8px rgba(26,23,19,0.5);
}
.dt-qr-showcase__img {
    width: 260px;
    height: 260px;
    display: block;
    border-radius: 12px;
    image-rendering: crisp-edges;
}
.dt-qr-showcase__caption {
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dt-gold);
    text-align: center;
    letter-spacing: 0.02em;
    word-break: break-all;
    max-width: 320px;
}

/* =============================================================
   FOOTER
   ============================================================= */
.dt-footer {
    background: var(--dt-bg);
    border-top: 1px solid var(--dt-border);
    padding: 2.5rem 2rem;
}
.dt-footer__inner {
    max-width: var(--dt-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
}
.dt-footer__logo {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--dt-text);
}
.dt-footer__logo span { color: var(--dt-gold); }
.dt-footer__line {
    font-size: 0.82rem;
    color: var(--dt-muted);
}
.dt-footer__line a {
    color: var(--dt-gold);
}
.dt-footer__line a:hover { text-decoration: underline; }

/* =============================================================
   RESPONSIVE: tablet and below → serve mobile demo instead
   ============================================================= */
@media (max-width: 860px) {
    .dt-hero__inner {
        grid-template-columns: 1fr;
        padding: 3rem 1.5rem 4rem;
    }
    .dt-hero__phone { display: none; order: 0; }
    .dt-scan-card {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    .dt-scan-card__body {
        border-left: none;
        border-top: 1px solid rgba(196,154,108,0.15);
        padding: 1.5rem 1.35rem 1.75rem;
    }
    .dt-section__inner--split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .dt-section__inner--reverse .dt-section__visual { order: 0; }
    .dt-section { padding: 4rem 1.5rem; }
    .dt-image-grid__img--tall { min-height: 220px; }
}

@media (max-width: 520px) {
    .dt-section { padding: 3rem 1.25rem; }
    .dt-scan-card__qr-img { width: 200px; height: 200px; }
    .dt-qr-showcase__img { width: 220px; height: 220px; }
    .dt-topbar__link { font-size: 0.72rem; max-width: 9rem; text-align: right; line-height: 1.3; }
}
