@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Serif+SC:wght@400;600;700;900&display=swap');

/* ─── Design Tokens ──────────────────────────────────────────── */
:root {
  /* Colors */
  --bg:              #050a12;
  --bg-deep:         #020609;
  --surface:         rgba(12, 22, 38, 0.82);
  --surface-hover:   rgba(16, 30, 52, 0.92);
  --surface-strong:  #0a1828;
  --glass:           rgba(255, 255, 255, 0.04);
  --glass-border:    rgba(255, 255, 255, 0.08);
  --glass-hover:     rgba(255, 255, 255, 0.07);

  /* Brand */
  --gold:            #c9a84c;
  --gold-light:      #e8c97a;
  --gold-glow:       rgba(201, 168, 76, 0.25);
  --gold-soft:       rgba(201, 168, 76, 0.12);
  --blue:            #4d8af0;
  --blue-light:      #7aaeff;
  --blue-glow:       rgba(77, 138, 240, 0.22);

  /* Text */
  --text:            #f0f4ff;
  --text-soft:       rgba(240, 244, 255, 0.65);
  --text-muted:      rgba(240, 244, 255, 0.38);
  --text-accent:     #c9a84c;

  /* Borders */
  --border:          rgba(201, 168, 76, 0.15);
  --border-soft:     rgba(255, 255, 255, 0.08);
  --border-strong:   rgba(201, 168, 76, 0.35);

  /* Shadows */
  --shadow-xs:       0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-sm:       0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-md:       0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-lg:       0 24px 80px rgba(0, 0, 0, 0.6);
  --shadow-gold:     0 8px 32px rgba(201, 168, 76, 0.2);
  --shadow-gold-lg:  0 20px 60px rgba(201, 168, 76, 0.25);

  /* Radii */
  --r-sm:  8px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  32px;
  --r-pill:999px;

  /* Layout */
  --container: min(1200px, calc(100vw - 48px));

  /* Fonts */
  --font-body:    'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', sans-serif;
  --font-display: 'Inter', 'PingFang SC', 'Noto Serif SC', serif;
  --font-serif:   'Noto Serif SC', 'Songti SC', serif;

  /* Transitions */
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring:cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img { display: block; }

/* ─── Background ─────────────────────────────────────────────── */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  overflow: hidden;
}

.bg-canvas::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% -10%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 110%, rgba(77, 138, 240, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 100% 100% at 50% 50%, rgba(5, 10, 18, 0) 0%, #050a12 100%);
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at center, rgba(0,0,0,0.6) 0%, transparent 75%);
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orb-float 8s ease-in-out infinite;
}
.bg-orb--1 {
  width: 600px; height: 600px;
  top: -200px; left: -150px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06), transparent 70%);
  animation-delay: 0s;
}
.bg-orb--2 {
  width: 400px; height: 400px;
  top: 30%; right: -100px;
  background: radial-gradient(circle, rgba(77, 138, 240, 0.07), transparent 70%);
  animation-delay: -3s;
}
.bg-orb--3 {
  width: 500px; height: 500px;
  bottom: -100px; left: 30%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.04), transparent 70%);
  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.97); }
}

/* ─── Layout Shell ───────────────────────────────────────────── */
.site-shell {
  width: var(--container);
  margin: 0 auto;
  padding-bottom: 80px;
}

/* ─── Navigation ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
  margin: 16px 0 0;
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
  background: rgba(5, 10, 18, 0.7);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: background 0.3s var(--ease);
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.brand-lockup:hover { opacity: 0.85; }

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1a2d48 0%, #0d1e30 100%);
  border: 1px solid rgba(201, 168, 76, 0.3);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-icon img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.brand-icon svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-text strong {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.brand-text em {
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.2s, background 0.2s;
}

.site-nav a:hover {
  color: var(--text);
  background: var(--glass);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.language-switch {
  display: flex;
  align-items: center;
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
  overflow: hidden;
  background: var(--glass);
}

.language-switch__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
}

.language-switch__item:hover {
  color: var(--text);
}

.language-switch__item.is-current {
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold-light);
}

.btn-download-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--gold) 0%, #a87d30 100%);
  color: #0d1a10;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
}

.btn-download-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.4);
}

/* ─── Hero Section ───────────────────────────────────────────── */
.hero {
  padding: 80px 0 60px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--r-pill);
  background: rgba(201, 168, 76, 0.06);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  width: fit-content;
  animation: fade-up 0.6s var(--ease) both;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  margin-top: 28px;
  animation: fade-up 0.6s 0.1s var(--ease) both;
}

