/* ============================================
   ZONETRAIN LANDING PAGE â€” Velocity Teal Theme
   Extracted from index.html (Phase 1)
   ============================================ */

/* --- GOOGLE FONTS (loaded via <link> in HTML) --- */

/* --- RESET & VARIABLES --- */
:root {
  --deep-teal: #0d9488;
  --light-teal: #5eead4;
  --accent-teal: #14b8a6;
  --white: #FFFFFF;
  --dark-gray: #1F2937;
  --success-green: #10B981;
  --warning-orange: #F59E0B;
  --strava-orange: #FC4C02;
}

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

html {
  background: linear-gradient(135deg, #0d9488, #14b8a6);
}

body {
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  margin: 0;
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--white);
  color: var(--dark-gray);
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* --- HEADER & NAVIGATION --- */
.header {
  background: transparent;
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.4s ease;
  box-shadow: none;
}

.header.scrolled {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.header-hidden {
  transform: translateY(-100%);
}

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

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo-container:hover {
  transform: scale(1.05);
}

.logo-img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  filter: brightness(1.3) contrast(1.2);
  transition: all 0.3s ease;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
}

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

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  opacity: 0.9;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--light-teal);
}

/* Auth Buttons */
.auth-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.login-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.login-link:hover {
  opacity: 1;
  color: var(--light-teal);
}

.btn-trial-nav {
  background: var(--warning-orange);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
  white-space: nowrap;
}

.btn-trial-nav:hover {
  background: #d97706;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
  color: var(--white);
}

.nav-divider {
  display: none;
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 15px;
}

/* Hamburger Toggle */
.hamburger-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  z-index: 1001;
  margin-left: 15px;
}

.hamburger-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.4s;
}

.mobile-drawer.active {
  visibility: visible;
  pointer-events: auto;
}

.drawer-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-drawer.active .drawer-backdrop {
  opacity: 1;
}

