/* Landing - sunset glass hero + product sections */

.hero {
    position: relative;
    overflow: hidden;
    padding: 2.6rem 0 4.2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: 2.4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.38rem 0.85rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
    border: 1px solid rgba(var(--primary-rgb), 0.16);
}

.hero h1 {
    margin: 0 0 0.9rem;
    font-size: clamp(2rem, 4.4vw, 3.2rem);
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.hero-lead {
    margin: 0 0 1.4rem;
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 36rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.35rem;
}

.stat-pill {
    padding: 0.75rem 0.95rem;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
    min-width: 118px;
}

.stat-pill strong {
    display: block;
    font-size: 0.98rem;
    color: var(--primary);
}

.stat-pill span {
    font-size: 0.74rem;
    color: var(--text-muted);
}

/* ── Hero device stage ── */

.hero-stage {
    position: relative;
    min-height: 560px;
}

.hero-stage::before {
    content: '';
    position: absolute;
    width: 78%;
    height: 78%;
    inset-inline-end: 0;
    top: 6%;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.32), rgba(251, 113, 133, 0.12) 42%, transparent 70%);
    filter: blur(8px);
    pointer-events: none;
    z-index: 0;
}

.demo-tabs,
.stage-board {
    position: relative;
    z-index: 1;
}

.demo-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-bottom: 1.1rem;
}

.demo-tab {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    border-radius: 999px;
    padding: 0.38rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 750;
    cursor: pointer;
    backdrop-filter: blur(12px);
}

.demo-tab.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff7ed;
}

.stage-board {
    position: relative;
    height: 520px;
}

.device {
    position: absolute;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, z-index 0s;
    transform-origin: center center;
}

.device.is-back {
    opacity: 0.42;
    filter: saturate(0.8);
    pointer-events: none;
}

.hero-stage[data-demo="menu"] .dev-menu,
.hero-stage[data-demo="admin"] .dev-admin,
.hero-stage[data-demo="taker"] .dev-taker,
.hero-stage[data-demo="prep"] .dev-prep {
    opacity: 1;
    filter: none;
    z-index: 5;
    pointer-events: auto;
}

.dev-menu { top: 18px; inset-inline-end: 8%; z-index: 3; }
.dev-admin { top: 36px; inset-inline-start: 0; z-index: 2; }
.dev-taker { bottom: 8px; inset-inline-start: 12%; z-index: 4; }
.dev-prep { bottom: 0; inset-inline-end: 2%; z-index: 3; }

.hero-stage[data-demo="menu"] .dev-menu { transform: translateY(-6px) scale(1.04); }
.hero-stage[data-demo="admin"] .dev-admin { transform: translateY(-8px) scale(1.05); }
.hero-stage[data-demo="taker"] .dev-taker { transform: translateY(-8px) scale(1.06); }
.hero-stage[data-demo="prep"] .dev-prep { transform: translateY(-8px) scale(1.06); }

.hero-stage[data-demo="menu"] .dev-admin { transform: translate(-12px, 18px) scale(0.86); }
.hero-stage[data-demo="menu"] .dev-taker { transform: translate(20px, 10px) scale(0.88); }
.hero-stage[data-demo="menu"] .dev-prep { transform: translate(8px, 16px) scale(0.86); }

