/* ===== CSS RESET & VARIABLES ===== */

/* ===== SKIP TO CONTENT (A11Y) ===== */
.skip-link { position: absolute; top: -100%; left: 16px; background: var(--primary); color: #fff; padding: 12px 24px; border-radius: 0 0 8px 8px; font-weight: 700; font-size: 0.9rem; z-index: 9999; transition: top 0.2s; }
.skip-link:focus { top: 0; }

/* ===== READING PROGRESS BAR ===== */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--secondary)); z-index: 1001; width: 0%; transition: width 0.1s linear; pointer-events: none; }

/* ===== BACK TO TOP ===== */
.back-to-top { position: fixed; bottom: 32px; right: 32px; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 900; opacity: 0; transform: translateY(16px); transition: all 0.3s; box-shadow: 0 4px 16px rgba(139,92,246,0.35); }
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 6px 24px rgba(139,92,246,0.45); }
.back-to-top:focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; }
.back-to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
    --bg:#0d0a14;
    --bg-card:#1a1525;
    --bg-card-hover:#231d30;
    --text:#e8e0f0;
    --text-muted:#9a8fb5;
    --primary:#8b5cf6;
    --primary-dark:#7c3aed;
    --secondary:#d4a843;
    --accent:#22c55e;
    --border:#2d2640;
    --radius:12px;
    --radius-sm:8px;
    --shadow:0 4px 24px rgba(0,0,0,0.4);
    --max-width:1200px;
    --font-heading:'Cormorant Garamond',Georgia,serif;
    --font-body:'Source Sans 3','Source Sans Pro',system-ui,sans-serif;
}
html{scroll-behavior:smooth;scroll-padding-top:80px}
body{font-family:var(--font-body);background:var(--bg);color:var(--text);line-height:1.7;font-size:17px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
::selection{background:rgba(139,92,246,0.3);color:var(--text)}
::-moz-selection{background:rgba(139,92,246,0.3);color:var(--text)}
a{color:var(--primary);text-decoration:none;transition:color .2s}
a:hover{color:var(--secondary)}
img{max-width:100%;display:block}
ul,ol{padding-left:1.5em}

/* ===== CONTAINER ===== */
.container{max-width:var(--max-width);margin:0 auto;padding:0 24px}

/* ===== HEADER ===== */
.header{position:fixed;top:0;left:0;width:100%;z-index:1000;background:rgba(13,10,20,0.85);backdrop-filter:blur(16px);border-bottom:1px solid var(--border);transition:background .3s}
.header .container{display:flex;align-items:center;justify-content:space-between;height:68px}
.logo{display:flex;align-items:center;gap:10px;font-family:var(--font-heading);font-size:1.25rem;color:var(--text);font-weight:600}
.logo:hover{color:var(--primary)}
.logo strong{color:var(--primary)}
.logo-icon{flex-shrink:0}
.nav{display:flex;gap:8px}
.nav-link{padding:8px 14px;border-radius:var(--radius-sm);font-size:.9rem;font-weight:500;color:var(--text-muted);transition:all .2s}
.nav-link:hover,.nav-link.active{color:var(--text);background:var(--bg-card)}
.nav-toggle{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:8px}
.nav-toggle span{width:24px;height:2px;background:var(--text);border-radius:2px;transition:all .3s}

/* ===== HERO ===== */
.hero{padding:140px 0 80px;text-align:center;background:linear-gradient(180deg,rgba(139,92,246,0.12) 0%,transparent 60%)}
.hero h1{font-family:var(--font-heading);font-size:clamp(2.2rem,5.5vw,4rem);font-weight:700;line-height:1.15;margin-bottom:16px}
.hero h1 .highlight{background:linear-gradient(135deg,var(--primary),var(--secondary));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.hero p{font-size:1.2rem;color:var(--text-muted);max-width:640px;margin:0 auto 32px}
.hero-stats{display:flex;justify-content:center;gap:40px;flex-wrap:wrap;margin-top:40px}
.stat{text-align:center}
.stat-number{font-family:var(--font-heading);font-size:2rem;font-weight:700;color:var(--primary);display:block}
.stat-label{font-size:.85rem;color:var(--text-muted)}

/* ===== PAGE HERO ===== */
.page-hero{padding:120px 0 48px;background:linear-gradient(180deg,rgba(139,92,246,0.1) 0%,transparent 60%)}
.page-hero h1{font-family:var(--font-heading);font-size:clamp(2rem,4.5vw,3.2rem);font-weight:700;margin-bottom:12px}
.page-hero p{font-size:1.15rem;color:var(--text-muted);max-width:680px}
.breadcrumb{font-size:.85rem;margin-bottom:16px;color:var(--text-muted)}
.breadcrumb a{color:var(--primary)}
.breadcrumb span{margin:0 6px}
.breadcrumb .current{color:var(--text)}

/* ===== GUIDE CARDS ===== */
.guides{padding:80px 0}
.guides h2{font-family:var(--font-heading);font-size:2rem;text-align:center;margin-bottom:48px}
.guides-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px}
.guide-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:32px;transition:all .3s;position:relative;overflow:hidden}
.guide-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--primary);background:var(--bg-card-hover)}
.guide-card .card-icon{font-size:2rem;margin-bottom:16px}
.guide-card h3{font-family:var(--font-heading);font-size:1.35rem;margin-bottom:8px}
.guide-card h3 a{color:var(--text)}
.guide-card h3 a:hover{color:var(--primary)}
.guide-card p{color:var(--text-muted);font-size:.95rem;margin-bottom:16px}
.guide-card .card-tags{display:flex;gap:6px;flex-wrap:wrap}
.tag{font-size:.75rem;padding:4px 10px;border-radius:20px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}
.tag-beginner{background:rgba(34,197,94,0.15);color:#22c55e}
.tag-intermediate{background:rgba(212,168,67,0.15);color:#d4a843}
.tag-advanced{background:rgba(139,92,246,0.15);color:#8b5cf6}
.tag-essential{background:rgba(239,68,68,0.15);color:#ef4444}

/* ===== HIGHLIGHTS ===== */
.highlights{padding:60px 0;border-top:1px solid var(--border)}
.highlights h2{font-family:var(--font-heading);font-size:2rem;text-align:center;margin-bottom:48px}
.highlights-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}
.highlight-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:24px;text-align:center;transition:border-color .3s}
.highlight-card:hover{border-color:var(--primary)}
.highlight-card .h-icon{font-size:1.8rem;margin-bottom:12px}
.highlight-card h3{font-family:var(--font-heading);font-size:1.15rem;margin-bottom:8px}
.highlight-card p{color:var(--text-muted);font-size:.9rem}

/* ===== STEPS ===== */
.steps{padding:80px 0;border-top:1px solid var(--border)}
.steps h2{font-family:var(--font-heading);font-size:2rem;text-align:center;margin-bottom:48px}
.steps-list{max-width:800px;margin:0 auto;display:flex;flex-direction:column;gap:24px}
.step-item{display:flex;gap:20px;align-items:flex-start;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:24px}
.step-number{font-family:var(--font-heading);font-size:1.8rem;font-weight:700;color:var(--primary);flex-shrink:0;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:2px solid var(--primary);border-radius:50%}
.step-item h3{font-family:var(--font-heading);font-size:1.15rem;margin-bottom:4px}
.step-item p{color:var(--text-muted);font-size:.95rem}

/* ===== FAQ ===== */
.faq{padding:80px 0;border-top:1px solid var(--border)}
.faq h2{font-family:var(--font-heading);font-size:2rem;text-align:center;margin-bottom:48px}
.faq-list{max-width:800px;margin:0 auto;display:flex;flex-direction:column;gap:12px}
.faq-item{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}
.faq-question{width:100%;padding:20px 24px;background:none;border:none;color:var(--text);font-family:var(--font-body);font-size:1rem;font-weight:600;text-align:left;cursor:pointer;display:flex;justify-content:space-between;align-items:center;transition:background .2s}
.faq-question:hover{background:var(--bg-card-hover)}
.faq-question::after{content:'+';font-size:1.4rem;color:var(--primary);transition:transform .3s}
.faq-item.active .faq-question::after{transform:rotate(45deg)}
.faq-answer{padding:0 24px;max-height:0;overflow:hidden;transition:all .3s ease;color:var(--text-muted);font-size:.95rem;line-height:1.7}
.faq-item.active .faq-answer{padding:0 24px 20px;max-height:600px}

/* ===== PAGE CONTENT ===== */
.page-content{padding:48px 0 80px}
.content-wrapper{max-width:860px}
.content-wrapper h2{font-family:var(--font-heading);font-size:1.8rem;margin:48px 0 16px;padding-top:16px;border-top:1px solid var(--border)}
.content-wrapper h2:first-child{border-top:none;margin-top:0;padding-top:0}
.content-wrapper h3{font-family:var(--font-heading);font-size:1.3rem;margin:32px 0 12px;color:var(--secondary)}
.content-wrapper p{margin-bottom:16px;color:var(--text-muted)}
.content-wrapper ul,.content-wrapper ol{margin-bottom:16px;color:var(--text-muted)}
.content-wrapper li{margin-bottom:8px}
.content-wrapper strong{color:var(--text)}

/* ===== TABLES ===== */
.comparison-table{width:100%;border-collapse:collapse;margin:24px 0 32px;font-size:.92rem}
.comparison-table th{background:var(--bg-card);color:var(--primary);font-weight:600;text-align:left;padding:14px 16px;border-bottom:2px solid var(--primary);white-space:nowrap}
.comparison-table td{padding:12px 16px;border-bottom:1px solid var(--border);color:var(--text-muted);vertical-align:top}
.comparison-table tr:hover td{background:var(--bg-card)}
.comparison-table td:first-child{color:var(--text);font-weight:500}

/* ===== TIPS LIST ===== */
.tips-list{max-width:860px;counter-reset:tip;list-style:none;padding-left:0;margin:24px 0}
.tips-list li{counter-increment:tip;padding:16px 20px 16px 20px;margin-bottom:12px;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-muted)}
.tips-list li strong{color:var(--text)}

/* ===== INFO BOXES ===== */
.info-box{padding:20px 24px;border-radius:var(--radius);margin:24px 0;border-left:4px solid}
.info-box h4{font-family:var(--font-heading);margin-bottom:8px;font-size:1.05rem}
.info-box p{color:var(--text-muted);font-size:.95rem;margin-bottom:0}
.info-box.tip{background:rgba(34,197,94,0.08);border-color:#22c55e}
.info-box.tip h4{color:#22c55e}
.info-box.warning{background:rgba(239,68,68,0.08);border-color:#ef4444}
.info-box.warning h4{color:#ef4444}
.info-box.pro{background:rgba(139,92,246,0.08);border-color:var(--primary)}
.info-box.pro h4{color:var(--primary)}

/* ===== RECIPE BOX ===== */
.recipe-box{background:var(--bg-card);border:2px solid var(--primary);border-radius:var(--radius);padding:32px;margin:32px 0}
.recipe-box h3{font-family:var(--font-heading);font-size:1.5rem;color:var(--text);margin-bottom:12px}
.recipe-box h4{font-family:var(--font-heading);font-size:1.1rem;color:var(--secondary);margin:20px 0 10px}
.recipe-box ul,.recipe-box ol{color:var(--text-muted);margin-bottom:12px}
.recipe-box li{margin-bottom:6px}
.recipe-meta{display:flex;gap:24px;flex-wrap:wrap;color:var(--text-muted);font-size:.9rem;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid var(--border)}

/* ===== NEWSLETTER ===== */
.newsletter{padding:60px 0;border-top:1px solid var(--border);text-align:center}
.newsletter h2{font-family:var(--font-heading);font-size:1.8rem;margin-bottom:12px}
.newsletter p{color:var(--text-muted);margin-bottom:24px;max-width:500px;margin-left:auto;margin-right:auto}
.newsletter-form{display:flex;gap:12px;max-width:460px;margin:0 auto}
.newsletter-form input{flex:1;padding:14px 18px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--bg-card);color:var(--text);font-size:1rem;font-family:var(--font-body)}
.newsletter-form input:focus{outline:none;border-color:var(--primary)}
.newsletter-form button{padding:14px 28px;border-radius:var(--radius-sm);border:none;background:linear-gradient(135deg,var(--primary),var(--primary-dark));color:#fff;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s;white-space:nowrap}
.newsletter-form button:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(139,92,246,0.4)}
.newsletter-msg{margin-top:12px;font-size:.9rem;color:var(--accent)}

/* ===== FOOTER ===== */
.footer{background:var(--bg-card);border-top:1px solid var(--border);padding:60px 0 24px;margin-top:60px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;margin-bottom:40px}
.footer-brand p{color:var(--text-muted);font-size:.9rem;margin-top:12px}
.footer-links h4{font-family:var(--font-heading);font-size:1rem;margin-bottom:16px;color:var(--text)}
.footer-links ul{list-style:none;padding:0}
.footer-links li{margin-bottom:8px}
.footer-links a{color:var(--text-muted);font-size:.9rem}
.footer-links a:hover{color:var(--primary)}
.footer-bottom{border-top:1px solid var(--border);padding-top:24px;text-align:center;color:var(--text-muted);font-size:.85rem}

/* ===== TABLE OF CONTENTS ===== */
.toc{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:24px 28px;margin-bottom:40px}
.toc h4{font-family:var(--font-heading);font-size:0.95rem;color:var(--text);margin-bottom:12px;text-transform:uppercase;letter-spacing:.5px}
.toc ol{list-style:none;margin:0;padding:0;counter-reset:toc}
.toc li{counter-increment:toc;margin-bottom:6px}
.toc li::before{content:counter(toc) ". ";color:var(--primary);font-weight:600}
.toc a{color:var(--text-muted);font-size:.93rem;transition:color .2s}
.toc a:hover{color:var(--secondary)}

/* ===== RELATED GUIDES ===== */
.related-guides{margin-top:60px;padding-top:40px;border-top:1px solid var(--border)}
.related-guides h3{font-family:var(--font-heading);font-size:1.3rem;margin-bottom:20px}
.related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.related-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-sm);padding:20px;transition:all .3s;display:block}
.related-card:hover{border-color:var(--primary);transform:translateY(-3px);background:var(--bg-card-hover)}
.related-card .related-icon{font-size:1.5rem;margin-bottom:8px;display:block}
.related-card h4{font-size:1rem;margin-bottom:4px;color:var(--text)}
.related-card p{font-size:.85rem;color:var(--text-muted);margin:0}

/* ===== FOCUS VISIBLE ===== */
*:focus-visible{outline:2px solid var(--primary);outline-offset:2px;border-radius:4px}
a:focus-visible{outline-offset:3px}
button:focus-visible{outline-offset:2px}
.faq-question:focus-visible{outline-offset:-2px}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar{width:10px}
::-webkit-scrollbar-track{background:var(--bg)}
::-webkit-scrollbar-thumb{background:var(--bg-card-hover);border-radius:10px;border:2px solid var(--bg)}
::-webkit-scrollbar-thumb:hover{background:var(--primary-dark)}

/* ===== REVEAL ANIMATION ===== */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .6s ease,transform .6s ease}
.reveal.visible{opacity:1;transform:none}

/* ===== PERFORMANCE ===== */
.faq,.newsletter,.footer{content-visibility:auto;contain-intrinsic-size:auto 500px}

/* ===== REDUCED MOTION ===== */
@media(prefers-reduced-motion:reduce){
    *,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}
    .reveal{opacity:1;transform:none}
    .back-to-top{transition:none}
}