.drawer-content {
  position: absolute;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-drawer.active .drawer-content {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.drawer-close {
  background: transparent;
  border: none;
  color: white;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
}

.drawer-nav ul {
  list-style: none;
  padding: 0;
}

.drawer-nav li {
  margin-bottom: 25px;
}

.drawer-nav a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  transition: color 0.3s;
}

.drawer-nav a:hover {
  color: var(--light-teal);
}

.drawer-footer {
  margin-top: auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-login {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  display: block;
  margin-bottom: 15px;
}

/* --- HERO SECTION --- */
.hero-section {
  background: linear-gradient(135deg, #0f172a 0%, #042f2e 100%);
  color: var(--white);
  padding: 120px 20px 140px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bottom fade to white */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none;
  z-index: 3;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 5;
}

.hero-text {
  text-align: left;
}

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

.hero-particles span {
  position: absolute;
  display: block;
  width: 8px;
  height: 8px;
  background: rgba(94, 234, 212, 0.08);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}

.hero-particles span:nth-child(1) { left: 10%; width: 12px; height: 12px; animation-duration: 18s; }
.hero-particles span:nth-child(2) { left: 25%; width: 6px; height: 6px; animation-duration: 22s; }
.hero-particles span:nth-child(3) { left: 70%; width: 10px; height: 10px; animation-duration: 16s; }
.hero-particles span:nth-child(4) { left: 85%; width: 14px; height: 14px; animation-duration: 20s; }

@keyframes particleFloat {
  0% { transform: translateY(100vh); opacity: 0; }
  10%, 90% { opacity: 0.1; }
  100% { transform: translateY(-100vh); opacity: 0; }
}

h1 {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.tagline {
  font-size: 1.25rem;
  color: var(--light-teal);
  margin-bottom: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.description {
  font-size: 1.15rem;
  margin-bottom: 40px;
  line-height: 1.7;
  opacity: 0.85;
  max-width: 540px;
}

/* --- PHONE MOCKUP --- */
.hero-visual {
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.phone-mockup {
  width: 280px;
  height: 580px;
  background: #042f2e;
  border: 12px solid #334155;
  border-radius: 40px;
  position: relative;
  box-shadow: 0 50px 100px -20px rgba(0,0,0,0.5);
  animation: phoneBob 6s ease-in-out infinite, phoneGlow 4s infinite alternate;
  z-index: 10;
  overflow: hidden;
}

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

@keyframes phoneGlow {
  from { box-shadow: 0 50px 100px -20px rgba(0,0,0,0.5), 0 0 20px rgba(20, 184, 166, 0.1); }
  to { box-shadow: 0 50px 100px -20px rgba(0,0,0,0.5), 0 0 50px rgba(20, 184, 166, 0.3); }
}

/* Phone Notch */
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 25px;
  background: #334155;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  z-index: 20;
}

/* Dashboard Preview Inside Phone */
.dashboard-preview {
  height: 100%;
  background: #0f172a;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  padding: 40px 15px 20px;
  color: white;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.preview-logo {
  font-weight: 800;
  font-size: 1rem;
  color: var(--light-teal);
}

.preview-stats {
  background: rgba(255,255,255,0.05);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.1);
}

.preview-greeting {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-bottom: 5px;
}

.preview-date {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.readiness-score {
  display: flex;
  align-items: center;
  gap: 12px;
}

.readiness-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 4px solid var(--success-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.workout-card {
  background: linear-gradient(135deg, var(--deep-teal), var(--accent-teal));
  border-radius: 15px;
  padding: 15px;
  margin-bottom: 20px;
}

.workout-tag {
  font-size: 0.65rem;
  font-weight: 800;
  background: rgba(255,255,255,0.2);
  padding: 3px 8px;
  border-radius: 10px;
  display: inline-block;
  margin-bottom: 10px;
}

.workout-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.workout-meta {
  font-size: 0.8rem;
  opacity: 0.9;
}

.preview-nav {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  padding: 10px 10px 5px;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0.5;
}

/* --- SCROLL TO STRAVA --- */
.scroll-to-strava {
  cursor: pointer;
  transition: all 0.3s ease;
}

.scroll-to-strava:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(20, 184, 166, 0.4);
}

/* --- STRAVA SECTION --- */
.strava-section {
  background: var(--white);
  padding: 80px 20px;
  text-align: center;
  border-bottom: 2px solid #F3F4F6;
  position: relative;
}

.strava-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.strava-header {
  margin-bottom: 50px;
}

.strava-title {
  font-size: 2.8rem;
  color: var(--deep-teal);
  margin-bottom: 20px;
  font-weight: 700;
}

.strava-subtitle {
  font-size: 1.3rem;
  color: var(--dark-gray);
  margin-bottom: 15px;
  font-weight: 500;
}

.strava-description {
  font-size: 1.1rem;
  color: #6B7280;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.strava-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.strava-feature {
  background: #F9FAFB;
  padding: 25px;
  border-radius: 15px;
  border-left: 4px solid var(--strava-orange);
  position: relative;
  transition: transform 0.3s ease;
}

.strava-feature:hover {
  transform: translateY(-3px);
}

.strava-feature-icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.strava-feature h3 {
  color: var(--deep-teal);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.strava-feature p {
  color: #6B7280;
  line-height: 1.5;
}

.strava-cta {
  background: linear-gradient(135deg, var(--strava-orange) 0%, #E03D00 100%);
  padding: 40px;
  border-radius: 20px;
  color: var(--white);
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.strava-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.strava-cta p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.btn-strava {
  background: var(--white);
  color: var(--strava-orange);
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.btn-strava:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  background: #FFF8F6;
}

.strava-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.free-badge {
  background: var(--success-green);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 10px;
}

/* --- USP SECTION --- */
.usp-section {
  background: #F8FAFC;
  padding: 30px 20px;
  text-align: center;
  border-top: 2px solid var(--light-teal);
  border-bottom: 2px solid #F3F4F6;
}

.usp-container {
  max-width: 800px;
  margin: 0 auto;
}

.usp-title {
  font-size: 1.6rem;
  color: var(--deep-teal);
  margin-bottom: 20px;
  font-weight: 600;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-bottom: 25px;
}

.usp-item {
  background: var(--white);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(20, 184, 166, 0.1);
  border: 1px solid var(--light-teal);
  transition: transform 0.3s ease;
}

.usp-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.2);
}

.usp-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--accent-teal);
}

.usp-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--deep-teal);
  margin-bottom: 5px;
}

.usp-value {
  font-size: 0.9rem;
  color: #6B7280;
}

.usp-cta {
  margin-top: 25px;
}

.btn-usp {
  background: linear-gradient(135deg, var(--deep-teal) 0%, var(--accent-teal) 100%);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
}

.btn-usp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
}

/* --- TABBED FEATURES SECTION --- */
.features-section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.features-section.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.features-section::before {
  display: none;
}

.features-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--deep-teal);
  margin-bottom: 12px;
}

