/* =============================================
   GOVBASE LANDING PAGE STYLES - REDESIGN
   ============================================= */

/* =============================================
   BASE STYLES
   ============================================= */

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  color: #ffffff;
  background: #000000;
  overflow-x: hidden;
  width: 100%;
  min-width: 0;
}

img {
  max-width: 100%;
  height: auto;
}

section {
  overflow: hidden;
  width: 100%;
}

/* =============================================
   HEADER NAV
   ============================================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.header.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-logo img {
  height: 32px;
  width: auto;
}

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

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #fff;
}

/* Get App Dropdown */
.dropdown {
  position: relative;
}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: #0a84ff;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.dropdown-trigger:hover {
  background: #0070e0;
  transform: translateY(-1px);
}

.dropdown-trigger ion-icon {
  font-size: 14px;
  transition: transform 0.2s;
}

.dropdown.open .dropdown-trigger ion-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.dropdown-item.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.dropdown-item ion-icon {
  font-size: 20px;
}

.dropdown-item-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.dropdown-item-text small {
  font-size: 11px;
  opacity: 0.6;
}

.dropdown-item-text span {
  font-size: 14px;
  font-weight: 500;
}

/* Mobile header */
@media (max-width: 600px) {
  .header {
    padding: 12px 16px;
  }

  .header-logo img {
    height: 28px;
  }

  .nav-link {
    display: none;
  }

  .dropdown-trigger {
    padding: 8px 16px;
    font-size: 13px;
  }
}

@media (min-width: 900px) {
  .header {
    padding: 20px 40px;
  }

  .header-logo img {
    height: 40px;
  }

  .header-nav {
    gap: 40px;
  }

  .nav-link {
    font-size: 15px;
  }
}


/* =============================================
   HERO SECTION
   ============================================= */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 60px;
  background: #000;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../auth_background.jpg') center/cover;
  opacity: 0.25;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
  width: 100%;
  max-width: 500px;
}

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

.hero-phone {
  display: none;
  justify-content: center;
  align-items: center;
}

.hero-phone img {
  height: 70vh;
  min-height: 500px;
  max-height: 700px;
  width: auto;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
}

.hero-logo {
  height: 80px;
  width: auto;
  margin-bottom: 32px;
}

.hero-tagline {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
  font-weight: 500;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 48px;
  max-width: 420px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  min-width: 180px;
  background: #0a84ff;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.hero-btn:hover {
  background: #0070e0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 132, 255, 0.3);
}

.hero-btn ion-icon {
  font-size: 20px;
}

.hero-btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 12px 24px;
  font-size: 14px;
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 28px;
  animation: bounce 2s infinite;
  text-decoration: none;
  z-index: 1;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

@media (min-width: 900px) {
  .hero {
    padding: 60px 40px;
  }

  .hero-inner {
    flex-direction: row;
    justify-content: center;
    max-width: 1400px;
    gap: 180px;
    text-align: center;
  }

  .hero-content {
    flex: 1;
    max-width: 500px;
    align-items: center;
  }

  .hero-logo {
    height: 100px;
    margin-bottom: 36px;
  }

  .hero-tagline {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .hero-subtitle {
    font-size: 17px;
    margin-bottom: 48px;
  }

  .hero-cta {
    flex-direction: row;
    gap: 16px;
  }

  .hero-phone {
    display: flex;
    flex: 0 0 auto;
  }
}

/* =============================================
   FLOW SECTION - How It Works
   ============================================= */

/* =============================================
   FLOW SECTION - Artistic Pipeline Visualization
   ============================================= */

.flow-section {
  padding: 60px 20px 80px;
  background: #000;
  position: relative;
  overflow: hidden;
}

.flow-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  min-height: 280px;
}

/* Flowing SVG Wave */
.flow-wave {
  position: absolute;
  top: 50%;
  left: -5%;
  width: 110%;
  height: 180px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 1s ease;
}

.flow-section.visible .flow-wave {
  opacity: 1;
}

.flow-wave-path {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  transition: stroke-dashoffset 2s ease-out;
}

.flow-section.visible .flow-wave-path {
  stroke-dashoffset: 0;
}

