/* =========================================
   Hewelths.com - Premium Medical Design System
   ========================================= */

:root {
  /* Brand Colors */
  --primary-blue: #002D5B;
  /* Trustworthy Navy */
  --accent-blue: #E0F7FA;
  /* Soft Medical Blue Background */
  --action-yellow: #FEDE00;
  /* High Conversion Yellow */
  --action-hover: #E5C700;
  --text-dark: #111111;
  --text-gray: #4A4A4A;
  --white: #FFFFFF;
  --light-gray: #F9F9F9;
  --success-green: #00A651;
  --border-color: #EEEEEE;

  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --container-width: 1200px;
  --section-padding: 80px 20px;
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
}

/* Typography */
h1,
h2,
h3,
h4 {
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.2rem;
  font-weight: 600;
}

p {
  margin-bottom: 1.2rem;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Layout Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-padding);
}

.bg-light {
  background-color: var(--accent-blue);
}

.bg-white {
  background-color: var(--white);
}

.bg-gray {
  background-color: var(--light-gray);
}

.text-center {
  text-align: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* Header & Nav */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-blue);
}

.nav-links a {
  margin-left: 20px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-gray);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary-blue);
}

/* HERO GRID (Horizontal Product List) */
.hero-grid-section {
  background: var(--primary-blue);
  color: white;
  padding: 30px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hero-card {
  background: white;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  color: var(--text-dark);
  transition: transform 0.2s;
}

.hero-card:hover {
  transform: translateY(-5px);
}

.hero-card img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  margin-bottom: 10px;
}

.hero-card h3 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: var(--primary-blue);
}

.hero-card .btn-small {
  display: inline-block;
  padding: 5px 15px;
  background: var(--action-yellow);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 4px;
}

/* Standardized Product Section Layout */
.product-wrapper {
  border-bottom: 1px solid var(--border-color);
}

.product-main-hero {
  margin-bottom: 60px;
}

.product-hero-img img {
  width: 100%;
  max-width: 500px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

/* Feature Icons */
.feature-box {
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin: 30px 0;
}

/* Comparison Table (Us vs Them) */
.comparison-container {
  margin: 40px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  background: white;
}

.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  padding: 15px;
  font-weight: 700;
  font-size: 1.1rem;
}

.header-us {
  background: var(--primary-blue);
  color: white;
}

.header-them {
  background: #E0E0E0;
  color: #666;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #eee;
}

.comparison-row:last-child {
  border-bottom: none;
}

.cell-us,
.cell-them {
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.cell-us {
  background: #f0f7ff;
  color: var(--primary-blue);
  font-weight: 500;
}

.cell-them {
  background: white;
  color: #888;
}

.check-icon {
  color: var(--success-green);
  font-size: 1.2rem;
}

.cross-icon {
  color: #D32F2F;
  font-size: 1.2rem;
}

/* Tech Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.specs-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--text-gray);
  width: 40%;
}

.specs-table td:last-child {
  font-weight: 700;
  color: var(--primary-blue);
}

/* Deep Dive Content */
.deep-dive {
  max-width: 900px;
  margin: 0 auto;
}

.deep-dive h3 {
  border-left: 5px solid var(--action-yellow);
  padding-left: 15px;
}

/* Reviews Section */
.review-section {
  margin-top: 50px;
  background: #fafafa;
  padding: 30px;
  border-radius: 12px;
}

.review-header {
  text-align: center;
  margin-bottom: 30px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.review-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  font-weight: 700;
  font-size: 0.9rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.verified-check {
  color: var(--success-green);
  margin-left: auto;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Usage Steps */
.steps-container {
  margin: 40px 0;
}

.step-card {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.step-number {
  background: var(--primary-blue);
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h4 {
  margin-bottom: 5px;
  color: var(--text-dark);
}

.step-content p {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin: 0;
}

/* What's In The Box */
.box-contents {
  background: white;
  border: 2px dashed #ddd;
  padding: 25px;
  border-radius: 12px;
  margin-top: 30px;
}

.box-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  list-style: none;
  /* Removed defaults */
  margin: 0;
  padding: 0;
}

.box-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.box-icon {
  color: var(--primary-blue);
  font-size: 1.1rem;
}

/* Reviews Section */
.review-box {
  background: #FFF;
  border: 1px solid #EEE;
  padding: 25px;
  border-radius: 8px;
  margin-top: 40px;
  position: relative;
}

.review-box::before {
  content: "“";
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 80px;
  color: #f0f0f0;
  line-height: 0;
  font-family: serif;
}

.stars {
  color: #FFC107;
  margin-bottom: 10px;
  position: relative;
}

.verified-badge {
  color: var(--success-green);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
}

/* FAQ Accordion */
.faq-box {
  margin-bottom: 15px;
  border-bottom: 1px solid #EEE;
  padding-bottom: 15px;
}

.faq-q {
  font-weight: 700;
  margin-bottom: 5px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  color: var(--primary-blue);
}

.faq-a {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-weight: 700;
  border-radius: 8px;
  transition: transform 0.2s, background-color 0.2s;
  cursor: pointer;
  border: none;
  font-size: 1.1rem;
}

.btn-primary {
  background-color: var(--action-yellow);
  color: var(--primary-blue);
  box-shadow: 0 4px 10px rgba(254, 222, 0, 0.3);
  text-align: center;
  min-width: 250px;
}

.btn-primary:hover {
  background-color: var(--action-hover);
  transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* 2x2 grid on mobile */
  .grid-2,
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  h1 {
    font-size: 2rem;
  }

  .section {
    padding: 50px 20px;
  }

  .nav-links {
    display: none;
  }

  .comparison-header {
    font-size: 0.9rem;
  }

  .cell-us,
  .cell-them {
    font-size: 0.85rem;
    padding: 10px;
  }
}