.features-subtitle {
  text-align: center;
  color: #6B7280;
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.tab-btn {
  padding: 12px 28px;
  border: 2px solid var(--light-teal);
  border-radius: 50px;
  background: transparent;
  color: var(--deep-teal);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  background: rgba(20, 184, 166, 0.08);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--deep-teal), var(--accent-teal));
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.35);
}

.tab-panel {
  display: none;
  animation: tabFade 0.4s ease;
}

.tab-panel.active {
  display: flex;
  gap: 36px;
  align-items: center;
  flex-wrap: wrap;
}

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

.tab-visual {
  flex: 1;
  min-width: 280px;
  background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
  border-radius: 20px;
  padding: 36px;
  text-align: center;
  font-size: 4rem;
  box-shadow: 0 8px 32px rgba(20, 184, 166, 0.1);
}

.tab-info {
  flex: 1;
  min-width: 280px;
}

.tab-info h3 {
  font-size: 1.6rem;
  color: var(--deep-teal);
  margin-bottom: 12px;
}

.tab-info p {
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.tab-info ul {
  list-style: none;
  padding: 0;
}

.tab-info ul li {
  padding: 8px 0;
  color: #374151;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tab-info ul li::before {
  content: '\2714';
  background: var(--success-green);
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* --- FAQ ACCORDION --- */
.faq-section {
  background: #f8fafc;
  padding: 70px 20px;
}

.faq-container {
  max-width: 760px;
  margin: 0 auto;
}

.faq-title {
  text-align: center;
  font-size: 2.2rem;
  color: var(--deep-teal);
  margin-bottom: 12px;
}

.faq-subtitle {
  text-align: center;
  color: #6B7280;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.3s;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.12);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: #1f2937;
  font-size: 1.05rem;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--accent-teal);
}

.faq-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
  color: var(--accent-teal);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: #4b5563;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* --- FLOATING CTA BAR --- */
.floating-cta {
  position: fixed;
  bottom: -80px;
  left: 0;
  right: 0;
  z-index: 9998;
  background: rgba(13, 148, 136, 0.95);
  backdrop-filter: blur(12px);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
  transition: bottom 0.4s cubic-bezier(.4, 0, .2, 1);
}

.floating-cta.visible {
  bottom: 0;
}

.floating-cta-text {
  color: white;
  font-weight: 500;
  font-size: 0.95rem;
}

.floating-cta-btn {
  padding: 10px 28px;
  background: var(--success-green);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 12px rgba(16, 185, 129, 0.4);
}

.floating-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.5);
}

/* --- TRUST STRIP --- */
.trust-strip {
  padding: 30px 20px;
  background: white;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
  text-align: center;
}

.trust-strip p {
  color: #9ca3af;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 16px;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: all 0.3s;
}

.trust-logos:hover {
  opacity: 0.8;
  filter: grayscale(30%);
}

.trust-logos span {
  font-size: 1.1rem;
  font-weight: 700;
  color: #374151;
  letter-spacing: 0.5px;
}

/* --- PRICING --- */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-toggle-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #6B7280;
}

.pricing-toggle-label.active {
  color: var(--deep-teal);
}

.pricing-toggle {
  width: 52px;
  height: 28px;
  background: #d1d5db;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
}

.pricing-toggle.yearly {
  background: var(--success-green);
}

.pricing-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.pricing-toggle.yearly .pricing-toggle-knob {
  transform: translateX(24px);
}

.pricing-save {
  background: var(--success-green);
  color: white;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* --- BUTTONS --- */
.action-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  border: none;
  white-space: normal; /* Allow text to wrap if button is too wide for screen */
  max-width: 100%;
  box-sizing: border-box;
  word-break: break-word; /* Ensure long words don't overflow */
}

.btn-primary {
  background: var(--deep-teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-teal);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--white);
  color: var(--deep-teal);
  border: 2px solid var(--light-teal);
}

.btn-secondary:hover {
  background: var(--light-teal);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* --- CTA SECTION --- */
.cta-section {
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--deep-teal) 100%);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* --- PRICING CARDS --- */
.pricing-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 24px rgba(20, 184, 166, 0.10);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(94, 234, 212, 0.1);
  flex: 1;
  min-width: 280px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  color: var(--dark-gray);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 40px rgba(20, 184, 166, 0.18);
}

