/* ==============================
   VoxScribe Landing Page — CSS
   ============================== */

/* ---- Reset & Tokens ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --bg-primary: #0a0b10;
  --bg-secondary: #0f1018;
  --bg-card: #13141f;
  --bg-card-hover: #191a28;
  --bg-elevated: #1a1b2e;

  --text-primary: #e8eaf0;
  --text-secondary: #9ca0b8;
  --text-muted: #5c6080;

  --accent-primary: #7c5cfc;
  --accent-primary-hover: #6a48f0;
  --accent-secondary: #5ce1e6;
  --accent-gradient: linear-gradient(135deg, #7c5cfc 0%, #5ce1e6 100%);
  --accent-gradient-text: linear-gradient(135deg, #9b7fff 0%, #5ce1e6 50%, #7c5cfc 100%);

  --border-color: rgba(124, 92, 252, 0.12);
  --border-subtle: rgba(255, 255, 255, 0.06);

  --glow-primary: rgba(124, 92, 252, 0.25);
  --glow-secondary: rgba(92, 225, 230, 0.15);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --container-max: 1200px;
  --section-padding: 120px 0;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.35s ease;
  --transition-slow: 0.5s ease;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--accent-secondary);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Gradient Text ---- */
.gradient-text {
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-medium);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 24px var(--glow-primary);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--glow-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(124, 92, 252, 0.08);
  border-color: var(--accent-primary);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* ---- Section Shared ---- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-secondary);
  background: rgba(92, 225, 230, 0.08);
  border: 1px solid rgba(92, 225, 230, 0.15);
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(10, 11, 16, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-medium);
}
.navbar.scrolled {
  padding: 10px 0;
  background: rgba(10, 11, 16, 0.92);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}
.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}
.nav-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
  transition: width var(--transition-medium);
}
.nav-link:hover {
  color: var(--text-primary);
}
.nav-link:hover::after {
  width: 100%;
}

.nav-link-cta {
  padding: 8px 20px;
  background: var(--accent-gradient);
  color: #fff !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.nav-link-cta::after { display: none; }
.nav-link-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-medium);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  animation: float 8s ease-in-out infinite;
}
.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
  bottom: -50px;
  right: -50px;
  animation: float 10s ease-in-out infinite reverse;
}
.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(124, 92, 252, 0.5) 0%, transparent 70%);
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  animation: float 12s ease-in-out infinite;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 92, 252, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 92, 252, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-secondary);
  background: rgba(92, 225, 230, 0.06);
  border: 1px solid rgba(92, 225, 230, 0.15);
  border-radius: 100px;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease forwards;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: #34d399;
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.1s forwards;
  opacity: 0;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeInUp 0.6s ease 0.2s forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
  animation: fadeInUp 0.6s ease 0.3s forwards;
  opacity: 0;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  animation: fadeInUp 0.6s ease 0.4s forwards;
  opacity: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeInUp 0.6s ease 0.6s forwards;
  opacity: 0;
}
.scroll-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--text-muted);
  border-radius: 14px;
  position: relative;
}
.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 4px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-down 2s ease infinite;
}
@keyframes scroll-down {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* =============================================
   FEATURES
   ============================================= */
.features {
  padding: var(--section-padding);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-medium);
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color);
  transform: translateY(-4px);
}
.feature-card:hover::before {
  opacity: 1;
}

.feature-card-highlight {
  border-color: var(--border-color);
  background: linear-gradient(135deg, rgba(124, 92, 252, 0.06) 0%, var(--bg-card) 100%);
}
.feature-card-highlight::before {
  opacity: 0.6;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon-privacy {
  background: rgba(52, 211, 153, 0.1);
  color: #34d399;
}
.feature-icon-words {
  background: rgba(124, 92, 252, 0.1);
  color: var(--accent-primary);
}
.feature-icon-auto {
  background: rgba(92, 225, 230, 0.1);
  color: var(--accent-secondary);
}
.feature-icon-projects {
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
}
.feature-icon-library {
  background: rgba(244, 114, 182, 0.1);
  color: #f472b6;
}
.feature-icon-export {
  background: rgba(96, 165, 250, 0.1);
  color: #60a5fa;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* =============================================
   SCREENSHOTS
   ============================================= */
.screenshots {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
}
.screenshots::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-subtle);
}

.screenshots-carousel {
  position: relative;
}

