/* ── style.css ── */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=DM+Sans:wght@300;400;500;600&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:        #080C18;
  --bg2:       #0D1323;
  --surface:   rgba(255,255,255,0.04);
  --border:    rgba(255,255,255,0.07);
  --border-hi: rgba(255,255,255,0.14);
  --ink:       #EEF0F5;
  --ink-soft:  rgba(238,240,245,0.5);
  --ink-mute:  rgba(238,240,245,0.28);
  --accent:    #3B82F6;
  --accent2:   #60A5FA;
  --gold:      #C9A84C;
  --radius:    16px;
  --nav-h:     68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Background mesh ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(59,130,246,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 110%, rgba(201,168,76,0.07) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
}

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* ── Nav ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  height: var(--nav-h);
  background: rgba(8,12,24,0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

nav .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Instrument Serif', serif;
  font-size: 1.5rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.3px;
}

.logo span { color: var(--accent2); }

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

nav ul li a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

nav ul li a:hover {
  color: var(--ink);
  background: var(--surface);
}

nav ul li:last-child a {
  color: var(--accent2);
  border: 1px solid rgba(96,165,250,0.25);
}

nav ul li:last-child a:hover {
  background: rgba(59,130,246,0.1);
}

/* ── Hero ── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 28px;
  position: relative;
  z-index: 1;
}

.hero-inner {
  max-width: 720px;
  animation: fadeUp 0.7s ease both;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent2);
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(96,165,250,0.2);
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 32px;
}

.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent2);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  line-height: 1.0;
  letter-spacing: -2px;
  color: var(--ink);
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent2);
}

.hero-sub {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(59,130,246,0.4);
}

.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(59,130,246,0.3);
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink-soft);
  border: 1px solid var(--border-hi);
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

/* ── Sections ── */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 14px;
}

.section h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--ink);
}

.section p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 600px;
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s;
}

.stat-card:hover { border-color: var(--border-hi); }

.stat-number {
  font-family: 'Instrument Serif', serif;
  font-size: 2.5rem;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-number span { color: var(--accent2); }

.stat-label {
  font-size: 0.8rem;
  color: var(--ink-mute);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ── Features / Pricing ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 48px 0;
}

.feature-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-item:hover {
  border-color: var(--border-hi);
  transform: translateY(-3px);
}

.feature-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent2);
  flex-shrink: 0;
  margin-top: 7px;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: none;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
  max-width: 720px;
}

@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

.pricing-card {
  background: linear-gradient(135deg, rgba(59,130,246,0.06), rgba(96,165,250,0.02));
  border: 1px solid rgba(96,165,250,0.15);
  border-radius: 20px;
  padding: 36px;
}

.pricing-card--featured {
  background: linear-gradient(135deg, rgba(59,130,246,0.14), rgba(96,165,250,0.07));
  border-color: rgba(96,165,250,0.35);
}

.plan-name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 12px;
}

.price-note {
  font-size: 0.78rem;
  color: var(--ink-mute);
  margin-top: 12px;
  font-style: italic;
}

.pricing-availability {
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--ink-mute);
  max-width: 480px;
}

.price-amount {
  font-family: 'Instrument Serif', serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 4px;
}

.price-amount sup {
  font-size: 1.5rem;
  vertical-align: super;
  color: var(--ink-soft);
}

.price-amount span {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--ink-mute);
  font-weight: 400;
}

.price-desc {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 12px;
  transition: all 0.2s;
}

.contact-link:hover {
  color: var(--ink);
  border-color: var(--border-hi);
  transform: translateX(4px);
}

.contact-link-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(59,130,246,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* ── Policy pages ── */
.policy-header {
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}

.policy-header h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.policy-header p {
  color: var(--ink-soft);
  font-size: 1rem;
}

.policy-body {
  max-width: 720px;
  padding-bottom: 100px;
  position: relative;
  z-index: 1;
}

.policy-body h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
  margin: 48px 0 14px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.policy-body h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }

.policy-body p {
  color: var(--ink-soft);
  font-size: 0.975rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.policy-body ul {
  list-style: none;
  margin: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.policy-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 0.975rem;
  line-height: 1.6;
}

.policy-body ul li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent2);
  flex-shrink: 0;
  margin-top: 8px;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

footer p {
  color: var(--ink-mute);
  font-size: 0.85rem;
}

footer ul {
  list-style: none;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

footer ul li a {
  text-decoration: none;
  color: var(--ink-mute);
  font-size: 0.85rem;
  padding: 5px 10px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

footer ul li a:hover {
  color: var(--ink);
  background: var(--surface);
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.6s ease both; }
.fade-up-1 { animation: fadeUp 0.6s 0.1s ease both; }
.fade-up-2 { animation: fadeUp 0.6s 0.2s ease both; }
.fade-up-3 { animation: fadeUp 0.6s 0.3s ease both; }
.fade-up-4 { animation: fadeUp 0.6s 0.4s ease both; }

/* ── Divider ── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hi), transparent);
  margin: 0;
}

/* ── Waitlist ─────────────────────────────────────────────────────────────── */

.waitlist-inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

/* Let the waitlist copy span full width of its centred container */
.waitlist-inner > p {
  max-width: 100%;
  margin-bottom: 40px;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.waitlist-form input,
.waitlist-form select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid var(--border-hi);
  background: var(--surface);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}

.waitlist-form input::placeholder {
  color: var(--ink-mute);
}

.waitlist-form select option {
  background: var(--bg2);
  color: var(--ink);
}

.waitlist-form input:focus,
.waitlist-form select:focus {
  border-color: rgba(96,165,250,0.6);
  background: rgba(255,255,255,0.06);
}

.waitlist-form input.invalid {
  border-color: rgba(248,113,113,0.6);
}

.field-error {
  font-size: 0.8rem;
  color: #f87171;
  margin-top: 6px;
  display: none;
}

.field-error.visible {
  display: block;
}

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: '▾';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-mute);
  pointer-events: none;
  font-size: 0.85rem;
}

#waitlist-btn {
  width: 100%;
  padding: 15px;
  border-radius: 12px;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  background: var(--accent);
  color: #fff;
  margin-top: 4px;
}

#waitlist-btn:disabled {
  background: var(--surface);
  color: var(--ink-mute);
  border: 1px solid var(--border);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

#waitlist-btn:not(:disabled):hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(59,130,246,0.3);
}

#waitlist-btn:not(:disabled):active {
  transform: translateY(0);
  box-shadow: none;
}

.waitlist-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 40px 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(72,199,142,0.08), rgba(72,199,142,0.03));
  border: 1px solid rgba(72,199,142,0.28);
  text-align: center;
}

.waitlist-success.visible {
  display: flex;
}

.waitlist-success .success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(72,199,142,0.12);
  border: 1.5px solid rgba(72,199,142,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #48c78e;
}

.waitlist-success h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: #48c78e;
  margin: 0;
}

.waitlist-success p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
  max-width: 100%;
  line-height: 1.6;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}