@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

:root {
  --felt: #0a3d2e;
  --felt-dark: #07261f;
  --gold: #d4af37;
  --gold-light: #f4d76b;
  --gold-dark: #a08028;
  --cream: #faf6e9;
  --black: #1a1a1a;
  --green: #4ade80;
  --red-chip: #c41e3a;
  --blue-chip: #2563eb;
  --container: min(1120px, calc(100% - 40px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', sans-serif;
  background: var(--black);
  color: var(--cream);
  line-height: 1.6;
  min-height: 100vh;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(212, 175, 55, 0.12), transparent 50%),
    radial-gradient(ellipse 80% 50% at 80% 100%, rgba(10, 61, 46, 0.5), transparent 50%),
    linear-gradient(135deg, rgba(10, 61, 46, 0.45), rgba(7, 38, 31, 0.75)),
    var(--black);
}

.site-container {
  width: var(--container);
  margin-inline: auto;
}

.glass-panel {
  background: linear-gradient(145deg, rgba(10, 61, 46, 0.5), rgba(7, 38, 31, 0.65));
  backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.45);
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(160%);
  background: rgba(7, 38, 31, 0.75);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--cream);
}

.site-brand-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.35);
}

.site-brand-icon .icon-logo {
  width: 40px;
  height: 40px;
  display: block;
}

.site-brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
}

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

.site-nav a {
  color: rgba(250, 246, 233, 0.75);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}

.site-nav a:hover {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.06);
}

.site-nav-cta {
  margin-left: 8px;
  background: linear-gradient(145deg, var(--gold-light), var(--gold), var(--gold-dark)) !important;
  color: var(--black) !important;
  font-weight: 700;
}

.site-nav-cta:hover {
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.45);
}

.site-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.site-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  border-radius: 1px;
}

/* ── Hero ── */
.hero {
  padding: 72px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-kicker {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero-copy h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-lead {
  font-size: 16px;
  color: rgba(250, 246, 233, 0.65);
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: linear-gradient(145deg, var(--gold-light), var(--gold), var(--gold-dark));
  color: var(--black);
  box-shadow: 0 0 28px rgba(212, 175, 55, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.55);
}

.btn-ghost {
  background: rgba(0, 0, 0, 0.25);
  color: var(--cream);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.btn-ghost:hover {
  background: rgba(212, 175, 55, 0.12);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 15px;
}

.hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stats strong {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--gold);
}

.hero-stats span {
  font-size: 12px;
  color: rgba(250, 246, 233, 0.45);
  letter-spacing: 1px;
}

.hero-visual {
  padding: 28px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-card-live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  font-size: 12px;
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-live {
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.hero-road {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.road-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.road-bead span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}

.road-bead .r { background: var(--red-chip); color: #fff; }
.road-bead .bl { background: var(--blue-chip); color: #fff; }
.road-bead .n { background: var(--green); color: var(--black); }

.road-track span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.road-track .stack {
  box-shadow: 0 22px 0 rgba(196, 30, 58, 0.9);
  border-color: var(--red-chip);
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.signal-chip {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.signal-chip em {
  font-style: normal;
  color: var(--gold);
  margin-right: 6px;
}

.signal-chip.muted {
  opacity: 0.55;
}

/* ── Sections ── */
.section {
  padding: 64px 0;
}

.section-alt {
  background: rgba(0, 0, 0, 0.2);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 4vw, 34px);
  margin-bottom: 12px;
}

.section-head p {
  color: rgba(250, 246, 233, 0.55);
  font-size: 15px;
}

.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  padding: 28px 24px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  color: var(--gold);
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.feature-icon .icon {
  width: 24px;
  height: 24px;
}

.icon {
  display: block;
  flex-shrink: 0;
}

.icon-arrow {
  width: 20px;
  height: 20px;
  color: rgba(212, 175, 55, 0.55);
}

.cta-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--gold);
}

.cta-icon .icon-lg {
  width: 40px;
  height: 40px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: rgba(250, 246, 233, 0.6);
  line-height: 1.7;
}

.cap-list {
  display: grid;
  gap: 16px;
}

.cap-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 24px 28px;
  align-items: start;
}

.cap-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--gold);
  opacity: 0.7;
}

.cap-item h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.cap-item p {
  font-size: 14px;
  color: rgba(250, 246, 233, 0.6);
}

.arch-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px 24px;
  margin-bottom: 20px;
}

.arch-step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 140px;
  text-align: center;
}

.arch-step strong {
  color: var(--gold);
  font-size: 14px;
}

.arch-step span {
  font-size: 12px;
  color: rgba(250, 246, 233, 0.5);
}

.arch-arrow {
  display: flex;
  align-items: center;
  color: rgba(212, 175, 55, 0.5);
}

.arch-note {
  text-align: center;
  font-size: 14px;
  color: rgba(250, 246, 233, 0.55);
}

.engine-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.engine-tags span {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(212, 175, 55, 0.18);
  color: rgba(250, 246, 233, 0.75);
}

.cta-section {
  padding-bottom: 80px;
}

.cta-panel {
  text-align: center;
  padding: 48px 32px;
}

.cta-panel h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  margin-bottom: 12px;
}

.cta-panel p {
  max-width: 520px;
  margin: 0 auto 24px;
  color: rgba(250, 246, 233, 0.6);
  font-size: 15px;
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 0 40px;
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-brand-footer .site-brand-icon {
  width: 32px;
  height: 32px;
}

.site-brand-footer .site-brand-icon .icon-logo {
  width: 32px;
  height: 32px;
}

.footer-copy {
  font-size: 13px;
  color: rgba(250, 246, 233, 0.4);
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(250, 246, 233, 0.5);
  text-decoration: none;
}

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

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

  .hero-visual {
    order: -1;
    min-height: 260px;
  }

  .card-grid-3 {
    grid-template-columns: 1fr;
  }

  .arch-flow {
    flex-direction: column;
  }

  .arch-arrow {
    transform: rotate(90deg);
  }

  .arch-arrow .icon-arrow {
    display: block;
  }
}

@media (max-width: 720px) {
  .site-nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    background: rgba(7, 38, 31, 0.98);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .site-header {
    position: relative;
  }

  .site-header-inner {
    position: relative;
  }
}
