/* ============================================
   GRAVITY VAULT — Layout & Sections
   ============================================ */

/* ============================================
   CONTAINER
   ============================================ */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-m);
}

/* ============================================
   NAVIGATION
   ============================================ */

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-primary);
  flex-shrink: 0;
}

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

.nav-logo__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

.nav-cta { display: none; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-s);
  border-radius: var(--radius-s);
  transition: background var(--transition-fast);
}

.nav-toggle:hover { background: var(--bg-elevated); }

.nav-toggle .bar {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
  display: block;
}

.nav-toggle.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open .bar:nth-child(2) { opacity: 0; }
.nav-toggle.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-l);
  padding-top: 80px;
}

.mobile-nav[hidden] { display: none; }

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.mobile-nav a:hover { color: var(--accent-primary); }

/* ============================================
   HERO SECTION — three layered ambient orbs
   ============================================ */

.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px var(--space-m) var(--space-5xl);
  position: relative;
  overflow: hidden;
}

/* Orb 1 — large indigo, top-center */
.hero::before {
  content: '';
  position: absolute;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.14) 0%, transparent 65%);
  top: -240px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

/* Orb 2 — green/teal, bottom-right */
.hero::after {
  content: '';
  position: absolute;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(0, 208, 132, 0.08) 0%, transparent 60%);
  bottom: -80px;
  right: -120px;
  pointer-events: none;
  z-index: 0;
}

/* Orb 3 — smaller indigo, bottom-left (element in HTML) */
.hero__orb3 {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.07) 0%, transparent 60%);
  bottom: 60px;
  left: -80px;
  pointer-events: none;
  z-index: 0;
}

/* All hero content sits above orbs */
.hero > *:not(.hero__orb3) {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-s);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-full);
  padding: 7px 18px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-primary);
  letter-spacing: 0.5px;
  margin-bottom: var(--space-l);
}

.hero__headline {
  max-width: 860px;
  margin-bottom: var(--space-l);
}

.hero__subheadline {
  max-width: 580px;
  font-size: 1.1875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
  justify-content: center;
  margin-bottom: var(--space-2xl);
}

/* Dominant single CTA row */
.hero__cta-main {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-l);
}

/* Store badges below main CTA */
.hero__store-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-m);
  justify-content: center;
  margin-bottom: var(--space-m);
}

.hero__fine-print {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-bottom: var(--space-3xl);
}

.hero__mockup {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

/* ============================================
   TRUST METRICS BAR
   ============================================ */

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  align-items: center;
}

.metrics-divider {
  display: none;
  width: 1px;
  height: 52px;
  background: var(--border-subtle);
}

/* ============================================
   SECTION GENERIC — generous vertical rhythm
   ============================================ */

.section {
  padding: var(--space-5xl) 0;
}

/* Alt sections: different bg + subtle dot grid */
.section--alt {
  background: var(--bg-secondary);
  position: relative;
}

.section--alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.section--alt > * {
  position: relative;
  z-index: 1;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section__header h2 { margin-bottom: var(--space-m); }

.section__header p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
}

/* ============================================
   FEATURES GRID
   ============================================ */

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-l);
}

/* ============================================
   SECURITY SECTION
   ============================================ */

.security-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.security-specs {
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
}

.security-spec-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-m);
  padding: var(--space-m) var(--space-l);
  background: var(--bg-elevated);
  border-radius: var(--radius-m);
  border: 1px solid var(--border-subtle);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.security-spec-item:hover {
  border-color: rgba(0, 208, 132, 0.25);
  background: rgba(0, 208, 132, 0.03);
}

.security-spec-item__icon {
  width: 36px;
  height: 36px;
  background: rgba(0, 208, 132, 0.1);
  border: 1px solid rgba(0, 208, 132, 0.2);
  border-radius: var(--radius-s);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.security-spec-item__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-tertiary);
  font-weight: 600;
  margin-bottom: 2px;
}

.security-spec-item__value {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  color: var(--accent-security);
}

/* ============================================
   USE CASES / TESTIMONIALS GRIDS
   ============================================ */

.use-cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-l);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-l);
}

/* ============================================
   FAQ
   ============================================ */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing-layout {
  max-width: 560px;
  margin: 0 auto;
}

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

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-col__title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-tertiary);
  margin-bottom: var(--space-m);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
}

.footer-col a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

/* Brand column with logo */
.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-s);
  text-decoration: none;
  margin-bottom: var(--space-m);
}

.footer-brand-logo span {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  line-height: 1.6;
  max-width: 260px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
  align-items: center;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.footer-stores {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-m);
  justify-content: center;
  margin-bottom: var(--space-l);
}

/* ============================================
   MOBILE STICKY CTA
   ============================================ */

.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-active);
  padding: var(--space-m);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  gap: var(--space-s);
}

.mobile-sticky-cta .cta-primary,
.mobile-sticky-cta .cta-secondary {
  flex: 1;
  justify-content: center;
  font-size: 0.875rem;
  padding: 13px 12px;
}

/* ============================================
   EXIT INTENT OVERLAY
   ============================================ */

.exit-intent-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-m);
}

.exit-intent-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.exit-intent-close {
  position: absolute;
  top: var(--space-m);
  right: var(--space-m);
  background: none;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  font-size: 1.25rem;
  padding: var(--space-xs);
  line-height: 1;
  border-radius: var(--radius-s);
  transition: color var(--transition-fast);
}

.exit-intent-close:hover { color: var(--text-primary); }
