/* ============================================
   FLYNAUTIX Marketing Website - Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --primary: #00CFFF;
  --primary-glow: rgba(0, 207, 255, 0.3);
  --background: #0B1A2E;
  --card-bg: #132438;
  --app-bar: rgba(13, 27, 42, 0.85);
  --app-bar-solid: #0D1B2A;
  --text-body: #B0C4D8;
  --text-medium: #7A9AB8;
  --silver: #B0C4D8;
  --white: #FFFFFF;
  --hero-gradient-end: #0E3050;
  --card-border: #1B3A54;
  --accent-teal: #1B5A80;
  --success: #00E676;
  --warning: #FFAB00;
  --error: #FF5252;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-height: 72px;
  --max-width: 1200px;
  --section-padding-x: 64px;
  --section-padding-y: 80px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  background-color: var(--background);
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: rgba(0, 207, 255, 0.25);
  color: var(--white);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.85;
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
}

.display-large { font-size: 72px; font-weight: 800; letter-spacing: 4px; }
.display-medium { font-size: 56px; font-weight: 700; }
.display-small { font-size: 44px; font-weight: 600; }
.headline-large { font-size: 36px; font-weight: 700; }
.headline-medium { font-size: 28px; font-weight: 600; }
.headline-small { font-size: 22px; font-weight: 600; }
.title-large { font-size: 20px; font-weight: 600; }
.title-medium { font-size: 18px; font-weight: 500; }
.body-large { font-size: 18px; font-weight: 400; line-height: 1.6; }
.body-medium { font-size: 16px; font-weight: 400; line-height: 1.6; }
.body-small { font-size: 14px; font-weight: 400; line-height: 1.5; }
.label-large { font-size: 16px; font-weight: 600; letter-spacing: 1px; }
.text-primary { color: var(--primary); }
.text-medium { color: var(--text-medium); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

/* --- Layout Utilities --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
}

.section {
  padding: var(--section-padding-y) var(--section-padding-x);
  scroll-margin-top: var(--nav-height);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* --- Section Header --- */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  margin-bottom: 8px;
}

.section-header .underline {
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 16px auto;
}

.section-header p {
  color: var(--text-medium);
  max-width: 700px;
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
  border: none;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 1;
}

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

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(0, 207, 255, 0.3);
  color: var(--background);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: rgba(0, 207, 255, 0.1);
  color: var(--primary);
}

.btn .material-icons {
  font-size: 20px;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--app-bar);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(27, 58, 84, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 var(--section-padding-x);
  transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: rgba(13, 27, 42, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.navbar-logo img {
  height: 44px;
  width: auto;
}

.navbar-logo span {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 3px;
}

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

.navbar-links a {
  color: var(--text-body);
  font-size: 15px;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  text-decoration: none;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--white);
  border-bottom-color: var(--primary);
  opacity: 1;
}

.navbar-cta {
  display: flex;
}

.navbar-cta .btn {
  padding: 10px 20px;
  font-size: 14px;
}

.navbar-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  padding: 8px;
}

.navbar-hamburger .material-icons {
  font-size: 28px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  display: none;
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card-bg);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 16px 24px 32px;
  z-index: 1002;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  display: none;
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu-handle {
  width: 40px;
  height: 4px;
  background: var(--card-border);
  border-radius: 2px;
  margin: 0 auto 20px;
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-menu-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: var(--text-body);
  font-size: 16px;
  font-weight: 500;
  border-radius: 12px;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.mobile-menu-links a:hover,
.mobile-menu-links a.active {
  background: rgba(0, 207, 255, 0.1);
  color: var(--white);
  opacity: 1;
}

.mobile-menu-links .material-icons {
  font-size: 22px;
  color: var(--text-medium);
}

.mobile-menu-links a.active .material-icons {
  color: var(--primary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--app-bar-solid);
  border-top: 1px solid var(--card-border);
  padding: 48px var(--section-padding-x);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 48px;
}

.footer-brand {
  flex: 2;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-brand-logo img {
  height: 36px;
  width: auto;
}

.footer-brand-logo span {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 3px;
}

.footer-brand p {
  color: var(--text-medium);
  font-size: 14px;
}

.footer-col {
  flex: 1;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-medium);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--text-body);
  font-size: 14px;
  transition: color 0.2s;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 207, 255, 0.08);
  border: 1px solid var(--card-border);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.footer-social a:hover {
  background: rgba(0, 207, 255, 0.15);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--text-body);
  transition: fill 0.2s;
}

