/* ===================================================
   COSMOS WEBSITE — STYLES.CSS
   Premium Dark-Mode Professional Networking Landing Page
   =================================================== */

/* ===================== RESET & BASE ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Colors */
  --bg-primary:    #060811;
  --bg-secondary:  #0c1020;
  --bg-card:       rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --bg-glass:      rgba(255,255,255,0.06);

  --purple:   #a78bfa;
  --purple-d: #7c3aed;
  --blue:     #60a5fa;
  --blue-d:   #2563eb;
  --pink:     #f472b6;
  --green:    #34d399;
  --amber:    #fbbf24;
  --teal:     #2dd4bf;

  --text-primary:   #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted:     #64748b;

  --border:       rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.16);

  --gradient-primary: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
  --gradient-hero:    linear-gradient(135deg, #a78bfa 0%, #f472b6 50%, #60a5fa 100%);
  --gradient-glow:    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(167,139,250,0.3) 0%, transparent 70%);

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Sizing */
  --max-w: 1280px;
  --nav-h: 72px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

::selection { background: rgba(167,139,250,0.35); }

/* ===================== SCROLLBAR ===================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--purple-d); border-radius: 99px; }

/* ===================== UTILITIES ===================== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 0 24px rgba(167,139,250,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(167,139,250,0.6);
}

.btn-ghost {
  color: var(--text-secondary);
  background: transparent;
}
.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-hover);
}
.btn-outline:hover {
  border-color: var(--purple);
  background: rgba(167,139,250,0.1);
  color: var(--purple);
}

.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; border-radius: 12px; }
.btn-xl { padding: 1rem 2rem; font-size: 1.05rem; border-radius: 14px; width: 100%; justify-content: center; }

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), backdrop-filter 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(6, 8, 17, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-container {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}
.logo-icon { display: flex; align-items: center; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.nav-links { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
.nav-link {
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s var(--ease);
}
.nav-link:hover { color: var(--text-primary); background: var(--bg-card); }
.nav-link--active { color: var(--purple) !important; }

.nav-cta { display: flex; align-items: center; gap: 0.75rem; margin-left: 1.5rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 4rem) 2rem 4rem;
}

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

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(167,139,250,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(96,165,250,0.1) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(244,114,182,0.1) 0%, transparent 50%);
}

.stars {
  position: absolute;
  inset: 0;
}
.star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  animation: twinkle var(--dur, 3s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes twinkle {
  0%, 100% { opacity: var(--min-op, 0.1); }
  50% { opacity: var(--max-op, 0.8); }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb-1 {
  width: 600px; height: 600px;
  top: -200px; left: -100px;
  background: radial-gradient(circle, rgba(167,139,250,0.3) 0%, transparent 70%);
  animation: orbFloat1 12s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  bottom: -100px; right: -100px;
  background: radial-gradient(circle, rgba(96,165,250,0.25) 0%, transparent 70%);
  animation: orbFloat2 15s ease-in-out infinite;
}
.orb-3 {
  width: 400px; height: 400px;
  top: 50%; left: 60%;
  background: radial-gradient(circle, rgba(244,114,182,0.15) 0%, transparent 70%);
  animation: orbFloat3 10s ease-in-out infinite;
}

@keyframes orbFloat1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(40px, 40px); } }
@keyframes orbFloat2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, -30px); } }
@keyframes orbFloat3 { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(calc(-50% + 20px), calc(-50% + 30px)); } }

/* Floating network nodes */
.node { position: absolute; pointer-events: none; }
.node-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 12px currentColor;
  animation: nodePulse 3s ease-in-out infinite;
}
.node-1 { top: 20%; left: 8%; color: var(--purple); }
.node-1 .node-dot { background: var(--purple); animation-delay: 0s; }
.node-2 { top: 35%; right: 10%; color: var(--blue); }
.node-2 .node-dot { background: var(--blue); animation-delay: 0.7s; }
.node-3 { top: 65%; left: 12%; color: var(--pink); }
.node-3 .node-dot { background: var(--pink); animation-delay: 1.4s; }
.node-4 { top: 75%; right: 8%; color: var(--green); }
.node-4 .node-dot { background: var(--green); animation-delay: 2.1s; }
.node-5 { top: 15%; right: 25%; color: var(--amber); }
.node-5 .node-dot { background: var(--amber); animation-delay: 1s; }

