/* ═══════════════════════════════════════════════════════════════
   ARXION — Landing Page Styles
   Brand: Navy #0A1725 | Off-White #F0F0F0 | Orange #FF4524 | Violet #C7D4FF
═══════════════════════════════════════════════════════════════ */

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

:root {
  --navy:    #0A1725;
  --white:   #F0F0F0;
  --orange:  #FF4524;
  --violet:  #C7D4FF;
  --pure-white: #FFFFFF;
  --navy-mid: #0F2035;
  --navy-soft: rgba(10,23,37,0.06);
  --orange-soft: rgba(255,69,36,0.12);
  --violet-soft: rgba(199,212,255,0.15);
  --font-head: 'Archivo', sans-serif;
  --font-body: 'Archivo', sans-serif;
}

html { scroll-behavior: smooth; }

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

/* ─── Utility ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.accent { color: var(--orange); }

.section {
  padding: 112px 0;
}

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.navbar.scrolled {
  background: rgba(240, 240, 240, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(10,23,37,0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-img {
  height: 28px;
  width: auto;
  transition: opacity 0.3s;
}

/* On hero (dark not applicable — hero is light), just show color logo */
.logo-light { display: none; }
.logo-dark  { display: block; }

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

.nav-login {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
  letter-spacing: 0.01em;
}
.nav-login:hover { opacity: 1; }

.btn-waitlist {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pure-white);
  background: var(--orange);
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.15s;
}
.btn-waitlist:hover {
  background: #e03b1c;
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 140px 32px 80px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.hero-bg-dots {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(10,23,37,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}

.hero-content {
  flex: 1;
  max-width: 560px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  border: 1px solid rgba(255,69,36,0.2);
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(10,23,37,0.65);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 460px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--pure-white);
  background: var(--orange);
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: #e03b1c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,69,36,0.28);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  opacity: 0.65;
  transition: opacity 0.2s;
  border-bottom: 1px solid rgba(10,23,37,0.2);
  padding-bottom: 2px;
}
.btn-ghost:hover { opacity: 1; }

.btn-full { width: 100%; justify-content: center; }

/* ─── Hero Animation Panel ─── */
.hero-animation {
  flex: 1;
  max-width: 560px;
  position: relative;
  z-index: 1;
}

.anim-frame {
  position: relative;
  background: var(--navy);
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow:
    0 32px 80px rgba(10,23,37,0.18),
    0 0 0 1px rgba(10,23,37,0.08);
}

#blueprintCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.anim-overlay-ui {
  position: absolute;
  bottom: 20px;
  left: 16px;
  right: 16px;
  display: flex;
  gap: 10px;
}

