/* ============================================
   MVVTHWPSD — Designer Starter Pack
   Waitlist Landing Page
   Monotone + lime accent (document-style)
   ============================================ */

:root {
  /* Colors */
  --bg:             #0a0a0a;
  --bg-elev:        #141414;
  --bg-elev-2:      #1a1a1a;
  --accent:         #b8ff4a;
  --accent-dim:     rgba(184, 255, 74, 0.08);
  --accent-soft:    rgba(184, 255, 74, 0.18);
  --accent-glow:    rgba(184, 255, 74, 0.25);
  --text:           #f4f4f4;
  --text-soft:      rgba(244, 244, 244, 0.72);
  --text-dim:       rgba(244, 244, 244, 0.48);
  --text-faint:     rgba(244, 244, 244, 0.28);
  --border:         rgba(244, 244, 244, 0.08);
  --border-strong:  rgba(244, 244, 244, 0.15);

  /* Typography */
  --font-sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, Monaco, monospace;

  /* Layout */
  --max-width: 1180px;
  --section-pad-y: clamp(80px, 12vw, 150px);
  --nav-h: 68px;

  /* Radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-full: 999px;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1, "cv11" 1;
  overflow-x: hidden;
  position: relative;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input { font: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============ BACKGROUND EFFECTS ============ */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(184, 255, 74, 0.04), transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 80%, rgba(184, 255, 74, 0.025), transparent 70%);
}

.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(244, 244, 244, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 244, 244, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 90%);
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-logo {
  width: 26px;
  height: auto;
  fill: var(--text);
}

.nav-wordmark {
  font-size: 13px;
  letter-spacing: 0.14em;
  font-weight: 600;
}

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

.nav-links a {
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: color 0.2s ease;
}

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

.nav-cta {
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--accent-soft);
  color: var(--accent) !important;
  border-radius: var(--r-full);
  font-weight: 600 !important;
  font-family: var(--font-mono);
  font-size: 12px !important;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, border-color 0.2s ease;
}

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

@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  z-index: 1;
  padding: clamp(70px, 11vh, 130px) 24px 70px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.hero-inner {
  max-width: 720px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-mark {
  width: 60px;
  height: 60px;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  position: relative;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent-soft), transparent 50%) border-box;
  mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
}

.logo-mark svg {
  width: 55%;
  fill: var(--text);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-soft);
  margin-bottom: 28px;
}

.status-dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(184, 255, 74, 0.15);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.hero-title {
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.96;
  margin-bottom: 22px;
}

.italic-accent {
  font-weight: 200;
  font-style: italic;
  color: var(--text-soft);
}

.hero-sub {
  font-size: clamp(14.5px, 1.5vw, 17px);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 540px;
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-sub strong {
  color: var(--text);
  font-weight: 600;
}

/* ============ EMAIL FORM ============ */
.email-form {
  width: 100%;
  max-width: 460px;
  margin-bottom: 28px;
}

.email-field {
  display: flex;
  align-items: center;
  padding: 5px;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-full);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.email-field:focus-within {
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(184, 255, 74, 0.08);
}

.email-field input {
  flex: 1;
  padding: 11px 18px;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--text);
  font-size: 14.5px;
  min-width: 0;
}

.email-field input::placeholder { color: var(--text-faint); }

.btn-submit {
  padding: 11px 22px;
  background: var(--accent);
  color: #0a0a0a;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: -0.005em;
  border-radius: var(--r-full);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  position: relative;
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -10px var(--accent-glow);
}

.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { opacity: 0.7; cursor: wait; }

.btn-loading { display: none; }
.btn-submit.is-loading .btn-label { visibility: hidden; }
.btn-submit.is-loading .btn-loading {
  display: flex;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
}

.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(10, 10, 10, 0.25);
  border-top-color: #0a0a0a;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.form-feedback {
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 500;
  min-height: 18px;
  letter-spacing: -0.005em;
  font-family: var(--font-mono);
}

.form-feedback.success { color: var(--accent); }
.form-feedback.error   { color: #ff7a7a; }

@media (max-width: 480px) {
  .email-field { flex-direction: column; padding: 8px; gap: 6px; border-radius: var(--r-lg); }
  .email-field input { width: 100%; text-align: center; }
  .btn-submit { width: 100%; }
}

/* ============ SOCIAL PROOF ============ */
.social-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}

.avatars { display: flex; }

.avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: var(--bg-elev);
  margin-left: -8px;
  position: relative;
  overflow: hidden;
  display: block;
}

.avatar:first-child { margin-left: 0; }

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9);
}

.proof-text {
  font-size: 12.5px;
  color: var(--text-dim);
  letter-spacing: -0.005em;
  font-family: var(--font-mono);
}

.proof-text strong { color: var(--text-soft); font-weight: 500; }

/* ============ HERO META ============ */
.hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 26px;
  background: rgba(244, 244, 244, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

.meta-stat { text-align: center; }

.meta-value {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 5px;
}

.meta-value .small {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
  margin-left: 2px;
  font-family: var(--font-mono);
}

.meta-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}

.meta-divider {
  width: 1px;
  height: 26px;
  background: var(--border-strong);
}

@media (max-width: 520px) {
  .hero-meta { gap: 12px; padding: 14px 16px; }
  .meta-value { font-size: 18px; }
}

/* ============ SECTIONS ============ */
.section {
  position: relative;
  z-index: 1;
  padding: var(--section-pad-y) 24px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 500;
}

.section-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 18px;
}

.section-lede {
  font-size: clamp(14.5px, 1.4vw, 16px);
  color: var(--text-soft);
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto;
}

/* ============ CARDS ============ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; gap: 12px; }
}

.card {
  position: relative;
  padding: 36px 28px 32px;
  background: rgba(244, 244, 244, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.card:hover {
  border-color: var(--border-strong);
  background: rgba(244, 244, 244, 0.035);
}

.card-featured {
  /* Same structure as other cards — subtle lime border only */
  border-color: var(--accent-soft);
}

.card-featured:hover {
  border-color: var(--accent);
}

.card-num {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 24px;
}

.card-icon {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--text-soft);
}

.card-icon svg { width: 20px; height: 20px; }

.card-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.card-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 22px;
  font-weight: 400;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 18px;
  border-top: 1px dashed var(--border-strong);
}

.card-list li {
  font-size: 12.5px;
  color: var(--text-soft);
  padding-left: 16px;
  position: relative;
  font-family: var(--font-mono);
  letter-spacing: -0.005em;
}

.card-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.card-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 3px 8px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  border-radius: var(--r-full);
  text-transform: uppercase;
}

/* ============ WHO IT'S FOR ============ */
.section-split .section-head { margin-bottom: 40px; }

.who-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.who-para {
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
  color: var(--text);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 32px;
}

.who-para strong {
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}

.who-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.tag {
  padding: 6px 14px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-full);
  font-size: 12px;
  color: var(--text-soft);
  letter-spacing: -0.005em;
  font-family: var(--font-mono);
}

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: center;
  max-width: 940px;
  margin: 0 auto;
}

@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
}

.about-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  position: relative;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 10, 10, 0.35));
  pointer-events: none;
}

.about-text .section-tag { margin-bottom: 14px; }
.about-text .section-title { margin-bottom: 22px; }

.about-para {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 26px;
}

.about-para strong { color: var(--text); font-weight: 600; }

.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-full);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: border-color 0.2s ease, color 0.2s ease;
  font-family: var(--font-mono);
}

.ig-link:hover {
  border-color: var(--accent-soft);
  color: var(--accent);
}

/* ============ FINAL CTA ============ */
.cta-section {
  position: relative;
  z-index: 1;
  padding: var(--section-pad-y) 24px;
  margin: 0 24px;
  text-align: center;
}

.cta-inner {
  max-width: 620px;
  margin: 0 auto;
  padding: 64px 40px;
  background:
    linear-gradient(135deg, rgba(184, 255, 74, 0.06), rgba(184, 255, 74, 0.01) 50%),
    var(--bg-elev);
  border: 1px solid var(--accent-soft);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 244, 244, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 244, 244, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  pointer-events: none;
}

.cta-inner > * { position: relative; z-index: 1; }

.cta-inner .status-pill { margin-bottom: 22px; }

.cta-title {
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 14px;
}

.cta-sub {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.55;
  margin-bottom: 30px;
}

.cta-inner .email-form { margin-left: auto; margin-right: auto; margin-bottom: 14px; }

.cta-fineprint {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-faint);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ============ FOOTER ============ */
.footer {
  position: relative;
  z-index: 1;
  padding: 36px 24px;
  border-top: 1px solid var(--border);
  margin-top: 60px;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.footer-logo { width: 18px; fill: var(--text-dim); }

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.footer-links a {
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--accent); }

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