/* Flow Nodes Container */
.flow-nodes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  position: relative;
  z-index: 2;
  padding: 20px 0;
}

/* Individual Node */
.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(40px) scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.flow-node.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Glowing Orb */
.flow-node-orb {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 20px;
  font-size: 32px;
  background: radial-gradient(circle at 30% 30%, rgba(10, 132, 255, 0.3), rgba(10, 132, 255, 0.05));
  color: #0a84ff;
  box-shadow:
    0 0 40px rgba(10, 132, 255, 0.3),
    0 0 80px rgba(10, 132, 255, 0.15),
    inset 0 0 20px rgba(10, 132, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.flow-node-orb.purple {
  background: radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.3), rgba(139, 92, 246, 0.05));
  color: #a78bfa;
  box-shadow:
    0 0 40px rgba(139, 92, 246, 0.3),
    0 0 80px rgba(139, 92, 246, 0.15),
    inset 0 0 20px rgba(139, 92, 246, 0.1);
  animation-delay: -2s;
}

.flow-node-orb.green {
  background: radial-gradient(circle at 30% 30%, rgba(16, 185, 129, 0.3), rgba(16, 185, 129, 0.05));
  color: #34d399;
  box-shadow:
    0 0 40px rgba(16, 185, 129, 0.3),
    0 0 80px rgba(16, 185, 129, 0.15),
    inset 0 0 20px rgba(16, 185, 129, 0.1);
  animation-delay: -4s;
}

/* Pulsing ring */
.flow-node-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(10, 132, 255, 0.4);
  animation: pulse-ring 3s ease-out infinite;
}

.flow-node-orb.purple .flow-node-pulse {
  border-color: rgba(139, 92, 246, 0.4);
  animation-delay: -1s;
}

.flow-node-orb.green .flow-node-pulse {
  border-color: rgba(16, 185, 129, 0.4);
  animation-delay: -2s;
}

/* Labels */
.flow-node-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.flow-node-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

.flow-node-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.01em;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Desktop: Horizontal Layout */
@media (min-width: 768px) {
  .flow-section {
    padding: 80px 40px 100px;
  }

  .flow-container {
    min-height: 320px;
  }

  .flow-nodes {
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 20px;
  }

  .flow-node {
    flex: 1;
    max-width: 280px;
  }

  .flow-node-orb {
    width: 100px;
    height: 100px;
    font-size: 40px;
    margin-bottom: 28px;
  }

  .flow-node-pulse {
    inset: -12px;
  }

  .flow-node-title {
    font-size: 20px;
  }

  .flow-node-sub {
    font-size: 14px;
  }

  .flow-wave {
    height: 200px;
  }
}

/* Large screens */
@media (min-width: 1024px) {
  .flow-node-orb {
    width: 110px;
    height: 110px;
    font-size: 44px;
  }
}

/* =============================================
   SECTION SEPARATORS
   ============================================= */