.hero-title h1 {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #ffffff 0%, #c9a84c 50%, #e8c97a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .hero-title__latin {
  display: block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0.7;
}

.hero-subtitle {
  margin-top: 28px;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
  max-width: 22ch;
  animation: fade-up 0.6s 0.2s var(--ease) both;
}

.hero-desc {
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-soft);
  max-width: 50ch;
  animation: fade-up 0.6s 0.25s var(--ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  animation: fade-up 0.6s 0.3s var(--ease) both;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  animation: fade-up 0.6s 0.35s var(--ease) both;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-pill);
  background: var(--glass);
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 500;
}

.badge svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

/* Hero Visual */
.hero-visual {
  animation: fade-up 0.8s 0.2s var(--ease) both;
}

.download-widget {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(20, 35, 55, 0.9) 0%, rgba(10, 20, 35, 0.95) 100%);
  backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(201, 168, 76, 0.05);
}

.download-widget::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.4), transparent);
}

.widget-header {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--border-soft);
}

.widget-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.widget-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
}

.version-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  letter-spacing: 0.04em;
}

.widget-title {
  margin-top: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
}

.widget-summary {
  margin-top: 8px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.widget-meta {
  padding: 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.widget-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.widget-meta-row:last-child {
  border-bottom: none;
}

.widget-meta-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.widget-meta-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.widget-actions {
  padding: 20px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.widget-note {
  padding: 0 28px 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Shine animation on widget */
.download-widget::after {
  content: '';
  position: absolute;
  top: -200%;
  left: -100%;
  width: 60%;
  height: 400%;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.03) 50%,
    transparent 70%
  );
  pointer-events: none;
  animation: widget-shine 6s ease-in-out infinite;
}

@keyframes widget-shine {
  0%   { transform: translateX(-100%) rotate(10deg); }
  40%, 100% { transform: translateX(300%) rotate(10deg); }
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #b8892e 100%);
  color: #0a1408;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  box-shadow: var(--shadow-gold-lg);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

.btn-secondary {
  border: 1px solid var(--border-strong);
  background: rgba(201, 168, 76, 0.06);
  color: var(--gold-light);
}

.btn-secondary:hover {
  background: rgba(201, 168, 76, 0.12);
  border-color: var(--gold);
}

.btn-ghost {
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--text-soft);
}

.btn-ghost:hover {
  background: var(--glass-hover);
  color: var(--text);
}

.btn-download {
  width: 100%;
  background: linear-gradient(135deg, var(--gold) 0%, #9a7020 100%);
  color: #0a1408;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.25);
}

.btn-download:hover {
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.4);
}

.btn-download-alt {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--glass);
  color: var(--text-soft);
}

.btn-download-alt:hover {
  border-color: var(--border-strong);
  background: var(--glass-hover);
  color: var(--text);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ─── Section Headers ────────────────────────────────────────── */
.section {
  padding-top: 80px;
}

.section-header {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
}

.section-desc {
  margin-top: 16px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-soft);
}

/* ─── Features Grid ──────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.feature-card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  background: var(--surface);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.feature-card:hover {
  border-color: rgba(201, 168, 76, 0.25);
  background: var(--surface-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 40px rgba(201, 168, 76, 0.06);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.15), transparent);
}

.feature-card--hero {
  grid-column: span 7;
  min-height: 280px;
}

.feature-card--normal {
  grid-column: span 5;
}

.feature-card--wide {
  grid-column: span 12;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--r-pill);
  background: rgba(201, 168, 76, 0.06);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-icon {
  margin-top: 24px;
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
  border: 1px solid rgba(201, 168, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.feature-card h3 {
  margin-top: 18px;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin-top: 12px;
  color: var(--text-soft);
  line-height: 1.75;
  max-width: 50ch;
}

.feature-card .feature-glow {
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08), transparent 70%);
  pointer-events: none;
  transition: opacity 0.3s;
}

.feature-card:hover .feature-glow { opacity: 1.5; }

/* ─── Trust Strip ────────────────────────────────────────────── */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 80px;
}

.trust-card {
  padding: 28px;
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  background: var(--surface);
  backdrop-filter: blur(20px);
  transition: border-color 0.3s, transform 0.3s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.trust-card:hover {
  border-color: rgba(201, 168, 76, 0.2);
  transform: translateY(-4px);
}

.trust-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

.trust-number {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--gold);
  opacity: 0.7;
}

