/* =============================================================================
   MOVETASTIC LANDING PAGE — MODERN ATHLETIC DESIGN SYSTEM
   ============================================================================= */

:root {
  --lp-bg-primary: #0b0f19;
  --lp-bg-secondary: #111827;
  --lp-bg-card: #1e293b;
  --lp-bg-subtle: rgba(255, 255, 255, 0.04);
  --lp-border-color: rgba(255, 255, 255, 0.08);
  --lp-border-hover: rgba(255, 255, 255, 0.18);
  
  --lp-accent-blue: #0284c7;
  --lp-accent-sky: #38bdf8;
  --lp-accent-emerald: #10b981;
  --lp-accent-amber: #f59e0b;
  --lp-accent-red: #ef4444;

  --lp-text-primary: #f8fafc;
  --lp-text-secondary: #94a3b8;
  --lp-text-muted: #64748b;

  --lp-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --lp-radius-sm: 8px;
  --lp-radius-md: 14px;
  --lp-radius-lg: 20px;
  --lp-radius-full: 9999px;

  --lp-shadow-glow: 0 0 50px -10px rgba(2, 132, 199, 0.3);
}

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

body.lp-body {
  font-family: var(--lp-font-sans);
  background-color: var(--lp-bg-primary);
  color: var(--lp-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Glow Effects */
.lp-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
}

.lp-glow-1 {
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, #0284c7 0%, transparent 70%);
}

.lp-glow-2 {
  top: 800px;
  right: -100px;
  background: radial-gradient(circle, #10b981 0%, transparent 70%);
}

.lp-glow-3 {
  top: 1800px;
  left: -100px;
  background: radial-gradient(circle, #f59e0b 0%, transparent 70%);
}

/* Container */
.lp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ================= 1. NAVBAR ================= */
.lp-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--lp-border-color);
  padding: 16px 0;
}

.lp-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--lp-text-primary);
}

.lp-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.lp-logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.lp-logo-dot {
  color: var(--lp-accent-sky);
}

.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.lp-nav-link {
  color: var(--lp-text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s ease;
}

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

.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--lp-radius-full);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.lp-btn-secondary {
  background: var(--lp-bg-subtle);
  color: var(--lp-text-primary);
  border: 1px solid var(--lp-border-color);
}

.lp-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--lp-border-hover);
  transform: translateY(-1px);
}

.lp-btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
}

.lp-btn-primary:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  box-shadow: 0 6px 24px rgba(2, 132, 199, 0.5);
  transform: translateY(-1px);
}

.lp-btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

/* ================= 2. HERO SECTION ================= */
.lp-hero {
  padding: 90px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--lp-bg-primary);
}