.section-separator {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-separator-blue {
  border-top: 1px solid rgba(10, 132, 255, 0.3);
}

.section-separator-green {
  border-top: 1px solid rgba(16, 185, 129, 0.3);
}

.section-separator-purple {
  border-top: 1px solid rgba(139, 92, 246, 0.3);
}

/* =============================================
   CYCLING CATEGORIES (used in personalized section)
   ============================================= */

.follow-cycling {
  text-align: center;
  margin-bottom: 40px;
}

.follow-prefix {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.follow-category-display {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.follow-category {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  position: absolute;
}

.follow-category.active {
  opacity: 1;
  transform: translateY(0);
}

.follow-category-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.follow-category-icon.blue { background: rgba(10, 132, 255, 0.2); color: #0a84ff; }
.follow-category-icon.purple { background: rgba(139, 92, 246, 0.2); color: #a78bfa; }
.follow-category-icon.green { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.follow-category-icon.orange { background: rgba(249, 115, 22, 0.2); color: #f97316; }
.follow-category-icon.pink { background: rgba(236, 72, 153, 0.2); color: #f472b6; }
.follow-category-icon.cyan { background: rgba(6, 182, 212, 0.2); color: #06b6d4; }

.follow-category-text {
  font-size: 26px;
  font-weight: 600;
  color: #fff;
}


/* =============================================
   FEATURE SECTIONS (Alternating Layout)
   ============================================= */

.feature-section {
  padding: 80px 20px;
  background: #000;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-section-first {
  border-top: 1px solid rgba(10, 132, 255, 0.3);
}

.feature-section-first::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 150px;
  background: radial-gradient(ellipse at center top, rgba(10, 132, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.feature-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}

.feature-content {
  text-align: center;
  max-width: 500px;
}

.feature-label {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.feature-label.blue {
  background: rgba(10, 132, 255, 0.15);
  border: 1px solid rgba(10, 132, 255, 0.3);
  color: #0a84ff;
}

.feature-label.green {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.feature-label.purple {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #8b5cf6;
}

.feature-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.feature-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.feature-image {
  max-width: 300px;
}

.feature-image img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Feature devices (iPhone overlayed on iPad) */
.feature-devices {
  position: relative;
  width: 400px;
  height: 520px;
}

/* iPad in back */
.feature-devices .device-tablet {
  position: absolute;
  top: 0;
  right: 0;
  width: 340px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  z-index: 1;
  opacity: 0.7;
  filter: brightness(0.7);
}

/* iPhone in front, larger and prominent - closer to center */
.feature-devices .device-phone {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 220px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  z-index: 2;
}

/* Mobile: Just show phone */
@media (max-width: 599px) {
  .feature-devices {
    width: 260px;
    height: auto;
    position: static;
  }

  .feature-devices .device-phone {
    position: static;
    width: 100%;
    max-width: 260px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  }

  .feature-devices .device-tablet {
    display: none;
  }
}

/* Feature list */
.feature-list {
  margin-top: 24px;
  text-align: left;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-list-item:last-child {
  border-bottom: none;
}

.feature-list-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.feature-list-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.feature-list-text strong {
  color: #fff;
  font-weight: 600;
}

@media (min-width: 900px) {
  .feature-section {
    padding: 100px 40px;
  }

  .feature-inner {
    flex-direction: row;
    gap: 60px;
    align-items: center;
  }

  .feature-inner.reverse {
    flex-direction: row-reverse;
  }

  .feature-content {
    flex: 1;
    text-align: left;
  }

  .feature-title {
    font-size: 36px;
  }

  .feature-description {
    font-size: 17px;
  }

  .feature-image {
    flex: 0 0 auto;
    max-width: 350px;
  }

  .feature-devices {
    flex: 0 0 auto;
    width: 480px;
    height: 560px;
  }

  .feature-devices .device-tablet {
    width: 380px;
  }

  .feature-devices .device-phone {
    width: 260px;
  }

  /* Flip device positions for reversed layout - iPhone toward center */
  .feature-inner.reverse .feature-devices .device-tablet {
    right: auto;
    left: 0;
  }

  .feature-inner.reverse .feature-devices .device-phone {
    left: auto;
    right: 0;
  }
}

/* =============================================
   AI BREAKDOWN SECTION
   ============================================= */

.breakdown-section {
  padding: 80px 20px;
  background: #000;
  position: relative;
  border-top: 1px solid rgba(16, 185, 129, 0.3);
}

.breakdown-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 150px;
  background: radial-gradient(ellipse at center top, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.breakdown-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.breakdown-content {
  text-align: center;
  max-width: 500px;
}

.breakdown-label {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 50px;
  color: #10b981;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.breakdown-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.breakdown-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

/* Breakdown tabs */
.breakdown-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.breakdown-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.breakdown-tab ion-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.breakdown-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(16, 185, 129, 0.3);
}

.breakdown-tab.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #10b981;
}

/* Breakdown phone carousel */
.breakdown-carousel {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 560px;
  overflow: visible;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide {
  position: absolute;
  width: 280px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Center (active) slide */
.carousel-slide[data-position="center"] {
  transform: translateX(0) scale(1);
  z-index: 3;
  opacity: 1;
}

/* Left (previous) slide */
.carousel-slide[data-position="left"] {
  transform: translateX(-55%) scale(0.6);
  z-index: 2;
  opacity: 0.4;
  filter: brightness(0.5);
}

/* Right (next) slide */
.carousel-slide[data-position="right"] {
  transform: translateX(55%) scale(0.6);
  z-index: 2;
  opacity: 0.4;
  filter: brightness(0.5);
}

/* Hidden slides (for 3+ items) */
.carousel-slide[data-position="hidden"] {
  transform: translateX(0) scale(0.5);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 900px) {
  .breakdown-section {
    padding: 100px 40px;
  }

  .breakdown-inner {
    flex-direction: row;
    gap: 60px;
    align-items: center;
  }

  .breakdown-inner.reverse {
    flex-direction: row-reverse;
  }

  .breakdown-content {
    flex: 1;
    text-align: left;
  }

  .breakdown-title {
    font-size: 36px;
  }

  .breakdown-subtitle {
    font-size: 17px;
  }

  .breakdown-tabs {
    flex-direction: column;
    gap: 12px;
  }

  .breakdown-tab {
    padding: 16px 24px;
    font-size: 15px;
  }

  .breakdown-carousel {
    flex: 0 0 auto;
    width: 560px;
    height: 580px;
  }

  .carousel-slide {
    width: 320px;
  }

  .carousel-slide[data-position="left"] {
    transform: translateX(-60%) scale(0.55);
  }

  .carousel-slide[data-position="right"] {
    transform: translateX(60%) scale(0.55);
  }
}

/* =============================================
   PERSONALIZED SECTION
   ============================================= */

.personalized-section {
  padding: 80px 20px;
  background: #000;
  position: relative;
  border-top: 1px solid rgba(139, 92, 246, 0.3);
}

.personalized-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 150px;
  background: radial-gradient(ellipse at center top, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.personalized-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}

.personalized-content {
  text-align: center;
  max-width: 600px;
}

.personalized-label {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 50px;
  color: #a78bfa;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.personalized-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.personalized-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

.personalized-image {
  width: 280px;
  max-width: 100%;
}

.personalized-image img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Personalized section cycling display */
.personalized-section .follow-cycling {
  text-align: left;
}

@media (max-width: 899px) {
  .personalized-section .follow-cycling {
    text-align: center;
  }
}

@media (min-width: 900px) {
  .personalized-section {
    padding: 100px 40px;
  }

  .personalized-inner {
    flex-direction: row;
    gap: 80px;
    align-items: center;
  }

  .personalized-content {
    flex: 1;
    text-align: left;
  }

  .personalized-title {
    font-size: 36px;
  }

  .personalized-subtitle {
    font-size: 17px;
  }

  .personalized-section .follow-prefix {
    font-size: 18px;
  }

  .personalized-section .follow-category-text {
    font-size: 28px;
  }

  .personalized-section .follow-category-icon {
    width: 56px;
    height: 56px;
    font-size: 28px;
  }

  .personalized-image {
    flex: 0 0 auto;
    width: 320px;
  }
}

/* Follow tabs (in personalized section) */
.follow-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.follow-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.follow-tab ion-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.follow-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(139, 92, 246, 0.3);
}

.follow-tab.active {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.4);
  color: #a78bfa;
}

/* Follow carousel */
.follow-carousel {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 560px;
  overflow: visible;
}

.follow-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.follow-carousel-slide {
  position: absolute;
  width: 280px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.follow-carousel-slide img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.follow-carousel-slide[data-position="center"] {
  transform: translateX(0) scale(1);
  z-index: 3;
  opacity: 1;
}

.follow-carousel-slide[data-position="left"] {
  transform: translateX(-55%) scale(0.6);
  z-index: 2;
  opacity: 0.4;
  filter: brightness(0.5);
}

.follow-carousel-slide[data-position="right"] {
  transform: translateX(55%) scale(0.6);
  z-index: 2;
  opacity: 0.4;
  filter: brightness(0.5);
}

.follow-carousel-slide[data-position="hidden"] {
  transform: translateX(0) scale(0.5);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 900px) {
  .follow-tabs {
    justify-content: flex-start;
    gap: 12px;
  }

  .follow-tab {
    padding: 14px 20px;
    font-size: 14px;
  }

  .follow-carousel {
    flex: 0 0 auto;
    width: 560px;
    height: 580px;
  }

  .follow-carousel-slide {
    width: 320px;
  }

  .follow-carousel-slide[data-position="left"] {
    transform: translateX(-60%) scale(0.55);
  }

  .follow-carousel-slide[data-position="right"] {
    transform: translateX(60%) scale(0.55);
  }
}

/* =============================================
   NEWS SECTION
   ============================================= */

.news-section {
  padding: 80px 20px;
  background: #000;
  position: relative;
  border-top: 1px solid rgba(249, 115, 22, 0.3);
}

.news-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 150px;
  background: radial-gradient(ellipse at center top, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.news-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}

.news-content {
  text-align: center;
  max-width: 500px;
}

.news-label {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 50px;
  color: #f97316;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.news-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.news-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* News devices (side by side phones) */
.news-devices {
  display: flex;
  align-items: flex-start;
  position: relative;
}

.news-devices .news-phone-front {
  width: 260px;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.6));
  z-index: 2;
  position: relative;
}

.news-devices .news-phone-back {
  width: 240px;
  height: auto;
  filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4));
  z-index: 1;
  opacity: 0.85;
  margin-left: 20px;
  margin-top: 40px;
}

/* Mobile: Just show front phone */
@media (max-width: 599px) {
  .news-devices {
    justify-content: center;
  }

  .news-devices .news-phone-front {
    width: 260px;
    max-width: 260px;
  }

  .news-devices .news-phone-back {
    display: none;
  }
}

@media (min-width: 900px) {
  .news-section {
    padding: 100px 40px;
  }

  .news-inner {
    flex-direction: row;
    gap: 80px;
    align-items: center;
  }

  .news-content {
    flex: 1;
    text-align: left;
  }

  .news-title {
    font-size: 36px;
  }

  .news-subtitle {
    font-size: 17px;
  }

  .news-devices {
    flex: 0 0 auto;
  }

  .news-devices .news-phone-front {
    width: 300px;
  }

  .news-devices .news-phone-back {
    width: 280px;
    margin-left: 30px;
    margin-top: 50px;
    opacity: 0.8;
  }
}

/* =============================================
   DATA SOURCES SECTION
   ============================================= */

.sources-section {
  padding: 80px 20px;
  background: #050505;
  position: relative;
}

.sources-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.sources-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

.sources-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 48px;
}

.source-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.source-item:hover {
  color: rgba(255, 255, 255, 0.8);
}

.source-item ion-icon {
  font-size: 24px;
}

.source-item span {
  font-size: 15px;
  font-weight: 500;
}

@media (min-width: 900px) {
  .sources-section {
    padding: 100px 40px;
  }

  .sources-grid {
    gap: 48px 64px;
  }

  .source-item ion-icon {
    font-size: 28px;
  }

  .source-item span {
    font-size: 16px;
  }
}

/* =============================================
   CTA SECTION
   ============================================= */

.cta {
  padding: 100px 20px;
  background: linear-gradient(135deg, #0a84ff 0%, #0066cc 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: #fff;
  border-radius: 12px;
  color: #0a84ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-btn ion-icon {
  font-size: 22px;
}

.cta-btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.cta-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.cta-btn-disabled {
  opacity: 0.5;
  cursor: default;
}

.cta-btn-disabled:hover {
  transform: none;
  box-shadow: none;
}

@media (max-width: 600px) {
  .cta-title {
    font-size: 28px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-btn {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }
}

@media (min-width: 900px) {
  .cta {
    padding: 140px 40px;
  }

  .cta-title {
    font-size: 42px;
  }

  .cta-subtitle {
    font-size: 20px;
  }
}

/* =============================================
   FOOTER
   ============================================= */

footer {
  padding: 60px 20px 40px;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  margin-bottom: 40px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #fff;
}

.footer-copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* =============================================
   ANIMATIONS
   ============================================= */

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hero entrance */
.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

/* Scroll-triggered animations - JS will add .js-animated class to body */
.js-animated .animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.js-animated .animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.js-animated .animate-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.js-animated .animate-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.js-animated .animate-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.js-animated .animate-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* =============================================
   GRACEFUL DEGRADATION
   ============================================= */

/* If no JS or GSAP fails, content shows normally */
.animate-on-scroll,
.animate-left,
.animate-right {
  opacity: 1;
  transform: none;
}