@keyframes nodePulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.6); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: rgba(167,139,250,0.15);
  border: 1px solid rgba(167,139,250,0.3);
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 1.75rem;
  animation: fadeInDown 0.7s var(--ease) both;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: dotBlink 1.5s ease-in-out infinite;
}
@keyframes dotBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s var(--ease) 0.1s both;
}

.hero-subtitle-inline {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  color: var(--text-secondary);
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  animation: fadeInUp 0.8s var(--ease) 0.2s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s var(--ease) 0.3s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--ease) 0.4s both;
}

.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { display: block; font-size: 0.82rem; color: var(--text-muted); margin-top: 0.25rem; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Logo image */
.logo-img {
  border-radius: 8px;
  object-fit: cover;
  filter: drop-shadow(0 0 8px rgba(96,165,250,0.4));
  transition: filter 0.3s var(--ease);
}
.logo:hover .logo-img {
  filter: drop-shadow(0 0 14px rgba(167,139,250,0.6));
}

/* Floating cosmic badges */
.floating-badges { pointer-events: none; }
.cosmic-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(12, 16, 32, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 20px rgba(167,139,250,0.1);
  z-index: 5;
  white-space: nowrap;
}
.cosmic-badge-icon { font-size: 0.95rem; }

.badge-float-1 { top: 22%; left: 5%; animation: badgeFloat1 7s ease-in-out infinite; }
.badge-float-2 { top: 30%; right: 4%; animation: badgeFloat2 8s ease-in-out infinite 0.5s; }
.badge-float-3 { bottom: 32%; left: 7%; animation: badgeFloat2 6.5s ease-in-out infinite 1s; }
.badge-float-4 { bottom: 22%; right: 6%; animation: badgeFloat1 7.5s ease-in-out infinite 1.5s; }
.badge-float-5 { top: 55%; right: 8%; animation: badgeFloat3 9s ease-in-out infinite 0.8s; }

@keyframes badgeFloat1 {
  0%, 100% { transform: translateY(0px) rotate(-1deg); opacity: 0.8; }
  50% { transform: translateY(-14px) rotate(1deg); opacity: 1; }
}
@keyframes badgeFloat2 {
  0%, 100% { transform: translateY(0px) rotate(1deg); opacity: 0.7; }
  50% { transform: translateY(-10px) rotate(-0.5deg); opacity: 1; }
}
@keyframes badgeFloat3 {
  0%, 100% { transform: translateY(0px) translateX(0px); opacity: 0.75; }
  50% { transform: translateY(-12px) translateX(6px); opacity: 1; }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  animation: fadeInUp 1s var(--ease) 1s both;
}
.scroll-mouse {
  width: 22px; height: 36px;
  border: 2px solid var(--border-hover);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 4px; height: 8px;
  background: var(--purple);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(10px); } }

/* ===================== TRUST BAR ===================== */
.trust-bar {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}
.trust-label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}
.logos-track { overflow: hidden; position: relative; }
.logos-track::before, .logos-track::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
}
.logos-track::before { left: 0; background: linear-gradient(to right, var(--bg-primary), transparent); }
.logos-track::after  { right: 0; background: linear-gradient(to left, var(--bg-primary), transparent); }

.logos-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: logoScroll 30s linear infinite;
  width: max-content;
}
.trust-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.2s;
  flex-shrink: 0;
}
.trust-logo:hover { color: var(--text-secondary); }

@keyframes logoScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===================== SECTION HEADER ===================== */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  display: inline-block;
  padding: 0.3rem 0.875rem;
  background: rgba(167,139,250,0.12);
  border: 1px solid rgba(167,139,250,0.25);
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
}

/* ===================== FEATURES ===================== */
.features { background: var(--bg-secondary); }

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.feature-card--large {
  grid-column: span 2;
}

.feature-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.icon-purple { background: rgba(167,139,250,0.15); color: var(--purple); }
.icon-blue   { background: rgba(96,165,250,0.15);  color: var(--blue); }
.icon-pink   { background: rgba(244,114,182,0.15); color: var(--pink); }
.icon-green  { background: rgba(52,211,153,0.15);  color: var(--green); }
.icon-amber  { background: rgba(251,191,36,0.15);  color: var(--amber); }
.icon-teal   { background: rgba(45,212,191,0.15);  color: var(--teal); }

