/* ══════════════════════════════════════
   SweenEats — Styles
   Yellow/Gold brand, warm & inviting
   ══════════════════════════════════════ */

:root {
    --gold: #F2A900;
    --gold-light: #FFD54F;
    --gold-dark: #E09200;
    --amber: #FF8F00;
    --warm-bg: #FFFDF5;
    --warm-bg-alt: #FFF8E7;
    --dark: #1a1a2e;
    --dark-soft: #2d2d44;
    --medium-gray: #6b7280;
    --light-gray: #f3f4f6;
    --white: #ffffff;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.1);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p { color: var(--medium-gray); margin-bottom: 1rem; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-lg { padding: 14px 32px; font-size: 16px; }

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--amber));
    color: var(--white);
    box-shadow: 0 4px 16px rgba(242, 169, 0, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(242, 169, 0, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border-color: var(--dark);
}

.btn-outline:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* ── NAVIGATION ── */
.nav-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.nav-title {
    font-size: 1.4rem;
    color: var(--dark);
    font-weight: 400;
}

.nav-title strong {
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold), var(--amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-cta-mobile {
    display: none;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--medium-gray);
    transition: color 0.2s;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}

.nav-link:hover::after { width: 100%; }

.nav-cta .btn { padding: 8px 20px; font-size: 14px; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-link.active {
    color: var(--dark);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

/* ── HERO ── */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(160deg, var(--warm-bg) 0%, var(--white) 60%, var(--warm-bg-alt) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-dark);
    background: rgba(242, 169, 0, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-title { margin-bottom: 1.5rem; }

.text-gradient {
    background: linear-gradient(135deg, var(--gold), var(--amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-buttons { margin-bottom: 2.5rem; }

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat strong {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold), var(--amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat span {
    font-size: 0.85rem;
    color: var(--medium-gray);
    font-weight: 500;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-knight {
    width: 100%;
    max-width: 420px;
}

/* ── SECTION SHARED ── */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { font-size: 1.15rem; }

/* ── HOW IT WORKS ── */
.how-it-works {
    padding: 100px 0;
    background: var(--white);
}

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

.step {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    background: var(--warm-bg);
    position: relative;
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--amber));
    color: var(--white);
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(242, 169, 0, 0.3);
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.step h3 { margin-bottom: 0.75rem; }
.step p { font-size: 0.95rem; margin-bottom: 0; }

/* ── RESTAURANTS / FEATURES ── */
.restaurants {
    padding: 100px 0;
    background: var(--warm-bg);
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.95rem; margin-bottom: 0; }

/* ── ZONES / MAP ── */
.zones-section {
    padding: 100px 0;
    background: var(--white);
}

.zones-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.zones-content h2 { margin-bottom: 1rem; }

.zones-content > p {
    font-size: 1.05rem;
    line-height: 1.7;
}

.zone-highlights {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.zone-highlights li {
    font-size: 0.95rem;
    color: var(--medium-gray);
    padding-left: 1.5rem;
    position: relative;
}

.zone-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

.zone-highlights li strong { color: var(--dark); }

.zone-cta-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold-dark);
}

.zones-map-wrap {
    position: relative;
}

.zone-map {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.zone-map-skeleton {
    position: absolute;
    inset: 0;
    z-index: 399;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
    transition: opacity 0.4s ease;
}

.zone-map-skeleton.loaded {
    opacity: 0;
    pointer-events: none;
}

.zone-map-skeleton-pulse {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid var(--gold-light);
    border-top-color: var(--gold);
    animation: skeleton-spin 0.8s linear infinite;
}

.zone-map-skeleton span {
    font-size: 0.8rem;
    color: var(--medium-gray);
    font-weight: 500;
}

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

.zone-map-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1.5rem;
    z-index: 400;
    cursor: pointer;
    background: linear-gradient(transparent 60%, rgba(0,0,0,0.25));
}

.zone-map-overlay span {
    background: var(--white);
    color: var(--dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* ── ZONE FULLMAP OVERLAY ── */
.zone-fullmap {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 2000;
    display: none;
    flex-direction: column;
}

.zone-fullmap.active { display: flex; }

.zone-fullmap-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    background: var(--white);
    z-index: 2001;
}

.zone-fullmap-header h3 {
    font-size: 1rem;
    font-weight: 700;
}

.zone-fullmap-back {
    padding: 6px 16px;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.zone-fullmap-back:hover {
    background: var(--light-gray);
}

.zone-fullmap-map {
    flex: 1;
}

/* ── DOWNLOAD ── */
.download-section {
    padding: 100px 0;
    background: linear-gradient(160deg, var(--warm-bg-alt) 0%, var(--warm-bg) 100%);
}

.download-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.download-content h2 {
    margin-bottom: 1rem;
}

.download-content > p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.download-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.store-badge {
    display: inline-block;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.store-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.store-badge svg { display: block; }

.download-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-knight {
    width: 100%;
    max-width: 320px;
}

/* ── CONTACT ── */
.contact-section {
    padding: 100px 0;
    background: var(--white);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--warm-bg);
    transition: var(--transition);
    border: 1px solid transparent;
    display: block;
}

.contact-card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
    word-break: break-word;
}

.contact-card small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--medium-gray);
}

/* ── FOOTER ── */
.footer {
    padding: 60px 0 30px;
    background: var(--dark);
    color: rgba(255,255,255,0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-title {
    font-size: 1.4rem;
    color: var(--white);
    display: block;
    margin-bottom: 0.75rem;
}

.footer-title strong {
    color: var(--gold);
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    max-width: 300px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }

.footer-col a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

/* ── CAREERS SECTION (homepage banner) ── */
.careers-section {
    padding: 80px 0;
    background: var(--dark);
}

.careers-banner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.careers-text h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.careers-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* ── CAREERS PAGE ── */
.careers-hero {
    padding: 140px 0 80px;
    background: linear-gradient(160deg, var(--warm-bg) 0%, var(--white) 60%, var(--warm-bg-alt) 100%);
    text-align: center;
}

.careers-hero h1 {
    margin-bottom: 1.5rem;
}

.careers-hero p {
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto;
}

.careers-roles {
    padding: 80px 0;
    background: var(--white);
}

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

.role-card {
    background: var(--warm-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid transparent;
}

.role-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.role-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.role-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.role-card > p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.role-perks {
    list-style: none;
    padding: 0;
    margin: 0;
}

.role-perks li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.role-perks li::before {
    content: "✓";
    color: var(--gold-dark);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.careers-apply {
    padding: 80px 0;
    background: var(--warm-bg);
}

.careers-form-wrap {
    max-width: 680px;
    margin: 0 auto;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.careers-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.careers-form .form-group {
    margin-bottom: 1.5rem;
}

.careers-form label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.careers-form input,
.careers-form select,
.careers-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    background: var(--white);
    transition: var(--transition);
}

.careers-form input:focus,
.careers-form select:focus,
.careers-form textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.careers-form textarea {
    resize: vertical;
    min-height: 120px;
}

.careers-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}

.careers-form .btn {
    width: 100%;
    margin-top: 0.5rem;
}

/* ── SCROLL ANIMATIONS ── */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */

@media (max-width: 1024px) {
    .hero-container { gap: 2rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* Nav */
    .nav-menu {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem 24px;
        gap: 1rem;
        box-shadow: var(--shadow-md);
        border-bottom: 2px solid var(--gold);
    }
    .nav-menu.active { display: flex; }
    .nav-menu .nav-cta-mobile {
        display: block;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(0,0,0,0.06);
    }
    .nav-menu .nav-cta-mobile .btn {
        width: 100%;
        text-align: center;
    }
    .nav-cta { display: none; }
    .nav-toggle { display: flex; }
    body.nav-open { overflow: hidden; }

    /* Hero */
    .hero { padding: 110px 0 60px; min-height: auto; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { order: 2; }
    .hero-visual { order: 1; }
    .hero-knight { max-width: 260px; margin: 0 auto; }
    .hero-description { max-width: 100%; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-tag { margin-bottom: 1rem; }

    /* Steps */
    .steps-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

    /* Features */
    .features-grid { grid-template-columns: 1fr; }

    /* Zones */
    .zones-layout { grid-template-columns: 1fr; }
    .zone-map { height: 300px; }

    /* Download */
    .download-layout { grid-template-columns: 1fr; text-align: center; }
    .download-badges { justify-content: center; }
    .download-visual { order: -1; }
    .download-knight { max-width: 220px; margin: 0 auto; }

    /* Contact */
    .contact-cards { grid-template-columns: 1fr; max-width: 400px; }

    /* Careers */
    .roles-grid { grid-template-columns: 1fr; }
    .careers-form .form-row { grid-template-columns: 1fr; }
    .careers-form-wrap { padding: 1.5rem; }
    .careers-hero { padding: 110px 0 60px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .hero-stat strong { font-size: 1.4rem; }
    .hero-stats { gap: 1.5rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn-lg { width: 100%; }
    .step { padding: 2rem 1.5rem; }
}
