/* style.css - Premium Glassmorphic Riding Landing Page */
:root {
  --primary-color: #007AFF;
  --primary-glow: rgba(0, 122, 255, 0.4);
  --accent-color: #5856D6;
  --accent-glow: rgba(88, 86, 214, 0.35);
  
  --bg-dark: #0B0F19; /* Deep dark night slate */
  --bg-darker: #060910;
  --card-dark: rgba(22, 27, 43, 0.55);
  --border-glow: rgba(255, 255, 255, 0.08);
  --border-glow-active: rgba(0, 122, 255, 0.3);
  
  --text-light: #FFFFFF;
  --text-gray: #94A3B8;
  --text-muted: #64748B;
  
  --grad-blue: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  --grad-green: linear-gradient(135deg, #34C759 0%, #00FF66 100%);
  --grad-glow: radial-gradient(circle, rgba(0, 122, 255, 0.15) 0%, transparent 70%);
}

/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Utilities */
.flex-row {
  display: flex;
  flex-direction: row;
  align-items: center;
}

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

.flex-between {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.font-bold {
  font-weight: 700;
}

.white-text {
  color: var(--text-light);
}

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

/* Glassmorphism System */
.glass-panel {
  background: var(--card-dark);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glow);
  border-radius: 32px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  border-color: var(--border-glow-active);
  box-shadow: 0 16px 40px rgba(0, 122, 255, 0.08);
}

/* Header Navbar */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(11, 15, 25, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glow);
  z-index: 1000;
}

.nav-container {
  max-width: 1300px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.logo-badge {
  background: var(--grad-blue);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 6px;
  margin-right: 8px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.4);
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 24px;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--text-gray);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.nav-btn-primary {
  background: var(--grad-blue);
  color: #FFFFFF !important;
  padding: 10px 22px;
  border-radius: 18px;
  box-shadow: 0 4px 14px var(--primary-glow);
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--primary-glow);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  background-image: url('https://images.unsplash.com/photo-1558981806-ec527fa84c39?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(11, 15, 25, 0.96) 35%, rgba(11, 15, 25, 0.7) 100%);
  z-index: 1;
}

.hero-glow-1 {
  position: absolute;
  top: 20%;
  left: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.18) 0%, transparent 75%);
  filter: blur(40px);
  z-index: 2;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: 10%;
  right: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(88, 86, 214, 0.15) 0%, transparent 75%);
  filter: blur(50px);
  z-index: 2;
  pointer-events: none;
}

.hero-container {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  z-index: 10;
  width: 100%;
}

.hero-content {
  flex: 1.2;
  max-width: 680px;
}

.badge-premium {
  display: inline-flex;
  background: rgba(0, 122, 255, 0.08);
  color: var(--primary-color);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(0, 122, 255, 0.18);
  margin-bottom: 24px;
}

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

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.5; }
}