.feature-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; letter-spacing: -0.01em; }
.feature-desc  { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.7; }

.feature-highlight { margin-top: 1.5rem; }

.match-demo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.match-tag {
  padding: 0.35rem 0.75rem;
  background: rgba(167,139,250,0.12);
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: 99px;
  font-size: 0.8rem;
  color: var(--purple);
}
.match-score {
  padding: 0.35rem 0.875rem;
  background: linear-gradient(135deg, rgba(52,211,153,0.2), rgba(52,211,153,0.1));
  border: 1px solid rgba(52,211,153,0.3);
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green);
  margin-left: auto;
}

.community-demo { display: flex; flex-direction: column; gap: 0.625rem; }
.community-item {
  padding: 0.625rem 0.875rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  transition: all 0.2s var(--ease);
}
.community-item:hover { border-color: var(--purple); background: rgba(167,139,250,0.08); }

/* ===================== HOW IT WORKS ===================== */
.how-section { background: var(--bg-primary); }

.steps { display: flex; flex-direction: column; gap: 5rem; }

.step {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.step-reverse { direction: rtl; }
.step-reverse > * { direction: ltr; }

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(167,139,250,0.2);
  line-height: 1;
  flex-shrink: 0;
}
.step-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; margin-bottom: 0.75rem; letter-spacing: -0.02em; }
.step-desc  { font-size: 1rem; color: var(--text-secondary); line-height: 1.75; }

