/* ===== Reset & base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #0b0a09;
    --bg-alt: #121110;
    --ink: #f3efe9;
    --ink-dim: #b8b2a9;
    --ink-faint: #79736a;
    --kitchen: #ff8a3d;
    --code: #3ddcc9;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --radius: 14px;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ===== Nav ===== */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 10, 9, 0.82);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 600;
}
.logo-mark { border-radius: 7px; }
.logo-kitchen { color: var(--kitchen); }
.logo-code { color: var(--code); }
.logo-sep { color: var(--ink-faint); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.92rem;
    color: var(--ink-dim);
    transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }

.lang-toggle {
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 6px 14px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.lang-toggle:hover { border-color: var(--code); background: rgba(61, 220, 201, 0.08); }

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--ink);
    font-size: 1.4rem;
    cursor: pointer;
}

.nav-mobile-menu {
    display: none;
    flex-direction: column;
    padding: 0 32px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    border-top: 1px solid var(--line);
}
.nav-mobile-menu.open {
    max-height: 300px;
    padding: 16px 32px 24px;
}
.nav-mobile-menu a {
    padding: 12px 0;
    color: var(--ink-dim);
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
}
.nav-mobile-menu a:last-child { border-bottom: none; }

/* ===== Hero ===== */
.hero {
    position: relative;
    overflow: hidden;
    padding: 120px 32px 100px;
    text-align: center;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}
.hero-glow-1 {
    width: 480px; height: 480px;
    background: var(--kitchen);
    top: -160px; left: -120px;
}
.hero-glow-2 {
    width: 480px; height: 480px;
    background: var(--code);
    bottom: -200px; right: -140px;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-dim);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 7px 16px;
    margin-bottom: 28px;
}

.hero-title {
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    line-height: 1.08;
    margin-bottom: 24px;
}
.hero-from { display: block; color: var(--ink-dim); font-weight: 400; font-style: italic; font-size: 0.5em; margin-bottom: 6px; }
.hero-split { display: inline-flex; align-items: center; gap: 0.25em; flex-wrap: wrap; justify-content: center; }
.split-kitchen { color: var(--kitchen); }
.split-divider { color: var(--ink-faint); }
.split-code { color: var(--code); }

.hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: var(--ink);
    font-weight: 500;
    margin-bottom: 14px;
}

.hero-desc {
    font-size: 1rem;
    color: var(--ink-dim);
    max-width: 560px;
    margin: 0 auto 36px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.btn-primary, .btn-ghost {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}
.btn-primary {
    background: linear-gradient(135deg, var(--kitchen), #ffb066);
    color: #1a0f00;
}
.btn-primary:hover { transform: translateY(-2px); opacity: 0.92; }
.btn-ghost {
    border: 1px solid var(--line-strong);
    color: var(--ink);
}
.btn-ghost:hover { border-color: var(--code); color: var(--code); }

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}
.stat { text-align: center; }
.stat-n {
    display: block;
    font-family: var(--serif);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--ink);
}
.stat-l {
    display: block;
    font-size: 0.78rem;
    color: var(--ink-faint);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 2px;
}
.stat-sep {
    width: 1px;
    height: 32px;
    background: var(--line-strong);
}

.hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--ink-faint);
    font-size: 1.3rem;
    animation: bob 2.2s ease-in-out infinite;
    z-index: 1;
}
@keyframes bob {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

/* ===== Section base ===== */
.section {
    padding: 100px 0;
}
.section-dark {
    background: var(--bg-alt);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-header {
    max-width: 620px;
    margin: 0 auto 56px;
    text-align: center;
}
.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--code);
    margin-bottom: 14px;
}
.section-header h2 {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 600;
    margin-bottom: 14px;
}
.section-header p {
    color: var(--ink-dim);
    font-size: 1.02rem;
}

/* ===== Products ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s ease, transform 0.25s ease;
}
.product-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }

.product-featured {
    border-color: rgba(255, 138, 61, 0.35);
    background: linear-gradient(180deg, rgba(255, 138, 61, 0.06), var(--bg-alt) 60%);
}
.product-soon { opacity: 0.94; }

.product-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.product-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}
.product-status {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 5px 11px;
    border-radius: 999px;
}
.status-live { background: rgba(61, 220, 201, 0.14); color: var(--code); }
.status-soon { background: rgba(255, 138, 61, 0.14); color: var(--kitchen); }

.product-card h3 {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.product-card > p {
    color: var(--ink-dim);
    font-size: 0.94rem;
    margin-bottom: 18px;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    flex-grow: 1;
}
.product-features li {
    font-size: 0.88rem;
    color: var(--ink-dim);
    padding-left: 20px;
    position: relative;
}
.product-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--code);
}

.product-cta {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--code);
    align-self: flex-start;
    padding-top: 4px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}
.product-cta:hover { border-color: var(--code); }

.product-ctas-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.product-cta-sm { font-size: 0.85rem; }
.product-cta-alt { color: var(--ink-dim); }

.notify-form {
    display: flex;
    gap: 8px;
}
.notify-form input {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 0.88rem;
}
.notify-form input::placeholder { color: var(--ink-faint); }
.notify-form input:focus { outline: none; border-color: var(--code); }
.notify-form button {
    background: var(--kitchen);
    color: #1a0f00;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}
.notify-form button:hover { opacity: 0.88; }

/* ===== Story ===== */
.story-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: start;
}