/* ===== HIGH CONTRAST ===== */
@media(prefers-contrast:high){
    :root{--border:rgba(255,255,255,0.2)}
    .card,.faq-item,.recipe-box,.step-card{border:1px solid rgba(255,255,255,0.3)}
}

/* ===== PRINT STYLES ===== */
@media print{
    .header,.nav-toggle,.back-to-top,.progress-bar,.newsletter,.footer,.hero-stats,.related-guides{display:none !important}
    body{background:#fff;color:#111;font-size:12pt;line-height:1.5}
    .hero,.page-hero{padding:20px 0;background:none !important}
    .hero h1 .highlight{color:#111;-webkit-text-fill-color:#111}
    .page-content,.steps,.faq{padding:20px 0;background:#fff !important}
    .guide-card,.highlight-card,.step-item,.faq-item,.tips-list li,.info-box,.recipe-box{background:#fff;border:1px solid #ccc;break-inside:avoid}
    .comparison-table{border:1px solid #ccc}
    .comparison-table th{background:#eee;color:#111}
    .comparison-table td{border-bottom:1px solid #ddd;color:#333}
    a{color:#111;text-decoration:underline}
    a[href^="http"]::after{content:" (" attr(href) ")";font-size:.8em;color:#666}
    .content-wrapper{max-width:100%}
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){
    .nav{display:none;position:absolute;top:68px;left:0;width:100%;background:var(--bg);border-bottom:1px solid var(--border);flex-direction:column;padding:16px 24px}
    .nav.open{display:flex}
    .nav-toggle{display:flex}
    .hero h1{font-size:2rem}
    .hero-stats{gap:24px}
    .guides-grid{grid-template-columns:1fr}
    .highlights-grid{grid-template-columns:1fr}
    .footer-grid{grid-template-columns:1fr 1fr;gap:24px}
    .step-item{flex-direction:column;align-items:center;text-align:center}
    .comparison-table{font-size:.82rem}
    .comparison-table th,.comparison-table td{padding:10px 10px}
    .newsletter-form{flex-direction:column}
    .recipe-meta{flex-direction:column;gap:8px}
}
@media(max-width:480px){
    .footer-grid{grid-template-columns:1fr}
    .hero-stats{flex-direction:column;gap:16px}
}

/* ===== COOKIE CONSENT ===== */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(13,10,20,0.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--border); padding: 16px 24px; z-index: 9998; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; font-size: 0.9rem; transform: translateY(100%); transition: transform 0.4s ease; }
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { color: var(--text-secondary, #9b93b0); max-width: 600px; line-height: 1.5; margin: 0; }
.cookie-banner a { color: var(--primary); text-decoration: underline; }
.cookie-btn { background: var(--primary); color: #fff; border: none; padding: 10px 24px; border-radius: 6px; font-weight: 600; cursor: pointer; font-size: 0.9rem; white-space: nowrap; transition: background 0.2s; }
.cookie-btn:hover { opacity: 0.9; }
.cookie-btn.secondary { background: transparent; border: 1px solid var(--border); color: var(--text-secondary, #9b93b0); }
.cookie-btn.secondary:hover { border-color: var(--primary); color: var(--primary); }

/* ===== BREADCRUMBS ===== */
.breadcrumbs { padding: 12px 0; font-size: 0.85rem; color: var(--text-muted, var(--text-secondary, #9b93b0)); }
.breadcrumbs a { color: var(--primary); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .separator { margin: 0 8px; opacity: 0.5; }

/* ===== ARTICLE META ===== */
.article-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 0; margin-bottom: 24px; border-bottom: 1px solid var(--border); font-size: 0.85rem; color: var(--text-muted, var(--text-secondary, #9b93b0)); }
.article-meta svg { width: 16px; height: 16px; vertical-align: -2px; margin-right: 4px; stroke: currentColor; fill: none; }
.reading-time, .last-updated { display: flex; align-items: center; gap: 4px; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.06); border: 1px solid var(--border); color: #9b93b0; padding: 6px 14px; border-radius: 6px; font-size: 0.85rem; cursor: pointer; transition: all 0.2s; font-family: inherit; }
.share-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(139,92,246, 0.08); }
.share-btn.copied { border-color: var(--success, var(--accent, #10b981)); color: var(--success, var(--accent, #10b981)); }
.share-btn svg { width: 14px; height: 14px; }

/* ===== PAGE LOAD ANIMATION ===== */
@keyframes fadeInPage { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.page-hero, .hero { animation: fadeInPage 0.5s ease both; }
.content-wrapper { animation: fadeInPage 0.5s ease 0.1s both; }

/* ===== WINEMAKING TIMELINE ===== */
.timeline-section { background: rgba(139,92,246,0.03); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }
.section { padding: 80px 0; }
.timeline-track { position: relative; max-width: 700px; margin: 0 auto; }
.timeline-track::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-step { position: relative; padding-left: 52px; margin-bottom: 24px; cursor: pointer; }
.timeline-dot { position: absolute; left: 12px; top: 4px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border); background: var(--bg, #0d0a14); transition: all 0.3s; z-index: 1; }
.timeline-step.active .timeline-dot, .timeline-step:hover .timeline-dot { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 12px rgba(139,92,246,0.4); }
.timeline-header { display: flex; justify-content: space-between; align-items: baseline; }
.timeline-title { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; color: var(--text, #fff); transition: color 0.2s; }
.timeline-step.active .timeline-title, .timeline-step:hover .timeline-title { color: var(--primary); }
.timeline-when { font-size: 0.8rem; color: var(--text-muted, #888); }
.timeline-detail { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
.timeline-step.active .timeline-detail { max-height: 300px; padding-top: 12px; }
.timeline-detail p { font-size: 0.9rem; color: var(--text-muted, #bbb); line-height: 1.7; margin: 0; }
.timeline-detail .timeline-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.timeline-detail .timeline-tag { font-size: 0.75rem; padding: 4px 10px; border-radius: 12px; background: rgba(139,92,246,0.1); color: var(--primary); border: 1px solid rgba(139,92,246,0.2); }

/* ===== NEWSLETTER ===== */
.newsletter-section { text-align: center; }
.newsletter-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.newsletter-input { flex: 1; min-width: 200px; padding: 14px 20px; border-radius: 8px; border: 1px solid var(--border); background: rgba(139,92,246,0.06); color: var(--text, #fff); font-size: 1rem; font-family: inherit; }
.newsletter-input:focus { outline: none; border-color: var(--primary); }
.newsletter-btn { padding: 14px 28px; background: var(--primary); color: #fff; border: none; border-radius: 8px; font-weight: 600; font-size: 1rem; cursor: pointer; font-family: inherit; transition: opacity 0.2s; }
.newsletter-btn:hover { opacity: 0.9; }
.newsletter-btn:disabled { opacity: 0.7; cursor: default; }
