@import "tailwindcss";

/* Prevent Tailwind reset from removing overflow-x constraints */
@layer base {
  html, body {
    overflow-x: hidden !important;
  }
}

/* ==========================================================================
   OndeBus Landing Page CSS Design System
   ========================================================================== */

/* ─── DESIGN TOKENS & RESET ─── */
:root {
  --font-heading: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;

  /* Sleek Harmonious HSL Palette */
  --bg-base: hsl(222, 47%, 4%); /* Deep cosmos black/blue #030509 */
  --bg-surface: hsl(219, 40%, 7%); /* Dark steel slate #070b13 */
  --bg-card: hsl(218, 30%, 12%); /* Dark slate card #151c27 */
  --bg-card-hover: hsl(218, 30%, 15%); /* Slightly lighter slate */

  --primary: hsl(224, 89%, 55%); /* Electric Blue #2563eb */
  --primary-light: hsl(224, 89%, 65%); /* Lighter electric blue */
  --accent: hsl(199, 95%, 55%); /* Neon cyan #38bdf8 */
  --accent-glow: rgba(56, 189, 248, 0.15);

  --text-primary: hsl(0, 0%, 100%);
  --text-secondary: hsl(211, 38%, 76%); /* Soft silver-blue #a2b4cb */
  --text-muted: hsl(211, 20%, 53%); /* Slate gray #6b7c93 */

  --border-glass: rgba(255, 255, 255, 0.05);
  --border-accent: rgba(37, 99, 235, 0.25);

  --shadow-glow: 0 12px 40px rgba(37, 99, 235, 0.2);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.3);

  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  font-family: inherit;
}

/* ─── TYPOGRAPHY ─── */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ─── LAYOUT & UTILITIES ─── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─── GLOWING DECORATIVE BACKGROUNDS ─── */
.glow-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
}

.blob-1 {
  top: -10%;
  right: 0;
  width: 600px;
  max-width: 60vw;
  height: 600px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.blob-2 {
  top: 40%;
  left: 0;
  width: 500px;
  max-width: 50vw;
  height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.2;
}

.blob-3 {
  bottom: -5%;
  right: 0;
  width: 700px;
  max-width: 70vw;
  height: 700px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

/* ─── HEADER / NAVIGATION ─── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  background-color: rgba(3, 5, 9, 0.7);
  transition: var(--transition-smooth);
}

.header-scrolled {
  padding: 0.5rem 0;
  background-color: rgba(3, 5, 9, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: var(--transition-smooth);
}

.header-scrolled .nav-wrapper {
  height: 65px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  z-index: 101;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--text-primary);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  transition: var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.cta-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

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

/* Burger Menu Mobile */
.burger {
  display: none;
  cursor: pointer;
  z-index: 101;
}

.burger div {
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  margin: 5px;
  transition: var(--transition-fast);
}

/* ─── HERO SECTION ─── */
.hero {
  position: relative;
  padding-top: 180px;
  padding-bottom: 100px;
  overflow: hidden;
  max-width: 100vw;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: left;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background-color: rgba(37, 99, 235, 0.12);
  border: 1px solid var(--border-accent);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
  box-shadow: inset 0 0 12px rgba(56, 189, 248, 0.05);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  animation: pulse 1.8s infinite;
}

.hero-title {
  font-size: 4.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.1rem 2.2rem;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.5), 0 0 15px rgba(56, 189, 248, 0.4);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
}

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

.hero-stats-simple {
  display: flex;
  gap: 3rem;
}

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

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-primary);
}

.stat-num span {
  color: var(--accent);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

/* ─── HERO VISUAL (CSS PHONE MOCKUP) ─── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.phone-wrapper {
  position: relative;
  width: 320px;
  height: 650px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-container {
  position: relative;
  width: 100%;
  height: 100%;
  background: hsl(222, 30%, 6%);
  border-radius: 48px;
  border: 10px solid hsl(218, 15%, 20%);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 40px rgba(37, 99, 235, 0.15), inset 0 0 15px
    rgba(255, 255, 255, 0.05);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #071220; /* Matches App Home bg! */
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 25px;
  background-color: hsl(218, 15%, 20%);
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  z-index: 100;
}

/* Simulated App UI inside Phone Screen */
.phone-header {
  padding: 35px 18px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #071220;
}