.story-text p {
    color: var(--ink-dim);
    font-size: 1rem;
    margin-bottom: 20px;
}

.story-quote {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--ink);
    border-left: 3px solid var(--kitchen);
    padding-left: 20px;
    margin-top: 28px;
}

.story-timeline {
    position: relative;
    padding-left: 28px;
}
.story-timeline::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: var(--line-strong);
}

.tl-item {
    position: relative;
    padding-bottom: 32px;
}
.tl-item:last-child { padding-bottom: 0; }

.tl-dot {
    position: absolute;
    left: -28px;
    top: 4px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--ink-faint);
    border: 2px solid var(--bg-alt);
}
.tl-dot-active {
    background: var(--code);
    box-shadow: 0 0 0 4px rgba(61, 220, 201, 0.18);
}
.tl-dot-future {
    background: transparent;
    border: 2px solid var(--kitchen);
}

.tl-year {
    display: block;
    font-size: 0.78rem;
    color: var(--ink-faint);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}
.tl-content strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.tl-content span {
    display: block;
    font-size: 0.88rem;
    color: var(--ink-dim);
}
.tl-future .tl-content strong,
.tl-future .tl-content span { color: var(--ink-faint); }

/* ===== Roadmap ===== */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.roadmap-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px;
}
.roadmap-check {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.06);
    color: var(--ink-faint);
}
.roadmap-done .roadmap-check { background: rgba(61, 220, 201, 0.16); color: var(--code); }
.roadmap-active .roadmap-check { background: rgba(255, 138, 61, 0.16); color: var(--kitchen); }
.roadmap-item strong {
    display: block;
    font-size: 0.98rem;
    margin-bottom: 3px;
}
.roadmap-item span {
    display: block;
    font-size: 0.86rem;
    color: var(--ink-dim);
}
.roadmap-future { opacity: 0.7; }

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 64px;
}
.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
}
.contact-icon {
    font-size: 1.6rem;
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}
.contact-card h4 {
    font-family: var(--serif);
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.contact-card p {
    color: var(--ink-dim);
    font-size: 0.88rem;
    margin-bottom: 16px;
}
.contact-card a {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--code);
}

.email-capture {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
}
.email-capture h3 {
    font-family: var(--serif);
    font-size: 1.3rem;
    margin-bottom: 8px;
}
.email-capture > p {
    color: var(--ink-dim);
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.email-form {
    display: flex;
    gap: 10px;
}
.email-form input {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 0.92rem;
}
.email-form input::placeholder { color: var(--ink-faint); }
.email-form input:focus { outline: none; border-color: var(--code); }
.email-form button {
    background: linear-gradient(135deg, var(--kitchen), #ffb066);
    color: #1a0f00;
    border: none;
    border-radius: 8px;
    padding: 12px 22px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}
.email-form button:hover { opacity: 0.9; }
.email-note {
    margin-top: 12px;
    font-size: 0.85rem;
    min-height: 1.2em;
    color: var(--code);
}
.email-note.error { color: #ff6b6b; }

/* ===== Footer ===== */
.footer {
    padding: 56px 0 32px;
}
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 24px;
}
.footer-brand p {
    color: var(--ink-faint);
    font-size: 0.85rem;
    margin-top: 8px;
}
.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-links a {
    font-size: 0.88rem;
    color: var(--ink-dim);
    transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--ink); }
.footer-copy {
    text-align: center;
    font-size: 0.8rem;
    color: var(--ink-faint);
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
    .story-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
    .nav-links { display: none; }
    .nav-mobile-toggle { display: block; }
    .nav-mobile-menu { display: flex; }
    .hero { padding: 90px 24px 72px; }
    .hero-stats { gap: 18px; }
    .section { padding: 72px 0; }
    .container { padding: 0 20px; }
    .email-form, .notify-form { flex-direction: column; }
}
