/* ─── ROOT & RESET ─── */
:root {
  --cream:    #f2ede3;
  --cream-2:  #e8e1d4;
  --cream-3:  #ddd5c4;
  --navy:     #141c2e;
  --navy-2:   #1d2840;
  --navy-3:   #243354;
  --gold:     #c4952a;
  --gold-2:   #d4a535;
  --white:    #ffffff;
  --text:     #141c2e;
  --muted:    #667088;
  --light:    #9ba5bb;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--cream); color: var(--text); overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; }

/* ─── TICKER ─── */
.ticker-bar { background: var(--navy); padding: 10px 0; overflow: hidden; position: relative; z-index: 101; }
.ticker-wrap { display: flex; width: max-content; animation: ticker-scroll 32s linear infinite; }
.ticker-item { display: flex; align-items: center; gap: 8px; padding: 0 28px; font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.55); white-space: nowrap; border-right: 1px solid rgba(255,255,255,0.07); }
.ticker-item .sym { color: var(--gold-2); font-weight: 600; }
.ticker-item .val { color: var(--white); }
.ticker-item .chg.up { color: #4ade80; }
.ticker-item .chg.dn { color: #f87171; }
.ticker-item .dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.ticker-item .dot.up { background: #4ade80; }
.ticker-item .dot.dn { background: #f87171; }
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ─── NAVBAR ─── */
.fof-nav { background: var(--cream); height: 68px; display: flex; align-items: center; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--cream-3); transition: box-shadow 0.3s; }
.fof-nav.scrolled { box-shadow: 0 4px 30px rgba(20,28,46,0.08); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 800; color: var(--navy); text-decoration: none; }
.nav-logo span, .nav-logo .logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; position: relative; transition: color 0.2s; }
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1.5px; background: var(--gold); transition: width 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.nav-cta { background: var(--navy); color: var(--white); padding: 10px 22px; border-radius: 6px; font-size: 13px; font-weight: 600; }
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover { background: var(--gold); color: var(--white); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }

/* ─── PAGE WRAPPER ─── */
#fof-page-wrapper { min-height: 80vh; }

/* ─── HERO ─── */
.hero { background: var(--navy); min-height: 92vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 24px 60px; position: relative; overflow: hidden; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(196,149,42,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(196,149,42,0.07) 1px, transparent 1px); background-size: 60px 60px; animation: grid-drift 20s linear infinite; mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%); }
@keyframes grid-drift { 0% { transform: translate(0,0); } 100% { transform: translate(60px,60px); } }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); animation: orb-float 8s ease-in-out infinite; }
.orb-1 { width: 400px; height: 400px; background: rgba(196,149,42,0.12); top: -100px; left: -100px; animation-delay: 0s; }
.orb-2 { width: 300px; height: 300px; background: rgba(36,51,84,0.5); bottom: -80px; right: -60px; animation-delay: -3s; }
.orb-3 { width: 200px; height: 200px; background: rgba(196,149,42,0.08); top: 60%; right: 20%; animation-delay: -5s; }
@keyframes orb-float { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(20px,-30px) scale(1.05); } 66% { transform: translate(-15px,20px) scale(0.95); } }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 900px; }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(196,149,42,0.35); background: rgba(196,149,42,0.08); padding: 7px 18px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--gold-2); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 32px; animation: fade-up 0.6s ease both; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; position: relative; }
.pulse::before { content: ''; position: absolute; inset: -3px; border-radius: 50%; background: rgba(74,222,128,0.3); animation: pulse-ring 1.5s ease-out infinite; }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }
.hero h1 { font-family: 'Syne', sans-serif; font-size: clamp(42px,6.5vw,82px); font-weight: 800; color: var(--white); line-height: 1.0; letter-spacing: -0.03em; margin-bottom: 24px; animation: fade-up 0.7s 0.1s ease both; }
.line-gold { display: block; background: linear-gradient(90deg, var(--gold), var(--gold-2), #e8b840); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: shimmer 3s linear infinite; background-size: 200% auto; }
@keyframes shimmer { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }
.hero > .hero-content > p { font-size: 18px; color: rgba(255,255,255,0.5); font-weight: 300; max-width: 560px; margin: 0 auto 44px; line-height: 1.7; animation: fade-up 0.7s 0.2s ease both; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; animation: fade-up 0.7s 0.3s ease both; }
.hero-stats { display: flex; justify-content: center; gap: 0; margin-top: 60px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.06); animation: fade-up 0.7s 0.4s ease both; }
.hero-stat { flex: 1; max-width: 200px; padding: 0 28px; text-align: center; border-right: 1px solid rgba(255,255,255,0.06); }
.hero-stat:last-child { border-right: none; }
.hero-stat-n { font-family: 'Syne', sans-serif; font-size: 32px; font-weight: 700; color: var(--white); display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.hero-stat-n .suffix { font-size: 18px; color: var(--gold-2); }
.hero-stat-l { font-size: 12px; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 6px; }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.25); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; z-index: 2; }
.scroll-mouse { width: 22px; height: 34px; border: 1.5px solid rgba(255,255,255,0.2); border-radius: 11px; position: relative; }
.scroll-wheel { width: 3px; height: 6px; background: rgba(255,255,255,0.4); border-radius: 2px; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); animation: scroll-anim 1.5s ease infinite; }
@keyframes scroll-anim { 0% { transform: translateX(-50%) translateY(0); opacity: 1; } 100% { transform: translateX(-50%) translateY(14px); opacity: 0; } }