.ui-card {
  flex: 1;
  background: rgba(240, 240, 240, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(240,240,240,0.15);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.ui-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.ui-card-icon {
  font-size: 1.2rem;
  color: var(--orange);
  line-height: 1;
  flex-shrink: 0;
}

.ui-card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ui-label {
  font-size: 0.65rem;
  color: rgba(240,240,240,0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ui-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

/* ═══════════════════════════════════════
   TRUST BAR
═══════════════════════════════════════ */
.trust-bar {
  border-top: 1px solid rgba(10,23,37,0.08);
  border-bottom: 1px solid rgba(10,23,37,0.08);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  background: rgba(10,23,37,0.02);
}

.trust-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(10,23,37,0.35);
  white-space: nowrap;
}

.trust-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.trust-pills span {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(10,23,37,0.55);
  background: rgba(10,23,37,0.04);
  border: 1px solid rgba(10,23,37,0.1);
  padding: 5px 14px;
  border-radius: 100px;
}

/* ═══════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════ */
.how-section { background: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.section-tag.light { color: rgba(240,240,240,0.6); }

.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
}

.step-card {
  flex: 1;
  max-width: 320px;
  padding: 40px 32px;
  border: 1px solid rgba(10,23,37,0.08);
  border-radius: 12px;
  background: var(--pure-white);
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
}

.step-card:hover {
  box-shadow: 0 16px 40px rgba(10,23,37,0.1);
  transform: translateY(-4px);
}

.step-number {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 20px;
  opacity: 0.7;
}

.step-icon {
  width: 44px;
  height: 44px;
  color: var(--navy);
  margin-bottom: 20px;
  opacity: 0.8;
}

.step-icon svg { width: 100%; height: 100%; }

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.step-card p {
  font-size: 0.92rem;
  color: rgba(10,23,37,0.55);
  line-height: 1.65;
}

.step-connector {
  padding: 0 16px;
  color: rgba(10,23,37,0.2);
  flex-shrink: 0;
}
.step-connector svg { width: 48px; height: 16px; }

/* ═══════════════════════════════════════
   VALUES / WHY ARXION
═══════════════════════════════════════ */
.values-section {
  background: var(--navy);
  color: var(--white);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.values-left .section-tag { color: var(--orange); }

.values-left h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 20px;
}

.values-left h2 .accent { color: var(--orange); }

.values-desc {
  font-size: 1rem;
  color: rgba(240,240,240,0.6);
  line-height: 1.7;
  margin-bottom: 36px;
}

.values-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.value-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(240,240,240,0.07);
}
.value-item:last-child { border-bottom: none; padding-bottom: 0; }

.value-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  margin-top: 8px;
}

.value-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.value-item p {
  font-size: 0.9rem;
  color: rgba(240,240,240,0.5);
  line-height: 1.65;
}

/* ═══════════════════════════════════════
   QUOTE
═══════════════════════════════════════ */
.quote-section {
  padding: 100px 0;
  background: var(--white);
  text-align: center;
}

.big-quote {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.03em;
  list-style: none;
  border: none;
  position: relative;
  display: inline-block;
}

.quote-mark {
  position: absolute;
  top: -20px;
  left: -20px;
  font-size: 5rem;
  color: var(--orange);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}

/* ═══════════════════════════════════════
   WAITLIST
═══════════════════════════════════════ */
.waitlist-section {
  background: var(--white);
  padding-bottom: 140px;
}

.waitlist-box {
  background: var(--navy);
  border-radius: 20px;
  padding: 72px;
  position: relative;
  overflow: hidden;
}

.waitlist-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(199,212,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Gradient accent in corner */
.waitlist-box::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,69,36,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.waitlist-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.waitlist-content h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.waitlist-content p {
  font-size: 1rem;
  color: rgba(240,240,240,0.55);
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ─── Form ─── */
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

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

.waitlist-form input,
.waitlist-form select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(240,240,240,0.07);
  border: 1px solid rgba(240,240,240,0.12);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.waitlist-form input::placeholder { color: rgba(240,240,240,0.3); }
.waitlist-form input:focus,
.waitlist-form select:focus {
  border-color: var(--orange);
  background: rgba(255,69,36,0.06);
}

.waitlist-form select option {
  background: var(--navy);
  color: var(--white);
}

/* Success State */
.waitlist-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px;
  animation: fadeIn 0.5s ease;
}

.waitlist-success.show { display: flex; }

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.waitlist-success p {
  color: var(--white);
  font-size: 1rem;
  opacity: 0.8;
  margin: 0;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  background: var(--white);
  border-top: 1px solid rgba(10,23,37,0.08);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo img {
  height: 24px;
  width: auto;
  margin-bottom: 8px;
  opacity: 0.7;
}

.footer-logo p {
  font-size: 0.8rem;
  color: rgba(10,23,37,0.4);
}

.footer-copy p {
  font-size: 0.8rem;
  color: rgba(10,23,37,0.35);
}

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    padding-top: 120px;
    text-align: center;
    align-items: center;
  }
  .hero-content { max-width: 100%; }
  .hero-sub { margin: 0 auto 40px; }
  .hero-ctas { justify-content: center; }
  .hero-animation { max-width: 100%; width: 100%; }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .steps-grid {
    flex-direction: column;
    gap: 0;
  }
  .step-card { max-width: 100%; width: 100%; }
  .step-connector { transform: rotate(90deg); padding: 8px 0; }
}

@media (max-width: 768px) {
  .nav-inner { padding: 18px 20px; }
  .container { padding: 0 20px; }
  .hero { padding: 110px 20px 60px; }
  .section { padding: 80px 0; }

  .waitlist-box { padding: 40px 24px; }
  .form-row { grid-template-columns: 1fr; }

  .trust-bar { flex-direction: column; gap: 16px; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-logo { align-items: center; display: flex; flex-direction: column; }
  
  .anim-overlay-ui { flex-direction: column; gap: 8px; bottom: 12px; }
  .ui-card { max-width: 200px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.4rem; }
  .steps-grid { gap: 16px; }
  .step-card { padding: 28px 20px; }
}
