/* --- CSS VARIABLES & TOKENS (ELECTRIC VELOCITY) --- */
:root {
  --primary-dark: #0D1B2A;
  --vivid-blue: #2962FF;
  --accent-cyan: #00B0FF;
  --background: #FFFFFF;
  --surface: #F0F2F5;
  --outline: #CFD8DC;
  --outline-light: #E0E0E0;
  --text-muted: #607D8B;
  --shadow-soft: 0 8px 24px rgba(13, 27, 42, 0.08);
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.06);
  --radius-card: 16px;
  --radius-btn: 12px;
}

/* --- RESET & BASE --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--primary-dark);
  background-color: var(--background);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--surface);
}

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

/* --- TYPOGRAPHY & BADGES --- */
.badge {
  display: inline-block;
  background-color: rgba(41, 98, 255, 0.1);
  color: var(--vivid-blue);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 16px;
  border: 1px solid rgba(41, 98, 255, 0.25);
}

h1, h2, h3, h4 {
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: 2.4rem;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}

h2 {
  font-size: 2rem;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 30px auto;
}

/* --- HEADER --- */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--outline-light);
  z-index: 1000;
  padding: 14px 0;
}

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

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-cta {
  background: var(--primary-dark);
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background: var(--vivid-blue);
}

/* --- BUTTONS --- */
.btn-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: var(--radius-btn);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--vivid-blue);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(41, 98, 255, 0.35);
}

.btn-primary:hover {
  background-color: #1a4cd2;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: #FFFFFF;
  color: var(--primary-dark);
  border: 1px solid var(--outline);
}

.btn-outline:hover {
  border-color: var(--vivid-blue);
  color: var(--vivid-blue);
}

/* --- HERO SECTION --- */
.hero {
  padding: 60px 0 70px 0;
  text-align: center;
}

.hero-mockups {
  margin-top: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.hero-phone {
  width: 46%;
  max-width: 270px;
  height: auto;
}

/* --- CARDS & GRID --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.card {
  background: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 30px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--outline-light);
  display: flex;
  flex-direction: column;
}

.card-icon {
  width: 44px;
  height: 44px;
  background: rgba(41, 98, 255, 0.1);
  color: var(--vivid-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 18px;
  font-size: 1.15rem;
}

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

/* --- HARDWARE SPLIT SECTION --- */
.hw-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.hw-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hw-img-card {
  background: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--outline-light);
  text-align: center;
}

.hw-img-card img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 8px;
}

.hw-img-card span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 8px;
}

.hw-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hw-list li {
  background: #FFFFFF;
  padding: 20px;
  border-radius: var(--radius-card);
  border: 1px solid var(--outline-light);
}

.hw-list h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--primary-dark);
}

.hw-list p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- APP SHOWCASE --- */
/* --- ACCENT COLORS & UNIFIED THEME --- */