/* ─── BUTTONS ─── */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: var(--white); font-weight: 600; font-size: 15px; padding: 15px 30px; border-radius: 8px; text-decoration: none; transition: all 0.25s; position: relative; overflow: hidden; }
.btn-primary::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent); transition: left 0.4s; }
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { background: var(--gold-2); transform: translateY(-2px); color: var(--white); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.75); font-weight: 500; font-size: 15px; padding: 15px 30px; border-radius: 8px; text-decoration: none; transition: all 0.25s; }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); color: var(--white); transform: translateY(-2px); }

/* ─── SECTIONS ─── */
.section { padding: 96px 24px; }
.section-inner { max-width: 1140px; margin: 0 auto; }
.section-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 14px; }
.section-tag::before { content: ''; width: 20px; height: 1.5px; background: var(--gold); }
.display { font-family: 'Syne', sans-serif; font-size: clamp(28px,4vw,52px); font-weight: 800; color: var(--navy); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 16px; }
.display span { color: var(--gold); }
.section-intro { font-size: 16px; color: var(--muted); font-weight: 300; max-width: 480px; line-height: 1.7; }

/* ─── MARKET CARDS ─── */
.market-section { background: var(--cream); }
.market-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.market-card { position: relative; overflow: hidden; border-radius: 16px; padding: 44px 40px; min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end; cursor: pointer; transition: transform 0.35s ease; }
.market-card:hover { transform: scale(1.015); }
.market-card.futures { background: var(--navy-2); }
.market-card.options { background: var(--cream-2); border: 1.5px solid var(--cream-3); }
.card-bg-text { position: absolute; top: 20px; right: 24px; font-family: 'Syne', sans-serif; font-size: 100px; font-weight: 800; line-height: 1; opacity: 0.04; color: var(--white); letter-spacing: -0.05em; user-select: none; transition: opacity 0.35s, transform 0.35s; }
.options .card-bg-text { color: var(--navy); opacity: 0.06; }
.market-card:hover .card-bg-text { opacity: 0.09; transform: scale(1.05); }
.chart-lines { position: absolute; top: 0; right: 0; width: 55%; height: 100%; display: flex; align-items: center; padding-right: 20px; opacity: 0.12; }
.chart-lines svg { width: 100%; }
.chart-path { stroke-dasharray: 500; stroke-dashoffset: 500; animation: draw-line 2s 0.5s ease forwards; }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
.card-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border-radius: 4px; margin-bottom: 16px; width: fit-content; }
.futures .card-tag { background: rgba(196,149,42,0.2); color: var(--gold-2); }
.options .card-tag { background: rgba(20,28,46,0.08); color: var(--navy-3); }
.card-title { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 800; line-height: 1.15; margin-bottom: 14px; letter-spacing: -0.02em; }
.futures .card-title { color: var(--white); }
.options .card-title { color: var(--navy); }
.card-body-text { font-size: 14px; font-weight: 300; line-height: 1.7; margin-bottom: 24px; }
.futures .card-body-text { color: rgba(255,255,255,0.5); }
.options .card-body-text { color: var(--muted); }
.card-features-mini { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.feature-mini-pill { font-size: 12px; font-weight: 500; padding: 5px 12px; border-radius: 6px; }
.futures .feature-mini-pill { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.08); }
.options .feature-mini-pill { background: var(--cream-3); color: var(--muted); }
.card-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; text-decoration: none; padding: 12px 22px; border-radius: 7px; transition: all 0.25s; width: fit-content; }
.futures .card-link { background: var(--gold); color: var(--white); }
.futures .card-link:hover { background: var(--gold-2); transform: translateX(4px); }
.options .card-link { background: var(--navy); color: var(--white); }
.options .card-link:hover { background: var(--navy-3); transform: translateX(4px); }
.arrow { transition: transform 0.25s; }
.card-link:hover .arrow { transform: translateX(4px); }