.footer-social a:hover svg {
  fill: var(--white);
  opacity: 1;
}

.footer-divider {
  border: none;
  border-top: 1px solid var(--card-border);
  margin: 32px 0 24px;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-bottom p {
  color: var(--text-medium);
  font-size: 14px;
  text-align: center;
  line-height: 1.8;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  scroll-margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 48px) var(--section-padding-x) 48px;
  background: linear-gradient(
    to bottom,
    var(--background),
    rgba(14, 48, 80, 0.4) 50%,
    var(--background)
  );
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 207, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 207, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  animation: fadeSlideUp 1s ease-out;
}

.hero-logo {
  width: 160px;
  height: auto;
  margin-bottom: 28px;
  filter: drop-shadow(0 0 40px var(--primary-glow));
  animation: floatLogo 6s ease-in-out infinite;
}

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

.hero-title {
  font-size: 80px;
  font-weight: 800;
  letter-spacing: 6px;
  color: var(--white);
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 28px;
  font-weight: 400;
  color: var(--text-body);
  margin-bottom: 16px;
}

.hero-description {
  font-size: 18px;
  color: var(--text-medium);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  animation: fadeSlideUp 1s ease-out 0.4s both;
}

.hero-scroll span {
  display: block;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--text-medium);
  margin-bottom: 8px;
}

.hero-scroll .material-icons {
  font-size: 28px;
  color: var(--primary);
  animation: bounce 2s infinite;
}

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

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

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--card-bg);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 48px var(--section-padding-x);
}

.stats-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 32px;
}

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

.stat-value {
  font-size: 44px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-medium);
  margin-top: 8px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   FEATURE CARDS (Capabilities Grid)
   ============================================ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 207, 255, 0.4);
  box-shadow: 0 12px 32px rgba(0, 207, 255, 0.08);
}

.feature-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 207, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 20px;
}

.feature-card-icon .material-icons {
  font-size: 32px;
  color: var(--primary);
}

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

.feature-card p {
  font-size: 15px;
  color: var(--text-body);
  flex: 1;
  line-height: 1.6;
}

/* ============================================
   VEHICLE SHOWCASE CARDS
   ============================================ */
.fleet-section {
  padding: var(--section-padding-y) 0;
  background: linear-gradient(
    to bottom,
    var(--background),
    rgba(14, 48, 80, 0.3),
    var(--background)
  );
}

.fleet-section .section-header {
  padding: 0 var(--section-padding-x);
}

.fleet-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 0 var(--section-padding-x) 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--card-border) transparent;
}

.fleet-scroll::-webkit-scrollbar { height: 6px; }
.fleet-scroll::-webkit-scrollbar-track { background: transparent; }
.fleet-scroll::-webkit-scrollbar-thumb { background: var(--card-border); border-radius: 3px; }

.vehicle-card {
  flex: 0 0 380px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 28px;
  scroll-snap-align: start;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.vehicle-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 207, 255, 0.4);
  box-shadow: 0 12px 32px rgba(0, 207, 255, 0.1);
}

.vehicle-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.vehicle-card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 207, 255, 0.1);
  border-radius: 14px;
  flex-shrink: 0;
}

.vehicle-card-icon .material-icons {
  font-size: 32px;
  color: var(--primary);
}

.vehicle-card-header h3 { font-size: 22px; font-weight: 700; }

.vehicle-card-header .vehicle-type {
  font-size: 15px;
  color: var(--primary);
  font-weight: 500;
}