/* Step visuals */
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.sc-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  flex-shrink: 0;
}
.sc-name  { font-weight: 700; margin-bottom: 0.125rem; }
.sc-role  { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.sc-tags  { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.sc-tag   { padding: 0.2rem 0.5rem; background: rgba(167,139,250,0.12); border-radius: 99px; font-size: 0.75rem; color: var(--purple); }
.sc-progress { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.75rem; color: var(--text-muted); }
.sc-progress-bar {
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.swipe-demo { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.swipe-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  width: 100%;
  transition: all 0.3s var(--ease);
}
.swipe-card:hover { transform: scale(1.02); }
.swipe-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin: 0 auto 0.75rem;
}
.swipe-name  { font-weight: 700; font-size: 1rem; }
.swipe-role  { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.swipe-match { font-size: 0.85rem; color: var(--green); font-weight: 700; }
.swipe-actions { display: flex; gap: 1.5rem; }
.swipe-no, .swipe-yes {
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease-spring);
  border: 2px solid;
}
.swipe-no  { border-color: rgba(244,114,182,0.4); color: var(--pink); }
.swipe-no:hover  { background: rgba(244,114,182,0.15); transform: scale(1.1); }
.swipe-yes { border-color: rgba(52,211,153,0.4); color: var(--green); }
.swipe-yes:hover { background: rgba(52,211,153,0.15); transform: scale(1.1); }

.event-demo { width: 100%; }
.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.event-header { font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
.event-meta   { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.event-timer  { font-size: 0.9rem; color: var(--purple); margin-bottom: 1rem; }
.event-btn {
  background: var(--gradient-primary);
  color: #fff;
  padding: 0.625rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: all 0.2s var(--ease);
}
.event-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(167,139,250,0.4); }

.crm-demo { display: flex; flex-direction: column; gap: 0.75rem; width: 100%; }
.crm-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease);
}
.crm-item:hover { border-color: var(--purple); }
.crm-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.crm-avatar-blue { background: linear-gradient(135deg, #be185d, #f472b6); }
.crm-name { font-size: 0.85rem; font-weight: 600; }
.crm-note { font-size: 0.75rem; color: var(--text-muted); }
.crm-status {
  margin-left: auto;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 600;
  flex-shrink: 0;
}
.status-warm   { background: rgba(251,191,36,0.15); color: var(--amber); }
.status-active { background: rgba(52,211,153,0.15); color: var(--green); }

/* ===================== TESTIMONIALS ===================== */
.testimonials { background: var(--bg-secondary); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s var(--ease);
}
.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.testimonial-featured {
  background: linear-gradient(135deg, rgba(167,139,250,0.1), rgba(96,165,250,0.05));
  border-color: rgba(167,139,250,0.25);
}
.testimonial-stars { color: var(--amber); font-size: 1rem; margin-bottom: 0.875rem; letter-spacing: 2px; }
.testimonial-text  { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.t-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.ta-purple { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.ta-blue   { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.ta-green  { background: linear-gradient(135deg, #059669, #34d399); }
.ta-amber  { background: linear-gradient(135deg, #d97706, #fbbf24); }
.t-name { font-size: 0.9rem; font-weight: 700; }
.t-role { font-size: 0.78rem; color: var(--text-muted); }

/* ===================== CTA / WAITLIST ===================== */
.cta-section { background: var(--bg-primary); }

.cta-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(167,139,250,0.08), rgba(96,165,250,0.05), rgba(244,114,182,0.06));
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: 2rem;
  padding: 4rem;
  text-align: center;
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.cta-orb-1 { width: 400px; height: 400px; top: -100px; left: -100px; background: radial-gradient(circle, rgba(167,139,250,0.3), transparent); }
.cta-orb-2 { width: 350px; height: 350px; bottom: -100px; right: -100px; background: radial-gradient(circle, rgba(96,165,250,0.2), transparent); }

.cta-content { position: relative; z-index: 1; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 1rem 0 1.25rem;
}
.cta-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.waitlist-form { max-width: 560px; margin: 0 auto 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1rem; }
.form-input {
  width: 100%;
  padding: 0.875rem 1.125rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
  transition: all 0.2s var(--ease);
}
.form-input:focus { border-color: var(--purple); background: rgba(167,139,250,0.08); }
.form-input::placeholder { color: var(--text-muted); }
.form-select option { background: #1a1f35; color: var(--text-primary); }

.form-success {
  padding: 2.5rem;
  background: rgba(52,211,153,0.08);
  border: 1px solid rgba(52,211,153,0.25);
  border-radius: var(--radius);
  max-width: 400px;
  margin: 0 auto;
}
.success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(52,211,153,0.2);
  color: var(--green);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.form-success h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.form-success p  { color: var(--text-muted); font-size: 0.9rem; }

.cta-footer-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 1rem; }
.cta-footer-note a { color: var(--purple); text-decoration: underline; }

/* Download badge styles */
.download-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
.download-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 2rem 0.75rem 1.5rem;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  color: #fff;
}
.download-badge:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--purple);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(167,139,250,0.35);
}
.download-badge svg { fill: #fff; flex-shrink: 0; }
.download-badge-text { display: flex; flex-direction: column; text-align: left; }
.download-small { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); line-height: 1.2; }
.download-big { font-size: 1.25rem; font-weight: 700; font-family: var(--font-display); line-height: 1.2; }

.download-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.download-stat {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.download-stat-icon { font-size: 1rem; }

/* ===================== FOOTER ===================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-tagline { font-size: 0.88rem; color: var(--text-muted); margin: 1rem 0 1.25rem; max-width: 260px; line-height: 1.65; }
.footer-socials { display: flex; gap: 0.75rem; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s var(--ease);
}
.social-link:hover { color: var(--purple); border-color: rgba(167,139,250,0.4); background: rgba(167,139,250,0.1); }
.footer-col-title { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 1.25rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.88rem; color: var(--text-secondary); transition: color 0.2s; }
.footer-links a:hover { color: var(--purple); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.footer-bottom-links { display: flex; gap: 1.25rem; }
.footer-bottom-links a { font-size: 0.82rem; color: var(--text-muted); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--purple); }

/* ===================== LEGAL PAGES ===================== */
.legal-page body { }

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 4rem) 2rem 4rem;
  text-align: center;
  background: var(--bg-secondary);
}
.legal-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.legal-hero-content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.legal-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  background: rgba(167,139,250,0.12);
  border: 1px solid rgba(167,139,250,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.legal-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}
.legal-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.legal-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.legal-content-section { padding: 4rem 0 6rem; }

.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.toc-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.875rem;
}
.toc-nav { display: flex; flex-direction: column; gap: 0.125rem; }
.toc-link {
  display: block;
  padding: 0.4rem 0.625rem;
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: all 0.2s var(--ease);
  line-height: 1.4;
}
.toc-link:hover, .toc-link.active { color: var(--purple); background: rgba(167,139,250,0.1); }

.legal-article { min-width: 0; }

.legal-intro-box {
  background: rgba(167,139,250,0.08);
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.legal-section { margin-bottom: 3rem; scroll-margin-top: calc(var(--nav-h) + 1.5rem); }
.ls-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.ls-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--purple);
  background: rgba(167,139,250,0.12);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-family: var(--font-body);
}
.ls-sub {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.75rem;
  color: var(--text-primary);
}
.ls-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1rem;
}
.ls-list li {
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.ls-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--purple);
  font-size: 0.8rem;
  top: 0.1rem;
}
.legal-section p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.legal-section a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }

