/* VOREXIS — Aurora Prism brand site */
:root {
  --ink-950: #03080c;
  --ink-900: #071318;
  --ink-800: #0e2430;
  --aqua: #1ee6c8;
  --coral: #ff5c7a;
  --amber: #ffb84d;
  --signal: #7cffb2;
  --prism: #8b7cff;
  --danger: #ff4a3d;
  --white: #f4fbff;
  --muted: #8fa8b5;
  --border: rgba(244, 251, 255, 0.08);
  --panel: rgba(14, 36, 48, 0.72);
  --gradient: linear-gradient(135deg, var(--aqua), var(--amber));
  --gradient-soft: linear-gradient(135deg, rgba(30, 230, 200, 0.2), rgba(255, 92, 122, 0.12), rgba(255, 184, 77, 0.18));
  --font: "Outfit", system-ui, sans-serif;
  --font-display: "Space Grotesk", var(--font);
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1100px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--white);
  background: var(--ink-950);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 15% -5%, rgba(30, 230, 200, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 40% at 92% 8%, rgba(255, 92, 122, 0.1), transparent 50%),
    radial-gradient(ellipse 50% 35% at 55% 100%, rgba(255, 184, 77, 0.08), transparent 55%),
    radial-gradient(ellipse 40% 30% at 70% 60%, rgba(139, 124, 255, 0.05), transparent 60%);
  pointer-events: none;
  z-index: -2;
}

.aurora-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 251, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 251, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
  pointer-events: none;
  z-index: -1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--aqua);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--white);
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(3, 8, 12, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}

.brand:hover {
  color: var(--white);
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  object-fit: cover;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--white);
}

.lang-switch {
  position: relative;
  z-index: 120;
  display: inline-flex;
  flex-shrink: 0;
  padding: 3px;
  border-radius: 999px;
  background: rgba(14, 36, 48, 0.95);
  border: 1px solid var(--border);
  pointer-events: auto;
}

.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  pointer-events: auto;
}

.lang-switch button.active {
  background: rgba(30, 230, 200, 0.18);
  color: var(--aqua);
}

.menu-toggle {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--white);
  padding: 0.35rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--ink-950);
  background: var(--gradient);
  box-shadow: 0 10px 36px rgba(30, 230, 200, 0.22);
}

.btn-primary:hover {
  color: var(--ink-950);
  box-shadow: 0 14px 44px rgba(255, 184, 77, 0.25);
}

.btn-ghost {
  color: var(--white);
  background: rgba(244, 251, 255, 0.04);
  border-color: var(--border);
}

.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(30, 230, 200, 0.35);
  background: rgba(30, 230, 200, 0.08);
}

.nav-cta {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  color: var(--ink-950) !important;
  background: var(--gradient);
  font-weight: 600;
  font-size: 0.875rem;
}

