* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, PingFang SC, Hiragino Sans GB, Microsoft Yahei, Helvetica Neue, Arial, sans-serif;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: #1976d2; text-decoration: none; transition: color .2s ease; }
a:hover { text-decoration: underline; color: #1565c0; }

:root {
  --gold: #d4af37;
  --gold-light: #e8c47c;
  --gold-dark: #b8941f;
  --black: #1a1a1a;
  --charcoal: #333333;
  --blue: #1976d2;
  --muted: #666666;
  --border: #e8e8e8;
  --bg-cream: #fffbf5;
  --bg-soft: #fafafa;
}

body {
  background:
    radial-gradient(1000px 500px at 90% -5%, rgba(212, 175, 55, .12), transparent 55%),
    radial-gradient(700px 360px at 0% 5%, rgba(25, 118, 210, .08), transparent 55%),
    #fff;
}

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, .06);
  background: rgba(255, 255, 255, 0.96);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: .3px;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--black);
  font-size: 14px;
  font-weight: 800;
}
.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
}
.nav { display: flex; align-items: center; }
.nav a {
  margin-left: 16px;
  color: var(--charcoal);
  font-weight: 500;
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  padding: 96px 0 88px;
  background:
    linear-gradient(125deg, #1a1a1a 0%, #2c2c2c 42%, #3d3420 78%, #4a3f1f 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(650px 350px at 20% 25%, rgba(212, 175, 55, .22), transparent 60%),
    radial-gradient(780px 400px at 85% 15%, rgba(25, 118, 210, .18), transparent 60%);
  pointer-events: none;
}
.hero-inner { text-align: center; position: relative; z-index: 1; }
.hero-fx {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 260px;
  width: 100%;
  opacity: .5;
}
.decor {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  opacity: .35;
  animation: drift 12s ease-in-out infinite alternate;
}
.decor-a {
  width: 160px;
  height: 160px;
  left: 8%;
  top: 18%;
  background: radial-gradient(closest-side, #e8c47c, rgba(232, 196, 124, 0));
}
.decor-b {
  width: 220px;
  height: 220px;
  right: 12%;
  top: 8%;
  background: radial-gradient(closest-side, #90caf9, rgba(144, 202, 249, 0));
  animation-delay: .6s;
}
.decor-c {
  width: 120px;
  height: 120px;
  right: 18%;
  bottom: 12%;
  background: radial-gradient(closest-side, #ffe082, rgba(255, 224, 130, 0));
  animation-delay: 1s;
}
@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(8px); }
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid rgba(212, 175, 55, .55);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .6px;
  color: var(--gold-light);
  background: rgba(212, 175, 55, .12);
  margin-bottom: 14px;
}
.gradient-text {
  margin: 0 0 16px;
  font-size: clamp(28px, 5.8vw, 44px);
  font-weight: 800;
  line-height: 1.25;
  background: linear-gradient(180deg, #fff 20%, #e8c47c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  margin: 0 auto 24px;
  max-width: 760px;
  line-height: 1.85;
  font-size: 17px;
  opacity: 0.92;
  color: #f0f0f0;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.hero-tags span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .08);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2px;
}

/* Sections */
.section { padding: 72px 0; position: relative; }
.section.alt { background: var(--bg-soft); }
.section h2 {
  margin: 0 0 8px;
  font-size: 28px;
  color: var(--black);
}
.section h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  margin-top: 10px;
  border-radius: 2px;
}
.section-desc {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 640px;
}
.section p { line-height: 1.8; }

.grid { display: grid; gap: 18px; }
.modules,
.features,
.scenes,
.why,
.security {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  margin-top: 20px;
}
.stats {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  margin-top: 20px;
}

.module-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(232, 196, 124, .35), rgba(212, 175, 55, .18));
  font-size: 22px;
  margin-bottom: 12px;
}

.stat { display: grid; place-items: center; padding: 28px 16px; text-align: center; }
.stat .num {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-dark), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .label {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
}

/* Flow */
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.flow-step {
  flex: 1 1 180px;
  max-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 4px 16px rgba(26, 26, 26, 0.05);
  text-align: center;
}
.flow-num {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--black);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 10px;
}
.flow-step h3 { margin: 0 0 8px; font-size: 16px; }
.flow-step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.flow-arrow {
  align-self: center;
  color: var(--gold);
  font-weight: 700;
  font-size: 20px;
  opacity: .7;
}

.wave-sep { line-height: 0; }
.wave-sep svg { width: 100%; height: 84px; display: block; }
.wave-sep.flip svg { transform: scaleY(-1); }

/* Cards */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 4px 16px rgba(26, 26, 26, 0.05);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(26, 26, 26, 0.09);
  border-color: rgba(212, 175, 55, .35);
}
.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--black);
}
.card p {
  margin: 0;
  color: #4a4a4a;
  font-size: 14px;
  line-height: 1.7;
}

/* CTA */
.cta-section {
  background:
    linear-gradient(125deg, #1a1a1a 0%, #2a2518 55%, #1f2a3a 100%);
  color: #fff;
  text-align: center;
}
.cta-section h2 {
  color: #fff;
}
.cta-section h2::after {
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(90deg, var(--gold-light), var(--blue));
}
.cta-inner p {
  margin: 12px auto 0;
  max-width: 520px;
  color: rgba(255, 255, 255, .88);
}
.cta-note {
  margin-top: 18px !important;
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, .45);
  background: rgba(212, 175, 55, .12);
  color: var(--gold-light) !important;
  font-weight: 600;
  font-size: 14px;
}

/* Footer */
.site-footer {
  background: #121212;
  color: #d0d0d0;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-inner .links a {
  color: #e5e5e5;
  margin-left: 12px;
}

@media (max-width: 920px) {
  .menu-toggle { display: inline-block; }
  .nav {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    background: rgba(255, 255, 255, .98);
    display: none;
    flex-direction: column;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav.open { display: flex; }
  .nav a { margin: 8px 0; }
  .flow-arrow { display: none; }
}

@media (max-width: 640px) {
  .hero { padding: 72px 0 64px; }
  .section { padding: 56px 0; }
  .section h2 { font-size: 24px; }
}