/* Use cards */
.use-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.25rem 0; }
.use-card {
  display: flex;
  gap: 0.875rem;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  transition: all 0.2s;
}
.use-card:hover { border-color: var(--border-hover); }
.use-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 0.125rem; }
.use-card strong { display: block; color: var(--text-primary); margin-bottom: 0.25rem; font-size: 0.88rem; }
.use-card p { color: var(--text-muted); font-size: 0.82rem; line-height: 1.6; margin: 0; }

/* Security grid */
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 1rem 0; }
.security-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  background: rgba(52,211,153,0.06);
  border: 1px solid rgba(52,211,153,0.15);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.security-icon { font-size: 1rem; }

/* Rights */
.rights-list { display: flex; flex-direction: column; gap: 0.75rem; margin: 1rem 0; }
.right-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.875rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.right-badge {
  padding: 0.2rem 0.625rem;
  background: rgba(167,139,250,0.12);
  border: 1px solid rgba(167,139,250,0.25);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--purple);
  white-space: nowrap;
  flex-shrink: 0;
}
.right-item p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* Prohibited / Conduct */
.prohibited-list { display: flex; flex-direction: column; gap: 0.5rem; margin: 1rem 0; }
.prohibited-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  background: rgba(244,114,182,0.04);
  border: 1px solid rgba(244,114,182,0.12);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.prohibited-icon { font-size: 1rem; flex-shrink: 0; }

.conduct-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.25rem 0; }
.conduct-card { padding: 1.25rem; border-radius: var(--radius-sm); }
.conduct-do   { background: rgba(52,211,153,0.06); border: 1px solid rgba(52,211,153,0.2); }
.conduct-dont { background: rgba(244,114,182,0.06); border: 1px solid rgba(244,114,182,0.2); }
.conduct-card h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.75rem; }
.conduct-do h4   { color: var(--green); }
.conduct-dont h4 { color: var(--pink); }
.conduct-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.conduct-card ul li { font-size: 0.82rem; color: var(--text-muted); padding-left: 0; }

/* Contact card */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}
.contact-row { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 0.125rem; }
.contact-row strong { display: block; font-size: 0.85rem; margin-bottom: 0.2rem; }
.contact-row a, .contact-row span { font-size: 0.88rem; color: var(--text-secondary); }
.contact-row a { color: var(--purple); text-decoration: underline; }

/* ===================== ANIMATIONS ===================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

[data-animate] { opacity: 0; }
[data-animate].animated {
  animation-duration: 0.7s;
  animation-fill-mode: both;
  animation-timing-function: var(--ease);
}
[data-animate="fadeInUp"].animated    { animation-name: fadeInUp; }
[data-animate="fadeInDown"].animated  { animation-name: fadeInDown; }
[data-animate="fadeInLeft"].animated  { animation-name: fadeInLeft; }
[data-animate="fadeInRight"].animated { animation-name: fadeInRight; }
[data-animate="zoomIn"].animated      { animation-name: zoomIn; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card--large { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .step { grid-template-columns: 60px 1fr; }
  .step-visual { display: none; }
  .step-reverse { direction: ltr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-links.open { 
    display: flex; flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(6,8,17,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    gap: 0.5rem;
    z-index: 999;
  }
  .nav-links.open + .nav-cta { display: flex; }
  .hamburger { display: flex; }

  .hero-title { font-size: 2.5rem; }
  .floating-badges { display: none; }
  .hero-stats { gap: 1.5rem; }
  .stat-divider { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .step { grid-template-columns: 1fr; }
  .step-number { font-size: 2rem; }

  .cta-card { padding: 2.5rem 1.5rem; }

  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }

  .use-cards { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr 1fr; }
  .conduct-cards { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 4rem 0; }
  .cta-card { padding: 2rem 1.25rem; }
  .security-grid { grid-template-columns: 1fr; }
}
