/* ─── Fonts ─────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&display=swap');

/* ─── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #141820;
  --bg2:          #1A1F2E;
  --bg3:          #1A1428;
  --primary:      #A78BFA;
  --primary-light:#C4B5FD;
  --pink:         #F472B6;
  --cyan:         #22D3EE;
  --green:        #34D399;
  --amber:        #FBBF24;
  --text:         rgba(255,255,255,0.92);
  --text2:        rgba(255,255,255,0.55);
  --text3:        rgba(255,255,255,0.28);
  --card:         rgba(255,255,255,0.06);
  --card2:        rgba(255,255,255,0.04);
  --border:       rgba(255,255,255,0.10);
  --border2:      rgba(255,255,255,0.18);
  --glow-purple:  0 0 30px rgba(139,92,246,0.25), 0 0 60px rgba(139,92,246,0.10);
  --glow-pink:    0 0 30px rgba(244,114,182,0.22), 0 0 60px rgba(244,114,182,0.08);
  --glow-cyan:    0 0 30px rgba(34,211,238,0.20), 0 0 60px rgba(34,211,238,0.07);
  --radius:       16px;
  --radius-lg:    24px;
  --transition:   0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'EB Garamond', Garamond, 'Times New Roman', serif;
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg3) 100%);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-light); }

/* ─── Noise Overlay ─────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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: 0;
  opacity: 0.4;
}

/* ─── Glow Orbs ─────────────────────────────────────────────────── */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
}
.orb-1 { width: 500px; height: 500px; background: var(--primary); top: -150px; right: -150px; }
.orb-2 { width: 400px; height: 400px; background: var(--pink); bottom: 10%; left: -100px; }
.orb-3 { width: 300px; height: 300px; background: var(--cyan); top: 40%; right: 5%; }

/* ─── Layout ─────────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ─── Nav ────────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 24, 32, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}

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

.nav-links { display: flex; align-items: center; gap: 8px; }

.nav-links a {
  color: var(--text2);
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 10px;
  transition: all var(--transition);
}

.nav-links a:hover { color: var(--text); background: var(--card); }

.nav-cta {
  background: var(--primary) !important;
  color: var(--bg) !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
  border-radius: 10px !important;
}

.nav-cta:hover { background: var(--primary-light) !important; }

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(167,139,250,0.12);
  border: 1px solid rgba(167,139,250,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.82rem;
  color: var(--primary);
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}

.hero-badge::before { content: '✦'; font-size: 0.7rem; }

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 22px;
  background: linear-gradient(135deg, #fff 30%, var(--primary-light) 70%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text2);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--glow-purple);
}
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); color: #fff; box-shadow: 0 0 40px rgba(139,92,246,0.4); }

.btn-glass {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border2);
  backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); color: var(--text); }

/* ─── Phone Mockup ───────────────────────────────────────────────── */
.mockup-section {
  padding: 20px 0 80px;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 260px;
  height: 520px;
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 40px;
  backdrop-filter: blur(20px);
  box-shadow: var(--glow-purple), 0 40px 80px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 6px;
  background: var(--border2);
  border-radius: 3px;
}

.phone-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 20px;
}

.phone-logo {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--pink));
  border-radius: 18px;
  box-shadow: var(--glow-purple);
}

.phone-text { text-align: center; }
.phone-text h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.phone-text p { font-size: 0.75rem; color: var(--text2); }

.phone-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.phone-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--border);
}
.phone-bar:nth-child(1) { width: 100%; background: linear-gradient(90deg, var(--primary), var(--pink)); }
.phone-bar:nth-child(2) { width: 75%; background: var(--border2); }
.phone-bar:nth-child(3) { width: 55%; background: var(--border); }

/* ─── Features ───────────────────────────────────────────────────── */
.features { padding: 80px 0; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}
.section-header p { color: var(--text2); font-size: 1.05rem; max-width: 500px; margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(20px);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(167,139,250,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.feature-card:hover {
  border-color: var(--border2);
  transform: translateY(-4px);
  box-shadow: var(--glow-purple);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.icon-purple { background: rgba(167,139,250,0.18); box-shadow: 0 0 20px rgba(167,139,250,0.2); }
.icon-pink   { background: rgba(244,114,182,0.15); box-shadow: 0 0 20px rgba(244,114,182,0.18); }
.icon-cyan   { background: rgba(34,211,238,0.12);  box-shadow: 0 0 20px rgba(34,211,238,0.16); }
.icon-green  { background: rgba(52,211,153,0.12);  box-shadow: 0 0 20px rgba(52,211,153,0.16); }
.icon-amber  { background: rgba(251,191,36,0.12);  box-shadow: 0 0 20px rgba(251,191,36,0.15); }

.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p  { color: var(--text2); font-size: 0.9rem; line-height: 1.65; }

/* ─── Divider ────────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 24px;
}

/* ─── Beta Banner ────────────────────────────────────────────────── */
.beta-section {
  padding: 80px 0;
  text-align: center;
}

.beta-card {
  background: var(--card);
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  max-width: 700px;
  margin: 0 auto;
  backdrop-filter: blur(20px);
  box-shadow: var(--glow-purple);
  position: relative;
  overflow: hidden;
}

.beta-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(167,139,250,0.15), transparent 70%);
  pointer-events: none;
}

.beta-card h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
}

.beta-card p { color: var(--text2); font-size: 1rem; margin-bottom: 32px; }

/* ─── Footer ─────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo { font-weight: 700; font-size: 1rem; color: var(--text); }
.footer-logo span { color: var(--primary); }

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--text2); font-size: 0.875rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--text); }

.footer-copy { color: var(--text3); font-size: 0.8rem; width: 100%; text-align: center; margin-top: 8px; }

/* ─── Legal Pages ────────────────────────────────────────────────── */
.legal-hero {
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
}

.legal-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.legal-hero p { color: var(--text2); font-size: 0.9rem; }

.legal-content {
  max-width: 800px;
  padding-bottom: 100px;
}

.legal-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-light);
  margin: 44px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.legal-content h3 { font-size: 1rem; font-weight: 600; margin: 24px 0 8px; }

.legal-content p  { color: var(--text2); margin-bottom: 14px; font-size: 0.93rem; line-height: 1.75; }

.legal-content ul {
  color: var(--text2);
  font-size: 0.93rem;
  line-height: 1.75;
  padding-left: 22px;
  margin-bottom: 14px;
}

.legal-content ul li { margin-bottom: 6px; }

.legal-content strong { color: var(--text); font-weight: 600; }

.legal-highlight {
  background: rgba(167,139,250,0.08);
  border: 1px solid rgba(167,139,250,0.2);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
  color: var(--text2);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding: 70px 0 50px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .beta-card { padding: 40px 24px; }
}