.lp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #060913;
  background-image: 
    radial-gradient(circle at 50% 25%, rgba(2, 132, 199, 0.45) 0%, transparent 65%),
    radial-gradient(circle at 15% 75%, rgba(16, 185, 129, 0.35) 0%, transparent 55%),
    radial-gradient(circle at 85% 65%, rgba(245, 158, 11, 0.3) 0%, transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 600' width='1440' height='600' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g1' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%2338bdf8' stop-opacity='0.8'/%3E%3Cstop offset='50%25' stop-color='%230284c7' stop-opacity='0.4'/%3E%3Cstop offset='100%25' stop-color='%2310b981' stop-opacity='0.7'/%3E%3C/linearGradient%3E%3ClinearGradient id='g2' x1='100%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23f59e0b' stop-opacity='0.7'/%3E%3Cstop offset='100%25' stop-color='%23a855f7' stop-opacity='0.6'/%3E%3C/linearGradient%3E%3Cpattern id='grid' width='44' height='44' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 44 0 L 0 0 0 44' fill='none' stroke='rgba(56,189,248,0.18)' stroke-width='1'/%3E%3Ccircle cx='44' cy='0' r='2' fill='rgba(56,189,248,0.6)'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23grid)'/%3E%3C!-- GPS Glowing Path 1 --%3E%3Cpath d='M -50,320 Q 220,140 480,270 T 960,180 T 1500,320' fill='none' stroke='url(%23g1)' stroke-width='3.5' stroke-linecap='round' filter='drop-shadow(0 0 10px %2338bdf8)'/%3E%3Cpath d='M -50,380 Q 300,500 680,300 T 1200,430 T 1500,200' fill='none' stroke='url(%23g2)' stroke-width='3' stroke-linecap='round' stroke-dasharray='10 6' filter='drop-shadow(0 0 8px %23f59e0b)'/%3E%3C!-- ECG Telemetry Wave --%3E%3Cpath d='M 50,440 L 260,440 L 280,410 L 295,490 L 315,370 L 335,470 L 350,440 L 580,440 L 600,400 L 620,480 L 640,440 L 1400,440' fill='none' stroke='%2310b981' stroke-width='2.5' stroke-opacity='0.7' filter='drop-shadow(0 0 8px %2310b981)'/%3E%3C!-- Tech Waypoint Markers --%3E%3Ccircle cx='480' cy='270' r='7' fill='%2338bdf8' filter='drop-shadow(0 0 14px %2338bdf8)'/%3E%3Ccircle cx='960' cy='180' r='7' fill='%2310b981' filter='drop-shadow(0 0 14px %2310b981)'/%3E%3Ccircle cx='680' cy='300' r='6' fill='%23f59e0b' filter='drop-shadow(0 0 14px %23f59e0b)'/%3E%3C!-- HUD Metric Labels --%3E%3Ctext x='495' y='265' fill='%2338bdf8' font-size='13' font-weight='900' font-family='sans-serif' letter-spacing='1'%3E● GPS: 55.7512° N, 37.6184° E%3C/text%3E%3Ctext x='975' y='175' fill='%2310b981' font-size='13' font-weight='900' font-family='sans-serif' letter-spacing='1'%3E⚡ HR: 164 BPM • ZONE 4 (AEROBIC)%3C/text%3E%3Ctext x='695' y='295' fill='%23f59e0b' font-size='13' font-weight='900' font-family='sans-serif' letter-spacing='1'%3E🔥 PACE 4:12 /KM • CADENCE 178 SPM%3C/text%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.95;
}

.lp-hero-mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: block;
}

.lp-hero .lp-container {
  position: relative;
  z-index: 2;
}

.lp-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 132, 199, 0.12);
  border: 1px solid rgba(2, 132, 199, 0.3);
  padding: 6px 16px;
  border-radius: var(--lp-radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--lp-accent-sky);
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(2, 132, 199, 0.15);
}

.lp-hero-title {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lp-hero-sub {
  font-size: 19px;
  color: var(--lp-text-secondary);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

.lp-hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

/* Hero Showcase Card / Mockup */
.lp-hero-mockup-wrap {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  border-radius: var(--lp-radius-lg);
  padding: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--lp-border-color);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8), var(--lp-shadow-glow);
}

.lp-mockup-inner {
  background: #0f172a;
  border-radius: calc(var(--lp-radius-lg) - 6px);
  overflow: hidden;
  position: relative;
}

.lp-mockup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #1e293b;
  border-bottom: 1px solid var(--lp-border-color);
}

.lp-mockup-dots {
  display: flex;
  gap: 6px;
}

.lp-mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.lp-dot-r { background: #ef4444; }
.lp-dot-y { background: #f59e0b; }
.lp-dot-g { background: #10b981; }

.lp-mockup-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--lp-text-muted);
}

.lp-mockup-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--lp-radius-full);
}

.lp-mockup-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px;
}

.lp-mock-stat-tile {
  background: #1e293b;
  border: 1px solid var(--lp-border-color);
  border-radius: var(--lp-radius-md);
  padding: 16px;
  text-align: left;
}

.lp-mst-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--lp-text-muted);
  text-transform: uppercase;
}

.lp-mst-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--lp-text-primary);
  margin: 4px 0 2px;
}

.lp-mst-sub {
  font-size: 11px;
  color: var(--lp-accent-sky);
  font-weight: 600;
}

/* ================= 3. STATS STRIP ================= */
.lp-stats-strip {
  padding: 40px 0;
  border-top: 1px solid var(--lp-border-color);
  border-bottom: 1px solid var(--lp-border-color);
  background: rgba(17, 24, 39, 0.5);
  margin-top: 50px;
}