.phone-profile {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.phone-greeting {
  font-size: 10px;
  color: var(--text-secondary);
  font-weight: 500;
}

.phone-username {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}

.phone-header-icons {
  display: flex;
  gap: 8px;
}

.phone-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background-color: rgba(30, 64, 175, 0.2);
  border: 1px solid rgba(30, 64, 175, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.phone-icon-btn svg {
  width: 16px;
  height: 16px;
}

.phone-search-cta {
  margin: 0 18px 18px;
  background: var(--primary);
  border-radius: 20px;
  padding: 15px;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
  position: relative;
  overflow: hidden;
}

.phone-search-cta::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  filter: blur(10px);
}

.phone-search-icon {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.phone-search-icon svg {
  width: 18px;
  height: 18px;
}

.phone-search-text {
  margin-left: 12px;
  display: flex;
  flex-direction: column;
  text-align: left;
  flex-grow: 1;
}

.phone-search-title {
  font-size: 13px;
  font-weight: 700;
  color: white;
}

.phone-search-subtitle {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.7);
}

.phone-quick-access {
  margin: 0 18px 20px;
  text-align: left;
}

.phone-section-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.phone-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.phone-quick-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.phone-card-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.phone-card-icon-blue {
  background-color: rgba(37, 99, 235, 0.2);
  color: var(--accent);
}

.phone-card-icon-gray {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.phone-card-title {
  font-size: 11px;
  font-weight: 700;
}

.phone-card-desc {
  font-size: 8px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Phone Live Map Simulator Widget (Breathtaking CSS feature) */
.phone-live-map {
  margin: 0 18px 18px;
  flex-grow: 1;
  background-color: #0a1424;
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.phone-map-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.45;
}

/* Beautiful simulated map grid & routes using SVG background code or absolute elements */
.phone-map-route {
  position: absolute;
  width: 80%;
  height: 60%;
  top: 20%;
  left: 10%;
  border: 2px dashed rgba(37, 99, 235, 0.4);
  border-radius: 50% 20% 50% 30%;
  z-index: 2;
}

.phone-map-stop {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #071220;
  border: 2px solid var(--accent);
  border-radius: 50%;
  z-index: 3;
}

.stop-1 {
  top: 20%;
  left: 30%;
}
.stop-2 {
  top: 50%;
  left: 80%;
}
.stop-3 {
  top: 75%;
  left: 20%;
}

.phone-map-bus-pin {
  position: absolute;
  width: 22px;
  height: 22px;
  background-color: var(--primary);
  border: 2.5px solid white;
  border-radius: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.8);
  transform: translate(-50%, -50%);
  animation: simulatedBusMove 15s infinite linear;
}

.phone-map-bus-pin svg {
  width: 10px;
  height: 10px;
  fill: white;
}

.phone-map-overlay-card {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background-color: rgba(14, 30, 51, 0.9);
  border: 1px solid var(--border-accent);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 10px 12px;
  z-index: 5;
  display: flex;
  align-items: center;
  text-align: left;
}

.phone-map-card-bus {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}

.phone-map-card-bus svg {
  width: 14px;
  height: 14px;
  fill: white;
}

.phone-map-card-details {
  flex-grow: 1;
}

.phone-map-card-title {
  font-size: 10px;
  font-weight: 700;
}

.phone-map-card-desc {
  font-size: 8px;
  color: var(--accent);
  font-weight: 600;
}

.phone-map-card-time {
  font-size: 10px;
  font-weight: 800;
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 6px;
}

/* Floating Mock UI indicators */
.phone-floating-alert {
  position: absolute;
  top: 15%;
  right: -25px;
  background-color: rgba(7, 18, 32, 0.85);
  border: 1px solid var(--border-accent);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 12px 16px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 20;
  width: 170px;
  max-width: 50vw;
  animation: floatAlert 5s ease-in-out infinite alternate;
}

.phone-floating-alert svg {
  color: var(--accent);
  flex-shrink: 0;
}

.phone-floating-text {
  text-align: left;
}

.phone-floating-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-primary);
}

.phone-floating-sub {
  font-size: 9px;
  color: var(--text-secondary);
}

.phone-floating-stats {
  position: absolute;
  bottom: 12%;
  left: -35px;
  background-color: rgba(7, 18, 32, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.2);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 12px 16px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 20;
  width: 180px;
  max-width: 50vw;
  animation: floatAlert 5s ease-in-out infinite alternate-reverse;
}