.pricing-card.featured {
  border: 3px solid var(--accent-teal);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.08) translateY(-8px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--warning-orange);
  color: white;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  white-space: nowrap;
  z-index: 10;
}

.plan-title {
  font-size: 1.1rem;
  color: #6B7280;
  margin-bottom: 8px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.plan-outcome {
  font-size: 1.05rem;
  color: var(--deep-teal);
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.4;
  min-height: 2.8em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-display {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark-gray);
  line-height: 1;
  margin-bottom: 2px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  padding-top: 15px;
  border-top: 1px solid rgba(94, 234, 212, 0.1);
}

.price-period {
  font-size: 1rem;
  font-weight: 500;
  color: #6B7280;
}

.price-comparison {
  font-size: 0.85rem;
  color: #9CA3AF;
  font-weight: 500;
  margin-top: 4px;
  margin-bottom: 15px;
}

/* --- FOOTER --- */
.footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 60px 20px 40px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* --- SOCIAL LINKS --- */
.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1.5px solid transparent;
  transition: all 0.25s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.social-link.instagram {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
}

.social-link.twitter {
  background: #000;
  color: white;
}

.social-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Footer social row */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(94, 234, 212, 0.3);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.03);
}

.footer-social-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  color: white;
}

.footer-social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
}

.footer-social-link.facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
}

.footer-social-link.twitter:hover {
  background: #000;
  border-color: #555;
}

.footer-social-link svg,
.footer-social-link i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* --- STATS STRIP --- */
.stats-strip {
  background: white;
  border-bottom: 1px solid #f1f5f9;
  padding: 50px 20px;
}

.stat-item {
  padding: 15px;
  border-right: 1px solid #f1f5f9;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--deep-teal);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 900px) {
  .stat-item {
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
  }
  .stat-item:last-child {
    border-bottom: none;
  }
}

/* --- TESTIMONIALS --- */
.testimonials-section {
  background: #FDFFFE;
  padding: 80px 20px;
  text-align: center;
  border-top: 1px solid rgba(94, 234, 212, 0.1);
  border-bottom: 1px solid rgba(94, 234, 212, 0.1);
}

.testimonials-container {
  max-width: 1100px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 30px;
  text-align: left;
  position: relative;
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(20, 184, 166, 0.12);
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--light-teal);
  opacity: 0.3;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--dark-gray);
  margin-bottom: 20px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  padding-top: 10px;
  flex-grow: 1;
}

.testimonial-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-weight: 700;
  color: var(--dark-gray);
  font-size: 1rem;
}

.testimonial-city {
  font-size: 0.85rem;
  color: #6B7280;
}

.star-rating {
  color: #F59E0B;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(20, 184, 166, 0.1);
  color: var(--accent-teal);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  width: fit-content;
}

@media (max-width: 900px) {
  .testimonials-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .testimonials-section {
    padding: 60px 0;
  }
  .testimonials-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px;
    gap: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .testimonials-container::-webkit-scrollbar {
    display: none;
  }
  .testimonial-card {
    min-width: 280px;
    flex: 0 0 calc(100% - 40px);
    scroll-snap-align: start;
  }
}

/* --- PLAN PREVIEW SECTION --- */
.plan-preview-section {
  padding: 100px 20px;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
}

.plan-preview-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.preview-controls {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.control-group label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--deep-teal);
}

.control-group select {
  padding: 12px 24px;
  border-radius: 12px;
  border: 2px solid var(--light-teal);
  font-weight: 600;
  color: var(--dark-gray);
  background: white;
  cursor: pointer;
  min-width: 180px;
  transition: all 0.2s;
}

.control-group select:hover {
  border-color: var(--deep-teal);
  background: #f0fdfa;
}

.timeline-container {
  position: relative;
  background: white;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(20, 184, 166, 0.08);
  border: 1px solid #e2e8f0;
}

.weeks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}

.preview-week {
  padding: 20px;
  background: #f8fafc;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
  text-align: left;
}

.blur-content {
  filter: blur(3px);
  user-select: none;
  pointer-events: none;
}

.week-num {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--light-teal);
  margin-bottom: 8px;
}

.week-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark-gray);
}

.week-stats {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
}

