/* ─────────────────────────────────────────
   main.css — all component styles
───────────────────────────────────────── */

/* ── BASE ─────────────────────────────── */

body {
  font-family: var(--font-body);
  background: var(--gray-900);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── ANIMATIONS ───────────────────────── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

/* ── SHARED BUTTONS ───────────────────── */

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--blue-500);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ── SHARED SECTION LABELS ────────────── */

.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.25px;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 16px;
  color: var(--gray-300);
  line-height: 1.7;
  max-width: 560px;
}

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

/* ── NAVIGATION ───────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(22, 24, 31, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 34px;
  height: 34px;
  background: var(--blue-600);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.25px;
}

.nav-badge {
  font-size: 11px;
  background: rgba(55, 138, 221, 0.2);
  color: var(--blue-300);
  border: 1px solid rgba(55, 138, 221, 0.3);
  padding: 2px 9px;
  border-radius: var(--radius-full);
  font-weight: 500;
}

.nav-cta {
  background: var(--blue-600);
  color: var(--white);
  text-decoration: none;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--blue-500);
}

/* ── HERO ─────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(24, 95, 165, 0.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(15, 76, 129, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(55, 138, 221, 0.12);
  border: 1px solid rgba(55, 138, 221, 0.25);
  color: var(--blue-300);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
  position: relative;
  animation: fadeUp 0.6s ease both;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--blue-500);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.25px;
  margin-bottom: 1.5rem;
  position: relative;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero h1 .accent {
  color: var(--blue-300);
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--gray-300);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  position: relative;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 4rem;
  position: relative;
  animation: fadeUp 0.6s 0.3s ease both;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  position: relative;
  animation: fadeUp 0.6s 0.4s ease both;
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
}

.hero-stat-label {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
  align-self: stretch;
}


/* ── FEATURES ─────────────────────────── */

.features-header {
  margin-bottom: 3rem;
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-600), #5B9FE8);
  opacity: 0;
  transition: opacity 0.25s;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(55, 138, 221, 0.25);
  transform: translateY(-2px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(24, 95, 165, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--blue-300);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--white);
}

.feature-desc {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ── MISSION ──────────────────────────── */

.mission-section {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mission-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-padding);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.mission-quote {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.25px;
  color: var(--white);
}

.mission-quote .highlight {
  color: var(--blue-300);
}

.mission-body p {
  font-size: 15px;
  color: var(--gray-300);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.mission-body p:last-child {
  margin-bottom: 0;
}

/* ── FOUNDER ──────────────────────────── */

.founder-heading {
  margin-bottom: 2rem;
}

.founder-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.founder-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.founder-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 3px;
}

.founder-role {
  font-size: 13px;
  color: var(--blue-300);
  margin-bottom: 10px;
}

.founder-bio {
  font-size: 14px;
  color: var(--gray-300);
  line-height: 1.7;
}

/* ── SIGNUP FORM ──────────────────────── */

.form-section {
  background: rgba(24, 95, 165, 0.06);
  border-top: 1px solid rgba(55, 138, 221, 0.15);
}

.form-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-padding);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.form-heading {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.25px;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.form-left p {
  font-size: 15px;
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.spots-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(55, 138, 221, 0.12);
  border: 1px solid rgba(55, 138, 221, 0.25);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 13px;
  color: var(--blue-300);
  font-weight: 500;
}

.spots-dot {
  width: 7px;
  height: 7px;
  background: var(--blue-500);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.perks {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-300);
}

.perk-check {
  width: 20px;
  height: 20px;
  background: rgba(59, 109, 17, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.perk-check svg {
  width: 11px;
  height: 11px;
  stroke: var(--green-mid);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Form card */
.form-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

label {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-300);
}

input,
select {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--white);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
}

input::placeholder {
  color: var(--gray-500);
}

input:focus,
select:focus {
  border-color: var(--blue-500);
  background: rgba(55, 138, 221, 0.08);
}

select option {
  background: var(--gray-900);
  color: var(--white);
}

.submit-btn {
  width: 100%;
  background: var(--blue-600);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.2s;
  margin-top: 4px;
}

.submit-btn:hover {
  background: var(--blue-500);
  transform: translateY(-1px);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.privacy {
  font-size: 12px;
  color: var(--gray-500);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

/* Success state */
.success-card {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}

.success-icon {
  width: 56px;
  height: 56px;
  background: rgba(59, 109, 17, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.success-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--green-mid);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.success-card p {
  font-size: 14px;
  color: var(--gray-300);
  line-height: 1.6;
}

/* ── FOOTER ───────────────────────────── */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem;
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
}

.footer span {
  color: var(--blue-500);
}

/* ── RESPONSIVE ───────────────────────── */

@media (max-width: 640px) {
  .nav {
    padding: 1rem;
  }

  .nav-cta {
    padding: 7px 14px;
    font-size: 13px;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .mission-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .founder-card {
    flex-direction: column;
  }

  .form-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