.vehicle-card > p {
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

.vehicle-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.vehicle-spec {
  background: rgba(11, 26, 46, 0.7);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-body);
  border: 1px solid rgba(27, 58, 84, 0.5);
}

.vehicle-spec strong {
  color: var(--white);
  font-weight: 600;
}

.vehicle-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 500;
  font-size: 15px;
  margin-top: auto;
}

.vehicle-card-link .material-icons {
  font-size: 18px;
  transition: transform 0.2s;
}

.vehicle-card:hover .vehicle-card-link .material-icons {
  transform: translateX(4px);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: var(--section-padding-y) var(--section-padding-x);
}

.cta-box {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(0, 207, 255, 0.08), var(--card-bg));
  border: 1px solid rgba(0, 207, 255, 0.2);
  border-radius: 24px;
  padding: 56px;
  text-align: center;
}

.cta-box h2 { margin-bottom: 16px; }

.cta-box p {
  color: var(--text-medium);
  font-size: 18px;
  margin-bottom: 32px;
}

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

/* ============================================
   PAGE HEADER (non-home pages)
   ============================================ */
.page-header {
  padding: calc(var(--nav-height) + 64px) var(--section-padding-x) 48px;
  text-align: center;
  background: linear-gradient(to bottom, var(--background), rgba(14, 48, 80, 0.15));
}

.page-header h1 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 18px;
  color: var(--text-medium);
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================
   PRODUCTS PAGE
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.products-grid .vehicle-card { flex: unset; }

/* Fleet Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid var(--card-border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(27, 58, 84, 0.4);
}

.comparison-table thead {
  background: rgba(11, 26, 46, 0.8);
}

.comparison-table th {
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.comparison-table td {
  color: var(--text-body);
  font-size: 15px;
}

.comparison-table tbody tr {
  transition: background 0.2s;
}

.comparison-table tbody tr:hover {
  background: rgba(0, 207, 255, 0.03);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

/* ============================================
   TECHNOLOGY PAGE - Tech Cards
   ============================================ */
.tech-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.tech-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 207, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 207, 255, 0.06);
}

.tech-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 207, 255, 0.1);
  border-radius: 10px;
  flex-shrink: 0;
}

.tech-card-icon .material-icons { font-size: 24px; color: var(--primary); }
.tech-card-content h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.tech-card-content p { font-size: 14px; color: var(--text-body); line-height: 1.6; }

/* ============================================
   ABOUT PAGE
   ============================================ */

/* Mission Statement */
.mission-box {
  background: linear-gradient(135deg, rgba(0, 207, 255, 0.06), var(--card-bg));
  border: 1px solid rgba(0, 207, 255, 0.15);
  border-radius: 20px;
  padding: 56px;
  text-align: center;
}

.mission-box .quote-icon { font-size: 48px; color: rgba(0, 207, 255, 0.35); margin-bottom: 24px; }

.mission-box blockquote {
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 24px;
}

.mission-box .attribution { font-size: 16px; color: var(--primary); font-weight: 500; }

/* Vision */
.vision-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.7;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 207, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 207, 255, 0.06);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 207, 255, 0.2), rgba(0, 207, 255, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 2px solid rgba(0, 207, 255, 0.2);
}

.team-avatar span { font-size: 24px; font-weight: 700; color: var(--white); }
.team-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.team-card .team-role { font-size: 15px; color: var(--primary); font-weight: 500; margin-bottom: 16px; }
.team-card .team-bio { font-size: 14px; color: var(--text-body); line-height: 1.5; }

/* Market Opportunity Stats */
.market-stats-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 48px;
}

.market-stats-row {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 48px;
  margin-bottom: 32px;
}

.market-stat { text-align: center; }
.market-stat .stat-value { font-size: 44px; font-weight: 800; }
.market-stat .stat-value.highlight { color: var(--primary); }
.market-stat .stat-label { font-size: 16px; color: var(--text-medium); margin-top: 4px; }
.market-stat .stat-sublabel { font-size: 14px; color: var(--primary); font-weight: 500; }

.market-description {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-size: 16px;
  color: var(--text-body);
}