.phone {
    width: 248px;
    height: 508px;
    border-radius: 34px;
    padding: 10px;
    background: linear-gradient(180deg, #2a160c, #1c1008);
    box-shadow:
        0 24px 50px rgba(124, 45, 18, 0.28),
        inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.phone-screen {
    height: 100%;
    border-radius: 26px;
    overflow: hidden;
    background: #fff7ed;
    display: flex;
    flex-direction: column;
    color: #7c2d12;
    font-size: 11px;
}

html[data-theme="dark"] .phone-screen {
    background: #2a160c;
    color: #ffedd5;
}

.phone-notch {
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    font-size: 9px;
    font-weight: 700;
    opacity: 0.7;
}

.laptop {
    width: 430px;
    border-radius: 16px 16px 10px 10px;
    background: #1c1008;
    padding: 10px 10px 0;
    box-shadow: 0 22px 48px rgba(124, 45, 18, 0.24);
}

.laptop-screen {
    height: 248px;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    background: #ffedd5;
    display: grid;
    grid-template-columns: 72px 1fr;
}

html[data-theme="dark"] .laptop-screen { background: #22140c; }

.laptop-lid {
    height: 12px;
    border-radius: 0 0 14px 14px;
    background: linear-gradient(180deg, #2a160c, #120a06);
}

.tablet {
    width: 320px;
    height: 228px;
    border-radius: 18px;
    padding: 8px;
    background: #1c1008;
    box-shadow: 0 18px 40px rgba(124, 45, 18, 0.22);
}

.tablet-screen {
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #fff7ed;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    color: #7c2d12;
    font-size: 10px;
}

html[data-theme="dark"] .tablet-screen {
    background: #2a160c;
    color: #ffedd5;
}

/* Guest menu UI */
.menu-hero {
    padding: 8px 10px 6px;
    background:
        linear-gradient(160deg, rgba(194, 65, 12, 0.16), transparent 60%),
        #fff4e5;
}

html[data-theme="dark"] .menu-hero { background: linear-gradient(160deg, rgba(194, 65, 12, 0.28), #2a160c); }

.menu-kicker {
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 8px;
    color: #c2410c;
    margin: 0 0 2px;
}

.menu-hero h3 {
    margin: 0;
    font-size: 16px;
}

.menu-meta {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}

.menu-chip {
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(194, 65, 12, 0.12);
    font-size: 9px;
    font-weight: 700;
}

.menu-cats {
    display: flex;
    gap: 5px;
    padding: 8px 10px 0;
}

.menu-cats span {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(194, 65, 12, 0.08);
    font-weight: 700;
}

.menu-cats span.on {
    background: #c2410c;
    color: #fff7ed;
}

.menu-list { padding: 8px 10px; display: grid; gap: 7px; flex: 1; }

.menu-item {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    gap: 7px;
    align-items: center;
    padding: 6px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(194, 65, 12, 0.1);
}

html[data-theme="dark"] .menu-item {
    background: rgba(255, 255, 255, 0.05);
}

.menu-thumb {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background:
        radial-gradient(circle at 30% 30%, #fdba74, #c2410c 70%);
}

.menu-thumb.t2 { background: radial-gradient(circle at 30% 30%, #fecaca, #9a3412 72%); }
.menu-thumb.t3 { background: radial-gradient(circle at 30% 30%, #fde68a, #b45309 72%); }

.menu-item strong { display: block; font-size: 11px; }
.menu-item em { font-style: normal; opacity: 0.65; font-size: 9px; }
.menu-price { font-weight: 800; font-size: 10px; color: #c2410c; }

.menu-dock {
    margin-top: auto;
    padding: 8px 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(194, 65, 12, 0.1);
    font-weight: 800;
}

.menu-dock b {
    background: #c2410c;
    color: #fff7ed;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 10px;
}

/* Admin laptop UI */
.admin-side {
    background: linear-gradient(180deg, rgba(194, 65, 12, 0.72), rgba(194, 65, 12, 0.42));
    color: #fff7ed;
    padding: 10px 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 8px;
    text-align: center;
    font-weight: 700;
}

.admin-side .mm {
    width: 28px;
    height: 28px;
    margin: 0 auto 6px;
    border-radius: 8px;
    background: #fff7ed;
    color: #c2410c;
    display: grid;
    place-items: center;
    font-size: 9px;
}

.admin-side span {
    padding: 6px 2px;
    border-radius: 10px;
    opacity: 0.85;
}

.admin-side span.on { background: rgba(255, 255, 255, 0.22); opacity: 1; }

.admin-main { padding: 10px 12px; font-size: 10px; color: #7c2d12; }

html[data-theme="dark"] .admin-main { color: #ffedd5; }

.admin-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.admin-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 8px;
}

.kpi {
    padding: 7px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(194, 65, 12, 0.12);
}

html[data-theme="dark"] .kpi { background: rgba(255, 255, 255, 0.05); }

.kpi i { display: block; font-size: 8px; opacity: 0.65; }
.kpi b { font-size: 11px; color: #c2410c; }

.floor {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}

.tbl {
    height: 34px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 9px;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(194, 65, 12, 0.1);
}

.tbl.busy { background: rgba(194, 65, 12, 0.18); color: #c2410c; }
.tbl.wait { background: rgba(245, 158, 11, 0.28); }

/* Taker tablet */
.taker-q, .taker-c { padding: 8px; }

.taker-q { border-inline-end: 1px solid rgba(194, 65, 12, 0.1); }

.q-card {
    padding: 6px;
    border-radius: 10px;
    margin-top: 6px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(234, 179, 8, 0.45);
}

.q-card strong { display: block; }
.q-card span { opacity: 0.7; }

.pills { display: flex; gap: 4px; flex-wrap: wrap; margin: 6px 0; }

.pills i {
    font-style: normal;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(194, 65, 12, 0.1);
    font-weight: 700;
}

.pills i.on {
    background: #c2410c;
    color: #fff7ed;
}

.prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }

.prod {
    padding: 5px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(194, 65, 12, 0.1);
}

.confirm {
    margin-top: 6px;
    width: 100%;
    border: 0;
    border-radius: 999px;
    background: #c2410c;
    color: #fff7ed;
    font-weight: 800;
    padding: 6px;
    font-size: 10px;
}

/* Prep tickets */
.prep-head {
    padding: 8px 10px;
    font-weight: 800;
    background: rgba(194, 65, 12, 0.1);
}

.ticket {
    margin: 8px 10px;
    padding: 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(194, 65, 12, 0.12);
}

.ticket code {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.ticket ul { margin: 6px 0; padding: 0 1rem; }
.acts { display: flex; gap: 5px; }
.acts b, .acts i {
    flex: 1;
    text-align: center;
    padding: 5px;
    border-radius: 999px;
    font-style: normal;
    font-size: 9px;
}
.acts b { background: #c2410c; color: #fff7ed; }
.acts i { background: rgba(245, 158, 11, 0.25); }

/* Sections */

section { padding: 4.4rem 0; }

.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2.6rem;
}

.section-head h2 {
    margin: 0 0 0.7rem;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.section-head p {
    margin: 0;
    color: var(--text-muted);
}

.section-alt { position: relative; }

.benefits-grid,
.modules-grid,
.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
}

.benefit-card,
.module-card,
.audience-card,
.step-card {
    padding: 1.4rem;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    box-shadow: var(--shadow-sm);
}

.benefit-card:hover,
.audience-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.benefit-icon,
.audience-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 0.9rem;
}

.audience-icon { margin-inline: auto; }

.audience-card { text-align: center; }

.benefit-card h3,
.module-card h3,
.audience-card h3,
.step-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.02rem;
}

.benefit-card p,
.module-card p,
.audience-card p,
.step-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.module-card .icon {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 0.65rem;
}

.platform-strip {
    margin-top: 1.8rem;
    padding: 1.2rem;
    border-radius: var(--radius);
    background: var(--primary-soft);
    border: 1px solid rgba(var(--primary-rgb), 0.18);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.platform-item { text-align: center; padding: 0.55rem; }

.platform-item i {
    font-size: 1.35rem;
    color: var(--primary);
    display: block;
    margin-bottom: 0.3rem;
}

.platform-item span { font-size: 0.8rem; font-weight: 700; }

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

.step-num {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: #fff7ed;
    font-weight: 800;
    margin-bottom: 0.85rem;
}

.news-inner,
.cta-inner {
    padding: 2rem;
    border-radius: 24px;
    background: var(--surface);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
}

.news-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    flex-wrap: wrap;
}

.news-copy h2 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.2rem, 2.4vw, 1.6rem);
}

.news-copy p:last-child {
    margin: 0;
    color: var(--text-muted);
    max-width: 36rem;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1.15rem;
    border-radius: 999px;
    background: var(--primary);
    color: #fff7ed;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(var(--primary-rgb), 0.28);
}

.cta-inner {
    text-align: center;
    background:
        linear-gradient(135deg, rgba(194, 65, 12, 0.92), rgba(234, 88, 12, 0.82));
    color: #fff7ed;
    border: 0;
}

.cta-inner h2 { margin: 0 0 0.65rem; }
.cta-inner p { margin: 0 auto; max-width: 640px; opacity: 0.92; }

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.3rem;
    align-items: center;
}

.ghost-link {
    color: #fff7ed;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.88rem;
}

@media (max-width: 1100px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-stage { min-height: auto; }
    .stage-board {
        height: auto;
        display: grid;
        justify-items: center;
        gap: 1.2rem;
        padding-bottom: 0.5rem;
    }
    .device {
        position: static;
        opacity: 0;
        display: none;
        transform: none !important;
        filter: none;
    }
    .hero-stage[data-demo="menu"] .dev-menu,
    .hero-stage[data-demo="admin"] .dev-admin,
    .hero-stage[data-demo="taker"] .dev-taker,
    .hero-stage[data-demo="prep"] .dev-prep {
        display: block;
        opacity: 1;
    }
}

@media (max-width: 900px) {
    .benefits-grid,
    .modules-grid,
    .audience-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid,
    .platform-strip { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .benefits-grid,
    .modules-grid,
    .audience-grid,
    .steps-grid { grid-template-columns: 1fr; }
    .laptop { width: min(430px, 100%); }
    .phone { width: min(248px, 88vw); height: 500px; }
}

@media (prefers-reduced-motion: reduce) {
    .device { transition: none; }
    .benefit-card:hover,
    .audience-card:hover { transform: none; }
}