.phone-floating-stats .indicator-green {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

/* ─── METRICS / PROMO BANNER ─── */
.metrics-banner {
  padding: 5rem 0;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  position: relative;
  z-index: 10;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  text-align: center;
}

.metric-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background-color: rgba(37, 99, 235, 0.1);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.metric-card h3 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.metric-card p {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ─── FEATURES SECTION ─── */
.features {
  padding: 120px 0;
  position: relative;
  z-index: 10;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 80px;
}

.section-label {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 1.2rem;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
}

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

.feature-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 32px;
  padding: 3rem 2.2rem;
  transition: var(--transition-smooth);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    100px circle at var(--x, 0) var(--y, 0),
    rgba(37, 99, 235, 0.08),
    transparent 80%
  );
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-accent);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(37, 99, 235, 0.05);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--primary);
  color: white;
  border-color: transparent;
  box-shadow: 0 5px 20px rgba(37, 99, 235, 0.4);
}

.feature-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 2;
}

/* Highlight / Split Feature Showcases */
.feature-highlight {
  margin-top: 6rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.highlight-content {
  text-align: left;
}

.highlight-bullets {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.bullet-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.bullet-check svg {
  width: 14px;
  height: 14px;
}

.bullet-text h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.bullet-text p {
  font-size: 0.9rem;
}

.highlight-visual {
  position: relative;
}

.highlight-image-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 36px;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  position: relative;
}

/* Beautiful simulated routes board */
.lines-board {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.lines-board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-glass);
}

.board-title {
  font-size: 1.1rem;
  font-weight: 800;
}

.board-tag {
  font-size: 0.75rem;
  background-color: #10b981;
  color: white;
  padding: 4px 10px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.board-row {
  display: flex;
  align-items: center;
  background-color: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 14px 18px;
  border-radius: 20px;
  transition: var(--transition-fast);
  overflow: hidden;
  min-width: 0;
}

.board-row:hover {
  border-color: var(--border-accent);
  transform: translateX(5px);
}

.line-badge {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background-color: var(--primary);
  color: white;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
  margin-right: 14px;
}

.line-info {
  flex-grow: 1;
  min-width: 0;
  overflow: hidden;
}

.line-name {
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.line-dest {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.line-time {
  text-align: right;
  flex-shrink: 0;
}

.line-eta {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent);
}

.line-status {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ─── FAQ / ACORDION ─── */
.faq {
  padding: 120px 0;
  position: relative;
  z-index: 10;
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--border-accent);
  background-color: rgba(255, 255, 255, 0.01);
}

.faq-question {
  padding: 1.8rem 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  user-select: none;
  text-align: left;
  word-break: break-word;
  overflow-wrap: break-word;
}

.faq-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-icon-box svg {
  width: 14px;
  height: 14px;
  transition: var(--transition-smooth);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  background-color: rgba(3, 5, 9, 0.2);
}

.faq-answer-inner {
  padding: 0 2.2rem 1.8rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* FAQ Active Styles */
.faq-item.active {
  border-color: var(--border-accent);
  background-color: var(--bg-surface);
  box-shadow: inset 0 0 15px rgba(37, 99, 235, 0.05);
}

.faq-item.active .faq-icon-box {
  background-color: var(--primary);
  color: white;
  border-color: transparent;
  transform: rotate(180deg);
}

/* ─── CALL TO ACTION BANNER (BOTTOM) ─── */
.cta-banner {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.cta-box {
  background: linear-gradient(135deg, hsl(222, 60%, 10%) 0%, hsl(222, 47%, 4%) 100%);
  border: 1px solid var(--border-accent);
  border-radius: 40px;
  padding: 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.cta-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: 3.2rem;
  margin-bottom: 1.2rem;
}

.cta-desc {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* ─── FOOTER ─── */
.footer {
  background-color: #030509;
  border-top: 1px solid var(--border-glass);
  padding: 5rem 0 2.5rem;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  text-align: left;
}

.footer-brand p {
  font-size: 0.95rem;
  margin-top: 1.2rem;
  max-width: 300px;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  text-align: left;
}

.footer-link {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.footer-link:hover {
  color: var(--text-primary);
  transform: translateX(3px);
}

.footer-contact {
  text-align: left;
}

.footer-contact p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--accent);
}

.contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.footer-bottom {
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--primary);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
}

.social-icon svg {
  width: 16px;
  height: 16px;
}

/* ─── KEYFRAME ANIMATIONS ─── */
@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(56, 189, 248, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0);
  }
}

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

@keyframes floatAlert {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  100% {
    transform: translateY(-8px) rotate(1deg);
  }
}

@keyframes simulatedBusMove {
  0% {
    top: 20%;
    left: 30%;
  }
  25% {
    top: 40%;
    left: 60%;
  }
  50% {
    top: 50%;
    left: 80%;
  }
  75% {
    top: 65%;
    left: 50%;
  }
  100% {
    top: 20%;
    left: 30%;
  }
}

/* ─── PWA INSTALLATION GUIDE SECTION ─── */
.install-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background-color: rgba(7, 11, 19, 0.4);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.tab-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
  margin-bottom: 3.5rem;
}