.lp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.lp-stat-item-val {
  font-size: 36px;
  font-weight: 900;
  color: var(--lp-text-primary);
  letter-spacing: -0.5px;
}

.lp-stat-item-label {
  font-size: 13px;
  color: var(--lp-text-secondary);
  font-weight: 600;
}

/* ================= 4. APPS SECTION (ECOSYSTEM) ================= */
.lp-section {
  padding: 100px 0;
  position: relative;
}

.lp-section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.lp-section-tag {
  font-size: 13px;
  font-weight: 800;
  color: var(--lp-accent-sky);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: block;
}

.lp-section-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
  color: #ffffff;
}

.lp-section-sub {
  font-size: 16px;
  color: var(--lp-text-secondary);
}

.lp-apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.lp-app-card {
  background: var(--lp-bg-secondary);
  border: 1px solid var(--lp-border-color);
  border-radius: var(--lp-radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.lp-app-card:hover {
  border-color: var(--lp-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.lp-app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.lp-app-running::before { background: linear-gradient(90deg, #0284c7, #38bdf8); }
.lp-app-squats::before { background: linear-gradient(90deg, #c8232c, #f5d033); }
.lp-app-pullups::before { background: linear-gradient(90deg, #10b981, #38bdf8); }
.lp-app-situps::before { background: linear-gradient(90deg, #f59e0b, #ef4444); }

.lp-app-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}

.lp-app-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  background: #1e293b;
  border: 1px solid var(--lp-border-color);
  flex-shrink: 0;
}

.lp-app-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.lp-app-meta {
  font-size: 12px;
  font-weight: 700;
  color: var(--lp-accent-sky);
}

.lp-app-desc {
  font-size: 14px;
  color: var(--lp-text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.lp-app-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.lp-app-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--lp-text-primary);
  font-weight: 500;
}

.lp-check-icon {
  color: #10b981;
  font-weight: 800;
}

.lp-app-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

/* ================= 5. FEATURES GRID ================= */
.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lp-feat-card {
  background: var(--lp-bg-secondary);
  border: 1px solid var(--lp-border-color);
  border-radius: var(--lp-radius-lg);
  padding: 30px;
  transition: all 0.2s ease;
}

.lp-feat-card:hover {
  border-color: var(--lp-border-hover);
  transform: translateY(-2px);
}

.lp-feat-icon {
  font-size: 32px;
  margin-bottom: 18px;
}

.lp-feat-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.lp-feat-desc {
  font-size: 14px;
  color: var(--lp-text-secondary);
  line-height: 1.6;
}

/* ================= 6. BOTTOM CTA ================= */
.lp-cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid var(--lp-border-color);
  border-radius: var(--lp-radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--lp-shadow-glow);
}

.lp-cta-title {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -1px;
  color: #ffffff;
  margin-bottom: 16px;
}

.lp-cta-sub {
  font-size: 17px;
  color: var(--lp-text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
}

/* ================= 7. FOOTER ================= */
.lp-footer {
  border-top: 1px solid var(--lp-border-color);
  padding: 40px 0;
  margin-top: 60px;
  color: var(--lp-text-muted);
  font-size: 13px;
}

.lp-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #10b981;
}

.lp-status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

/* ================= 8. MODAL OVERLAY & CARD ================= */
.wt-modal-overlay,
.wt-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.wt-modal-card,
.wt-modal-box {
  background: #ffffff !important;
  color: #0f172a !important;
  border-radius: 18px !important;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6) !important;
  overflow: hidden;
  position: relative;
  animation: wtModalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes wtModalPop {
  0% { opacity: 0; transform: scale(0.95) translateY(12px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.wt-modal-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wt-modal-close {
  background: transparent;
  border: none;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  color: #64748b;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.wt-modal-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

/* Responsive */
@media (max-width: 900px) {
  .lp-hero-title { font-size: 38px; }
  .lp-apps-grid { grid-template-columns: 1fr; }
  .lp-features-grid { grid-template-columns: 1fr; }
  .lp-mockup-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-nav-links { display: none; }
}
