/* ── TechWheels DFW — Global Styles ─────────────────────────────────────────── */
:root {
  --navy: #0A1628;
  --navy-light: #12233D;
  --accent: #00B4D8;
  --accent-dark: #0090AD;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0F172A;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-700);
  line-height: 1.7;
  background: var(--white);
}

a { color: var(--accent-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

img { max-width: 100%; display: block; }

/* ── Navigation ────────────────────────────────────────────────────────────── */
.nav {
  background: var(--navy);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--gray-400);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); margin: 5px 0; transition: 0.3s;
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #0E2A4A 100%);
  color: var(--white);
  padding: 6rem 2rem;
  text-align: center;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 1.2rem;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.hero-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 0.85rem 2.2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
}
.hero-cta:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-1px); }

/* ── Page Header (non-home pages) ──────────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
}
.page-header h1 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.page-header p { color: var(--gray-400); font-size: 1.1rem; }

/* ── Sections ──────────────────────────────────────────────────────────────── */
.section {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.section-alt { background: var(--gray-50); }
.section-alt .section { padding: 5rem 2rem; }

.section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.section h2 span { color: var(--accent); }
.section .subtitle {
  color: var(--gray-500);
  font-size: 1.05rem;
  margin-bottom: 3rem;
  max-width: 650px;
}

/* ── Cards Grid ────────────────────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 2rem;
  transition: box-shadow 0.3s, transform 0.2s;
}
.card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); transform: translateY(-2px); }
.card-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.6rem;
}
.card p { color: var(--gray-600); font-size: 0.95rem; line-height: 1.6; }

/* ── Two-column layout ─────────────────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.two-col-text h2 { margin-bottom: 1rem; }
.two-col-text p { color: var(--gray-600); margin-bottom: 1.5rem; }
.two-col-visual {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  color: var(--white);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.two-col-visual .app-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}
.two-col-visual h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.two-col-visual p { color: var(--gray-400); font-size: 0.95rem; }

/* ── Stats row ─────────────────────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  padding: 3rem 0;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label { color: var(--gray-500); font-size: 0.9rem; font-weight: 500; }

/* ── Team / Founder ────────────────────────────────────────────────────────── */
.founder {
  display: flex;
  gap: 3rem;
  align-items: center;
}
.founder-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--navy));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--white);
}
.founder-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}
.founder-info .title {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.founder-info p { color: var(--gray-600); font-size: 0.95rem; }

/* ── Contact ───────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.contact-icon {
  width: 44px; height: 44px;
  background: var(--gray-100);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.2rem;
}
.contact-info-item p { color: var(--gray-600); font-size: 0.9rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form input,
.contact-form textarea {
  padding: 0.85rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}
.contact-form button:hover { background: var(--accent-dark); }

/* ── Product Feature ───────────────────────────────────────────────────────── */
.product-hero {
  background: linear-gradient(135deg, #1a472a 0%, #0a2818 100%);
  border-radius: 16px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  color: var(--white);
  margin-bottom: 3rem;
}
.product-hero h2 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}
.product-hero .tagline {
  color: #90CAAA;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.product-hero .badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}
.product-visual {
  background: rgba(0,0,0,0.2);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  font-size: 5rem;
}
.features-list { list-style: none; }
.features-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--gray-600);
  font-size: 0.95rem;
}
.features-list li:last-child { border-bottom: none; }
.check { color: var(--accent); font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: var(--gray-400);
  padding: 3rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand { font-weight: 700; color: var(--white); font-size: 1.1rem; }
.footer-brand span { color: var(--accent); }
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { color: var(--gray-400); font-size: 0.85rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
  text-align: center;
}

/* ── Privacy / Legal ───────────────────────────────────────────────────────── */
.legal h2 { font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: 0.75rem; color: var(--gray-900); }
.legal h2:first-child { margin-top: 0; }
.legal p { margin-bottom: 1rem; color: var(--gray-600); }
.legal ul { margin: 0 0 1rem 1.5rem; color: var(--gray-600); }
.legal ul li { margin-bottom: 0.4rem; }
.legal .updated { color: var(--gray-400); font-size: 0.9rem; font-style: italic; margin-bottom: 2rem; }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--navy);
    padding: 1rem 2rem 2rem;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .hero { padding: 4rem 1.5rem; }
  .page-header { padding: 3rem 1.5rem; }
  .page-header h1 { font-size: 1.8rem; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .product-hero { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 1.5rem; }
  .founder { flex-direction: column; text-align: center; }
  .cards { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
