/* Landing & Nav Styles */

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 40px;
  transition: background 0.3s, backdrop-filter 0.3s, border-bottom 0.3s;
}
.nav.scrolled,
.nav.nav-scrolled {
  background: rgba(5,5,8,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; }
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--text-100);
}
.logo-icon { font-size: 1.4rem; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--text-300); font-size: 0.93rem; transition: color 0.2s; }
.nav-links a:not(.btn):hover { color: var(--text-100); }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 40px 80px;
  position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(99,102,241,0.25), transparent 70%); top: -100px; left: -100px; }
.orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(168,85,247,0.2), transparent 70%); bottom: -100px; right: -50px; }
.orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(6,182,212,0.15), transparent 70%); top: 40%; left: 40%; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

.hero-content { flex: 1; max-width: 580px; position: relative; z-index: 2; animation: fadeInUp 0.8s cubic-bezier(0.4,0,0.2,1); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  padding: 6px 14px; border-radius: 100px;
  background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.25);
  font-size: 0.8rem; color: var(--primary-light); font-weight: 500;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); animation: pulse 2s infinite; }
.hero-title { margin-bottom: 20px; }
.hero-sub { font-size: 1.1rem; color: var(--text-300); margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 14px; margin-bottom: 48px; flex-wrap: wrap; }
.hero-stats { display: flex; align-items: center; gap: 0; }
.stat-item { display: flex; flex-direction: column; align-items: center; padding: 0 24px; }
.stat-item strong { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; color: var(--text-100); background: linear-gradient(135deg, var(--primary-light), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-item span { font-size: 0.8rem; color: var(--text-400); }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ── DASHBOARD PREVIEW ── */
.hero-visual { flex: 1; display: flex; justify-content: flex-end; position: relative; z-index: 2; animation: float 6s ease-in-out infinite; }
.dashboard-preview {
  width: 480px; background: var(--bg-800); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05), inset 0 1px 0 rgba(255,255,255,0.06);
}
.preview-bar { background: var(--bg-700); padding: 12px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border); }
.dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.dot.red { background: #ef4444; } .dot.yellow { background: #f59e0b; } .dot.green { background: #10b981; }
.preview-title { font-size: 0.8rem; color: var(--text-400); margin-left: 6px; flex: 1; text-align: center; }
.preview-body { display: flex; height: 280px; }
.preview-sidebar { width: 130px; background: var(--bg-700); padding: 12px 8px; display: flex; flex-direction: column; gap: 4px; }
.ps-item { padding: 7px 10px; border-radius: var(--radius-sm); font-size: 0.72rem; color: var(--text-400); cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.ps-item.active { background: rgba(99,102,241,0.15); color: var(--primary-light); }
.ps-item:hover:not(.active) { background: var(--bg-glass); color: var(--text-300); }
.preview-main { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.prev-score-card { display: flex; align-items: center; gap: 12px; }
.prev-score-ring { width: 70px; height: 70px; position: relative; flex-shrink: 0; }
.prev-score-ring svg { width: 100%; height: 100%; }
.prev-score-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 1rem; font-weight: 800; color: var(--text-100); }
.prev-score-num small { font-size: 0.6rem; margin-top: 2px; }
.prev-score-label { font-size: 0.72rem; color: var(--text-300); line-height: 1.4; }
.prev-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.prev-bar-row { display: flex; align-items: center; gap: 8px; font-size: 0.7rem; color: var(--text-400); }
.prev-bar-row .prev-bar { flex: 1; height: 5px; background: var(--bg-600); border-radius: 100px; overflow: hidden; }
.prev-bar-row .prev-bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 100px; }
.prev-bar-row span:last-child { flex-shrink: 0; }

/* ── FEATURES ── */
.features-section { padding: 100px 40px; position: relative; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content:''; position: absolute; inset:0;
  background: radial-gradient(circle at 0% 0%, rgba(99,102,241,0.08), transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-float); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { width: 48px; height: 48px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 16px; }
.feature-card h3 { margin-bottom: 8px; color: var(--text-100); }
.feature-card p { font-size: 0.9rem; color: var(--text-400); line-height: 1.7; }

/* ── HOW IT WORKS ── */
.how-section { padding: 80px 40px; background: linear-gradient(180deg, transparent, rgba(13,13,20,0.8), transparent); }
.steps-row { display: flex; align-items: flex-start; gap: 0; justify-content: center; flex-wrap: wrap; }
.step-item { max-width: 160px; text-align: center; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-family: var(--font-heading); font-size: 0.9rem; font-weight: 800; color: white;
  margin: 0 auto 12px; box-shadow: 0 4px 20px rgba(99,102,241,0.4);
}
.step-content h3 { font-size: 0.95rem; color: var(--text-100); margin-bottom: 6px; }
.step-content p { font-size: 0.8rem; color: var(--text-400); line-height: 1.6; }
.step-arrow { font-size: 1.4rem; color: var(--primary); margin: 20px 8px 0; align-self: flex-start; }

/* ── CTA SECTION ── */
.cta-section { padding: 80px 40px; }
.cta-card {
  background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(168,85,247,0.1));
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: var(--radius-xl); padding: 64px 40px;
  text-align: center; position: relative; overflow: hidden;
}
.orb-cta-1 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(99,102,241,0.2), transparent 70%); top: -100px; left: -100px; }
.orb-cta-2 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(168,85,247,0.2), transparent 70%); bottom: -50px; right: -50px; }
.cta-card h2 { color: var(--text-100); margin-bottom: 12px; }
.cta-card p { color: var(--text-300); margin-bottom: 28px; font-size: 1.05rem; }

/* ── FOOTER ── */
.footer { padding: 28px 40px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; flex-wrap: wrap; gap: 12px; }
.footer p { font-size: 0.84rem; color: var(--text-400); }

/* Calmer learner landing polish */
.nav {
  padding: 14px 32px;
}

.nav.scrolled,
.nav.nav-scrolled {
  background: color-mix(in srgb, var(--bg-800) 88%, transparent);
}

.hero {
  gap: 42px;
}

.hero-badge,
.section-tag {
  background: var(--bg-glass);
  border-color: var(--border);
  color: var(--text-300);
}

.hero-title {
  letter-spacing: 0;
}

.gradient-text {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--text-100);
}

.hero-sub {
  max-width: 620px;
}

.dashboard-preview,
.cta-card,
.feature-card {
  box-shadow: var(--shadow-card);
}

.dashboard-preview {
  background: color-mix(in srgb, var(--bg-800) 96%, transparent);
}

.orb {
  opacity: 0.22;
}

.feature-icon {
  background: var(--bg-700) !important;
  border: 1px solid var(--border);
}

.cta-card {
  background: var(--bg-glass);
  border-color: var(--border);
}

.footer {
  background: color-mix(in srgb, var(--bg-900) 94%, transparent);
}

.footer .vyroo-footer-links,
.footer .vyroo-footer-copy {
  max-width: 1200px;
  margin: 12px auto 0;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    flex-direction: column;
    padding: 110px 24px 64px;
  }

  .hero-visual {
    width: 100%;
    justify-content: center;
  }

  .dashboard-preview {
    width: min(100%, 520px);
  }
}

@media (max-width: 680px) {
  .nav {
    padding: 12px 18px;
  }

  .nav-inner,
  .nav-links {
    gap: 12px;
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .hero-stats {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    align-items: flex-start;
    padding: 0;
  }
}