/* 1. Problem Cards Theming */
.card-accent-orange { border-top: 4px solid #FF6D00; }
.card-accent-slate  { border-top: 4px solid #607D8B; }
.card-accent-blue   { border-top: 4px solid #2962FF; }

.icon-orange {
  background: rgba(255, 109, 0, 0.12);
  color: #FF6D00;
}
.icon-slate {
  background: rgba(96, 125, 139, 0.12);
  color: #607D8B;
}
.icon-blue {
  background: rgba(41, 98, 255, 0.12);
  color: #2962FF;
}

/* 2. Hardware List Items Border Accents */
.hw-list li {
  border-left: 4px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.hw-list li:hover {
  transform: translateX(4px);
}
.hw-item-cyan { border-left-color: var(--accent-cyan) !important; }
.hw-item-blue { border-left-color: var(--vivid-blue) !important; }
.hw-item-teal { border-left-color: #00BFA5 !important; }

/* 3. App Showcase Cards Subtle Accents */
.app-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-top: 3px solid transparent;
}
.app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(13, 27, 42, 0.1);
}
.app-card-blue:hover   { border-top-color: #2962FF; }
.app-card-amber:hover  { border-top-color: #FFAB00; }
.app-card-teal:hover   { border-top-color: #00BFA5; }
.app-card-purple:hover { border-top-color: #AA00FF; }

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.app-card {
  background: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 18px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--outline-light);
}

.app-card img {
  width: 100%;
  max-width: 210px;
  height: auto;
  border-radius: 14px;
  margin-bottom: 14px;
}

.app-card h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.app-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- STATS & DATA BARS --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.stat-box {
  background: #FFFFFF;
  padding: 26px;
  border-radius: var(--radius-card);
  border: 1px solid var(--outline-light);
  text-align: center;
}

.stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--vivid-blue);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.data-bars-container {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.bar-box {
  background: #FFFFFF;
  padding: 24px;
  border-radius: var(--radius-card);
  border: 1px solid var(--outline-light);
}

.bar-box h4 {
  font-size: 0.95rem;
  margin-bottom: 14px;
  color: var(--primary-dark);
}

.bar-stacked {
  height: 24px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  background: #E0E0E0;
}

.bar-segment {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
}

.bar-primary { background-color: #2B84FF; }
.bar-accent { background-color: #5558FF; }
.bar-neutral { background-color: #90A4AE; }

.bar-legend {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- ROADMAP SECTION & COLOR TOKENS --- */
.roadmap-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.roadmap-card {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 28px 22px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--outline-light);
  border-top: 5px solid var(--outline);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.roadmap-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(13, 27, 42, 0.12);
}

.roadmap-phase {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  align-self: flex-start;
}

/* --- COLOR THEMES PER PHASE (FLUTTER PALETTE) --- */

/* Phase 01: Success Green (Validated) */
.phase-green {
  border-top-color: #00C853;
}
.phase-green .roadmap-phase {
  color: #008f3a;
  background-color: rgba(0, 200, 83, 0.12);
  border: 1px solid rgba(0, 200, 83, 0.25);
}

/* Phase 02: Vivid Blue (In Development / Action) */
.phase-blue {
  border-top-color: #2962FF;
}
.phase-blue .roadmap-phase {
  color: #2962FF;
  background-color: rgba(41, 98, 255, 0.1);
  border: 1px solid rgba(41, 98, 255, 0.25);
}

/* Phase 03: Purple (Diagnostics & Analytics) */
.phase-purple {
  border-top-color: #AA00FF;
}
.phase-purple .roadmap-phase {
  color: #8800cc;
  background-color: rgba(170, 0, 255, 0.1);
  border: 1px solid rgba(170, 0, 255, 0.25);
}

/* Phase 04: Orange (Energy & E-Bike Integration) */
.phase-orange {
  border-top-color: #FF6D00;
}
.phase-orange .roadmap-phase {
  color: #e65100;
  background-color: rgba(255, 109, 0, 0.12);
  border: 1px solid rgba(255, 109, 0, 0.25);
}

/* --- NDA / CONTACT BANNER --- */
.nda-box {
  background: var(--primary-dark);
  color: #FFFFFF;
  padding: 44px 28px;
  border-radius: var(--radius-card);
  text-align: center;
  margin-top: 48px;
}

.nda-box h3 {
  color: #FFFFFF;
  margin-bottom: 14px;
}

.nda-box p {
  color: #CFD8DC;
  font-size: 0.95rem;
  max-width: 680px;
  margin: 0 auto 28px auto;
}

.nda-box .btn-primary {
  background-color: var(--accent-cyan);
  color: var(--primary-dark);
  box-shadow: 0 4px 14px rgba(0, 176, 255, 0.4);
}

.nda-box .btn-primary:hover {
  background-color: #FFFFFF;
}

/* --- FOOTER --- */
.footer {
  padding: 36px 0;
  text-align: center;
  border-top: 1px solid var(--outline-light);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- RESPONSIVE --- */
@media (max-width: 800px) {
  .hw-split { grid-template-columns: 1fr; }
  .data-bars-container { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  .section { padding: 50px 0; }
  .btn-group { flex-direction: column; }
  .btn { width: 100%; }
  .hero-mockups {
    gap: 10px;
    padding: 0 10px;
  }
  .hero-phone { max-width: 160px; }
}