/* Timeline */
.timeline { position: relative; max-width: 700px; margin: 0 auto; }

.timeline-item {
  display: flex;
  gap: 24px;
  margin-bottom: 0;
  position: relative;
}

.timeline-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 16px;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0, 207, 255, 0.4);
  flex-shrink: 0;
}

.timeline-line {
  width: 2px;
  height: 80px;
  background: var(--card-border);
}

.timeline-content {
  padding-bottom: 32px;
  padding-top: 0;
  transform: translateY(-2px);
}

.timeline-year { font-size: 14px; font-weight: 700; color: var(--primary); letter-spacing: 1px; margin-bottom: 4px; }
.timeline-content h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.timeline-content p { font-size: 14px; color: var(--text-body); line-height: 1.6; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 { font-size: 28px; margin-bottom: 16px; }

.contact-info > p {
  font-size: 18px;
  color: var(--text-medium);
  margin-bottom: 32px;
}

.contact-tile {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-tile-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 207, 255, 0.1);
  border-radius: 10px;
  flex-shrink: 0;
}

.contact-tile-icon .material-icons { font-size: 22px; color: var(--primary); }
.contact-tile h4 { font-size: 16px; font-weight: 600; }
.contact-tile p { font-size: 14px; color: var(--text-medium); }

.office-hours {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 32px;
}

.office-hours .material-icons { font-size: 20px; color: var(--primary); margin-top: 2px; }
.office-hours h4 { font-size: 18px; font-weight: 600; margin-bottom: 4px; color: var(--white); }
.office-hours p { font-size: 14px; color: var(--text-body); white-space: pre-line; }

/* Contact Form */
.contact-form-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px;
  max-width: 600px;
}

.contact-form-box h2 { font-size: 22px; margin-bottom: 24px; }

.form-group {
  margin-bottom: 16px;
  position: relative;
}

.form-input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  background: var(--background);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-family);
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 207, 255, 0.1);
}

.form-input::placeholder { color: var(--text-medium); }

.form-group .material-icons {
  position: absolute;
  left: 14px;
  top: 14px;
  font-size: 20px;
  color: var(--text-medium);
  pointer-events: none;
  transition: color 0.2s;
}

.form-group:focus-within .material-icons {
  color: var(--primary);
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
  padding-top: 14px;
}

.contact-form-box .btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.grid-3 .fade-in:nth-child(2) { transition-delay: 0.1s; }
.grid-3 .fade-in:nth-child(3) { transition-delay: 0.2s; }
.grid-3 .fade-in:nth-child(4) { transition-delay: 0.15s; }
.grid-3 .fade-in:nth-child(5) { transition-delay: 0.25s; }
.grid-3 .fade-in:nth-child(6) { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1199px) {
  :root { --section-padding-x: 40px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 60px; }
  .hero-subtitle { font-size: 24px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --section-padding-x: 24px;
    --section-padding-y: 56px;
  }

  .navbar-links,
  .navbar-cta { display: none; }

  .navbar-hamburger { display: block; }

  .mobile-menu-overlay,
  .mobile-menu { display: block; }

  .hero { padding-top: calc(var(--nav-height) + 32px); min-height: calc(100vh - 20px); }

  .hero-logo { width: 120px; margin-bottom: 20px; }

  .hero-title { font-size: 44px; letter-spacing: 3px; }
  .hero-subtitle { font-size: 20px; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .vehicle-card { flex: 0 0 300px; }

  .cta-box { padding: 32px 24px; }
  .cta-box h2 { font-size: 26px; }

  .page-header h1 { font-size: 32px; }
  .page-header p { font-size: 16px; }

  .mission-box { padding: 28px; }
  .mission-box blockquote { font-size: 18px; }
  .market-stats-box { padding: 24px; }
  .market-stat .stat-value { font-size: 36px; }
  .stat-value { font-size: 36px; }

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

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .footer-brand-logo { justify-content: center; }
  .footer-social { justify-content: center; }
  .display-small { font-size: 36px; }

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