.hero-section h1 {
  font-family: 'Outfit', 'Noto Sans SC', sans-serif;
  font-size: 58px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.highlight-text {
  background: var(--grad-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Download buttons group */
.hero-buttons {
  gap: 24px;
  margin-bottom: 40px;
}

.btn-download {
  background: var(--grad-blue);
  color: #FFFFFF;
  padding: 14px 28px;
  border-radius: 20px;
  box-shadow: 0 8px 24px var(--primary-glow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--primary-glow);
}

.btn-icon-wrapper {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  margin-right: 14px;
}

.svg-icon {
  width: 22px;
  height: 22px;
}

.btn-text-box {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-desc {
  font-size: 11px;
  opacity: 0.7;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-title {
  font-size: 16px;
  font-weight: 700;
}

/* Scan QR Area */
.qr-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glow);
  padding: 10px 18px;
  border-radius: 20px;
  gap: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.qr-mock-wrapper {
  width: 72px;
  height: 72px;
  background-color: #FFFFFF;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  padding: 6px;
}

.qr-mock-image {
  width: 100%;
  height: 100%;
  /* High fidelity simulated QR pattern using grids */
  background-image: 
    linear-gradient(45deg, #000 25%, transparent 25%), 
    linear-gradient(-45deg, #000 25%, transparent 25%), 
    linear-gradient(45deg, transparent 75%, #000 75%), 
    linear-gradient(-45deg, transparent 75%, #000 75%);
  background-size: 8px 8px;
  background-position: 0 0, 0 4px, 4px -4px, -4px 0px;
}

/* Red scan laser line */
.qr-scanner-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #FF3B30;
  box-shadow: 0 0 8px #FF3B30;
  animation: scanLaser 2.2s linear infinite;
}

@keyframes scanLaser {
  0% { top: 4%; }
  50% { top: 94%; }
  100% { top: 4%; }
}

.qr-text {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.4;
}

.hero-meta {
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Smartphone Mockup Container (iPhone 15 Pro style) */
.hero-mockup {
  flex: 0.9;
  display: flex;
  justify-content: flex-end;
}

.phone-wrapper {
  position: relative;
}

.phone-frame {
  width: 290px;
  height: 590px;
  background: #1e2022;
  border-radius: 44px;
  padding: 10px;
  border: 4px solid #3c3f41;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), inset 0 0 4px rgba(255,255,255,0.2);
  position: relative;
}

/* Dynamic Island */
.phone-camera-dynamic {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 24px;
  background-color: #000000;
  border-radius: 12px;
  z-index: 100;
  box-shadow: inset 0 0 2px rgba(255,255,255,0.1);
}

.phone-speaker {
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 3px;
  background-color: #080808;
  border-radius: 3px;
  z-index: 100;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #090B11;
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--text-light);
  position: relative;
  border: 1px solid #1a1a1a;
}

/* Simulated App Nav Bar inside phone screen */
.mock-app-navbar {
  padding: 38px 16px 10px 16px;
  background: rgba(22, 27, 43, 0.8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mock-nav-avatar {
  font-size: 20px;
  margin-right: 8px;
}

.mock-nav-info {
  display: flex;
  flex-direction: column;
}

.mock-nav-title {
  font-weight: 800;
  font-size: 13px;
}

.mock-nav-sub {
  font-size: 9px;
  color: var(--text-muted);
}

.mock-nav-gps {
  font-size: 9px;
  background: rgba(0, 122, 255, 0.12);
  color: var(--primary-color);
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.phone-content-area {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}

/* Hide scrollbars inside mockup phone screen */
.phone-content-area::-webkit-scrollbar {
  display: none;
}

/* Mockup UI - Garage View */
.garage-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.stat-mini-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 9px;
  color: var(--text-muted);
}

.stat-val {
  font-size: 14px;
  font-weight: 700;
}

.mock-bike-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 12px;
}

.bike-image-placeholder {
  width: 100%;
  height: 80px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.bmw-s1000 {
  background-image: url('https://images.unsplash.com/photo-1568772585407-9361f9bf3a87?auto=format&fit=crop&w=300&q=80');
}

.honda-crf {
  background-image: url('https://images.unsplash.com/photo-1485965120184-e220f721d03e?auto=format&fit=crop&w=300&q=80');
  height: 70px;
}

.bike-status-tag {
  position: absolute;
  top: 6px;
  left: 8px;
  font-size: 8px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 5px;
}

.tag-safe {
  background: #30d158;
  color: #FFFFFF;
}

.tag-warn {
  background: #ff9f0a;
  color: #FFFFFF;
}

.bike-body {
  padding: 8px 12px;
}

.bike-name {
  font-size: 12px;
  font-weight: 700;
}

.bike-mileage {
  font-size: 9px;
  color: var(--text-muted);
}

.bike-plate-badge {
  background: var(--primary-color);
  color: #FFFFFF;
  font-size: 9px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 4px;
}

.bike-maintenance-bar {
  padding: 0 12px 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bar-progress {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.bar-progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 85%;
  background: var(--grad-green);
}

.bar-label {
  font-size: 8px;
  color: var(--text-muted);
}

/* Mockup UI - Community View */
.mock-post-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 10px;
  margin-bottom: 12px;
}

.post-header {
  margin-bottom: 6px;
  gap: 6px;
}

.post-avatar {
  width: 24px;
  height: 24px;
  background-color: var(--primary-color);
  border-radius: 50%;
}

.post-author {
  font-size: 11px;
  font-weight: 700;
}

.post-tag {
  font-size: 8px;
  background: rgba(255,255,255,0.08);
  color: var(--text-gray);
  padding: 2px 6px;
  border-radius: 4px;
}

.post-text {
  font-size: 10px;
  color: var(--text-gray);
  line-height: 1.4;
  margin-bottom: 8px;
}

.post-img {
  width: 100%;
  height: 90px;
  background-image: url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?auto=format&fit=crop&w=300&q=80');
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  margin-bottom: 8px;
}

.post-actions {
  font-size: 9px;
  color: var(--text-muted);
}

/* Mockup UI - Navigation View */
.mock-nav-card {
  background: rgba(0, 122, 255, 0.08);
  border: 1px solid rgba(0, 122, 255, 0.2);
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 10px;
}

.nav-speed {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-color);
}

.nav-direction {
  font-size: 10px;
  color: var(--text-gray);
}

.mock-map-bg {
  width: 100%;
  height: 160px;
  background-color: #0b0d13;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}

.map-line-vector {
  width: 100%;
  height: 100%;
}

.map-ping-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: #30d158;
  border-radius: 50%;
  box-shadow: 0 0 8px #30d158;
  animation: mapPing 1.5s infinite;
}

@keyframes mapPing {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(3); opacity: 0; }
}

.nav-route-status {
  margin-top: 8px;
  font-size: 9px;
  color: var(--text-muted);
}

/* Mockup UI - Intercom View */
.mock-intercom-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 18px;
  padding: 12px;
  text-align: center;
}

.channel-badge {
  background: rgba(88,86,214,0.15);
  color: #a2a1f0;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 12px;
}

.speaker-avatar {
  width: 44px;
  height: 44px;
  background: var(--grad-blue);
  border-radius: 50%;
  margin: 0 auto 8px auto;
  font-size: 20px;
}

.speaker-name {
  font-size: 11px;
  font-weight: 700;
}

.speaker-status {
  font-size: 9px;
  color: #30d158;
}

/* Voice waves animation */
.voice-wave-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  height: 24px;
  margin: 14px 0;
}

.wave-bar {
  width: 3px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 2px;
  animation: audioPulse 1.2s ease-in-out infinite alternate;
}

.wave-bar:nth-child(2) { animation-delay: 0.15s; }
.wave-bar:nth-child(3) { animation-delay: 0.3s; }
.wave-bar:nth-child(4) { animation-delay: 0.45s; }
.wave-bar:nth-child(5) { animation-delay: 0.6s; }

@keyframes audioPulse {
  0% { height: 6px; }
  100% { height: 24px; }
}

.talk-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 3px solid rgba(255,255,255,0.08);
  box-shadow: 0 0 12px var(--primary-glow);
  margin: 10px auto 0 auto;
}

/* App tabbar mock */
.mock-app-tabbar {
  background: rgba(22, 27, 43, 0.95);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 8px 12px 14px 12px;
}

.tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.4;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.tab-btn.active {
  opacity: 1;
  color: var(--primary-color);
}

.tab-icon {
  font-size: 16px;
  margin-bottom: 2px;
}

.tab-txt {
  font-size: 8px;
  font-weight: 500;
}

/* Fade in animation utility */
.animate-fade-in {
  animation: fadeIn 0.4s ease-out;
}

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

/* Section Common Layout */
.section-header {
  margin-bottom: 50px;
}

.section-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Outfit', 'Noto Sans SC', sans-serif;
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-gray);
  max-width: 680px;
  margin: 0 auto;
}

/* Features Grid */
.features-section {
  padding: 100px 0;
  background-color: var(--bg-darker);
}

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

.feature-card-wrapper {
  cursor: pointer;
}

.feature-card {
  padding: 32px;
  align-items: flex-start;
}

.feat-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  font-size: 26px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.08);
}

