/* Everluxe — premium robotics landing page */

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

:root {
  --bg: #070a0e;
  --surface: #0d1117;
  --surface2: #141b24;
  --border: #1e2a38;
  --text: #e8edf5;
  --muted: #6b7a8f;
  --accent: #00d4ff;
  --accent-dim: rgba(0, 212, 255, 0.12);
  --accent-glow: 0 0 24px rgba(0, 212, 255, 0.35);
  --cta: #00d4ff;
  --cta-text: #070a0e;
  --radius: 12px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── Navigation ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 10, 14, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

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

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: var(--accent-glow);
  animation: pulse 2s ease-in-out infinite;
}

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

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 820px;
  margin-bottom: 1.5rem;
}

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

.hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.hero-image-wrap {
  position: relative;
  max-width: 960px;
  width: 100%;
  margin: 2rem auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), var(--accent-glow);
}

.hero-image-wrap img {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.hero-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(7,10,14,0.4) 100%);
  pointer-events: none;
}

/* ─── CTA Buttons ─── */
.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--cta-text);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.8rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 0 rgba(0,212,255,0);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--accent-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ─── Waitlist Form ─── */
.waitlist-form {
  margin-top: 2.5rem;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.waitlist-form input {
  flex: 1;
  min-width: 220px;
  padding: 0.8rem 1.25rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.waitlist-form input::placeholder { color: var(--muted); }
.waitlist-form input:focus { border-color: var(--accent); }

.waitlist-form .btn-primary { white-space: nowrap; }

.form-note {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ─── Section Defaults ─── */
.section {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 680px;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.7;
}

/* ─── Story Section ─── */
.story { border-top: 1px solid var(--border); }

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.story-text p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.story-text p:last-child { margin-bottom: 0; }

.story-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

/* ─── Features ─── */
.features { border-top: 1px solid var(--border); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 0 1px rgba(0,212,255,0.1), 0 8px 24px rgba(0,0,0,0.3);
}

.feature-icon {
  width: 48px; height: 48px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ─── How It Works ─── */
.how { border-top: 1px solid var(--border); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(120px);
  right: calc(120px);
  height: 1px;
  background: linear-gradient(to right, var(--accent), transparent);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px; height: 56px;
  background: var(--accent-dim);
  border: 1px solid rgba(0,212,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0 auto 1.25rem;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── CTA Section ─── */
.cta-section {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 6rem 2rem;
}

.cta-section .section-sub { margin: 0 auto 2.5rem; }

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.footer-logo span { color: var(--accent); }

.footer-copy {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ─── Divider ─── */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--accent), transparent);
  border-radius: 2px;
  margin: 1.25rem 0;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 5rem 1.5rem 3rem; }
  .section { padding: 3.5rem 1.5rem; }
  .story-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .story-stats { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .footer { flex-direction: column; text-align: center; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form input { min-width: unset; width: 100%; }
}

@media (max-width: 480px) {
  .story-stats { grid-template-columns: 1fr; }
  .cta-group { flex-direction: column; align-items: center; }
}