/* ============================================
   VIVASTEP — PREMIUM CSS DESIGN SYSTEM
   ============================================ */

:root {
  --primary: #a855f7;
  --primary-dark: #7c3aed;
  --secondary: #ec4899;
  --accent: #3b82f6;
  --bg: #06030f;
  --bg-card: #0f0820;
  --bg-card2: #120d24;
  --text: #f1f0f7;
  --text-muted: #8b7fa8;
  --border: rgba(168, 85, 247, 0.15);
  --glow: rgba(168, 85, 247, 0.3);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ============ UTILITIES ============ */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}

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

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(6, 3, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
}

.logo-img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  filter: drop-shadow(0 2px 8px rgba(168, 85, 247, 0.4));
  transition: transform var(--transition);
  flex-shrink: 0;
}

.nav-logo:hover .logo-img {
  transform: scale(1.08) rotate(-3deg);
}

.logo-accent { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.nav-link:hover { color: var(--text); }

.nav-cta {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 100px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  box-shadow: 0 0 20px var(--glow);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px var(--glow);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

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

.hero-bg-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(168,85,247,0.15) 0%, rgba(236,72,153,0.08) 40%, transparent 70%);
  pointer-events: none;
}

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

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.4;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-100vh) translateX(30px); opacity: 0; }
}

.hero-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 28px;
  animation: fade-in-up 0.6s ease forwards;
}

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

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(168,85,247,0.6); }
  50% { box-shadow: 0 0 0 6px rgba(168,85,247,0); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fade-in-up 0.6s 0.1s ease both;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
  animation: fade-in-up 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 60px;
  flex-wrap: wrap;
  animation: fade-in-up 0.6s 0.3s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 100px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition);
  box-shadow: 0 8px 32px rgba(168,85,247,0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(168,85,247,0.5);
}

.btn-secondary {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color var(--transition);
}

.btn-secondary:hover { color: var(--primary); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: fade-in-up 0.6s 0.4s ease both;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
}

.stat-suffix {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

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

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ============ HERO VISUAL ============ */
.hero-visual {
  display: flex;
  justify-content: center;
  animation: fade-in-up 0.8s 0.2s ease both;
}

.phone-wrapper {
  position: relative;
  width: 340px;
}

.phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(168,85,247,0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 0.5; transform: translate(-50%,-50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%,-50%) scale(1.1); }
}

.phone-img {
  width: 100%;
  max-width: 340px;
  filter: drop-shadow(0 30px 60px rgba(168,85,247,0.4));
  animation: float 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

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

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(15, 8, 32, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 10;
  white-space: nowrap;
}

.card-steps { top: 18%; left: -70px; animation: float-card1 5s ease-in-out infinite; }
.card-calories { bottom: 32%; right: -60px; animation: float-card2 5s ease-in-out infinite 1s; }
.card-distance { bottom: 14%; left: -50px; animation: float-card3 5s ease-in-out infinite 2s; }

@keyframes float-card1 {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(0deg); }
}
@keyframes float-card2 {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50% { transform: translateY(8px) rotate(0deg); }
}
@keyframes float-card3 {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-6px) rotate(0.5deg); }
}

.card-icon { font-size: 1.3rem; }
.card-info { display: flex; flex-direction: column; }
.card-value { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.card-label { font-size: 0.7rem; color: var(--text-muted); }

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  animation: fade-in-up 1s 0.8s ease both;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  animation: scroll-bounce 1.5s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
  50% { transform: rotate(45deg) translateY(5px); opacity: 0.4; }
}

/* ============ FEATURES ============ */
.features {
  padding: 120px 0;
}

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

.feature-card {
  position: relative;
  padding: 36px 30px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--icon-color, var(--primary)), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.feature-card:hover::before { opacity: 1; }

.featured-card {
  background: linear-gradient(135deg, rgba(168,85,247,0.12), rgba(236,72,153,0.06));
  border-color: rgba(168, 85, 247, 0.3);
  grid-column: span 1;
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(168, 85, 247, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--icon-color, var(--primary));
  transition: all var(--transition);
}

.feature-card:hover .feature-icon-wrap {
  background: rgba(168, 85, 247, 0.2);
  transform: scale(1.1) rotate(-3deg);
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.feature-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
}

