/* VoxMind Landing Page */

:root {
  --bg-primary: #080818;
  --bg-card: #0d0d22;
  --indigo: #4F46E5;
  --violet: #7C3AED;
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.55);
  --text-heading: #FFFFFF;
  --border-subtle: rgba(255, 255, 255, 0.08);
}

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

/* ── Animations ─────────────────────────────────────────── */

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@keyframes orbMove1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(60px, -40px) scale(1.15); }
}

@keyframes orbMove2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-50px, 30px) scale(1.1); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: .6; }
  50%      { opacity: 1; }
}

.animate {
  opacity: 0;
  animation: fadeInUp .7s ease-out forwards;
}

.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .25s; }
.delay-3 { animation-delay: .4s; }
.delay-4 { animation-delay: .55s; }
.delay-5 { animation-delay: .7s; }
.delay-6 { animation-delay: .85s; }

/* ── General ────────────────────────────────────────────── */

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Background orbs ───────────────────────────────────── */

.orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  will-change: transform;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79,70,229,.22), transparent 70%);
  top: -150px;
  left: -100px;
  animation: orbMove1 18s ease-in-out infinite;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,.18), transparent 70%);
  top: 40%;
  right: -120px;
  animation: orbMove2 22s ease-in-out infinite;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(79,70,229,.14), transparent 70%);
  bottom: -80px;
  left: 30%;
  animation: orbMove1 25s ease-in-out infinite reverse;
}

.page-wrapper {
  position: relative;
  z-index: 1;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── Nav ───────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background .3s, box-shadow .3s;
}

.nav.scrolled {
  background: rgba(8,8,24,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border-subtle);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.nav-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(79,70,229,.45);
}

.nav-logo-icon svg { width: 20px; height: 20px; fill: #fff; }

.nav-logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -.4px;
}

.nav-links {
  display: none;
  gap: 32px;
  align-items: center;
  list-style: none;
}

@media (min-width: 640px) {
  .nav-links { display: flex; }
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color .2s;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(79,70,229,.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(79,70,229,.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,.04);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}

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

/* ── Hero ───────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,.04);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34D399;
  animation: pulse-glow 2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(32px, 7vw, 64px);
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.08;
  letter-spacing: -1.5px;
  max-width: 700px;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--indigo), var(--violet), #A78BFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  margin-top: 20px;
  font-size: clamp(15px, 2.2vw, 18px);
  color: var(--text-secondary);
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stat {
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
}

.hero-stat span {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ── Phone Mockup ───────────────────────────────────────── */

.phone-mockups {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: flex-end;
  margin-top: 64px;
  flex-wrap: wrap;
}

.phone-frame {
  width: 220px;
  border-radius: 32px;
  border: 3px solid rgba(255,255,255,.1);
  background: var(--bg-card);
  padding: 8px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04),
    0 24px 64px -12px rgba(0,0,0,.6),
    0 0 80px -20px rgba(79,70,229,.2);
  transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s ease;
}

.phone-frame:nth-child(2) {
  transform: translateY(-16px);
}

.phone-frame:nth-child(4) {
  transform: translateY(-16px);
}

.phone-frame:hover {
  transform: translateY(-8px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08),
    0 32px 80px -12px rgba(0,0,0,.7),
    0 0 100px -20px rgba(79,70,229,.35);
}

.phone-frame:nth-child(2):hover {
  transform: translateY(-24px);
}

.phone-frame:nth-child(4):hover {
  transform: translateY(-24px);
}

.phone-notch {
  width: 72px;
  height: 5px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  margin: 0 auto 6px;
}

.phone-screen {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 9/19.5;
  position: relative;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-screen-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 0 10px;
  background: linear-gradient(transparent, rgba(8,8,24,.92));
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* ── Section ────────────────────────────────────────────── */

.section {
  padding: 100px 24px;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-label svg { width: 16px; height: 16px; }

.section-title {
  font-size: clamp(26px, 5vw, 42px);
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -.8px;
  line-height: 1.15;
  max-width: 600px;
}

.section-subtitle {
  margin-top: 16px;
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 520px;
}

/* ── Features grid ─────────────────────────────────────── */

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}

@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,.02);
  transition: background .3s, border-color .3s, transform .3s;
}

.feature-card:hover {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.12);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(79,70,229,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--indigo);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── How it works ───────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 48px;
}

@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

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

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 18px;
  box-shadow: 0 4px 20px rgba(79,70,229,.3);
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 280px;
  margin: 0 auto;
}

/* ── CTA ───────────────────────────────────────────────── */

.cta {
  text-align: center;
}

.cta-box {
  padding: 64px 32px;
  border-radius: 28px;
  border: 1px solid rgba(79,70,229,.2);
  background: linear-gradient(160deg, rgba(79,70,229,.1), rgba(124,58,237,.06));
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(79,70,229,.12), transparent 55%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -.6px;
  margin-bottom: 12px;
}

.cta-box p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 32px;
}

/* ── Footer ─────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 32px 24px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color .2s;
}

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