/* ─── DRAFTSBYSEM — SHARED STYLES ─── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --bg: #08070f;
  --bg2: #0d0b18;
  --bg3: #121020;
  --card: #0f0d1c;
  --card2: #161328;
  --accent: #b89ef0;
  --accent2: #8a68d4;
  --accent3: #d4b8ff;
  --glow: rgba(184,158,240,0.18);
  --glow2: rgba(184,158,240,0.08);
  --text: #ede8f8;
  --text2: #9990b8;
  --text3: #524d70;
  --border: rgba(184,158,240,0.1);
  --border2: rgba(184,158,240,0.24);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Outfit', sans-serif;
  --ease: cubic-bezier(0.4,0,0.2,1);
  --ease-spring: cubic-bezier(0.34,1.56,0.64,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Grain overlay */
body::after {
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.45;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 20px 60px;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.4s var(--ease);
}
nav.scrolled {
  background: rgba(8,7,15,0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  padding: 12px 60px;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-logo img {
  width: 36px; height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(184,158,240,0.4));
  transition: filter 0.3s;
}
.nav-logo:hover img { filter: drop-shadow(0 0 14px rgba(184,158,240,0.7)); }
.nav-logo-text {
  font-family: var(--serif);
  font-size: 1.3rem; font-weight: 400;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nav-logo-text em { font-style: italic; color: var(--accent); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--text2);
  text-decoration: none;
  font-size: 0.8rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: transparent;
  border: 1px solid var(--border2);
  color: var(--accent);
  padding: 9px 22px; border-radius: 100px;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s; text-decoration: none;
}
.nav-cta:hover {
  background: var(--accent); color: var(--bg);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(184,158,240,0.35);
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.hamburger span {
  display: block; width: 22px; height: 1px;
  background: var(--text2); transition: all 0.35s var(--ease);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: rgba(8,7,15,0.97);
  z-index: 490;
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
  backdrop-filter: blur(20px);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 2.4rem; font-weight: 300;
  color: var(--text); text-decoration: none;
  transition: color 0.3s; letter-spacing: -0.02em;
}
.mobile-menu a:hover { color: var(--accent); }

/* ─── PAGE HERO ─── */
.page-hero {
  padding: 160px 60px 80px;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-hero-glow {
  position: absolute;
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(138,104,212,0.2), transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 2; }

/* ─── TYPOGRAPHY ─── */
.sec-tag {
  display: inline-block;
  font-size: 0.68rem; font-weight: 400;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.sec-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300; line-height: 1.1;
  letter-spacing: -0.025em; margin-bottom: 14px;
}
.sec-title em { font-style: italic; color: var(--accent); }
.page-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 300; line-height: 1.04;
  letter-spacing: -0.035em; margin-bottom: 18px;
}
.page-title em { font-style: italic; color: var(--accent); }
.sec-desc {
  font-size: 0.95rem; color: var(--text2);
  line-height: 1.82; max-width: 480px;
}
.sec-header { text-align: center; margin-bottom: 70px; }
.sec-header .sec-desc { margin: 0 auto; }

/* ─── LAYOUT ─── */
section.sec { padding: 90px 60px; }
.container { max-width: 1200px; margin: 0 auto; }

/* ─── BUTTONS ─── */
.btn-p {
  background: var(--accent); color: var(--bg);
  padding: 14px 34px; border-radius: 100px;
  font-family: var(--sans); font-size: 0.86rem; font-weight: 500;
  letter-spacing: 0.04em; text-decoration: none;
  transition: all 0.35s; border: 1px solid var(--accent);
  display: inline-block;
}
.btn-p:hover {
  background: transparent; color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,158,240,0.25);
}
.btn-o {
  background: transparent; color: var(--text);
  padding: 14px 34px; border-radius: 100px;
  font-family: var(--sans); font-size: 0.86rem; font-weight: 300;
  letter-spacing: 0.04em; text-decoration: none;
  border: 1px solid var(--border); transition: all 0.35s;
  display: inline-block;
}
.btn-o:hover {
  border-color: var(--border2); color: var(--accent);
  transform: translateY(-2px);
}

/* ─── CARDS ─── */
.card-base {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.35s var(--ease);
}
.card-base:hover {
  border-color: var(--border2);
  background: var(--card2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px var(--border2);
}

/* ─── REVEAL ANIMATION ─── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.rd1 { transition-delay: 0.1s; }
.rd2 { transition-delay: 0.2s; }
.rd3 { transition-delay: 0.3s; }
.rd4 { transition-delay: 0.4s; }

/* ─── FOOTER ─── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 40px 60px;
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.footer-logo img { width: 28px; height: 28px; object-fit: contain; opacity: 0.8; }
.footer-logo-text {
  font-family: var(--serif);
  font-size: 1.1rem; font-weight: 300; color: var(--text2);
}
.footer-logo-text em { font-style: italic; color: var(--accent); }
.footer-copy { font-size: 0.74rem; color: var(--text3); }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a {
  font-size: 0.74rem; color: var(--text3);
  text-decoration: none; transition: color 0.3s;
}
.footer-links a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text3); transition: all 0.3s;
  text-decoration: none;
}
.footer-social a:hover {
  border-color: var(--accent); color: var(--accent);
  background: rgba(184,158,240,0.08);
}

/* ─── CTA BAND ─── */
.cta-band {
  padding: 100px 60px; text-align: center;
  position: relative; overflow: hidden;
  background: var(--bg);
}
.cta-band-glow {
  position: absolute;
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(138,104,212,0.16), transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
}
.cta-band-inner { position: relative; z-index: 2; }
.cta-band-inner .sec-title { font-size: clamp(2rem, 4vw, 3.4rem); }
.cta-band-inner p {
  color: var(--text2); font-size: 0.96rem;
  margin: 0 auto 34px; max-width: 440px; line-height: 1.82;
}

/* ─── NOTIFY TOAST ─── */
.notify {
  position: fixed; bottom: 28px; right: 28px;
  background: var(--card2);
  border: 1px solid var(--border2);
  border-radius: 14px; padding: 16px 22px;
  font-size: 0.86rem; color: var(--text);
  z-index: 600;
  transform: translateY(80px); opacity: 0;
  transition: all 0.4s var(--ease);
  max-width: 280px;
}
.notify.show { transform: translateY(0); opacity: 1; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  nav, nav.scrolled { padding: 18px 40px; }
  section.sec { padding: 70px 40px; }
  .page-hero { padding: 140px 40px 70px; }
  footer { padding: 32px 40px; }
}
@media (max-width: 768px) {
  nav, nav.scrolled { padding: 16px 22px; }
  section.sec { padding: 60px 22px; }
  .page-hero { padding: 120px 22px 60px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  footer { flex-direction: column; text-align: center; gap: 16px; }
  .footer-links { justify-content: center; }
  .footer-social { justify-content: center; }
}
