@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --black: #050309;
  --deep: #0b0612;
  --panel: rgba(18, 11, 28, 0.72);
  --panel-light: rgba(255, 255, 255, 0.055);
  --silver: #e8e4ee;
  --muted: #bcb5c9;
  --lavender: #bda7ff;
  --violet: #6d4ea2;
  --gold: #d6bd74;
  --amber: #e7b85c;
  --border: rgba(214, 189, 116, 0.24);
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--silver);
  background:
    radial-gradient(circle at 15% 5%, rgba(109, 78, 162, 0.22), transparent 34rem),
    radial-gradient(circle at 82% 15%, rgba(214, 189, 116, 0.10), transparent 30rem),
    linear-gradient(180deg, var(--black), var(--deep) 45%, #050309);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.05;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

h3 {
  font-size: 1.8rem;
}

p {
  color: var(--muted);
  margin: 0 0 1.1rem;
}

blockquote {
  margin: 1.7rem auto;
  max-width: 760px;
  color: var(--silver);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.1;
}

.container {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.narrow {
  width: min(820px, calc(100% - 2rem));
}

.center {
  text-align: center;
}

.section {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  z-index: 50;
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem clamp(1rem, 4vw, 3rem);
  background: rgba(5, 3, 9, 0.66);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

nav a:hover {
  color: var(--silver);
}

.nav-cta {
  color: var(--gold);
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: 8rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 3, 9, 0.92), rgba(5, 3, 9, 0.52), rgba(5, 3, 9, 0.94)),
    url("assets/hero/hero_background_moonlit.webp") center / cover no-repeat;
  opacity: 0.96;
}

.hero-mist {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  opacity: 0.38;
  mix-blend-mode: screen;
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.76rem;
  font-weight: 700;
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  max-width: 560px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.primary {
  color: #100b18;
  background: linear-gradient(135deg, var(--gold), #f0dda0);
  box-shadow: 0 12px 30px rgba(214, 189, 116, 0.18);
}

.secondary {
  color: var(--silver);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.hero-phone {
  position: absolute;
  right: 12%;
  top: 0;
  max-height: 560px;
  filter: drop-shadow(0 35px 70px rgba(0, 0, 0, 0.56));
}

.hero-wand {
  position: absolute;
  left: 0;
  bottom: 4%;
  width: min(42vw, 360px);
  filter: drop-shadow(0 0 34px rgba(189, 167, 255, 0.24));
}

.cgg {
  background:
    linear-gradient(rgba(5, 3, 9, 0.78), rgba(5, 3, 9, 0.92)),
    url("assets/background/cgg_section_background.webp") center / cover no-repeat;
}

.crescent {
  width: 74px;
  margin: 0 auto 1.5rem;
  opacity: 0.9;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 3rem;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
}

.card-grid {
  display: grid;
  gap: 1.4rem;
}

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

.glass-card,
.step,
.showcase-frame,
.portrait-card {
  background: linear-gradient(180deg, var(--panel-light), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.glass-card {
  padding: 1.5rem;
}

.glass-card img {
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
}

.step-list {
  display: grid;
  gap: 1rem;
}

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.2rem;
  padding: 1.2rem;
  align-items: center;
}

.step img {
  width: 52px;
}

.light-showcase {
  background: linear-gradient(180deg, rgba(12, 7, 16, 0.2), rgba(33, 20, 16, 0.48), rgba(8, 5, 12, 0.88));
}

.sunlight {
  position: absolute;
  inset: 0;
  background: url("assets/showcase/sunlight_gradient_overlay.webp") center / cover no-repeat;
  opacity: 0.36;
}

.showcase-frame {
  padding: 1rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.showcase-grid img {
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: var(--panel);
}

.meet {
  background:
    linear-gradient(rgba(5, 3, 9, 0.8), rgba(5, 3, 9, 0.92)),
    url("assets/founder/founder_background.webp") center / cover no-repeat;
}

.portrait-card {
  padding: 1rem;
}

.portrait-card img {
  border-radius: 22px;
}

.credit-list {
  margin-top: 2rem;
  display: grid;
  gap: 0.8rem;
}

.forge {
  background:
    linear-gradient(rgba(5, 3, 9, 0.75), rgba(5, 3, 9, 0.94)),
    url("assets/forge/forge_background.webp") center / cover no-repeat;
}

.forge-icon {
  width: min(280px, 75vw);
  margin: 0 auto 1.5rem;
  opacity: 0.94;
}

.forge ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.tester {
  background:
    linear-gradient(rgba(5, 3, 9, 0.78), rgba(5, 3, 9, 0.94)),
    url("assets/background/tester_section_background.webp") center / cover no-repeat;
}

.honesty-note {
  color: var(--gold);
  font-size: 0.95rem;
}

.site-footer {
  padding: 3rem 0;
  background: #030207;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer p {
  margin: 0.25rem 0;
}

@media (max-width: 900px) {
  nav {
    display: none;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 440px;
  }

  .hero-phone {
    right: 5%;
    max-height: 430px;
  }

  .hero-wand {
    width: min(72vw, 300px);
  }

  .card-grid.three,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    display: block;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 5rem 0;
  }

  .hero {
    padding-top: 7rem;
  }

  .button-row {
    display: grid;
  }

  .hero-visual {
    min-height: 360px;
  }
}
