:root {
  --navy: #080d18;
  --navy-2: #0f1724;
  --navy-3: #141e30;
  --gold: #c9a84c;
  --gold-lt: #e8c870;
  --gold-bg: rgba(201, 168, 76, 0.1);
  --gold-bd: rgba(201, 168, 76, 0.22);
  --muted: #7a859a;
  --cream: #eee8d5;
  --white: #ffffff;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "DM Sans", sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}

/* grid overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(
    ellipse 80% 80% at 50% 40%,
    black 30%,
    transparent 80%
  );
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.1rem 2.5rem;
  background: rgba(8, 13, 24, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--gold-bd);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.03em;
}
.nav-brand small {
  display: block;
  font-family: "DM Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
}
.nav-links {
  display: flex;
  gap: 0.2rem;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--gold);
}
.btn-demo {
  background: var(--gold);
  color: var(--navy) !important;
  border-radius: 2px;
  font-weight: 600 !important;
  transition:
    background 0.2s,
    box-shadow 0.2s !important;
}
.btn-demo:hover {
  background: var(--gold-lt) !important;
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.28) !important;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(201, 168, 76, 0.1) 0%,
    transparent 68%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.eyebrow {
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}
h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  font-weight: 700;
  line-height: 1.04;
  color: var(--white);
  margin-bottom: 1.4rem;
}
h1 em {
  color: var(--gold);
  font-style: normal;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.78;
  max-width: 580px;
  margin: 0 auto 2.8rem;
  font-weight: 300;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-g {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 0.9rem 2.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-g:hover {
  background: var(--gold-lt);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(201, 168, 76, 0.28);
}
.btn-o {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-bd);
  padding: 0.9rem 2.2rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-o:hover {
  border-color: var(--gold);
  background: var(--gold-bg);
  color: var(--gold-lt);
}

/* ─── PILL TAGS ─── */
.tag {
  font-family: "DM Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 2px;
  display: inline-block;
}
.tag-in-progress {
  background: rgba(251, 191, 36, 0.13);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.28);
}
.tag-dev {
  background: rgba(148, 163, 184, 0.09);
  color: var(--muted);
  border: 1px solid rgba(148, 163, 184, 0.18);
}
.tag-planned {
  background: rgba(34, 197, 94, 0.11);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.24);
}
.tag-upcoming {
  background: rgba(167, 139, 250, 0.11);
  color: #a78bfa;
  border: 1px solid rgba(167, 139, 250, 0.24);
}

/* ─── MODULES SECTION ─── */
.modules-section {
  padding: 6rem 0 8rem;
  position: relative;
  z-index: 1;
}
.sec-head {
  text-align: center;
  margin-bottom: 4.5rem;
}
.sec-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}
.sec-title em {
  color: var(--gold);
  font-style: normal;
}
.sec-sub {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.72;
  max-width: 520px;
  margin: 0.9rem auto 0;
  font-weight: 300;
}

/* ─── MODULE CARD ─── */
.mod-card {
  background: var(--navy-2);
  border: 1px solid var(--gold-bd);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  transition: all 0.32s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.mod-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--gold) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.32s;
}
.mod-card:hover {
  border-color: rgba(201, 168, 76, 0.55);
  transform: translateY(-6px);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(201, 168, 76, 0.08);
}
.mod-card:hover::before {
  opacity: 1;
}

/* illustration area */
.mod-illus {
  width: 100%;
  height: 220px;
  background: var(--navy-3);
  border-bottom: 1px solid var(--gold-bd);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: background 0.32s;
}
.mod-card:hover .mod-illus {
  background: #111a28;
}
.mod-illus svg {
  width: 100%;
  height: 100%;
}

/* card body */
.mod-body {
  padding: 1.8rem 1.8rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mod-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-bd);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
  transition: all 0.32s;
}
.mod-card:hover .mod-icon {
  background: rgba(201, 168, 76, 0.22);
  border-color: var(--gold);
}
.mod-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold-lt);
  margin-bottom: 0.55rem;
  line-height: 1.2;
}
.mod-desc {
  font-size: 0.83rem;
  color: var(--cream);
  line-height: 1.68;
  font-weight: 300;
  flex: 1;
}
.mod-features {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.feat {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.78rem;
  color: var(--cream);
}
.feat i {
  color: var(--gold);
  font-size: 0.65rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.mod-footer {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mod-link {
  font-size: 0.75rem;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s;
}
.mod-link:hover {
  gap: 0.7rem;
  color: var(--gold-lt);
}

/* ─── CTA STRIP ─── */
.cta-strip {
  padding: 6rem 0 7rem;
  text-align: center;
  background: var(--navy-2);
  border-top: 1px solid var(--gold-bd);
  border-bottom: 1px solid var(--gold-bd);
  position: relative;
  z-index: 1;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 60% at 50% 50%,
    rgba(201, 168, 76, 0.07),
    transparent 70%
  );
}
.cta-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}
.cta-title em {
  color: var(--gold);
  font-style: normal;
}
.cta-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
  position: relative;
}
.trust-items {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  position: relative;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.trust-item i {
  color: var(--gold);
}

/* ─── FOOTER ─── */
footer {
  background: var(--navy-2);
  border-top: 1px solid var(--gold-bd);
  padding: 2.5rem 0;
  position: relative;
  z-index: 1;
}
.foot-brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 700;
}
.foot-sub {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.09em;
}
.foot-copy {
  font-size: 0.72rem;
  color: var(--muted);
}
.foot-version {
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  color: var(--gold);
  opacity: 0.6;
}

/* ─── REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.up {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.anim-1 {
  animation: fadeUp 0.7s 0.1s both;
}
.anim-2 {
  animation: fadeUp 0.7s 0.22s both;
}
.anim-3 {
  animation: fadeUp 0.7s 0.34s both;
}
.anim-4 {
  animation: fadeUp 0.7s 0.46s both;
}
.anim-5 {
  animation: fadeUp 0.7s 0.58s both;
}

@media (max-width: 768px) {
  nav {
    padding: 0.9rem 1.4rem;
  }
  .nav-links {
    display: none;
  }
}