.bg-blue-glow { background: rgba(0, 122, 255, 0.12); color: #007AFF; }
.bg-indigo-glow { background: rgba(88, 86, 214, 0.12); color: #8e8cf2; }
.bg-purple-glow { background: rgba(142, 68, 173, 0.12); color: #bf5af2; }
.bg-pink-glow { background: rgba(255, 45, 85, 0.12); color: #ff2d55; }

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feat-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.5;
  margin-bottom: 20px;
}

.feat-action-link {
  font-size: 13px;
  color: var(--primary-color);
  font-weight: 600;
  transition: transform 0.2s ease;
}

.feature-card-wrapper:hover .feat-action-link {
  transform: translateX(4px);
}

/* Hotspots Section */
.hotspots-section {
  padding: 100px 0;
}

.hotspots-container {
  gap: 32px;
}

.spots-list {
  flex: 1;
  gap: 16px;
}

.spot-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 18px 24px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.spot-item:hover {
  background: rgba(255,255,255,0.04);
}

.spot-item.active {
  background: rgba(0, 122, 255, 0.05);
  border-color: var(--primary-color);
  box-shadow: 0 4px 18px rgba(0,122,255,0.05);
}

.spot-title {
  font-size: 16px;
  font-weight: 700;
}

.spot-difficulty {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
}

.diff-easy { background: rgba(48, 209, 88, 0.12); color: #30d158; }
.diff-medium { background: rgba(255, 159, 10, 0.12); color: #ff9f0a; }
.diff-hard { background: rgba(255, 69, 58, 0.12); color: #ff453a; }

.spot-desc {
  font-size: 13px;
  color: var(--text-gray);
  margin: 10px 0;
}

.spot-meta {
  font-size: 11px;
  color: var(--text-muted);
}

/* Map Visualizer */
.map-visualizer-box {
  flex: 1.2;
  padding: 16px;
  position: relative;
  min-height: 380px;
}

.map-container-inner {
  position: relative;
  width: 100%;
  height: 100%;
  background: #060910;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.03);
  overflow: hidden;
}

.map-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.map-grid-line {
  stroke: rgba(255,255,255,0.02);
  stroke-width: 1;
}

.route-line {
  stroke: #ffffff;
  stroke-width: 3;
  fill: none;
  opacity: 0.15;
  transition: all 0.5s ease;
}

.route-line.active {
  stroke: url(#routeGrad);
  stroke-width: 4;
  opacity: 1;
}

.marker-outer {
  fill: rgba(0, 122, 255, 0.18);
  animation: pulsePoint 2s infinite;
}

.marker-inner {
  fill: var(--primary-color);
}

.marker-text {
  fill: var(--text-gray);
  font-size: 9px;
  font-weight: 500;
}

@keyframes pulsePoint {
  0% { r: 6; opacity: 1; }
  100% { r: 18; opacity: 0; }
}

.map-overlay-info {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  padding: 12px 18px;
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.map-overlay-info h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
}

.map-overlay-info p {
  font-size: 11px;
  color: var(--text-gray);
}

/* Speed Test Section */
.speedtest-section {
  padding: 100px 0;
  background-color: var(--bg-darker);
}

.speedtest-box {
  padding: 40px;
}

.node-selectors {
  flex: 1.2;
  gap: 16px;
}

.node-selectors h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.node-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.node-item.active {
  border-color: var(--primary-color);
  background: rgba(0,122,255,0.04);
}

.node-name {
  font-size: 14px;
  font-weight: 700;
}

.node-status {
  font-size: 11px;
  color: #30d158;
  background: rgba(48, 209, 88, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.node-ip {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Dashboard Panel */
.dashboard-panel {
  flex: 1;
  align-items: center;
}

.dial-container {
  width: 180px;
  height: 180px;
  position: relative;
  margin-bottom: 24px;
}

.dial-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.dial-bg {
  fill: none;
  stroke: rgba(255,255,255,0.03);
  stroke-width: 8;
}

.dial-progress {
  fill: none;
  stroke: url(#routeGrad);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 534; /* 2 * PI * 85 */
  stroke-dashoffset: 534;
  transition: stroke-dashoffset 0.1s ease;
}

.dial-content {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dial-unit {
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.dial-number {
  font-family: 'Outfit', sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-light);
}

.dial-mbps {
  font-size: 11px;
  color: var(--text-gray);
  font-weight: 600;
}

.speed-results-bar {
  width: 100%;
  justify-content: space-around;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 24px;
}

.result-metric {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.border-side {
  border-left: 1px solid rgba(255,255,255,0.06);
  border-right: 1px solid rgba(255,255,255,0.06);
}

.metric-label {
  font-size: 11px;
  color: var(--text-muted);
}

.metric-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-light);
  margin-top: 2px;
}

.btn-start-test {
  background: var(--grad-blue);
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 14px 28px;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--primary-glow);
  transition: all 0.3s ease;
  font-size: 14px;
}

.btn-start-test:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--primary-glow);
}

.btn-start-test:active {
  transform: translateY(0);
}

/* Accordion FAQ */
.faq-section {
  padding: 100px 0;
}

.faq-accordion-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.faq-item.active {
  border-color: var(--border-glow-active);
}

.faq-trigger {
  padding: 22px 28px;
  cursor: pointer;
  user-select: none;
}

.faq-question {
  font-size: 15px;
  font-weight: 700;
}

.faq-icon-arrow {
  font-size: 20px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 28px;
}

.faq-item.active .faq-content {
  padding-bottom: 22px;
}

.faq-content p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* Download CTA Section */
.cta-section {
  padding: 80px 0 120px 0;
  background-color: var(--bg-darker);
}

.cta-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 40px;
}

.large-title {
  font-size: 32px;
  font-weight: 900;
}

.cta-container h2 {
  font-family: 'Outfit', 'Noto Sans SC', sans-serif;
  font-size: 36px;
  font-weight: 800;
  margin: 12px 0 18px 0;
}

.cta-container p {
  font-size: 15px;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

.cta-download-box {
  justify-content: center;
  margin-bottom: 24px;
}

.primary-cta {
  background: var(--grad-blue);
  box-shadow: 0 10px 24px var(--primary-glow);
}

.cta-meta {
  justify-content: center;
  gap: 24px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Footer Section */
.app-footer {
  background: #05070c;
  border-top: 1px solid var(--border-glow);
  padding: 48px 24px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-desc {
  margin-top: 8px;
  max-width: 400px;
  line-height: 1.5;
}

.footer-compliance-links {
  margin-top: 16px;
}

.comp-link {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

.divider {
  margin: 0 10px;
  color: rgba(255,255,255,0.06);
}

.reviewer-meta {
  margin-top: 6px;
  color: #3b424e;
  font-size: 11px;
}

/* Modals for Compliance (Privacy and Agreement) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  max-width: 580px;
  width: 90%;
  max-height: 80vh;
  padding: 30px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-header {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 700;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: var(--text-light);
}

.modal-body {
  overflow-y: auto;
  padding-right: 8px;
}

/* Customize modal scrollbar */
.modal-body::-webkit-scrollbar {
  width: 5px;
}

.modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}

.modal-body h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-light);
  margin-top: 16px;
  margin-bottom: 6px;
}

.modal-body p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* Animations */
@keyframes pulse-glow {
  0% { box-shadow: 0 0 20px rgba(0, 122, 255, 0.05); }
  50% { box-shadow: 0 0 35px rgba(0, 122, 255, 0.15); }
  100% { box-shadow: 0 0 20px rgba(0, 122, 255, 0.05); }
}

.animate-pulse-glow {
  animation: pulse-glow 3s infinite;
}

/* Responsive adjust */
@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 50px;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-meta {
    justify-content: center;
  }
  .hero-mockup {
    justify-content: center;
    width: 100%;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .hotspots-container {
    flex-direction: column;
  }
  .spots-list {
    width: 100%;
  }
  .map-visualizer-box {
    width: 100%;
    min-height: 320px;
  }
  .speedtest-grid {
    flex-direction: column;
    gap: 32px;
  }
  .node-selectors {
    width: 100%;
  }
  .dashboard-panel {
    width: 100%;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  .footer-compliance-links {
    justify-content: center;
  }
  .footer-right {
    text-align: center;
  }
}