.timeline-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  z-index: 5;
  border-radius: 24px;
}

.timeline-overlay h3 {
  font-size: 1.6rem;
  color: var(--deep-teal);
  background: rgba(255, 255, 255, 0.9);
  padding: 12px 24px;
  border-radius: 100px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* --- CREDIBILITY SECTION --- */
.credibility-section {
  padding: 80px 20px;
  background: white;
  text-align: center;
}

.credibility-container {
  max-width: 1100px;
  margin: 0 auto;
}

.credibility-subtitle {
  text-align: center;
  color: #6B7280;
  font-size: 1.1rem;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.credibility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.credibility-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.06);
  border: 1px solid #F3F4F6;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.credibility-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.1);
}

.credibility-card.featured {
  background: linear-gradient(135deg, var(--deep-teal), var(--accent-teal));
  color: white;
  border: none;
  box-shadow: 0 15px 35px rgba(20, 184, 166, 0.25);
}

.credibility-card.featured .credibility-value {
  color: rgba(255, 255, 255, 0.9);
}

.credibility-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--accent-teal);
  background: rgba(20, 184, 166, 0.1);
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.credibility-card.featured .credibility-icon {
  color: white;
  background: rgba(255, 255, 255, 0.2);
}

.credibility-label {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.credibility-value {
  font-size: 1rem;
  color: #4B5563;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .credibility-grid {
    grid-template-columns: 1fr;
  }
  .credibility-card.featured {
    order: -1;
  }
}

/* --- HOW IT WORKS SECTION --- */
.how-it-works-section {
  padding: 100px 20px;
  background: white;
  text-align: center;
  position: relative;
}

.how-it-works-container {
  max-width: 1100px;
  margin: 0 auto;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
  position: relative;
}

/* Dashed line connector on desktop */
.how-it-works-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  border-top: 2px dashed var(--light-teal);
  z-index: 1;
}

.how-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number {
  width: 80px;
  height: 80px;
  background: white;
  border: 3px solid var(--deep-teal);
  color: var(--deep-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.1);
  transition: all 0.3s ease;
}

.how-step:hover .step-number {
  background: var(--deep-teal);
  color: white;
  transform: scale(1.1);
}

.step-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 10px;
}

.step-text {
  font-size: 1rem;
  color: #6B7280;
  line-height: 1.6;
  max-width: 280px;
}

.how-cta-wrap {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 15px; /* Extra safety padding */
  text-align: center;
}

.micro-copy {
  margin-top: 15px;
  font-size: 0.85rem;
  color: #9CA3AF;
}

@media (max-width: 768px) {
  .how-it-works-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .how-it-works-grid::before {
    display: none;
  }

  /* Vertical connector line on mobile */
  .how-it-works-grid::after {
    content: '';
    position: absolute;
    top: 40px;
    bottom: 40px;
    left: 50%;
    border-left: 2px dotted var(--light-teal);
    z-index: 1;
    transform: translateX(-50%);
  }
}

/* --- ENTRANCE ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE: 768px --- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-divider {
    display: block;
  }

  .hamburger-toggle {
    display: flex;
  }

  .auth-buttons {
    gap: 15px;
  }

  .login-link {
    font-size: 0.9rem;
  }

  .btn-trial-nav {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  h1 {
    font-size: 2.8rem;
  }

  .strava-title {
    font-size: 2.2rem;
  }

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

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

  .hero-section {
    padding: 80px 16px 100px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .description {
    margin-left: auto;
    margin-right: auto;
  }

  .action-buttons {
    justify-content: center !important;
  }

  .phone-mockup {
    transform: scale(0.6);
    transform-origin: top center;
    margin-bottom: -220px;
  }

  .tab-panel.active {
    flex-direction: column;
  }

  .tab-visual {
    min-width: unset;
    padding: 28px;
    font-size: 3rem;
  }

  .tab-info {
    min-width: unset;
  }

  .tab-buttons {
    gap: 6px;
  }

  .tab-btn {
    padding: 10px 18px;
    font-size: 0.85rem;
  }

  .features-title {
    font-size: 2rem;
  }

  .faq-title {
    font-size: 1.8rem;
  }

  .floating-cta {
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
  }

  .floating-cta-text {
    font-size: 0.85rem;
  }

  .trust-logos span {
    font-size: 0.9rem;
  }

  .source-item {
    width: 100%;
  }

  .timeline-container {
    padding: 20px;
    border-radius: 16px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .description {
    font-size: 1rem;
    margin-bottom: 30px;
  }
}

/* --- RESPONSIVE: 480px --- */
@media (max-width: 480px) {
  .hero-visual {
    display: none;
  }

  .hero-section {
    padding: 60px 20px 80px;
  }

  h1 {
    font-size: 2.4rem;
  }
}

