/* ============================================================
   AXIOM — Futuristic Landing Page
   Palette: Deep Navy #050510 | Orange #FF6B35 | Gold #FFD700
   ============================================================ */

:root {
  --bg:        #050510;
  --bg-2:      #0a0a1e;
  --bg-card:   rgba(255, 255, 255, 0.03);
  --border:    rgba(255, 107, 53, 0.15);
  --orange:    #FF6B35;
  --gold:      #FFD700;
  --text:      #e8e8f0;
  --text-muted:#8888aa;
  --font-head: 'Orbitron', monospace;
  --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---- Animated background canvas ---- */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

/* ---- Nav ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  background: rgba(5, 5, 16, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, rgba(255,107,53,0.2), rgba(255,215,0,0.1));
  border: 1px solid rgba(255,107,53,0.4);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
}

.nav-logo-icon svg { width: 18px; height: 18px; }

.nav-logo-text {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.lang-toggle {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,107,53,0.25);
  border-radius: 6px;
  position: relative;
  z-index: 200;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.35rem 0.7rem;
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: color 0.2s, background 0.2s;
  line-height: 1;
  white-space: nowrap;
  pointer-events: all;
  user-select: none;
}

.lang-btn:hover {
  color: var(--orange);
  background: rgba(255,107,53,0.1);
}

.lang-btn.active {
  color: var(--orange);
  background: rgba(255,107,53,0.18);
}

.lang-sep {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: rgba(255,107,53,0.25);
  flex-shrink: 0;
  align-self: center;
}

.nav-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  color: var(--gold);
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 20px;
  padding: 0.35rem 0.85rem;
}

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

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

/* ---- Hero ---- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: 7rem 5vw 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-family: var(--font-head);
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.eyebrow-line {
  flex: 1;
  max-width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange));
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--orange) 0%, var(--gold) 60%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.hero-description {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(232, 232, 240, 0.75);
  max-width: 560px;
}

/* Feature pills */
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-family: var(--font-head);
  letter-spacing: 0.05em;
  color: var(--orange);
  background: rgba(255, 107, 53, 0.08);
  border: 1px solid rgba(255, 107, 53, 0.25);
  border-radius: 20px;
  padding: 0.3rem 0.75rem;
  transition: background 0.2s, border-color 0.2s;
}

.pill:hover {
  background: rgba(255, 107, 53, 0.15);
  border-color: rgba(255, 107, 53, 0.5);
}

/* CTA block */
.cta-block {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cta-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.email-form {
  display: flex;
  gap: 0;
  max-width: 480px;
}

.email-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-right: none;
  border-radius: 8px 0 0 8px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

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

.email-input:focus {
  border-color: var(--orange);
  background: rgba(255, 107, 53, 0.05);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--orange), #e55a20);
  border: none;
  border-radius: 0 8px 8px 0;
  color: #fff;
  font-size: 0.9rem;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}

.cta-btn:hover { opacity: 0.9; transform: translateX(2px); }
.cta-btn:active { transform: translateX(0); }

.form-success {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #4ade80;
  padding: 0.5rem 0;
}

.form-success.visible { display: flex; }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-glow {
  position: absolute;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(255,107,53,0.25) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
}

.hero-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  border-radius: 16px;
  border: 1px solid rgba(255, 107, 53, 0.2);
  box-shadow: 0 0 60px rgba(255, 107, 53, 0.15), 0 0 120px rgba(255, 215, 0, 0.05);
}

/* ---- Features ---- */
.features {
  position: relative;
  z-index: 1;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 5vw;
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}

.feature-card:hover {
  border-color: rgba(255, 107, 53, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.1);
}

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon.orange {
  background: rgba(255, 107, 53, 0.12);
  border: 1px solid rgba(255, 107, 53, 0.3);
  color: var(--orange);
}

.feature-icon.gold {
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.25);
  color: var(--gold);
}

.feature-card h3 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.feature-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ---- Status section ---- */
.status-section {
  position: relative;
  z-index: 1;
  padding: 2.5rem 5vw;
}

.status-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-family: var(--font-head);
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 0 1.5rem;
}

.status-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
}

.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.active {
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
  animation: pulse 2s ease-in-out infinite;
}

.status-dot.planned {
  background: rgba(255, 255, 255, 0.2);
}

.status-label {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
}

.status-label.in-progress {
  background: rgba(255, 107, 53, 0.12);
  color: var(--orange);
  border: 1px solid rgba(255, 107, 53, 0.3);
}

.status-label.planned-label {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---- Footer ---- */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2.5rem 5vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.footer-logo-icon {
  width: 28px; height: 28px;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
}

.footer-logo-icon svg { width: 14px; height: 14px; }

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-copy a {
  color: var(--orange);
  text-decoration: none;
}

.footer-copy a:hover { text-decoration: underline; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 6rem;
    text-align: center;
  }

  .hero-eyebrow { justify-content: center; }
  .hero-description { margin: 0 auto; }
  .feature-pills { justify-content: center; }
  .cta-block { align-items: center; }
  .email-form { width: 100%; max-width: 400px; }

  .hero-visual { order: -1; }
  .hero-img { max-width: 420px; }

  .features-grid { grid-template-columns: 1fr 1fr; }

  .status-inner { flex-direction: column; gap: 0.75rem; }
  .status-divider { display: none; }
}

@media (max-width: 600px) {
  .nav {
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .nav-logo {
    flex: 1 1 auto;
    min-width: 0;
  }
  .nav-right {
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: flex-end;
  }
  .nav-badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
    letter-spacing: 0.04em;
  }
  .features-grid { grid-template-columns: 1fr; }
  .email-form { flex-direction: column; }
  .email-input { border-right: 1px solid rgba(255, 107, 53, 0.3); border-radius: 8px; }
  .cta-btn { border-radius: 8px; justify-content: center; }
}

@media (max-width: 420px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1rem;
    gap: 0.5rem;
  }
  .nav-right {
    width: 100%;
    justify-content: flex-start;
  }
}
