:root {
  --bg-color: #0A0A0A;
  --surface-color: #161618;
  --surface-border: rgba(255, 255, 255, 0.1);
  --text-primary: #FFFFFF;
  --text-secondary: #A1A1AA;
  --brand-orange: #FF6B00;
  --brand-orange-glow: rgba(255, 107, 0, 0.3);
  --success-green: #22C55E;
  --success-green-glow: rgba(34, 197, 94, 0.3);
  --accent-blue: #3B82F6;
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

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

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

/* Background Orbs */
.bg-gradient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.5;
  animation: float 20s infinite alternate ease-in-out;
}

.orb-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--brand-orange-glow) 0%, transparent 70%);
}

.orb-2 {
  bottom: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  animation-delay: -10s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(5%, 10%) scale(1.1); }
}

/* Typography */
h1, h2, h3 { line-height: 1.2; }
.section-title { font-size: 2.5rem; text-align: center; margin-bottom: 3rem; font-weight: 700; }
.highlight { color: var(--brand-orange); }
.text-green { color: var(--success-green); font-weight: 500; }

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--surface-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo-img { width: 32px; height: 32px; }

nav { display: flex; gap: 2rem; align-items: center; }
nav a { color: var(--text-secondary); text-decoration: none; font-weight: 500; transition: color 0.2s; }
nav a:hover { color: var(--text-primary); }
.nav-icon { display: flex; align-items: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--brand-orange);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px 0 var(--brand-orange-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 var(--brand-orange-glow);
  filter: brightness(1.1);
}

.btn-secondary {
  background: var(--surface-color);
  color: var(--text-primary);
  border: 1px solid var(--surface-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6rem 5% 4rem;
  gap: 4rem;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 107, 0, 0.15);
  color: var(--brand-orange);
  border: 1px solid rgba(255, 107, 0, 0.3);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.headline {
  font-size: 4rem;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
}

.subheadline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.cta-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.trust-banner {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  gap: 1rem;
  align-items: center;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* Glass Mockup */
.glass-card {
  background: rgba(22, 22, 24, 0.6);
  backdrop-filter: blur(24px);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.mockup {
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.3s ease;
}

.mockup:hover { transform: perspective(1000px) rotateY(0deg) rotateX(0deg); }

.mockup-header {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--surface-border);
  gap: 8px;
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #22c55e; }

.mockup-title {
  margin-left: 1rem;
  font-family: 'Fira Code', monospace;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.mockup-body { padding: 1.5rem; }

.commit-row {
  font-family: 'Fira Code', monospace;
  font-size: 0.875rem;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.graph-grid {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  gap: 4px;
  margin-top: 1.5rem;
}

.graph-cell {
  aspect-ratio: 1;
  background: #2d333b;
  border-radius: 2px;
  opacity: 0;
  animation: fadeIn 0.5s forwards;
}

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

/* Supported Platforms Marquee/Grid */
.platforms-section {
  padding: 2rem 5% 4rem;
  text-align: center;
  border-bottom: 1px solid var(--surface-border);
}

.platforms-title {
  font-size: 0.875rem;
  letter-spacing: 2px;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 2rem;
}

.platforms-grid {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.platform-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.platform-logo:hover {
  opacity: 1;
  transform: translateY(-5px);
}

.platform-logo span {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Features */
.features { padding: 6rem 5%; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.2s, background 0.2s;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.03);
}

.icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.orange-glow { background: rgba(255, 107, 0, 0.1); color: var(--brand-orange); }
.green-glow { background: rgba(34, 197, 94, 0.1); color: var(--success-green); }
.blue-glow { background: rgba(59, 130, 246, 0.1); color: var(--accent-blue); }

.feature-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* Enhanced How It Works Timeline */
.how-it-works {
  padding: 6rem 5%;
  background: rgba(0, 0, 0, 0.3);
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 2px;
  background: var(--surface-border);
}

.timeline-item {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--surface-color);
  border: 2px solid var(--brand-orange);
  color: var(--brand-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.2);
}

.timeline-content {
  margin-left: 2rem;
  padding: 2rem;
  flex: 1;
}

.timeline-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--text-secondary);
}

.border-glow {
  border-color: var(--brand-orange);
  box-shadow: 0 0 30px rgba(255, 107, 0, 0.1);
}

/* Video Embed Section */
.video-section {
  padding: 6rem 5%;
  text-align: center;
}

.video-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
  border-radius: 20px;
}

.video-container iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  display: block;
}

/* Footer */
footer {
  border-top: 1px solid var(--surface-border);
  padding: 4rem 5% 2rem;
  background: #000;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
}

.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--text-secondary); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-primary); }

.footer-bottom {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
  border-top: 1px solid var(--surface-border);
  padding-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero { flex-direction: column; text-align: center; padding-top: 4rem; }
  .headline { font-size: 3rem; }
  .cta-group { justify-content: center; flex-direction: column; }
  .platforms-grid { gap: 2rem; }
  .timeline::before { left: 20px; }
  .timeline-icon { width: 40px; height: 40px; font-size: 1rem; }
  .timeline-content { margin-left: 1rem; padding: 1.5rem; }
  .footer-content { flex-direction: column; gap: 2rem; text-align: center; }
}
