:root {
  --bg: #0C0B0F;
  --bg-elevated: #141318;
  --bg-card: #1A191F;
  --text-primary: #E8E6ED;
  --text-secondary: #9B97A5;
  --text-muted: #6B6775;
  --accent: #C4F04E;
  --accent-dim: rgba(196, 240, 78, 0.12);
  --warm: #F5E6D0;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --border: rgba(255,255,255,0.06);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--bg); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.25rem 2.5rem;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(12, 11, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--sans); font-weight: 500; font-size: 0.95rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; color: var(--text-primary);
}

.nav-logo span { color: var(--accent); }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }

.nav-links a {
  color: var(--text-secondary); text-decoration: none;
  font-size: 0.85rem; letter-spacing: 0.03em; transition: color 0.3s;
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a.active { color: var(--text-primary); }

.nav-cta {
  padding: 0.5rem 1.4rem !important; background: transparent;
  border: 1px solid rgba(196, 240, 78, 0.3);
  color: var(--accent) !important; border-radius: 100px;
  font-size: 0.8rem !important; letter-spacing: 0.05em; transition: all 0.3s !important;
}

.nav-cta:hover { background: var(--accent-dim); border-color: var(--accent); }

/* ── MOBILE NAV ── */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 28px; height: 20px; position: relative;
  flex-direction: column; justify-content: space-between;
}

.nav-toggle span {
  display: block; width: 100%; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(12, 11, 15, 0.97);
  backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  color: var(--text-primary); text-decoration: none;
  font-family: var(--serif); font-size: 2rem;
  transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--accent); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 2rem; background: var(--accent); color: var(--bg);
  font-family: var(--sans); font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.02em; border: none; border-radius: 100px;
  cursor: pointer; text-decoration: none; transition: all 0.3s;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(196, 240, 78, 0.25);
}

.btn-primary svg { width: 16px; height: 16px; transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 1.8rem; background: transparent; color: var(--text-secondary);
  font-family: var(--sans); font-size: 0.9rem; font-weight: 400;
  border: 1px solid var(--border); border-radius: 100px;
  cursor: pointer; text-decoration: none; transition: all 0.3s;
}

.btn-ghost:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.15); }

/* ── SHARED SECTION ELEMENTS ── */
.section-label {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
}

.section-label::before {
  content: ''; width: 0.5rem; height: 0.5rem;
  background: var(--accent); border-radius: 50%;
}

.arrow-icon {
  width: 16px; height: 16px;
}

/* ── PAGE HERO (shared for inner pages) ── */
.page-hero {
  padding: 10rem 2.5rem 5rem;
  position: relative; overflow: hidden;
}

.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 50%, rgba(196, 240, 78, 0.03), transparent),
              radial-gradient(ellipse 60% 80% at 80% 20%, rgba(200, 180, 255, 0.02), transparent);
  pointer-events: none;
}

.page-hero-content {
  max-width: 900px; margin: 0 auto; position: relative; z-index: 2;
}

.page-hero-label {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 2rem;
  display: flex; align-items: center; gap: 1rem;
  opacity: 0; animation: fadeUp 1s 0.2s forwards;
}

.page-hero-label::before { content: ''; width: 2rem; height: 1px; background: var(--accent); }

.page-hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.8rem, 6vw, 5.5rem); line-height: 1.08;
  letter-spacing: -0.02em; margin-bottom: 2rem;
  opacity: 0; animation: fadeUp 1s 0.35s forwards;
}

.page-hero-title em { font-style: italic; color: var(--accent); }

.page-hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-secondary);
  max-width: 600px; line-height: 1.7; font-weight: 300;
  opacity: 0; animation: fadeUp 1s 0.5s forwards;
}

/* ── CTA SECTION (shared) ── */
.cta-section {
  padding: 10rem 2.5rem; border-top: 1px solid var(--border);
  text-align: center; position: relative; overflow: hidden;
  background: var(--bg-elevated);
}

.cta-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 60%, rgba(196, 240, 78, 0.04), transparent);
  pointer-events: none;
}

.cta-section h2 {
  font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400; line-height: 1.15; margin-bottom: 1.5rem;
  position: relative; z-index: 2;
}

.cta-section h2 em { font-style: italic; color: var(--accent); }

.cta-section p {
  color: var(--text-secondary); font-size: 1.1rem; font-weight: 300;
  max-width: 500px; margin: 0 auto 3rem; position: relative; z-index: 2;
}

.cta-section .btn-primary { position: relative; z-index: 2; }

/* ── FOOTER ── */
footer {
  padding: 3rem 2.5rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1200px; margin: 0 auto;
}

.footer-left { font-size: 0.8rem; color: var(--text-muted); }
.footer-right { display: flex; gap: 2rem; }

.footer-right a {
  font-size: 0.8rem; color: var(--text-muted);
  text-decoration: none; transition: color 0.3s;
}

.footer-right a:hover { color: var(--text-secondary); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .page-hero { padding: 7rem 1.5rem 4rem; }
  .cta-section { padding: 6rem 1.5rem; }
  footer { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-right { flex-wrap: wrap; justify-content: center; }
}
