/* ============================================
   AELIOS LANDING PAGE — STYLES
   ============================================ */

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

:root {
  --bg: #080a0f;
  --bg-2: #0e1118;
  --surface: #13161f;
  --surface-2: #1a1e2a;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.16);
  --text: #f0f2f8;
  --text-muted: #8892a4;
  --text-subtle: #4a5568;
  --accent: #6c63ff;
  --accent-2: #a78bfa;
  --accent-3: #38bdf8;
  --green: #34d399;
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'DM Sans', 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--accent-2);
}
.section-label.light { color: rgba(255,255,255,0.6); }
.section-label.light::before { background: rgba(255,255,255,0.4); }

.section-heading {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 48px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(108,99,255,0);
}
.btn-primary:hover {
  background: #7c73ff;
  box-shadow: 0 0 24px rgba(108,99,255,0.4);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.04);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}
.btn-ghost:hover { color: var(--text); }

.btn-white {
  background: #fff;
  color: #0a0a0f;
}
.btn-white:hover {
  background: #f0f0ff;
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline-white:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
}

.btn-lg { padding: 15px 32px; font-size: 16px; border-radius: 12px; }

.btn-icon {
  font-size: 11px;
  opacity: 0.8;
}

/* ============================================
   NAV
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(8, 10, 15, 0.7);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  flex-shrink: 0;
}

.logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  flex: 1;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

.nav-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  padding: 160px 0 120px;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #6c63ff, transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  animation: float 8s ease-in-out infinite;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #38bdf8, transparent 70%);
  bottom: -100px;
  left: 10%;
  opacity: 0.2;
  animation: float2 10s ease-in-out infinite;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #a78bfa, transparent 70%);
  top: 50px;
  right: 5%;
  opacity: 0.2;
  animation: float3 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(-50%); }
  50% { transform: translateY(-30px) translateX(-50%); }
}
@keyframes float2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes float3 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-25px); } }

.grid-lines {
  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;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero .container { position: relative; z-index: 1; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108,99,255,0.15);
  border: 1px solid rgba(108,99,255,0.3);
  color: var(--accent-2);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.hero-heading {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.hero-social-proof {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

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

/* ============================================
   PROBLEM
   ============================================ */

.problem {
  padding: 100px 0;
  background: var(--bg-2);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.problem-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.problem-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.problem-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.problem-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   SOLUTION
   ============================================ */
.solution {
  padding: 100px 0;
  background: var(--bg);
}

.solution .section-sub {
  max-width: 600px;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.solution-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.solution-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.solution-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.solution-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.solution-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.how-it-works {
  padding: 100px 0;
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 180px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s;
}
.step:hover { border-color: var(--border-hover); }

.step-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-2);
  margin-bottom: 14px;
}

.step h3 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 36px;
  font-size: 20px;
  color: var(--text-subtle);
  flex-shrink: 0;
}

/* ============================================
   DEMO SECTION
   ============================================ */

.demo-section {
  padding: 100px 0;
  background: var(--bg-2);
}

.demo-section .section-sub {
  margin-bottom: 40px;
}

.demo-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.demo-chrome {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.demo-chrome-dots {
  display: flex;
  gap: 7px;
}

.demo-chrome-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-hover);
}
.demo-chrome-dots span:nth-child(1) { background: #ff5f57; }
.demo-chrome-dots span:nth-child(2) { background: #febc2e; }
.demo-chrome-dots span:nth-child(3) { background: #28c840; }

.demo-chrome-url {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--text-subtle);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 16px;
  font-family: monospace;
}

.demo-frame-container {
  line-height: 0;
}

.demo-frame-container iframe {
  display: block;
  width: 100%;
}

.demo-cta-below {
  padding: 28px 32px;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.demo-cta-below p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ============================================
   VALUE PROPS
   ============================================ */

.value-props {
  padding: 100px 0;
}

.vp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  margin-top: 56px;
}

.vp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.vp-card:hover {
  border-color: rgba(108,99,255,0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(108,99,255,0.1);
}

.vp-card-large {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(108,99,255,0.12) 0%, rgba(56,189,248,0.08) 100%);
  border-color: rgba(108,99,255,0.2);
}

.vp-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.vp-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.vp-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.vp-card-large h3 { font-size: 20px; }
.vp-card-large p { font-size: 15px; }

/* ============================================
   SOCIAL PROOF / TESTIMONIALS
   ============================================ */

.social-proof {
  padding: 100px 0;
  background: var(--bg-2);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial p {
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
}

.testimonial p::before { content: '"'; }
.testimonial p::after { content: '"'; }

.testimonial cite {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-style: normal;
}

.testimonial cite strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
}

.testimonial cite span {
  font-size: 12.5px;
  color: var(--text-subtle);
}

/* ============================================
   WAITLIST
   ============================================ */

.waitlist-section {
  padding: 100px 0;
}

.waitlist-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 64px;
}

.waitlist-left h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.15;
}

.waitlist-left p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.waitlist-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.waitlist-perks li {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-2);
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-group label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.form-group input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  width: 100%;
}

.form-group input::placeholder { color: var(--text-subtle); }

.form-group input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.15);
}

.waitlist-submit { width: 100%; justify-content: center; margin-top: 4px; }

.waitlist-success {
  text-align: center;
  padding: 40px 20px;
  animation: fadeUp 0.4s ease;
}

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

.success-icon {
  font-size: 36px;
  color: var(--accent-2);
  margin-bottom: 16px;
}

.waitlist-success h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.waitlist-success p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  padding: 100px 0;
}

.cta-card {
  position: relative;
  background: linear-gradient(135deg, #1a1040 0%, #0e1530 50%, #0a1525 100%);
  border: 1px solid rgba(108,99,255,0.25);
  border-radius: 24px;
  padding: 80px 64px;
  text-align: center;
  overflow: hidden;
}

.cta-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(108,99,255,0.25), transparent 65%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.cta-card .section-label { margin-bottom: 16px; }

.cta-card h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  position: relative;
}

.cta-card p {
  color: rgba(255,255,255,0.6);
  font-size: 18px;
  margin-bottom: 40px;
  position: relative;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 0;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 48px;
  flex-wrap: wrap;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-subtle);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .steps { flex-direction: column; }
  .step-arrow { display: none; }
  .vp-grid { grid-template-columns: 1fr 1fr; }
  .vp-card-large { grid-column: span 2; }
  .hero-social-proof { gap: 24px; padding: 20px 28px; }
  .cta-card { padding: 48px 32px; }
  .waitlist-card { grid-template-columns: 1fr; gap: 40px; padding: 40px 32px; }
}

@media (max-width: 600px) {
  .nav-ctas .btn-ghost { display: none; }
  .vp-grid { grid-template-columns: 1fr; }
  .vp-card-large { grid-column: span 1; }
  .hero-social-proof { flex-direction: column; gap: 20px; }
  .divider-v { display: none; }
  .demo-cta-below { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