.tab-buttons {
  display: inline-flex;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-glass);
  padding: 6px;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.8rem;
  border-radius: 14px;
  border: none;
  background-color: transparent;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn svg {
  transition: var(--transition-fast);
}

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

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-primary);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.install-grid {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.install-grid.active {
  display: grid;
  animation: fadeInUp 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.install-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 28px;
  padding: 3rem 2.5rem;
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card);
  text-align: left;
}

.install-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.step-badge {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-muted);
  opacity: 0.15;
  transition: var(--transition-smooth);
}

.install-card:hover .step-badge {
  color: var(--accent);
  opacity: 0.3;
}

.install-icon {
  width: 54px;
  height: 54px;
  background-color: rgba(37, 99, 235, 0.1);
  border: 1px solid var(--border-accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 2rem;
}

.install-card h3 {
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.install-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.install-card p strong {
  color: var(--text-primary);
}

.install-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  transition: var(--transition-fast);
}

.install-link:hover {
  color: var(--primary-light);
}

.install-screenshot {
  margin-top: 2rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.install-screenshot img {
  width: 100%;
  max-width: 240px;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.6));
  transition: var(--transition-smooth);
}

.install-card:hover .install-screenshot img {
  transform: translateY(-6px) scale(1.03);
  filter: drop-shadow(0 18px 32px rgba(37, 99, 235, 0.3));
}

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

/* ─── RESPONSIVE MEDIA QUERIES ─── */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.4rem;
  }

  .hero-grid {
    gap: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-highlight {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .sim-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2.5rem;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero {
    padding-top: 140px;
    padding-bottom: 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

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

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-buttons {
    justify-content: center;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .hero-stats-simple {
    justify-content: center;
  }

  .phone-wrapper {
    width: 290px;
    height: 590px;
  }

  .burger {
    display: block;
  }

  .nav-links {
    position: fixed;
    right: 0;
    top: 80px;
    height: calc(100vh - 80px);
    background-color: rgba(3, 5, 9, 0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
    border-left: 1px solid var(--border-glass);
    z-index: 99;
    gap: 3rem;
  }

  .nav-links-active {
    transform: translateX(0%);
  }

  .burger-active .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .burger-active .line2 {
    opacity: 0;
  }

  .burger-active .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }

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

  .cta-box {
    padding: 3rem 1.5rem;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .install-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .install-card {
    padding: 2rem 1.8rem;
  }
}

/* ─── EXTRA SMALL MOBILE SCREENS ─── */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

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

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .phone-wrapper {
    width: 260px;
    height: 530px;
  }

  .phone-floating-alert {
    width: 160px;
    padding: 10px 12px;
    top: 8%;
    right: 0;
  }

  .phone-floating-stats {
    width: 140px;
    padding: 10px 12px;
    bottom: 8%;
    left: -10px;
  }

  .phone-floating-title {
    font-size: 10px;
  }

  .phone-floating-sub {
    font-size: 8px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .metric-card h3 {
    font-size: 1.8rem;
  }

  .metric-card p {
    font-size: 0.85rem;
  }

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

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

  .footer-brand p {
    max-width: 100%;
  }

  .badge-tag {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }

  .btn {
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
  }

  .faq-question {
    padding: 1.4rem 1.2rem;
    font-size: 0.95rem;
  }

  .faq-answer-inner {
    padding: 0 1.2rem 1.4rem;
    font-size: 0.9rem;
  }

  .faq-icon-box {
    margin-left: 0.5rem;
  }

  .board-row {
    padding: 10px 12px;
  }

  .line-badge {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
    margin-right: 10px;
  }

  .highlight-image-box {
    padding: 1rem;
  }

  .install-card {
    padding: 1.5rem 1.2rem;
  }

  .cta-box {
    padding: 2.5rem 1.2rem;
    border-radius: 24px;
  }
}
