:root {
  --bg: #050d09;
  --bg-elevated: #0a1810;
  --bg-card: rgba(12, 28, 18, 0.7);
  --bg-glass: rgba(18, 38, 26, 0.55);
  --gold: #c9a84c;
  --gold-bright: #e8d48b;
  --gold-deep: #9a7b2f;
  --gold-glow: rgba(201, 168, 76, 0.35);
  --emerald: #1e4d35;
  --text: #f4f1e8;
  --text-soft: #b8c4b0;
  --text-muted: #7a8a72;
  --border: rgba(201, 168, 76, 0.18);
  --border-strong: rgba(201, 168, 76, 0.35);
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-premium: 0 25px 50px -12px rgba(0,0,0,0.55);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg, video { max-width: 100%; height: auto; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 9999;
  /* Fix additive blending for noise */
  mix-blend-mode: plus-lighter;
}

.container { width: min(1180px, 90%); margin-inline: auto; }
.section { padding: 120px 0; position: relative; }
@media (max-width: 768px) { .section { padding: 80px 0; } }

.display {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}
.section-title span { color: var(--gold-bright); }
.section-lead {
  font-size: 1.1rem;
  color: var(--text-soft);
  max-width: 560px;
  font-weight: 300;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 2.1rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.45s var(--ease);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 50%, var(--gold-deep) 100%);
  color: #0a120c;
  box-shadow: 0 8px 28px var(--gold-glow);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(201,168,76,0.5);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
  /* Fix additive blending for shine effect */
  mix-blend-mode: plus-lighter;
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn-ghost {
  background: transparent;
  color: var(--gold-bright);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  background: rgba(201,168,76,0.1);
  border-color: var(--gold);
  transform: translateY(-2px);
}

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.4rem 0;
  transition: all 0.5s var(--ease);
}
nav.scrolled {
  padding: 0.85rem 0;
  background: rgba(5,13,9,0.85);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text);
}
.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 16px rgba(201,168,76,0.3);
  border: 1px solid rgba(201,168,76,0.2);
}
.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: color 0.3s;
  position: relative;
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--gold-bright); }
.nav-links a:not(.btn):hover::after { width: 100%; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  transition: all 0.3s;
}
@media (max-width: 1024px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: rgba(5,13,9,0.97);
    backdrop-filter: blur(20px);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 75% 30%, rgba(30,77,53,0.45) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 70%, rgba(201,168,76,0.07) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 50% 100%, rgba(30,77,53,0.25) 0%, transparent 50%);
  pointer-events: none;
  /* Fix additive blending for atmospheric lighting */
  mix-blend-mode: plus-lighter;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .section-lead { margin-inline: auto; }
}
.hero h1 {
  font-size: clamp(3rem, 6.5vw, 4.8rem);
  margin-bottom: 1.5rem;
  color: var(--text);
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-bright);
  font-weight: 400;
}
.hero-desc {
  font-size: 1.15rem;
  color: var(--text-soft);
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
@media (max-width: 960px) { .hero-actions { justify-content: center; } }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo-ring {
  position: absolute;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.12);
  animation: ring-pulse 5s ease-out infinite;
  /* Fix additive blending for ring glow */
  mix-blend-mode: plus-lighter;
}
.logo-ring:nth-child(2) { animation-delay: 1.5s; max-width: 380px; }
@keyframes ring-pulse {
  0% { transform: scale(0.92); opacity: 0.5; }
  100% { transform: scale(1.15); opacity: 0; }
}
.logo-main {
  width: min(400px, 88vw);
  height: auto;
  border-radius: 50%;
  filter: drop-shadow(0 0 70px rgba(201,168,76,0.32));
  animation: float 7s ease-in-out infinite;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(201,168,76,0.15);
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.3rem 0;
  background: rgba(10,24,16,0.6);
  margin-top: -20px;
  position: relative;
  z-index: 5;
}
.marquee {
  display: flex;
  gap: 3.5rem;
  animation: marquee 32s linear infinite;
  white-space: nowrap;
}
.marquee span {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
}
.marquee span strong { color: var(--gold); font-weight: 500; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  margin-top: 3.5rem;
}
@media (max-width: 1100px) { .problem-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .problem-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .problem-grid { grid-template-columns: 1fr; } }

.problem-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.problem-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
  /* Additive blending for subtle line highlight */
  mix-blend-mode: plus-lighter;
}
.problem-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  background: rgba(18, 40, 26, 0.75);
}
.problem-card:hover::after { opacity: 1; }
.problem-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.3rem;
}
.problem-card h3 {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--gold-bright);
  margin-bottom: 0.55rem;
  letter-spacing: 0.01em;
}
.problem-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  font-weight: 300;
}

