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

:root {
    --bg: #0f0b08;
    --bg-dark: #0a0806;
    --surface: rgba(255, 255, 255, 0.04);
    --surface2: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.08);
    --text: #ede8e0;
    --text-muted: #8a8078;
    --wine: #c4485b;
    --wine-glow: rgba(196, 72, 91, 0.15);
    --gold: #d4a853;
    --gold-glow: rgba(212, 168, 83, 0.12);
    --cream: #f5ead6;
    --radius: 16px;
    --radius-sm: 10px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 11, 8, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.nav-logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Georgia', serif;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--gold);
}

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

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 24px 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 60% at 30% 20%, rgba(196, 72, 91, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 70% 40%, rgba(212, 168, 83, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid var(--gold);
    border-radius: 50px;
    font-size: 0.82rem;
    color: var(--gold);
    font-family: -apple-system, sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--cream), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 48px;
    font-family: -apple-system, sans-serif;
}

.hero-wines {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-wine {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1.05rem;
    font-weight: 600;
}

.hw-label {
    color: var(--gold);
    font-size: 0.85rem;
    font-family: -apple-system, sans-serif;
}

.hero-divider {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: -apple-system, sans-serif;
    font-style: italic;
}

/* SECTIONS */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--bg-dark);
}

.section-label {
    display: block;
    font-size: 0.78rem;
    font-family: -apple-system, sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-label.center {
    text-align: center;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.section-desc {
    text-align: center;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 48px;
    font-size: 1.02rem;
    font-family: -apple-system, sans-serif;
}

/* STORY */
.story-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: start;
}

.story-text h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.story-text p {
    margin-bottom: 16px;
    color: #c8c0b4;
    font-family: -apple-system, sans-serif;
    font-size: 0.95rem;
    line-height: 1.8;
}

.story-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-family: -apple-system, sans-serif;
}

/* REGION */
.region-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.map-frame {
    width: 100%;
    height: 360px;
    border: none;
    display: block;
    filter: brightness(0.85) saturate(0.8);
}

.map-caption {
    padding: 12px 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: -apple-system, sans-serif;
    text-align: center;
    background: var(--surface);
}

.region-facts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fact {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.fact-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.fact strong {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 4px;
}

.fact p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: -apple-system, sans-serif;
    line-height: 1.6;
}

/* GRAPE */
.grape-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.grape-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: border-color 0.2s, transform 0.2s;
}

.grape-card:hover {
    border-color: rgba(212, 168, 83, 0.2);
    transform: translateY(-3px);
}

.grape-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.grape-card p {
    font-size: 0.88rem;
    color: #b8b0a4;
    font-family: -apple-system, sans-serif;
    line-height: 1.7;
}

/* WINES */
.wine-detail {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    margin-bottom: 28px;
}

.wine-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}

.wine-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wine-glow);
    border: 1px solid rgba(196, 72, 91, 0.3);
    border-radius: 50%;
    color: var(--wine);
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.wine-header h3 {
    font-size: 1.4rem;
}

.wine-origin {
    font-size: 0.85rem;
    color: var(--gold);
    font-family: -apple-system, sans-serif;
}

.wine-body {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
}

.tasting-notes h4, .wine-specs h4 {
    font-size: 0.85rem;
    font-family: -apple-system, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 16px;
}

.note-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.note {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.note-icon {
    font-size: 1.1rem;
    margin-right: 8px;
}

.note strong {
    font-size: 0.92rem;
}

.note p {
    font-size: 0.85rem;
    color: #b0a898;
    font-family: -apple-system, sans-serif;
    line-height: 1.6;
    margin-top: 4px;
}

.wine-specs table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-family: -apple-system, sans-serif;
    font-size: 0.88rem;
}

.wine-specs td {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.wine-specs td:first-child {
    color: var(--text-muted);
    width: 40%;
}

.score-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.score-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-family: -apple-system, sans-serif;
    color: var(--text-muted);
}

.score-bar span:first-child {
    width: 90px;
    flex-shrink: 0;
    text-align: right;
}

.score-bar span:last-child {
    width: 60px;
    flex-shrink: 0;
}

.bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--wine), var(--gold));
    border-radius: 3px;
    transition: width 1s ease;
}

/* COMPARISON */
.comparison {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    text-align: center;
}

.comparison h3 {
    font-size: 1.3rem;
    margin-bottom: 24px;
}

.comp-grid {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.comp-item {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.comp-label {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 8px;
}

.comp-item p {
    font-size: 0.88rem;
    color: #b0a898;
    font-family: -apple-system, sans-serif;
    line-height: 1.7;
}

.comp-vs {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.9rem;
}

/* TASTING GUIDE */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: border-color 0.2s;
}

.step:hover {
    border-color: var(--gold-glow);
}

.step-num {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-glow);
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: 50%;
    color: var(--gold);
    font-family: -apple-system, sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 14px;
}

.step h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.step p {
    font-size: 0.85rem;
    color: #b0a898;
    font-family: -apple-system, sans-serif;
    line-height: 1.7;
}

.tasting-tips {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.tasting-tips h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--gold);
}

.tasting-tips ul {
    list-style: none;
}

.tasting-tips li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 0.92rem;
    font-family: -apple-system, sans-serif;
    color: #c0b8ac;
    line-height: 1.7;
}

.tasting-tips li::before {
    content: '~';
    position: absolute;
    left: 0;
    color: var(--wine);
    font-weight: 700;
}

/* PAIRING */
.pairing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.pair-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}

.pair-card:hover {
    border-color: rgba(212, 168, 83, 0.2);
    transform: translateY(-3px);
}

.pair-emoji {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
}

.pair-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.pair-card p {
    font-size: 0.85rem;
    color: #b0a898;
    font-family: -apple-system, sans-serif;
    line-height: 1.6;
}

/* FUN FACTS */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.funfact {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.ff-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.funfact p {
    font-size: 0.88rem;
    color: #b8b0a4;
    font-family: -apple-system, sans-serif;
    line-height: 1.7;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 40px 24px;
    border-top: 1px solid var(--border);
}

footer p {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-family: -apple-system, sans-serif;
}

.footer-note {
    margin-top: 6px;
    font-size: 0.78rem !important;
    opacity: 0.5;
}

/* ANIMATIONS */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* RESPONSIVE */
@media (max-width: 900px) {
    .story-grid { grid-template-columns: 1fr; }
    .region-grid { grid-template-columns: 1fr; }
    .wine-body { grid-template-columns: 1fr; }
    .grape-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(15, 11, 8, 0.97);
        padding: 16px 24px;
        border-bottom: 1px solid var(--border);
        gap: 14px;
    }
    .nav-toggle { display: block; }
    .hero h1 { font-size: 2.4rem; }
    .section { padding: 64px 0; }
    .grape-grid { grid-template-columns: 1fr; }
    .pairing-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .facts-grid { grid-template-columns: 1fr; }
    .wine-detail { padding: 24px; }
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