.nav-cta:hover {
  opacity: 0.92;
  color: var(--ink-950) !important;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: center;
}

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

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(30, 230, 200, 0.25);
  background: rgba(30, 230, 200, 0.08);
  color: var(--aqua);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-kicker .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 10px var(--aqua);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.1rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-lead {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

/* Triple phone mockup */
.hero-mockup {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.phone {
  position: absolute;
  width: 196px;
}

.phone--left {
  transform: translate(-118px, 28px) rotate(-12deg) scale(0.86);
  z-index: 1;
  opacity: 0.92;
}

.phone--center {
  transform: translateY(-8px);
  z-index: 3;
  animation: float-phone 6.5s ease-in-out infinite;
}

.phone--right {
  transform: translate(118px, 28px) rotate(12deg) scale(0.86);
  z-index: 2;
  opacity: 0.92;
}

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

.phone-bezel {
  position: relative;
  padding: 9px;
  border-radius: 32px;
  background: linear-gradient(160deg, #1a3340, #0a151c 55%, #122833);
  border: 1px solid rgba(244, 251, 255, 0.12);
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.phone--center .phone-bezel {
  box-shadow:
    0 32px 70px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(30, 230, 200, 0.14),
    0 0 60px rgba(255, 92, 122, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-notch {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 16px;
  border-radius: 999px;
  background: #03080c;
  z-index: 3;
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 390 / 844;
  background: var(--ink-950);
}

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

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.1rem;
  border-radius: 14px;
  background: rgba(14, 36, 48, 0.85);
  border: 1px solid var(--border);
  color: var(--white);
  min-width: 168px;
}

.store-badge:hover {
  color: var(--white);
  border-color: rgba(30, 230, 200, 0.35);
}

.store-badge small {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.2;
}

.store-badge strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.lane-strip {
  display: flex;
  gap: 0.55rem;
  margin-top: 2.25rem;
}

.lane-chip {
  flex: 1;
  max-width: 120px;
  height: 6px;
  border-radius: 999px;
  opacity: 0.85;
}

.lane-chip--aqua { background: var(--aqua); box-shadow: 0 0 16px rgba(30, 230, 200, 0.45); }
.lane-chip--coral { background: var(--coral); box-shadow: 0 0 16px rgba(255, 92, 122, 0.4); }
.lane-chip--amber { background: var(--amber); box-shadow: 0 0 16px rgba(255, 184, 77, 0.4); }

/* —— Sections —— */
section {
  padding: 5.5rem 0;
}

.section-label {
  margin: 0 0 0.65rem;
  color: var(--aqua);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-desc {
  margin: 0 0 2.5rem;
  color: var(--muted);
  max-width: 36rem;
  font-size: 1.05rem;
}

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

.feature {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.feature:hover {
  border-color: rgba(30, 230, 200, 0.28);
  transform: translateY(-2px);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: rgba(30, 230, 200, 0.1);
  color: var(--aqua);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.feature:nth-child(2) .feature-icon {
  background: rgba(255, 92, 122, 0.1);
  color: var(--coral);
}

.feature:nth-child(3) .feature-icon {
  background: rgba(255, 184, 77, 0.12);
  color: var(--amber);
}

.feature:nth-child(5) .feature-icon {
  background: rgba(255, 92, 122, 0.1);
  color: var(--coral);
}

.feature:nth-child(6) .feature-icon {
  background: rgba(255, 184, 77, 0.12);
  color: var(--amber);
}

.feature h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(14, 36, 48, 0.85), rgba(7, 19, 24, 0.6));
  border: 1px solid var(--border);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--aqua);
}

.step h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* CTA band */
.cta-band {
  padding: 3rem;
  border-radius: 28px;
  background:
    var(--gradient-soft),
    linear-gradient(135deg, rgba(14, 36, 48, 0.95), rgba(7, 19, 24, 0.98));
  border: 1px solid rgba(30, 230, 200, 0.18);
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.cta-band p {
  margin: 0 auto 1.75rem;
  color: var(--muted);
  max-width: 28rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border);
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
}

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

/* Inner pages */
.page-hero {
  padding: calc(var(--header-h) + 3.5rem) 0 1.5rem;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
}

.meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.prose {
  padding-bottom: 5rem;
  max-width: 720px;
}

.prose h2 {
  margin: 2.5rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--aqua);
}

.prose h3 {
  margin: 1.75rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose strong {
  color: var(--white);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.92rem;
}

.prose th,
.prose td {
  text-align: left;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.prose th {
  color: var(--white);
  background: rgba(14, 36, 48, 0.7);
}

/* Contact */
.contact-simple {
  max-width: 520px;
  margin-bottom: 5rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border);
}

.contact-simple h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
}

.contact-simple p {
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.contact-email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--aqua);
}

.contact-mail-btn {
  display: inline-flex;
  margin-top: 1.35rem;
}

/* Download page */
.download-page {
  min-height: calc(100vh - 140px);
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 2rem) 0 3rem;
}

.download-card {
  width: min(100%, 480px);
  padding: 2.5rem 2rem;
  text-align: center;
  border-radius: 28px;
  background: var(--panel);
  border: 1px solid rgba(30, 230, 200, 0.16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.download-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.25rem;
  border-radius: 24px;
}

.download-card h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.85rem;
}

.download-lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
}

.download-card .store-badges {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.download-note {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.download-note code {
  color: var(--aqua);
  font-size: 0.8rem;
  word-break: break-all;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 960px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-mockup {
    order: -1;
    height: 400px;
  }

  .phone {
    width: 150px;
  }

  .phone--left {
    transform: translate(-88px, 22px) rotate(-11deg) scale(0.86);
  }

  .phone--center {
    transform: translateY(-4px);
  }

  .phone--right {
    transform: translate(88px, 22px) rotate(11deg) scale(0.86);
  }

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

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(3, 8, 12, 0.96);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
    z-index: 90;
  }

  .nav-links.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    border-bottom: 0;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 2rem);
  }

  .hero-content {
    max-width: none;
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions,
  .store-badges {
    justify-content: center;
  }

  .lane-strip {
    justify-content: center;
  }

  .hero-mockup {
    height: 340px;
  }

  .phone {
    width: 122px;
  }

  .phone--left {
    transform: translate(-72px, 18px) rotate(-10deg) scale(0.88);
  }

  .phone--center {
    transform: translateY(-2px);
  }

  .phone--right {
    transform: translate(72px, 18px) rotate(10deg) scale(0.88);
  }

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

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

  .cta-band {
    padding: 2rem 1.35rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