.carousel-track {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.carousel-slide {
  display: none;
  animation: fadeIn 0.5s ease;
}
.carousel-slide.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.screenshot-frame {
  background: #1a1b2e;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.screenshot-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  background: rgba(10, 11, 16, 0.6);
  border-bottom: 1px solid var(--border-subtle);
}
.screenshot-dots {
  display: flex;
  gap: 6px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.screenshot-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.screenshot-frame img {
  width: 100%;
  display: block;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.carousel-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}
.carousel-dot.active {
  background: var(--accent-primary);
  box-shadow: 0 0 12px var(--glow-primary);
  width: 28px;
  border-radius: 6px;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works {
  padding: var(--section-padding);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.step-card {
  text-align: center;
  position: relative;
  padding: 40px 24px;
}

.step-number {
  font-size: 4rem;
  font-weight: 900;
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  margin-bottom: 16px;
  line-height: 1;
}

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.step-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.step-connector {
  position: absolute;
  top: 50%;
  right: -16px;
  width: 32px;
  height: 2px;
  background: var(--border-color);
}
.step-card:last-child .step-connector {
  display: none;
}

/* =============================================
   MODELS & FORMATS
   ============================================= */
.models {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
}
.models::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-subtle);
}

.models-table-wrapper {
  overflow-x: auto;
  margin-bottom: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.models-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.models-table thead {
  background: rgba(124, 92, 252, 0.06);
}
.models-table th {
  padding: 16px 24px;
  text-align: left;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border-subtle);
}
.models-table td {
  padding: 14px 24px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}
.models-table tbody tr:last-child td {
  border-bottom: none;
}
.models-table tbody tr:hover {
  background: rgba(124, 92, 252, 0.03);
}

.model-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-primary);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
}
.model-badge.model-auto {
  background: rgba(92, 225, 230, 0.1);
  border-color: rgba(92, 225, 230, 0.2);
  color: var(--accent-secondary);
}
.model-badge.model-recommended {
  background: rgba(124, 92, 252, 0.12);
  border-color: rgba(124, 92, 252, 0.25);
  color: #9b7fff;
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.format-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.format-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.format-title svg {
  color: var(--accent-primary);
}

.format-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.format-tag {
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-secondary);
}
.format-tag-accent {
  background: rgba(124, 92, 252, 0.08);
  border-color: rgba(124, 92, 252, 0.2);
  color: #9b7fff;
}

/* =============================================
   DOWNLOAD
   ============================================= */
.download {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.download-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--glow-primary) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.3;
}

.download-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-medium);
}
.download-card:hover {
  border-color: var(--border-color);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.download-card-header {
  padding: 36px 32px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, rgba(124, 92, 252, 0.04) 0%, transparent 100%);
}

.os-icon {
  width: 48px;
  height: 48px;
  color: var(--accent-primary);
  margin: 0 auto 16px;
}

.download-os-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.download-version {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.download-card-body {
  padding: 28px 32px 36px;
  text-align: center;
}

.download-reqs {
  list-style: none;
  margin-bottom: 28px;
  text-align: left;
}
.download-reqs li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
}
.download-reqs li::before {
  content: '✓';
  color: #34d399;
  font-weight: 700;
  font-size: 0.85rem;
}
.download-reqs li:last-child {
  border-bottom: none;
}

.btn-download {
  width: 100%;
  justify-content: center;
  margin-bottom: 12px;
}

.download-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.download-source {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  position: relative;
  z-index: 1;
}

.source-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(124, 92, 252, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.source-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.source-info strong {
  font-size: 0.95rem;
  color: var(--text-primary);
}
.source-info span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* =============================================
   INSTALL GUIDE
   ============================================= */
.install-guide {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
}
.install-guide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-subtle);
}

.guide-steps {
  max-width: 700px;
  margin: 0 auto 40px;
}

.guide-step {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  position: relative;
}
.guide-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 48px;
  bottom: -16px;
  width: 2px;
  background: var(--border-color);
}

.guide-step-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-step-content {
  flex: 1;
}
.guide-step-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.guide-step-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.guide-step-content a {
  color: var(--accent-secondary);
}

.code-block {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-top: 10px;
  overflow-x: auto;
}
.code-block code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.84rem;
  color: var(--accent-secondary);
  white-space: pre;
  line-height: 1.8;
}

.guide-tip {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  padding: 20px 24px;
  background: rgba(92, 225, 230, 0.04);
  border: 1px solid rgba(92, 225, 230, 0.12);
  border-radius: var(--radius-md);
}
.guide-tip svg {
  color: var(--accent-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}
.guide-tip p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.guide-tip code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  background: rgba(124, 92, 252, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  color: #9b7fff;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border-subtle);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}
.footer-name {
  font-size: 1.2rem;
  font-weight: 700;
}
.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links-group h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.footer-links-group a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}
.footer-links-group a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.feature-card,
.step-card,
.format-card,
.download-card,
.guide-step {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.feature-card.visible,
.step-card.visible,
.format-card.visible,
.download-card.visible,
.guide-step.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animations */
.feature-card:nth-child(2) { transition-delay: 0.1s; }
.feature-card:nth-child(3) { transition-delay: 0.2s; }
.feature-card:nth-child(4) { transition-delay: 0.15s; }
.feature-card:nth-child(5) { transition-delay: 0.25s; }
.feature-card:nth-child(6) { transition-delay: 0.35s; }

.step-card:nth-child(2) { transition-delay: 0.15s; }
.step-card:nth-child(3) { transition-delay: 0.3s; }

/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablet */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .step-connector {
    display: none;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: span 2;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 11, 16, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 999;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-link {
    font-size: 1.3rem;
  }
  .nav-link-cta {
    padding: 14px 28px;
    font-size: 1.1rem;
  }
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
  }
  .hero-scroll-indicator {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .step-connector {
    display: none;
  }

  .formats-grid {
    grid-template-columns: 1fr;
  }

  .download-cards {
    grid-template-columns: 1fr;
  }

  .download-source {
    flex-direction: column;
    text-align: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: span 1;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .btn-lg {
    padding: 14px 24px;
    font-size: 0.95rem;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .download-card-header,
  .download-card-body {
    padding-left: 20px;
    padding-right: 20px;
  }
}
