/* ── Google Font ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

/* ── Design Tokens ── */
:root {
    --bg:          #0d0d0d;
    --bg-card:     #141414;
    --orange:      #e07b1f;
    --orange-light:#f5a623;
    --orange-glow: rgba(224,123,31,0.18);
    --text:        #f0ece6;
    --muted:       #9a9083;
    --border:      rgba(255,255,255,0.07);
    --blob:        rgba(139,78,20,0.55);
    --grid-line:   rgba(255,255,255,0.035);
    --font:        'Inter', sans-serif;
}

/* ── Body ── */
body {
    font-family: var(--font);
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    /* Subtle grid pattern like the reference */
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 48px 48px;
}

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 5vw;
    height: 68px;
    display: flex;
    align-items: center;
    background: rgba(13,13,13,0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

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

.logo img {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.05);
}

/* ── Nav Timer (small ring in top-right) ── */
.nav-timer {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-timer .timer-svg {
    position: absolute;
    top: 0; left: 0;
    transform: rotate(-90deg);
}

.nav-timer .timer-track {
    fill: none;
    stroke: rgba(224,123,31,0.2);
    stroke-width: 3;
}

.nav-timer .timer-ring {
    fill: none;
    stroke: var(--orange);
    stroke-width: 3;
    stroke-linecap: round;
    /* circumference = 2π × 14 ≈ 87.96 */
    stroke-dasharray: 87.96;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s linear;
    filter: drop-shadow(0 0 4px var(--orange));
}

#countdown {
    position: relative;
    font-size: 13px;
    font-weight: 700;
    color: var(--orange-light);
    line-height: 1;
}

/* ── Hero Layout ── */
.hero {
    min-height: 100vh;
    padding-top: 68px; /* offset navbar */
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 5vw;
    padding-right: 5vw;
}

/* ── Left Column ── */
.hero-left {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-right: 32px;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(224,123,31,0.12);
    border: 1px solid rgba(224,123,31,0.35);
    color: var(--orange-light);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 6px 14px;
    border-radius: 100px;
    width: fit-content;
}

/* Headline */
.hero-title {
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 900;
    line-height: 1.12;
    color: #f0ece6;
    letter-spacing: -0.02em;
}

.hero-title .line2 {
    color: #d4c4b0;
}

.hero-title .accent {
    color: var(--orange);
    font-style: italic;
}

/* Description */
.hero-desc {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 440px;
}

.hero-desc strong {
    color: #ccc;
}

/* CTA Row */
.cta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    font-size: 14.5px;
    padding: 13px 26px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 24px rgba(224,123,31,0.35);
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    background: var(--orange-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(224,123,31,0.5);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: var(--text);
    font-weight: 600;
    font-size: 14.5px;
    padding: 12px 24px;
    border-radius: 8px;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.btn-ghost:hover {
    border-color: rgba(255,255,255,0.25);
    color: #fff;
    background: rgba(255,255,255,0.05);
}

/* Redirect message */
.redirect-msg {
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.01em;
}

.countdown-inline {
    color: var(--orange-light);
    font-weight: 700;
}

/* ── Right Column ── */
.hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 420px;
}

/* Warm brown blob behind illustration */
.blob {
    position: absolute;
    width: 72%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 45%, #7a3d10 0%, #4a2005 45%, transparent 72%);
    filter: blur(2px);
    opacity: 0.75;
    z-index: 0;
}

.illustration {
    position: relative;
    z-index: 1;
    width: min(90%, 520px);
    height: auto;
    object-fit: contain;
    animation: float 5s ease-in-out infinite;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,0.7));
}

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

/* ── Voice Toast ── */
.voice-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(20, 14, 8, 0.85);
    border: 1px solid rgba(224,123,31,0.4);
    color: var(--orange-light);
    padding: 11px 22px;
    border-radius: 100px;
    font-size: 13.5px;
    font-weight: 500;
    backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    white-space: nowrap;
    z-index: 999;
    box-shadow: 0 4px 24px rgba(224,123,31,0.15);
}

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

/* ── Responsive ── */
@media (max-width: 860px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 88px;
        padding-bottom: 40px;
        gap: 40px;
    }

    .hero-left {
        align-items: center;
        padding-right: 0;
    }

    .hero-desc {
        max-width: 100%;
    }

    .hero-right {
        min-height: 280px;
    }

    .blob {
        width: 85%;
    }

    .illustration {
        width: min(85%, 380px);
    }

    .hero-title {
        font-size: clamp(28px, 8vw, 42px);
    }
}

@media (max-width: 480px) {
    .cta-row {
        flex-direction: column;
        width: 100%;
    }
    .btn-primary, .btn-ghost {
        width: 100%;
        justify-content: center;
    }
    .voice-toast {
        font-size: 12px;
        padding: 9px 16px;
        white-space: normal;
        text-align: center;
        max-width: 90vw;
    }
}