/* ============ APP SCREENS ============ */
.screens {
  padding: 100px 0;
  background: var(--bg-card2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.screens-visual {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
}

.screens-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  border: 1px solid var(--border);
}

.screens-info {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.screen-detail {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  cursor: default;
}

.screen-detail:hover {
  background: rgba(168, 85, 247, 0.05);
}

.detail-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(168, 85, 247, 0.2);
  line-height: 1;
  min-width: 50px;
  transition: color var(--transition);
}

.screen-detail:hover .detail-num {
  color: var(--primary);
}

.detail-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.detail-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============ PRECISION ============ */
.precision {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.precision-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(168,85,247,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.precision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.precision-card {
  padding: 40px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
}

.precision-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.3);
}

.precision-card:first-child {
  border-color: rgba(168,85,247,0.4);
  box-shadow: 0 0 40px rgba(168,85,247,0.1);
}

.precision-chart {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
}

.donut { transform: rotate(-90deg); }

.donut-bg {
  fill: none;
  stroke: rgba(168,85,247,0.1);
  stroke-width: 8;
}

.donut-fill {
  fill: none;
  stroke: rgba(139, 127, 168, 0.4);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dasharray 1.5s ease;
}

.vivastep-fill {
  stroke: url(#grad);
  stroke: var(--primary);
  animation: draw-donut 1.5s ease forwards;
}

.alt-fill { stroke: var(--accent); }

@keyframes draw-donut {
  from { stroke-dasharray: 0 188.5; }
}

.precision-pct {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
}

.precision-pct.muted { color: var(--text-muted); }

.precision-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.precision-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.precision-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.p-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}

.p-badge span { font-size: 1rem; }

/* ============ TESTIMONIALS ============ */
.testimonials {
  padding: 120px 0;
  background: var(--bg-card2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.testi-card {
  padding: 36px 30px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testi-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 16px 50px rgba(0,0,0,0.3);
}

.featured-testi {
  border-color: rgba(168, 85, 247, 0.35);
  background: linear-gradient(135deg, rgba(168,85,247,0.1), rgba(236,72,153,0.05));
}

.testi-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testi-text {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testi-name {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.testi-role {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============ DOWNLOAD ============ */
.download {
  position: relative;
  padding: 140px 0;
  text-align: center;
  overflow: hidden;
}

.download-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(168,85,247,0.18) 0%, rgba(236,72,153,0.08) 40%, transparent 70%);
  pointer-events: none;
}

.download-content {
  position: relative;
  z-index: 2;
}

.download-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  margin-top: 16px;
}

.download-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* ---- APK Download Button ---- */
.apk-btn {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 20px 36px;
  background: linear-gradient(135deg, #1a0b30, #230c3a);
  border: 1px solid rgba(168, 85, 247, 0.45);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(168,85,247,0.2), inset 0 0 40px rgba(168,85,247,0.04);
}

.apk-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(168,85,247,0.15), rgba(236,72,153,0.08));
  opacity: 0;
  transition: opacity var(--transition);
}

.apk-btn:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(168, 85, 247, 0.8);
  box-shadow: 0 20px 60px rgba(168,85,247,0.4), 0 0 0 1px rgba(168,85,247,0.3);
}

.apk-btn:hover::before { opacity: 1; }

.apk-btn:active {
  transform: translateY(-2px) scale(1.01);
}

.apk-btn-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(168,85,247,0.4);
  transition: transform var(--transition);
  position: relative;
  z-index: 1;
}

.apk-btn:hover .apk-btn-icon {
  transform: scale(1.1) rotate(-5deg);
}

.apk-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  position: relative;
  z-index: 1;
}

.apk-line1 {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.apk-line2 {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}

.apk-btn-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #4ade80;
  margin-left: auto;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.apk-warning {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 20px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.download-note {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 48px;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--primary); }

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

/* ============ ANIMATIONS ============ */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fade-in-up 0.6s ease both;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; gap: 60px; }
  .hero-content { text-align: center; }
  .hero-subtitle { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .phone-wrapper { width: 260px; }
  .card-steps { left: -40px; }
  .card-calories { right: -30px; }
  .card-distance { left: -20px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .screens-visual { grid-template-columns: 1fr; gap: 40px; }
  .precision-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(6, 3, 15, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 20px;
  }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .precision-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-links { gap: 32px; }
  .hero { padding: 100px 24px 60px; }
}

@media (max-width: 480px) {
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .stat-divider { display: none; }
  .floating-card { display: none; }
  .download-note { flex-direction: column; gap: 8px; }
}
