/* =========================================================
   Landing / marketing pages — luxury
   ========================================================= */

/* Top nav */
.nav-top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; padding: 18px 0; backdrop-filter: blur(16px); background: rgba(250,247,242,0.75); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.nav-top.scrolled { border-bottom-color: var(--hairline); background: rgba(250,247,242,0.92); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%); display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(201,169,97,0.35); }
.brand-mark svg path, .brand-mark svg circle { stroke: var(--gold); }
.brand-mark svg circle:last-child { fill: var(--gold); }
.brand-name { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: var(--ink); line-height: 1; letter-spacing: -0.01em; }
.brand-name .dot { color: var(--gold-dark); }
.brand-tag { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav-top .links { display: flex; align-items: center; gap: 6px; }
.nav-top .links a { padding: 8px 14px; border-radius: var(--r-full); font-size: 14px; font-weight: 500; color: var(--ink); transition: background .2s; }
.nav-top .links a:hover { background: var(--cream); }

.lang-switch { display: inline-flex; padding: 3px; border-radius: var(--r-full); background: var(--cream); margin: 0 4px; }
.lang-switch button { padding: 6px 12px; border-radius: var(--r-full); font-size: 12px; font-weight: 700; color: var(--muted); transition: all .2s; }
.lang-switch button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

/* Language dropdown (multi-language switcher) */
.lang-dd { position: relative; margin: 0 4px; }
.lang-dd-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: var(--r-full); background: var(--cream); font-size: 12px; font-weight: 700; color: var(--ink); transition: background .2s; }
.lang-dd-btn:hover { background: var(--parchment); }
.lang-dd-btn .chev { transition: transform .2s; flex-shrink: 0; }
.lang-dd.open .lang-dd-btn .chev { transform: rotate(180deg); }
.lang-dd-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 168px; background: #fff; border: 1px solid var(--hairline); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; display: none; flex-direction: column; gap: 1px; z-index: 60; }
.lang-dd.open .lang-dd-menu { display: flex; }
.lang-dd-menu button { text-align: start; padding: 9px 12px; border-radius: 9px; font-size: 13.5px; color: var(--ink); font-weight: 500; transition: background .15s; }
.lang-dd-menu button:hover { background: var(--cream); }
.lang-dd-menu button.active { background: rgba(201,169,97,0.16); color: var(--gold-dark); font-weight: 700; }

/* Mobile hamburger */
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 12px; background: #fff; border: 1px solid var(--hairline); align-items: center; justify-content: center; color: var(--ink); flex-shrink: 0; }
.nav-burger:hover { background: var(--cream); }

