/* PulseAI Landing Page */
:root {
  --bg-primary: #08090c;
  --bg-secondary: #0f1318;
  --bg-tertiary: #161b22;
  --text-primary: #f0f2f5;
  --text-secondary: #8b949e;
  --text-muted: #484f58;
  --accent: #ff6b35;
  --accent-glow: rgba(255, 107, 53, 0.15);
}

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

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem;
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--text-muted);
  border-radius: 100px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.title-accent {
  color: var(--accent);
  position: relative;
}

.hero-lede {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 4rem;
}

.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0.3;
}

.ring-1 { width: 120px; height: 120px; animation: pulse-expand 3s infinite 0s; }
.ring-2 { width: 200px; height: 200px; animation: pulse-expand 3s infinite 0.5s; }
.ring-3 { width: 280px; height: 280px; animation: pulse-expand 3s infinite 1s; }

@keyframes pulse-expand {
  0% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.8); }
  50% { opacity: 0.1; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.2); }
}

.pulse-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  box-shadow: 0 0 40px var(--accent-glow);
}

.hero-noise {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 70% 30%, var(--accent-glow) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 80%, rgba(139, 148, 158, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

/* Features */
.features {
  background: var(--bg-secondary);
  padding: 8rem 2rem;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--text-muted), transparent);
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.features-header {
  text-align: center;
  margin-bottom: 4rem;
}

.features-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}

.features-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--text-primary);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(255, 107, 53, 0.2);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Closing */
.closing {
  padding: 10rem 2rem;
  position: relative;
  overflow: hidden;
}

.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.closing-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  display: block;
  margin-bottom: 1.5rem;
}

.closing-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.closing-body {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.closing-visual {
  height: 400px;
  position: relative;
}

.flow-lines {
  position: absolute;
  inset: 0;
}

.flow-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.3;
}

.line-1 { top: 20%; width: 60%; animation: flow-right 4s infinite 0s; }
.line-2 { top: 35%; width: 80%; animation: flow-right 4s infinite 0.5s; }
.line-3 { top: 50%; width: 70%; animation: flow-right 4s infinite 1s; }
.line-4 { top: 65%; width: 90%; animation: flow-right 4s infinite 1.5s; }
.line-5 { top: 80%; width: 50%; animation: flow-right 4s infinite 2s; }

@keyframes flow-right {
  0% { transform: translateX(-100%); opacity: 0; }
  50% { opacity: 0.3; }
  100% { transform: translateX(200%); opacity: 0; }
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  padding: 4rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 4rem 1.5rem;
    min-height: auto;
  }
  
  .hero-visual {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin: 3rem auto 0;
    width: 200px;
    height: 200px;
  }
  
  .closing-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .closing-visual {
    height: 200px;
  }
  
  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .features {
    padding: 5rem 1.5rem;
  }
  
  .closing {
    padding: 6rem 1.5rem;
  }
}