/*
 * product-pages.css
 * Shared stylesheet for all DTC3 product pages.
 * Unique per-page classes are defined inline in each HTML file.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap');

:root {
  --blue: #1e3c72;
  --blue-strong: #142c55;
  --accent: #2a5298;
  --light: #f4f7fb;
  --dark: #0f172a;
  --text: #1a1a1a;
  --grey: #5c677d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: white;
  line-height: 1.6;
}

section {
  padding: 110px 20px;
}

.container {
  max-width: 1200px;
  margin: auto;
}

/* ---------------- HERO ---------------- */

.hero {
  background: radial-gradient(circle at 20% 20%, #2a5298 0%, #1e3c72 60%, #0f172a 100%);
  color: white;
  padding: 50px 20px 120px;
}

.hero-logo {
  padding: 10px 10px 80px 10px;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.4));
  max-width: 100%;
  width: 700px;
  height: auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 30px;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.95;
  margin-bottom: 40px;
  max-width: 550px;
}

.cta-btn {
  display: inline-block;
  padding: 18px 50px;
  background: white;
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
  border-radius: 50px;
  transition: 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  max-width: 85%;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.4));
}

.hero-image-placeholder {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 2px dashed rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0.5;
  text-align: center;
  padding: 30px;
}

/* ---------------- TRUST STRIP ---------------- */

.trust {
  background: var(--dark);
  color: white;
  text-align: center;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 60px;
}

.trust h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #4da3ff;
}

.trust p {
  margin-top: 10px;
  opacity: 0.85;
}

/* ---------------- BIG STATEMENT ---------------- */

.statement {
  text-align: center;
  max-width: 900px;
  margin: auto;
}

.statement h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 30px;
}

.statement p {
  font-size: 1.25rem;
  color: var(--grey);
}

/* ---------------- WHY BUY ---------------- */

.why {
  background: var(--light);
}

.section-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 60px;
  color: var(--blue);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.why-card {
  background: white;
  padding: 45px 35px;
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
}

.why-card-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.why-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--blue);
}

.why-card p {
  color: var(--grey);
}

/* ---------------- FEATURE DETAIL STRIP ---------------- */

.detail-strip {
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  color: white;
  text-align: center;
}

.detail-strip h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.detail-strip p {
  max-width: 800px;
  margin: auto;
  font-size: 1.2rem;
  opacity: 0.95;
}

/* ---------------- HOW IT WORKS ---------------- */

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  text-align: center;
}

.how-step {
  padding: 30px 20px;
}

.how-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--blue);
  color: white;
  font-size: 1.6rem;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 25px;
}

.how-step h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--blue);
}

.how-step p {
  color: var(--grey);
}

/* ---------------- SPECS ---------------- */

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

.spec-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
}

.spec-label {
  font-weight: 600;
  color: var(--blue);
}

/* ---------------- BATTERY LIFE TABLE (DTC3-WP) ---------------- */

.battery-section {
  background: var(--light);
}

.battery-table {
  width: 100%;
  max-width: 700px;
  margin: 40px auto 0;
  border-collapse: collapse;
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.battery-table th {
  background: var(--blue);
  color: white;
  padding: 16px 24px;
  text-align: left;
  font-weight: 600;
}

.battery-table td {
  padding: 14px 24px;
  border-bottom: 1px solid #e5e7eb;
  color: var(--text);
}

.battery-table tr:last-child td {
  border-bottom: none;
}

.battery-table tr:hover td {
  background: var(--light);
}

.battery-table .highlight-row td {
  background: rgba(42, 82, 152, 0.06);
  font-weight: 600;
}

/* ---------------- MODES (DTC3-RH) ---------------- */

.modes-section {
  background: var(--light);
}

.modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.mode-card {
  background: white;
  padding: 50px 40px;
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  border-top: 4px solid var(--blue);
}

.mode-card h3 {
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 15px;
}

.mode-card p {
  color: var(--grey);
  margin-bottom: 20px;
}

.mode-card ul {
  list-style: none;
  padding: 0;
}

.mode-card ul li {
  padding: 8px 0;
  color: var(--grey);
  border-bottom: 1px solid #f0f0f0;
}

.mode-card ul li::before {
  content: "\2713\00a0\00a0";
  color: var(--blue);
  font-weight: 700;
}

/* ---------------- FINAL CTA ---------------- */

.final-cta {
  text-align: center;
  background: var(--blue);
  color: white;
}

.final-cta h2 {
  font-size: 2.6rem;
  margin-bottom: 30px;
}

/* ---------------- FOOTER ---------------- */

footer {
  text-align: center;
  padding: 40px 20px;
  background: #f1f5f9;
  font-size: 0.9rem;
  color: #6b7280;
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .how-grid {
    grid-template-columns: 1fr;
  }

  .modes-grid {
    grid-template-columns: 1fr;
  }
}
