/* ==========================================================
   landing.css — Landing page styles
   ========================================================== */

.landing-page {
  min-height: 100vh;
  background: var(--bg-base);
}

/* Hero section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-16) var(--space-6);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  animation: glow-pulse 6s ease-in-out infinite alternate;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: #a855f7;
  bottom: 0;
  right: 10%;
  animation-delay: 2s;
}

.hero-glow-3 {
  width: 350px;
  height: 350px;
  background: #38bdf8;
  bottom: 100px;
  left: 5%;
  animation-delay: 4s;
}

@keyframes glow-pulse {
  from { opacity: 0.08; transform: scale(1); }
  to   { opacity: 0.18; transform: scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  background: var(--accent-subtle);
  border: 1px solid var(--accent);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--accent-text);
  margin-bottom: var(--space-6);
  animation: fadeIn 0.6s var(--ease-out) both;
}

.hero-title {
  font-size: clamp(var(--text-3xl), 6vw, 60px);
  font-weight: var(--weight-bold);
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: var(--space-5);
  animation: slideUp 0.6s var(--ease-out) 0.1s both;
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(var(--text-base), 2vw, var(--text-xl));
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 560px;
  margin: 0 auto var(--space-10);
  animation: slideUp 0.6s var(--ease-out) 0.2s both;
}

.hero-cta-row {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
  animation: slideUp 0.6s var(--ease-out) 0.3s both;
}

/* Features section */
.features-section {
  padding: var(--space-16) var(--space-6);
  max-width: var(--content-max);
  margin: 0 auto;
}

.section-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-align: center;
  margin-bottom: var(--space-3);
}

.section-title-center {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  font-weight: var(--weight-bold);
  text-align: center;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.section-desc {
  text-align: center;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto var(--space-10);
  font-size: var(--text-base);
}

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

/* How it works */
.how-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-16) var(--space-6);
}

.steps-list {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.step-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: white;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: var(--text-base);
  font-weight: var(--weight-semi);
  margin-bottom: 4px;
}

.step-content p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* CTA section */
.cta-section {
  padding: var(--space-16) var(--space-6);
  text-align: center;
}

/* Landing nav */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 13, 16, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 var(--space-6);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

[data-theme="light"] .landing-nav {
  background: rgba(255, 255, 255, 0.85);
}

.landing-nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--weight-semi);
  color: var(--text-primary);
  text-decoration: none;
}

.landing-nav-logo .logo-mark {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.landing-nav-link {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}
.landing-nav-link:hover { color: var(--text-primary); }

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

@media (max-width: 767px) {
  .landing-nav-links { display: none; }
  .hero-cta-row { flex-direction: column; align-items: center; }
}