/* --- GLASS CARD UTILITY --- */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
}

/* --- GLOW ACCENT UTILITY --- */
.glow-accent {
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.15);
  transition: box-shadow 0.3s ease;
}

.glow-accent:hover {
  box-shadow: 0 0 40px rgba(20, 184, 166, 0.25);
}

/* --- HERO GRADIENT TEXT --- */
.hero-section h1 {
  color: white;
}

.premium-gradient-text {
  background: linear-gradient(135deg, #f8fafc 0%, #5eead4 50%, #14b8a6 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* --- GLASSMORPHISM TRUST BADGE --- */
.trust-badge-pill {
  background: rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(94, 234, 212, 0.2) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255,255,255,0.05) !important;
}

/* --- SECTION TITLE ACCENT --- */
.section-title,
.features-title,
.faq-title,
.strava-title {
  position: relative;
}

.section-title::after,
.features-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--deep-teal), var(--accent-teal));
  margin: 16px auto 0;
  border-radius: 2px;
}

/* --- GLASSMORPHISM USP RIBBON --- */
.usp-section {
  padding: 80px 20px;
  background: linear-gradient(to right, #0f172a, #1e293b);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(20, 184, 166, 0.2);
  border-bottom: 1px solid rgba(20, 184, 166, 0.2);
}

.usp-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.usp-title {
  color: white;
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 50px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.usp-title i {
  color: var(--accent-teal);
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.usp-item {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(94, 234, 212, 0.15);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.usp-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(94, 234, 212, 0.4);
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.15);
}

.usp-icon {
  width: 50px;
  height: 50px;
  background: rgba(20, 184, 166, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent-teal);
}

.usp-label {
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.usp-value {
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
}

.usp-cta {
  text-align: center;
  margin-top: 50px;
}

.btn-usp {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--accent-teal), var(--deep-teal));
  color: white;
  padding: 18px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  border: none;
  box-shadow: 0 10px 25px rgba(20, 184, 166, 0.3);
  transition: all 0.3s ease;
}

.btn-usp:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(20, 184, 166, 0.4);
  color: white;
}

/* --- PROGRESSIVE BLUR PLAN PREVIEW --- */
.weeks-grid .preview-week {
  position: relative;
  overflow: hidden;
}

/* Weeks 1-3: Clear */
.weeks-grid .preview-week:nth-child(-n+3) .blur-content {
  filter: none;
  pointer-events: auto;
  user-select: auto;
}
.weeks-grid .preview-week:nth-child(-n+3)::after {
  content: 'UNLOCKED';
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.65rem;
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-green);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 800;
  letter-spacing: 1px;
}

/* Weeks 4-8: Light Blur */
.weeks-grid .preview-week:nth-child(n+4):nth-child(-n+8) .blur-content {
  filter: blur(2px);
  opacity: 0.7;
}

/* Weeks 9-12: Heavy Blur */
.weeks-grid .preview-week:nth-child(n+9) .blur-content {
  filter: blur(4px);
  opacity: 0.4;
}



/* ============================================
   MOBILE OVERFLOW FIXES � USP + DEMO SECTIONS
   ============================================ */