/* ─── GUIDES SECTION (homepage) ─── */
.guides-section { background: var(--cream-2); }
.guides-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; flex-wrap: wrap; gap: 16px; }
.view-all-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; transition: color 0.2s; }
.view-all-link:hover { color: var(--gold); }
.guides-grid-home { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.guides-grid-home .guide-card:first-child { grid-row: span 2; }

/* ─── GUIDE CARDS (shared) ─── */
.guide-card { background: var(--white); border: 1.5px solid var(--cream-3); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s; position: relative; }
.guide-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(20,28,46,0.1); border-color: rgba(196,149,42,0.3); }
.guide-card.existing::after { content: '✦ Publié'; position: absolute; top: 14px; right: 14px; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(74,222,128,0.12); color: #16a34a; padding: 3px 10px; border-radius: 999px; }
.guide-thumb { width: 100%; overflow: hidden; display: flex; align-items: center; justify-content: center; transition: transform 0.4s ease; }
.guide-thumb.sm { height: 110px; font-size: 28px; }
.guide-thumb.md { height: 150px; font-size: 36px; }
.guide-thumb.lg { height: 200px; font-size: 48px; }
.guide-card:hover .guide-thumb { transform: scale(1.06); }
.bg-prop    { background: linear-gradient(135deg, #141c2e, #1d2840); }
.bg-futures { background: linear-gradient(135deg, #1a3050, #243354); }
.bg-options { background: linear-gradient(135deg, #1a3a2a, #0d4a35); }
.bg-risk    { background: linear-gradient(135deg, #3a1a1a, #5a2020); }
.bg-broker  { background: linear-gradient(135deg, #2a1a3a, #3a1a5a); }
.bg-marge   { background: linear-gradient(135deg, #1a2a40, #0a1a30); }
.bg-greeks  { background: linear-gradient(135deg, #2a1840, #3a2055); }
.bg-condor  { background: linear-gradient(135deg, #1a3830, #0d4a3a); }
.bg-gold    { background: linear-gradient(135deg, #3a2a0a, #5a3f10); }
.guide-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.guide-category { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 8px; }
.guide-title { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 10px; flex: 1; }
.guide-title.large { font-size: 21px; }
.guide-excerpt { font-size: 13px; color: var(--muted); font-weight: 300; line-height: 1.65; margin-bottom: 14px; }
.guide-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.guide-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.level { padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.level.debutant      { background: rgba(74,222,128,0.12); color: #16a34a; }
.level.intermediaire { background: rgba(250,189,47,0.12); color: #b45309; }
.level.avance        { background: rgba(248,113,113,0.12); color: #dc2626; }
.read-time { font-size: 12px; color: var(--light); }
.guide-arrow { font-size: 16px; color: var(--cream-3); transition: all 0.2s; }
.guide-card:hover .guide-arrow { color: var(--gold); transform: translateX(3px); }

/* ─── GUIDE CARD HORIZONTAL ─── */
.guide-card-h { background: var(--white); border: 1.5px solid var(--cream-3); border-radius: 14px; overflow: hidden; display: grid; grid-template-columns: 220px 1fr; text-decoration: none; color: inherit; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; position: relative; }
.guide-card-h:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(20,28,46,0.1); border-color: rgba(196,149,42,0.3); }
.guide-card-h.existing::after { content: '✦ Publié'; position: absolute; top: 14px; right: 14px; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(74,222,128,0.12); color: #16a34a; padding: 3px 10px; border-radius: 999px; }
.guide-card-h .guide-thumb { height: 100%; font-size: 44px; border-radius: 0; }
.guide-card-h .guide-body { padding: 28px; }
.guide-card-h .guide-title { font-size: 20px; }

/* ─── GUIDES ARCHIVE ─── */
.page-hero { background: var(--navy); padding: 72px 24px 60px; position: relative; overflow: hidden; }
.page-hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(196,149,42,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(196,149,42,0.06) 1px, transparent 1px); background-size: 50px 50px; animation: grid-drift 20s linear infinite; mask-image: radial-gradient(ellipse 90% 100% at 50% 50%, black 30%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 90% 100% at 50% 50%, black 30%, transparent 100%); }
.page-hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); width: 500px; height: 300px; background: rgba(196,149,42,0.1); top: -80px; right: -100px; animation: orb-drift 10s ease-in-out infinite; }
@keyframes orb-drift { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-30px,20px); } }
.page-hero-inner { max-width: 1140px; margin: 0 auto; position: relative; z-index: 2; }
.page-hero h1 { font-family: 'Syne', sans-serif; font-size: clamp(36px,5vw,58px); font-weight: 800; color: var(--white); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 16px; }
.page-hero h1 span { color: var(--gold-2); }
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.45); font-weight: 300; max-width: 500px; line-height: 1.7; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.3); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,0.3); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb span { color: rgba(255,255,255,0.15); }
.hero-count-row { display: flex; gap: 36px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.07); flex-wrap: wrap; }
.hero-count-n { font-family: 'Syne', sans-serif; font-size: 24px; font-weight: 700; color: var(--white); }
.hero-count-n span { color: var(--gold-2); }
.hero-count-l { font-size: 12px; color: rgba(255,255,255,0.3); margin-top: 3px; text-transform: uppercase; letter-spacing: 0.07em; }

/* ─── FILTER BAR ─── */
.filter-bar { background: var(--cream-2); border-bottom: 1px solid var(--cream-3); padding: 0 24px; position: sticky; top: 68px; z-index: 98; }
.filter-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; gap: 4px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.filter-inner::-webkit-scrollbar { display: none; }
.filter-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; background: transparent; color: var(--muted); transition: all 0.2s; text-decoration: none; }
.filter-btn:hover { background: var(--cream-3); color: var(--navy); }
.filter-btn.active { background: var(--navy); color: var(--white); }
.filter-btn .count { background: rgba(255,255,255,0.15); font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 999px; }
.filter-btn:not(.active) .count { background: var(--cream-3); color: var(--muted); }

/* ─── MAIN CONTENT ─── */
.main { max-width: 1140px; margin: 0 auto; padding: 48px 24px 96px; }
.section-label-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.section-label-row h2 { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.section-label-row h2::before { content: ''; width: 4px; height: 20px; background: var(--gold); border-radius: 2px; }
.count-badge { font-size: 12px; font-weight: 600; background: #f5e8c8; color: var(--gold); padding: 2px 10px; border-radius: 999px; }
.guides-divider { height: 1px; background: var(--cream-3); margin: 48px 0; }
.guides-grid-main { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

/* ─── NEWSLETTER ─── */
.newsletter-strip { background: var(--navy-2); border-radius: 16px; padding: 36px 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 56px; flex-wrap: wrap; }
.newsletter-strip h3 { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.newsletter-strip p { font-size: 14px; color: rgba(255,255,255,0.4); font-weight: 300; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-input { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); color: var(--white); border-radius: 7px; padding: 12px 16px; font-size: 14px; outline: none; min-width: 220px; font-family: 'Inter', sans-serif; transition: border-color 0.2s; }
.newsletter-input::placeholder { color: rgba(255,255,255,0.25); }
.newsletter-input:focus { border-color: rgba(196,149,42,0.5); }
.newsletter-btn { background: var(--gold); color: var(--white); border: none; border-radius: 7px; padding: 12px 20px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: 'Inter', sans-serif; transition: background 0.2s; }
.newsletter-btn:hover { background: var(--gold-2); }

/* ─── PROMO STRIP ─── */
.promo-strip { background: var(--navy); padding: 70px 24px; position: relative; overflow: hidden; }
.promo-strip::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 800px; height: 400px; background: radial-gradient(ellipse, rgba(196,149,42,0.12) 0%, transparent 65%); pointer-events: none; }
.promo-strip-inner { max-width: 860px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; position: relative; }
.promo-strip h3 { font-family: 'Syne', sans-serif; font-size: clamp(24px,3.5vw,38px); font-weight: 800; color: var(--white); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 10px; }
.promo-strip h3 span { color: var(--gold-2); }
.promo-strip p { font-size: 15px; color: rgba(255,255,255,0.45); font-weight: 300; margin-bottom: 24px; }
.promo-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.promo-code-chip { display: flex; flex-direction: column; align-items: center; gap: 6px; background: rgba(196,149,42,0.12); border: 1.5px dashed rgba(196,149,42,0.4); border-radius: 12px; padding: 20px 32px; min-width: 170px; }
.promo-code-chip .label { font-size: 11px; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.1em; }
.promo-code-chip .code { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 800; color: var(--gold-2); letter-spacing: 0.06em; }
.promo-code-chip .note { font-size: 11px; color: rgba(255,255,255,0.25); }

/* ─── PHILOSOPHY ─── */
.philosophy-section { background: var(--cream); }
.philosophy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 60px; }
.philosophy-points { display: flex; flex-direction: column; gap: 28px; margin-top: 36px; }
.philosophy-point { display: flex; gap: 20px; align-items: flex-start; }
.point-num { font-family: 'Syne', sans-serif; font-size: 44px; font-weight: 800; color: var(--cream-3); line-height: 1; flex-shrink: 0; width: 56px; transition: color 0.3s; }
.philosophy-point:hover .point-num { color: var(--gold); }
.point-content h4 { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.point-content p { font-size: 14px; color: var(--muted); font-weight: 300; line-height: 1.7; }
.philosophy-visual { position: relative; height: 400px; }
.card-stack { position: relative; width: 100%; height: 100%; }
.stack-card { position: absolute; border-radius: 16px; background: var(--white); border: 1px solid var(--cream-3); padding: 22px; }
.stack-card.navy { background: var(--navy-2); border-color: transparent; }
.stack-card:nth-child(1) { width: 78%; left: 0; top: 20px; transform: rotate(-3deg); animation: float-card-1 6s ease-in-out infinite; }
.stack-card:nth-child(2) { width: 85%; left: 8%; top: 80px; transform: rotate(1.5deg); animation: float-card-2 6s ease-in-out infinite; animation-delay: -2s; }
.stack-card:nth-child(3) { width: 82%; right: 0; top: 150px; transform: rotate(-1deg); animation: float-card-3 6s ease-in-out infinite; animation-delay: -4s; }
@keyframes float-card-1 { 0%,100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-10px); } }
@keyframes float-card-2 { 0%,100% { transform: rotate(1.5deg) translateY(0); } 50% { transform: rotate(1.5deg) translateY(-8px); } }
@keyframes float-card-3 { 0%,100% { transform: rotate(-1deg) translateY(0); } 50% { transform: rotate(-1deg) translateY(-12px); } }
.sc-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 8px; }
.sc-value { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 700; color: var(--navy); }
.sc-value.white { color: var(--white); }
.sc-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.navy .sc-sub { color: rgba(255,255,255,0.4); }
.sc-bar-wrap { margin-top: 12px; height: 4px; background: var(--cream-2); border-radius: 2px; overflow: hidden; }
.navy .sc-bar-wrap { background: rgba(255,255,255,0.1); }
.sc-bar { height: 100%; border-radius: 2px; background: var(--gold); animation: bar-grow 2s 1s ease both; }
.sc-bar.green { background: #22c55e; }
.sc-bar.gold  { background: var(--gold); }
@keyframes bar-grow { from { width: 0; } }

/* ─── GUIDE HERO (single) ─── */
.guide-hero { background: var(--navy); padding: 64px 24px 52px; position: relative; overflow: hidden; }
.guide-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(196,149,42,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(196,149,42,0.05) 1px, transparent 1px); background-size: 50px 50px; }
.guide-hero-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 2; }
.guide-hero-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.guide-date { font-size: 13px; color: rgba(255,255,255,0.35); }
.guide-hero h1 { font-family: 'Syne', sans-serif; font-size: clamp(28px,4vw,48px); font-weight: 800; color: var(--white); line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 18px; }
.guide-hero-excerpt { font-size: 17px; color: rgba(255,255,255,0.5); font-weight: 300; line-height: 1.7; max-width: 640px; }

/* ─── GUIDE LAYOUT ─── */
.guide-layout { max-width: 1140px; margin: 0 auto; padding: 56px 24px 96px; display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.guide-content { min-width: 0; }
.guide-content h2 { font-family: 'Syne', sans-serif; font-size: 26px; font-weight: 700; color: var(--navy); margin: 40px 0 16px; letter-spacing: -0.02em; }
.guide-content h3 { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 700; color: var(--navy); margin: 32px 0 12px; }
.guide-content p { font-size: 16px; color: #3a4258; line-height: 1.8; margin-bottom: 20px; font-weight: 300; }
.guide-content ul, .guide-content ol { margin: 0 0 20px 24px; }
.guide-content li { font-size: 16px; color: #3a4258; line-height: 1.8; margin-bottom: 8px; font-weight: 300; }
.guide-content strong { color: var(--navy); font-weight: 600; }
.guide-content blockquote { border-left: 3px solid var(--gold); padding: 16px 24px; background: var(--cream-2); border-radius: 0 8px 8px 0; margin: 28px 0; font-style: italic; color: var(--muted); }
.guide-content code { background: var(--cream-2); padding: 2px 8px; border-radius: 4px; font-size: 14px; }
.guide-content pre { background: var(--navy); color: rgba(255,255,255,0.85); padding: 24px; border-radius: 10px; overflow-x: auto; margin: 24px 0; font-size: 14px; line-height: 1.6; }
.guide-cta-box { display: flex; align-items: center; gap: 20px; background: var(--navy-2); border-radius: 14px; padding: 28px; margin: 48px 0; flex-wrap: wrap; }
.guide-cta-icon { font-size: 32px; flex-shrink: 0; }
.guide-cta-box h4 { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.guide-cta-box p { font-size: 14px; color: rgba(255,255,255,0.5); font-weight: 300; margin: 0; }
.guide-cta-box > div { flex: 1; }
.guide-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--cream-3); }
.guide-nav-card { display: block; background: var(--white); border: 1.5px solid var(--cream-3); border-radius: 12px; padding: 20px; text-decoration: none; transition: all 0.25s; }
.guide-nav-card:hover { border-color: rgba(196,149,42,0.4); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(20,28,46,0.08); }
.guide-nav-dir { font-size: 12px; color: var(--light); display: block; margin-bottom: 6px; }
.guide-nav-title { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.3; }

/* ─── SIDEBAR ─── */
.guide-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 100px; }
.sidebar-widget { background: var(--white); border: 1.5px solid var(--cream-3); border-radius: 14px; padding: 24px; }
.widget-title { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.toc-list { display: flex; flex-direction: column; gap: 8px; }
.toc-item { font-size: 13px; color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: 6px; border-left: 2px solid transparent; transition: all 0.2s; display: block; }
.toc-item:hover, .toc-item.active { color: var(--navy); background: var(--cream); border-left-color: var(--gold); }
.promo-widget-inner { text-align: center; }
.promo-widget-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 8px; }
.promo-widget-title { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.promo-widget-text { font-size: 13px; color: var(--muted); font-weight: 300; line-height: 1.6; margin-bottom: 14px; }
.promo-widget-code { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; color: var(--gold); background: var(--cream-2); padding: 8px; border-radius: 8px; letter-spacing: 0.05em; }
.related-item { display: flex; gap: 12px; align-items: flex-start; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--cream-2); transition: all 0.2s; }
.related-item:last-child { border-bottom: none; }
.related-item:hover { padding-left: 4px; }
.related-emoji { font-size: 22px; flex-shrink: 0; }
.related-title { font-size: 13px; font-weight: 500; color: var(--navy); line-height: 1.4; margin-bottom: 3px; }
.related-meta { font-size: 12px; color: var(--light); }

/* ─── FOOTER ─── */
.fof-footer { background: var(--navy); padding: 56px 24px 28px; }
.footer-inner { max-width: 1140px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 24px; }
.footer-brand .nav-logo { color: var(--white); display: block; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.3); font-weight: 300; line-height: 1.7; max-width: 250px; }
.footer-social { margin-top: 16px; display: flex; gap: 12px; }
.footer-social a { font-size: 16px; color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s; }
.footer-social a:hover { color: var(--gold-2); }
.footer-col h5 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.25); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.45); text-decoration: none; margin-bottom: 9px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-2); }
.footer-bottom { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.18); flex-wrap: wrap; gap: 8px; }

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── UTILS ─── */
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.empty-state { text-align: center; padding: 60px 24px; }
.empty-state p { font-size: 16px; color: var(--muted); margin-bottom: 24px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .market-grid { grid-template-columns: 1fr; }
  .guides-grid-home { grid-template-columns: 1fr; }
  .guides-grid-home .guide-card:first-child { grid-row: auto; }
  .guides-grid-main { grid-template-columns: repeat(2,1fr); }
  .guide-card-h { grid-template-columns: 1fr; }
  .guide-card-h .guide-thumb { height: 140px; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .philosophy-visual { height: 280px; }
  .promo-strip-inner { grid-template-columns: 1fr; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-sidebar { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stat { min-width: 120px; }
}
@media (max-width: 640px) {
  .guides-grid-main { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--cream); padding: 20px 24px; border-bottom: 1px solid var(--cream-3); gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .newsletter-strip { flex-direction: column; padding: 28px; }
  .newsletter-form { flex-direction: column; width: 100%; }
  .newsletter-input { min-width: unset; }
  .guide-nav { grid-template-columns: 1fr; }
  .hero-stats { display: none; }
  .market-card { padding: 30px 24px; }
}