.vision-section {
  background: linear-gradient(180deg, transparent 0%, rgba(10,24,16,0.5) 30%, rgba(10,24,16,0.5) 70%, transparent 100%);
}
.vision-quote {
  max-width: 720px;
  margin: 0 auto 4rem;
  text-align: center;
}
.vision-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-soft);
  line-height: 1.55;
}
.vision-quote strong { color: var(--gold-bright); font-style: normal; font-weight: 500; }

.pillars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}
.pillar {
  padding: 0.7rem 1.5rem;
  border-radius: 100px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
  transition: all 0.4s var(--ease);
  backdrop-filter: blur(8px);
}
.pillar:hover {
  background: rgba(201,168,76,0.12);
  border-color: var(--gold);
  transform: scale(1.04);
}

.journey-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 3.5rem;
  position: relative;
}

.journey-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.6rem 1rem;
  text-align: center;
  transition: all 0.5s var(--ease);
  position: relative;
}
.journey-step:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.step-num {
  width: 32px; height: 32px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-bright), var(--gold-deep));
  color: #0a120c;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.journey-step h4 {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gold-bright);
  margin-bottom: 0.4rem;
}
.journey-step p {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.45;
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 3.5rem;
}
@media (max-width: 1000px) { .goals-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .goals-grid { grid-template-columns: 1fr; } }

.goal-card {
  background: linear-gradient(165deg, rgba(14,32,20,0.9) 0%, rgba(8,18,12,0.95) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.goal-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 20%;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
  mix-blend-mode: plus-lighter;
}
.goal-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
}
.goal-card:hover::before { opacity: 1; }
.goal-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 400;
  color: rgba(201,168,76,0.22);
  line-height: 1;
  margin-bottom: 1rem;
}
.goal-card h3 {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--gold-bright);
  margin-bottom: 0.8rem;
}
.goal-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

.ai-panel {
  background: linear-gradient(160deg, rgba(14,34,22,0.95) 0%, rgba(8,20,14,0.98) 100%);
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ai-panel::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 120%; height: 120%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 55%);
  pointer-events: none;
  mix-blend-mode: plus-lighter;
}
.ai-panel .section-title { margin-bottom: 1rem; }
.ai-panel .section-lead {
  margin: 0 auto 2.5rem;
  max-width: 580px;
}
.ai-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.ai-tag {
  padding: 0.55rem 1.25rem;
  border-radius: 100px;
  background: rgba(201,168,76,0.08);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--gold-bright);
  letter-spacing: 0.03em;
  font-weight: 400;
  transition: all 0.35s;
}
.ai-tag:hover {
  background: rgba(201,168,76,0.15);
  border-color: var(--gold);
}

.users-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 3.5rem;
}
@media (max-width: 1000px) { .users-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .users-grid { grid-template-columns: 1fr; } }

.user-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.5s var(--ease);
}
.user-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-6px);
  box-shadow: var(--shadow-premium);
}
.user-top {
  padding: 1.8rem 1.6rem 1.4rem;
  background: linear-gradient(180deg, rgba(201,168,76,0.08) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}
.user-top h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gold-bright);
  margin-bottom: 0.3rem;
}
.user-top p {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 300;
}
.user-body {
  padding: 1.5rem 1.6rem 1.8rem;
}
.user-body ul {
  list-style: none;
  font-size: 0.86rem;
  color: var(--text-soft);
  font-weight: 300;
}
.user-body li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.45;
}
.user-body li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.85rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
}

.cta {
  padding: 140px 0;
  text-align: center;
  position: relative;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(30,77,53,0.35) 0%, transparent 70%);
  pointer-events: none;
  mix-blend-mode: plus-lighter;
}
.cta-inner { position: relative; z-index: 2; }
.cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
  margin-bottom: 1.3rem;
  line-height: 1.2;
}
.cta h2 em { font-style: italic; color: var(--gold-bright); }
.cta p {
  font-size: 1.1rem;
  color: var(--text-soft);
  max-width: 520px;
  margin: 0 auto 2.8rem;
  font-weight: 300;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  margin-bottom: 0.6rem;
}
.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 1.8rem;
  font-weight: 300;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(122,138,114,0.6);
  font-weight: 300;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Responsive Fallbacks */
@media (max-width: 768px) {
  .ai-panel { padding: 2.5rem 1.5rem; }
  .goal-card { padding: 1.8rem 1.4rem; }
  .user-top, .user-body { padding: 1.2rem; }
  .section-title { font-size: clamp(2rem, 6vw, 2.5rem); }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .nav-links.open { padding-left: 5%; padding-right: 5%; }
  .hero-visual { min-height: 350px; width: 100%; }
  /* Force reveal on mobile to prevent IntersectionObserver bugs */
  .reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: none !important;
  }

  .logo-main { max-width: 280px; }
  .logo-ring { max-width: 320px; }
}
@media (max-width: 480px) {
  .btn { padding: 0.8rem 1.5rem; font-size: 0.85rem; }
  .marquee span { font-size: 0.75rem; }
}