/* USP Section � long title safety */
.usp-title {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* USP Grid � force single column on mobile */
@media (max-width: 767px) {
  .usp-grid {
    grid-template-columns: 1fr;
  }

  .usp-item {
    padding: 20px 16px;
  }

  .btn-usp {
    padding: 12px 20px;
    font-size: 0.9rem;
    display: block;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }
}

/* Demo Section � base flex classes */
.demo-flex-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.demo-text-content {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.demo-visual-content {
  flex: 1;
  min-width: 0;
}

/* Demo Section � stack vertically on tablet and below */
@media (max-width: 768px) {
  .demo-flex-wrapper {
    gap: 32px;
  }

  .demo-text-content,
  .demo-visual-content {
    flex: none;
    width: 100%;
  }
}

/* Demo CTA button � responsive sizing */
.btn-demo-cta {
  padding: 18px 40px;
  font-size: 1.15rem;
  display: inline-block;
}

@media (max-width: 480px) {
  .btn-demo-cta {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 20px;
    font-size: 1rem;
    text-align: center;
  }
}

/* ============================================
   FINAL RESPONSIVE CONSOLIDATION
   ============================================ */

@media (max-width: 768px) {
  /* Header & Nav */
  .nav-links { display: none !important; }
  .nav-divider { display: block; margin: 0 10px; }
  
  .hamburger-toggle {
    display: flex !important;
    position: relative;
    z-index: 2001;
  }
  
  .hamburger-toggle span {
    background: #ffffff !important; /* Force white for visibility */
  }

  .auth-buttons .login-link {
    display: none; /* Hide login from header, keep in menu */
  }

  .auth-buttons {
    gap: 10px;
  }

  .btn-trial-nav {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  /* Landing Content Fixes */
  h1 { font-size: 2.2rem !important; }
  .hero-section { padding-top: 60px; }
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-text { align-items: center; text-align: center; }

  .usp-grid { grid-template-columns: 1fr !important; }
  .demo-flex-wrapper { flex-direction: column; }
  .demo-text-content, .demo-visual-content { width: 100% !important; flex: none !important; }
}

/* ============================================
   HEADER GLASSMORPHISM & REDUNDANCY FIXES
   ============================================ */

.header {
  background: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.header.scrolled {
  background: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
  padding: 8px 0;
  border-bottom: 1px solid rgba(20, 184, 166, 0.3) !important;
}

.how-connector { position: absolute; top:40px; left:15%; right:15%; height:2px; background-image: linear-gradient(to right, var(--light-teal) 50%, transparent 50%); background-size: 15px 2px; background-repeat: repeat-x; z-index: 1; transform-origin: left center; transform: scaleX(0); }
@media (max-width: 768px) { .how-connector { top:40px; bottom:40px; left:50%; right:auto; width:2px; height:auto; background-image: linear-gradient(to bottom, var(--light-teal) 50%, transparent 50%); background-size: 2px 15px; background-repeat: repeat-y; transform: scaleY(0); transform-origin: top center; } .how-it-works-grid::before { display: none !important; } .how-it-works-grid::after { display: none !important; } }

/* --- PREMIUM BACKGROUND AURA --- */
.bg-aura-wrapper { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow: hidden; pointer-events: none; background: #fff; }
.aura-blob { position: absolute; width: 600px; height: 600px; border-radius: 50%; filter: blur(120px); opacity: 0.15; mix-blend-mode: multiply; animation: auraFloat 20s infinite alternate ease-in-out; }
.aura-1 { top: -10%; left: -10%; background: var(--deep-teal); }
.aura-2 { top: 40%; right: -10%; background: var(--light-teal); animation-delay: -5s; width: 800px; height: 800px; opacity: 0.1; }
.aura-3 { bottom: -10%; left: 20%; background: #6b46c1; animation-delay: -10s; opacity: 0.08; }
@keyframes auraFloat { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(5%, 10%) scale(1.1); } 100% { transform: translate(-5%, 5%) scale(0.9); } }
@media (prefers-color-scheme: dark) { .bg-aura-wrapper { background: #0f172a; } .aura-blob { mix-blend-mode: screen; opacity: 0.1; } }
/* Vertical Scroll Reveal Mask */
.scroll-reveal-container { overflow-x: hidden; position: relative; }

/* PERFORMANCE OPTIMIZATIONS */
.aura-blob { filter: blur(60px) !important; mix-blend-mode: normal !important; opacity: 0.05 !important; will-change: transform; transform: translateZ(0); }
.how-connector { will-change: transform; transition: none !important; }
section { transform: translateZ(0); backface-visibility: hidden; }

/* Mobile Performance Override: Disable expensive blurs on smaller screens */
@media (max-width: 768px) {
  .header,
  .header.scrolled,
  .trust-badge-pill,
  .pricing-toggle-wrap,
  .demo-cta-section div,
  [style*="backdrop-filter"] {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: rgba(15, 23, 42, 0.95) !important; /* Fallback for dark glass */
  }
  
  /* Specific fallbacks for light glass containers if any */
  .trust-badge-pill {
    background-color: rgba(255, 255, 255, 0.15) !important;
  }
}
