:root {
  --bg-deep: #050508;
  --bg-surface: #0f111a;
  --glass-bg: rgba(22, 27, 45, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.03);
  
  --primary: #5865f2;
  --primary-glow: #5865f2;
  --accent-cyan: #00fff2;
  --accent-purple: #9c42f5;
  
  --text-main: #ffffff;
  --text-scnd: #a3a8b8;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Effects */
.ambient-glow {
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: 
    radial-gradient(circle at 15% 15%, rgba(88, 101, 242, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(156, 66, 245, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.grid-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  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: 50px 50px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
  opacity: 0.5;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: white;
  margin: 0;
}

h1 {
  font-size: 3.8rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  font-weight: 600;
}

p {
  color: var(--text-scnd);
  font-size: 1.125rem;
  margin-bottom: 24px;
  font-weight: 400;
}

.gradient-text {
  background: linear-gradient(135deg, #fff 0%, #a5b0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header */
.glass-header {
  position: sticky;
  top: 20px;
  z-index: 100;
  margin-bottom: 60px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 17, 26, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 16px 24px;
  border-radius: 100px;
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.5);
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  border-radius: 50%;
  border: 2px solid rgba(88, 101, 242, 0.3);
  /* Ensure image is clipped to circle */
  object-fit: cover; 
}

.beta-tag {
  font-size: 0.7rem;
  background: rgba(88, 101, 242, 0.2);
  color: #8daeff;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.nav-cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  transition: all 0.2s;
}

.nav-cta:hover {
  background: rgba(255,255,255,0.1);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  padding: 40px 0 100px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59, 165, 92, 0.15);
  border: 1px solid rgba(59, 165, 92, 0.3);
  color: #4ade80;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.status-pill .dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 10px #4ade80;
}

.pulse { animation: pulse 2s infinite; }

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* CTAs */
.cta-group {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  padding: 18px 36px;
  border-radius: 12px;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 0 0 0 rgba(88, 101, 242, 0.7);
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px var(--primary);
  background: #4752c4;
}

  .meta-proof {
    display: flex;
    align-items: center;
    justify-content: center; /* Center content when needed */
    gap: 12px;
  }

.avatars span {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #333;
  margin-right: -10px;
  border: 3px solid var(--bg-deep);
}
.avatars span:nth-child(1) { background: #7c88ff; }
.avatars span:nth-child(2) { background: #ff7cdd; }
.avatars span:nth-child(3) { background: #4af2a1; }

.proof-text {
  font-size: 0.9rem;
  color: var(--text-scnd);
  margin-left: 10px;
}

.proof-text strong {
  color: white;
  display: block;
}

/* Hero Visual */
.visual-card {
  position: relative;
  background: transparent;
  padding: 0;
  border: none;
}

.visual-card img {
  width: 100%;
  filter: drop-shadow(0 0 50px rgba(88, 101, 242, 0.25));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.floating-badge {
  position: absolute;
  bottom: 20px;
  right: -20px;
  background: rgba(14, 16, 23, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 10px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  color: #4ade80;
}

/* Glass System */
.glass-panel, .glass-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
}

/* Stats Bar */
.stats-bar {
  display: flex;
  justify-content: space-around;
  padding: 30px;
  margin-bottom: 100px;
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  background: linear-gradient(to bottom, #fff, #999);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.stat-divider {
  width: 1px;
  background: var(--glass-border);
}

/* Features Grid */
.features-section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.text-white { color: white; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(88, 101, 242, 0.3);
  background: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
}

.icon-wrapper img {
  width: 120px;
  height: auto;
  margin-bottom: 24px;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.feature-card p {
  font-size: 1rem;
  color: var(--text-scnd);
  margin: 0;
}

/* Timeline */
.workflow-section {
  padding: 100px 0;
}

.timeline {
  max-width: 800px;
  margin: auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--glass-border);
}

.timeline-item {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
  position: relative;
}

.timeline-marker {
  width: 60px;
  height: 60px;
  background: var(--bg-surface);
  border: 2px solid #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  z-index: 2;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.timeline-content h3 {
  margin-bottom: 10px;
  color: var(--primary);
}

/* FAQ */
.faq-section {
  padding: 60px 0;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 50px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.faq-item {
  padding: 30px;
}

.faq-item h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: white;
}

.faq-item p {
  margin: 0;
  font-size: 0.95rem;
}

/* Final CTA */
.cta-section {
  padding: 100px 0;
  text-align: center;
}

.cta-box {
  padding: 60px;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.1) 0%, rgba(15, 17, 26, 0.4) 100%);
  border: 1px solid rgba(88, 101, 242, 0.2);
}

.cta-box h2 {
  margin-bottom: 12px;
}

/* Footer */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 40px 0;
  margin-top: 60px;
  color: #555;
  font-size: 0.85rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-weight: 700;
  color: #777;
}

.sep { margin: 0 8px; opacity: 0.3; }

/* Mobile */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  
  /* Slimmer mobile nav */
  .glass-header {
    top: 10px;
    margin-bottom: 40px;
  }

  .nav-container {
    padding: 10px 16px; 
  }

  .logo {
    font-size: 0.9rem;
    white-space: nowrap; /* Prevent wrapping */
  }
  
  /* Hide extra badge on mobile to save space */
  .logo .beta-tag {
    display: none;
  }
  
  .logo img {
    height: 24px;
    width: 24px;
  }

  .nav-cta {
    padding: 6px 14px;
    font-size: 0.8rem;
  }
  
  .hero-content {
    order: 2;
  }
  
  .hero-visual {
    order: 1;
    margin: 0 -20px;
  }

  .cta-group {
    flex-direction: column;
    align-items: center; /* Fix alignment */
    width: 100%;
    gap: 20px;
  }

  .cta {
    width: auto;
    min-width: 200px;
    max-width: 80%;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.95rem;
    margin: 0 auto;
  }

  .nav-cta {
    padding: 6px 14px;
    font-size: 0.8rem;
    white-space: nowrap;
  }
  
  .status-pill {
    font-size: 0.75rem;
    padding: 4px 10px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    flex-direction: column;
    gap: 30px;
  }
  
  .stat-divider {
    display: none;
  }
  
  .timeline::before { left: 19px; }
  
  .timeline-marker {
    width: 40px;
    height: 40px;
    font-size: 0.8rem;
  }
  
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
    padding: 30px 0 60px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 20px;
  }
}

/* Animation Classes */
.interact-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.interact-up.visible {
  opacity: 1;
  transform: translateY(0);
}