.trust-card h3 {
  margin-top: 18px;
  font-size: 1.1rem;
  font-weight: 700;
}

.trust-card p {
  margin-top: 10px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-soft);
}

/* ─── Download Section ───────────────────────────────────────── */
.section--download {
  padding-top: 80px;
}

.download-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.download-intro .section-header {
  margin-bottom: 0;
}

.download-platform-detect {
  flex-shrink: 0;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: rgba(201, 168, 76, 0.05);
  min-width: 280px;
}

.detection-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
}

.detection-title {
  margin-top: 8px;
  font-size: 1.1rem;
  font-weight: 700;
}

.detection-note {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.download-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.download-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  background: var(--surface);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.download-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

.download-card:hover {
  transform: translateY(-4px);
}

.download-card.is-recommended {
  border-color: rgba(201, 168, 76, 0.35);
  background: linear-gradient(160deg, rgba(201, 168, 76, 0.07) 0%, rgba(10, 20, 35, 0.92) 100%);
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.08), var(--shadow-md);
}

.download-card.is-recommended::before {
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.35), transparent);
}

.download-card.is-recommended:hover {
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.15), var(--shadow-lg), 0 0 60px rgba(201, 168, 76, 0.08);
}

.card-platform-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-platform-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-platform-icon--macos {
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-platform-icon--windows {
  background: linear-gradient(135deg, #0078d4 0%, #004c8c 100%);
  border: 1px solid rgba(0, 120, 212, 0.3);
}

.card-platform-icon svg {
  width: 28px;
  height: 28px;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.card-badge--recommended {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.2) 0%, rgba(201, 168, 76, 0.08) 100%);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold-light);
}

.card-badge--normal {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-soft);
}

.card-platform-name {
  margin-top: 20px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.card-arch {
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.card-meta {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.card-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.card-meta-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.card-meta-value {
  font-size: 0.88rem;
  font-weight: 600;
  text-align: right;
  word-break: break-all;
  max-width: 60%;
}

.card-hint {
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.65;
}

.download-glow {
  position: absolute;
  bottom: -80px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06), transparent 70%);
  pointer-events: none;
}

.download-footer {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  background: var(--glass);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.download-footer a {
  color: var(--gold);
  transition: color 0.2s;
}

.download-footer a:hover {
  color: var(--gold-light);
}

/* ─── FAQ Section ────────────────────────────────────────────── */
.section--faq {
  padding-top: 80px;
}

.faq-grid {
  display: grid;
  gap: 12px;
  max-width: 800px;
}

.faq-item {
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  background: var(--surface);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: rgba(201, 168, 76, 0.2);
}

.faq-item[open] {
  border-color: rgba(201, 168, 76, 0.25);
}

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 600;
  list-style: none;
  user-select: none;
  transition: color 0.2s;
}

.faq-summary::-webkit-details-marker { display: none; }

.faq-summary:hover { color: var(--gold-light); }

.faq-chevron {
  width: 20px;
  height: 20px;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease), border-color 0.2s;
  color: var(--text-muted);
}

.faq-item[open] .faq-chevron {
  transform: rotate(45deg);
  border-color: rgba(201, 168, 76, 0.3);
  color: var(--gold);
}

.faq-body {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-soft);
  max-width: 65ch;
}

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
  margin-top: 80px;
  padding: 40px 48px;
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  background: var(--surface);
  backdrop-filter: blur(20px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.2), transparent);
}

.footer-brand strong {
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-brand p {
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

/* ─── ICP Filing Bar ─────────────────────────────────────────── */
.site-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 14px 20px;
  font-size: 0.76rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.02em;
}

.site-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.site-legal a:hover {
  color: var(--gold);
}

/* ─── Animations ─────────────────────────────────────────────── */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    max-width: 500px;
  }

  .hero-subtitle {
    max-width: none;
  }

  .download-intro {
    flex-direction: column;
  }

  .download-platform-detect {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 18px;
  }

  .feature-card--hero,
  .feature-card--normal {
    grid-column: span 12;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  :root {
    --container: calc(100vw - 32px);
  }

  .site-header {
    border-radius: var(--r-xl);
    margin-top: 10px;
  }

  .site-nav { display: none; }

  .hero {
    padding: 48px 0 40px;
  }

  .download-cards {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .feature-card--wide .feature-card-inner {
    flex-direction: column;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }
}