@media (max-width: 900px) {
  .nav-burger { display: inline-flex; }
  .nav-top { flex-wrap: wrap; }
  .nav-top .links {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    margin-top: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    padding: 12px;
    z-index: 50;
  }
  .nav-top .links.open { display: flex; }
  .nav-top .links a { display: block; width: 100%; padding: 12px 14px; }
  .nav-top .links .lang-dd { width: 100%; margin: 4px 0; }
  .nav-top .links .lang-dd-btn { width: 100%; justify-content: space-between; }
  .nav-top .links .lang-dd-menu { position: static; box-shadow: none; border: none; background: var(--ivory); margin-top: 6px; width: 100%; }
  .nav-top .links > .btn { width: 100%; }
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; border-radius: 32px; margin-top: 22px; padding: 60px 48px;
  overflow: hidden;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center;
}
.hero::before { content: ""; position: absolute; top: -180px; inset-inline-end: -180px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(201,169,97,0.35) 0%, transparent 65%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(201,169,97,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(201,169,97,0.06) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
.hero .eyebrow { background: rgba(201,169,97,0.15); color: var(--gold-soft); border: 1px solid rgba(201,169,97,0.35); }
.hero .eyebrow::before { background: var(--gold); }
.hero h1 { color: #fff; }
.hero .lead { color: #B8C3D6; font-size: 17px; line-height: 1.7; margin-top: 20px; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(201,169,97,0.2); }
.trust-row .stat { display: flex; flex-direction: column; gap: 3px; }
.trust-row .stat b { font-family: var(--font-serif); font-size: 22px; color: var(--gold); font-weight: 700; line-height: 1; }
.trust-row .stat span { font-size: 12px; color: #B8C3D6; letter-spacing: 0.04em; }

.hero-visual { display: flex; justify-content: center; }
.hero-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(201,169,97,0.28); border-radius: 24px; padding: 28px; max-width: 400px; width: 100%; backdrop-filter: blur(8px); color: #fff; }
.hero-card .eyebrow { background: rgba(201,169,97,0.18); color: var(--gold-soft); border: 1px solid rgba(201,169,97,0.35); }
.hero-card .divider { background: rgba(255,255,255,0.1); margin: 18px 0; }
.hero-card .name { color: #DDE4F0 !important; }
.hero-card .val { color: #fff !important; }
.hero-card .gauge-num { color: #fff !important; }
.hero-card .gauge-lbl { color: #DDE4F0 !important; }
.hero-card .subrating-track { background: rgba(255,255,255,0.10); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 40px 28px; }
  .hero-visual { justify-content: stretch; }
  .hero-card { max-width: 100%; }
}

/* Sections */
.section { padding: 70px 0 30px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.section-head p { margin-top: 14px; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.feature-card { background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 26px; transition: all .3s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(201,169,97,0.4); }
.feature-card .ic { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--navy), var(--navy-soft)); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feature-card .ic svg { color: var(--gold); }
.feature-card h3 { font-family: var(--font-serif); font-size: 20px; margin-bottom: 10px; }

/* Steps */
.steps { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.step-row { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--hairline); transition: all .3s; }
.step-row:hover { transform: translateX(4px); border-color: rgba(201,169,97,0.4); }
[dir="rtl"] .step-row:hover { transform: translateX(-4px); }
.step-num { font-family: var(--font-serif); font-size: 34px; font-weight: 700; background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.step-row h4 { font-family: var(--font-serif); font-size: 18px; margin-bottom: 6px; }

/* Methodology */
#methodology .card { margin: 0 auto; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; border: 1px solid rgba(201,169,97,0.28); position: relative; overflow: hidden; }
#methodology .card::before { content: ""; position: absolute; top: -120px; inset-inline-end: -120px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(201,169,97,0.25) 0%, transparent 65%); }
#methodology .card p { color: #C6D0E1 !important; }
#methodology .card .eyebrow { background: rgba(201,169,97,0.2); color: var(--gold-soft); }

/* Pillars & manifesto */
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 22px; }
.pillar { background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 22px; display: flex; gap: 14px; transition: all .3s; }
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pillar .ic { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--navy), var(--navy-soft)); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pillar .ic svg { color: var(--gold); }
.pillar h4 { font-family: var(--font-serif); font-size: 17px; margin-bottom: 6px; }
.pillar p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

.manifesto { position: relative; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; border-radius: var(--r-lg); padding: 44px; overflow: hidden; }
.manifesto::before { content: ""; position: absolute; top: -100px; inset-inline-end: -100px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(201,169,97,0.28) 0%, transparent 65%); }
.manifesto blockquote { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(20px, 2.6vw, 28px); line-height: 1.45; max-width: 720px; margin: 20px 0 0; position: relative; z-index: 1; }
.manifesto blockquote::before { content: "\201C"; color: var(--gold); font-size: 3rem; line-height: 0; vertical-align: -0.3em; margin-inline-end: 4px; }
.manifesto blockquote::after  { content: "\201D"; color: var(--gold); font-size: 3rem; line-height: 0; vertical-align: -0.3em; margin-inline-start: 2px; }
.manifesto .attr { margin-top: 22px; display: flex; align-items: center; gap: 12px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.25em; color: var(--gold-soft); }
.manifesto .attr::before { content: ""; width: 40px; height: 1px; background: var(--gold); }

/* Method timeline */
.method-timeline { position: relative; padding-inline-start: 44px; margin-top: 24px; }
.method-timeline::before { content: ""; position: absolute; inset-inline-start: 19px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--gold) 0%, var(--gold-soft) 50%, transparent 100%); }
.method-step { position: relative; margin-bottom: 16px; }
.method-step::before { content: ""; position: absolute; inset-inline-start: -34px; top: 10px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--gold); }
.method-step-body { padding: 16px 18px; background: var(--ivory); border: 1px solid var(--hairline); border-radius: 16px; }
.method-step .num { display: inline-block; padding: 2px 6px; border-radius: 4px; background: rgba(201,169,97,0.18); color: var(--gold-dark); font-family: var(--font-mono); font-size: 10px; font-weight: 700; margin-inline-end: 6px; }
.method-step h5 { font-size: 14px; color: var(--ink); margin-bottom: 6px; display: inline; font-family: var(--font-sans); font-weight: 600; }
.method-step p { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%); border-radius: 32px; padding: 52px 40px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; top: -140px; inset-inline-end: -140px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(201,169,97,0.35) 0%, transparent 65%); }
.cta-band h2 { color: #fff; position: relative; z-index: 1; }
.cta-band p { color: #C6D0E1; margin-top: 12px; position: relative; z-index: 1; }
.cta-band .btn { margin-top: 24px; position: relative; z-index: 1; }

/* Footer */
.footer { padding: 30px 0; margin-top: 24px; border-top: 1px solid var(--hairline); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.footer-links { display: flex; gap: 18px; align-items: center; }
.footer-links a { color: var(--muted); font-weight: 500; }
.footer-links a:hover { color: var(--ink); }
.footer-links .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.footer-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-full); background: rgba(201,169,97,0.14); color: var(--gold-dark); font-size: 11px; font-weight: 600; }

/* Cookie banner */
.cookie-banner { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 300; max-width: 960px; margin: 0 auto; background: #fff; border: 1px solid var(--hairline); border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(6,20,40,0.4); overflow: hidden; animation: cookieUp .45s ease-out; }
@keyframes cookieUp { from { opacity: 0; transform: translateY(40px);} to { opacity: 1; transform: translateY(0);} }
.cookie-top-rule { height: 3px; background: linear-gradient(90deg, var(--gold) 0%, var(--gold-soft) 50%, var(--gold) 100%); }
.cookie-body { padding: 24px 26px; }
.cookie-head { display: flex; gap: 14px; align-items: flex-start; }
.cookie-head .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(201,169,97,0.14); color: var(--gold-dark); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cookie-head h3 { font-family: var(--font-serif); font-size: 18px; margin-bottom: 6px; }
.cookie-head p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.cookie-head p a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 2px; font-weight: 500; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 20px; }
.cookie-pref-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 14px; border-radius: 14px; background: var(--ivory); border: 1px solid var(--hairline); margin-bottom: 10px; }
.cookie-pref-row .t { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.cookie-pref-row .d { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.55; }
.toggle { position: relative; width: 42px; height: 24px; flex-shrink: 0; margin-top: 2px; }
.toggle input { display: none; }
.toggle .track { position: absolute; inset: 0; border-radius: var(--r-full); background: #D6CDB9; transition: background .2s; }
.toggle .knob { position: absolute; top: 2px; inset-inline-start: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s; }
.toggle input:checked ~ .track { background: var(--gold); }
.toggle input:checked ~ .knob { transform: translateX(18px); }
[dir="rtl"] .toggle input:checked ~ .knob { transform: translateX(-18px); }
.toggle input:disabled ~ .track { background: var(--gold-dark); opacity: .8; }

/* Legal pages */
.legal-hero { position: relative; background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); border-radius: 32px; margin-top: 22px; padding: 60px 28px; text-align: center; color: #fff; overflow: hidden; }
.legal-hero::before { content: ""; position: absolute; top: -140px; inset-inline-end: -140px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(201,169,97,0.32) 0%, transparent 65%); }
.legal-hero .ic { position: relative; z-index: 1; width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 18px; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--navy-deep); display: inline-flex; align-items: center; justify-content: center; }
.legal-hero h1 { color: #fff; margin-top: 10px; position: relative; z-index: 1; }
.legal-hero p { color: #C6D0E1; margin-top: 12px; position: relative; z-index: 1; }
.legal-hero .eyebrow { background: rgba(201,169,97,0.15); color: var(--gold-soft); }
.legal-hero .updated { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; padding: 6px 14px; border-radius: var(--r-full); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); font-size: 11.5px; color: #DDE4F0; position: relative; z-index: 1; }
.legal-hero .updated .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald-2); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.4;} }

.legal-body { display: grid; grid-template-columns: 220px 1fr; gap: 30px; margin: 40px 0; }
@media (max-width: 900px) { .legal-body { grid-template-columns: 1fr; } .legal-toc { display: none; } }
.legal-toc { position: sticky; top: 96px; height: max-content; }
.legal-toc .lbl { font-size: 10px; font-weight: 700; letter-spacing: 0.25em; color: var(--gold-dark); text-transform: uppercase; margin-bottom: 12px; }
.legal-toc a { display: block; padding: 8px 12px; border-radius: 10px; font-size: 13px; color: var(--muted); font-weight: 500; transition: all .2s; }
.legal-toc a:hover { background: var(--cream); color: var(--ink); }
.legal-toc a .num { font-family: var(--font-mono); font-size: 10px; color: var(--gold); margin-inline-end: 6px; }
.legal-content { background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 36px; }
.legal-content section { margin-bottom: 30px; scroll-margin-top: 100px; }
.legal-content section h2 { font-family: var(--font-serif); font-size: 22px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.legal-content section h2 .num { width: 34px; height: 34px; border-radius: 10px; background: rgba(201,169,97,0.16); color: var(--gold-dark); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 12px; font-weight: 700; }
.legal-content section p, .legal-content section li { color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.legal-content section p { margin-bottom: 10px; }
.legal-content ul { padding-inline-start: 8px; list-style: none; margin: 10px 0; }
.legal-content ul li { position: relative; padding-inline-start: 22px; color: var(--ink); margin-bottom: 8px; }
.legal-content ul li::before { content: ""; position: absolute; inset-inline-start: 6px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
