:root {
  --primary-bg: #ffffff;
  --secondary-bg: #f8fafc;
  --dark-navy: #0f172a;
  --navy-light: #1e293b;
  --mint-accent: #22c55e;
  --mint-hover: #16a34a;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --card-radius: 24px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --nav-height: 80px;
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--primary-bg);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--card-radius);
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

.bg-secondary {
  background-color: var(--secondary-bg);
}

.py-section {
  padding: 6rem 0;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--mint-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
}

.btn-primary:hover {
  background-color: var(--mint-hover);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
}

.btn-secondary {
  background-color: var(--dark-navy);
  color: #fff;
}

.btn-secondary:hover {
  background-color: var(--navy-light);
}

.btn-outline {
  border: 2px solid var(--border-light);
  color: var(--dark-navy);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--dark-navy);
}

.btn-block {
  width: 100%;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.navbar>.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark-navy);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--mint-accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--dark-navy);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn svg {
  width: 28px;
  height: 28px;
  fill: var(--dark-navy);
}

/* Typography */
.h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--dark-navy);
}

.h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--dark-navy);
  margin-bottom: 1rem;
}

.subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.6;
}

/* Hero */
.hero {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text .h1 {
  margin-bottom: 1.5rem;
}

.hero-text .subtitle {
  margin-bottom: 2.5rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark-navy);
  background: var(--secondary-bg);
  padding: 8px 16px;
  border-radius: 9999px;
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.hero-image {
  position: relative;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: -20px;
  border: 2px dashed var(--border-light);
  border-radius: 40px;
  z-index: -1;
}

/* Grid Cards (Values/Features) */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--primary-bg);
  border-radius: var(--card-radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--mint-accent);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--secondary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--mint-accent);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-navy);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Product Lineup */
.product-card {
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card img {
  border-radius: var(--card-radius) var(--card-radius) 0 0;
}

.product-card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.product-desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex: 1;
}

.product-features {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.product-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-features li::before {
  content: "✓";
  color: var(--mint-accent);
  font-weight: bold;
}

/* Video Demo Section */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-md);
  background: var(--dark-navy);
}

.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Reviews */
.review-card {
  padding: 2rem;
  background: var(--secondary-bg);
  border-radius: var(--card-radius);
}

.stars {
  color: #fbbf24;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.review-text {
  font-style: italic;
  margin-bottom: 1rem;
}

.review-author {
  font-weight: 600;
  color: var(--dark-navy);
}

.verified-buyer {
  font-size: 0.8rem;
  color: var(--mint-accent);
  display: block;
  margin-top: 4px;
}

/* Footer & CTA Band */
.cta-band {
  background: var(--dark-navy);
  color: #fff;
  text-align: center;
}

.cta-band .h2 {
  color: #fff;
}

.footer {
  padding: 4rem 0 2rem;
  background: var(--primary-bg);
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark-navy);
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--mint-accent);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Modal Contact Form */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--primary-bg);
  width: 100%;
  max-width: 500px;
  border-radius: var(--card-radius);
  padding: 2.5rem;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark-navy);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--mint-accent);
}

.honeypot {
  display: none !important;
}

/* Tables */
.table-wrapper {
  overflow-x: auto;
  width: 100%;
  margin-bottom: 2rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.spec-table th,
.spec-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.spec-table th {
  background: var(--secondary-bg);
  font-weight: 600;
  color: var(--dark-navy);
}

.spec-table tr:hover {
  background: var(--secondary-bg);
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem 0;
}

.faq-question {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--dark-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  display: none;
  margin-top: 1rem;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  display: block;
}

/* Responsive Layout Utilities */
.m-br {
  display: none;
}

.pc-br {
  display: inline;
}

@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-btns {
    justify-content: center;
  }

  .trust-badges {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .m-br {
    display: inline;
  }

  .pc-br {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--primary-bg);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-light);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 2rem);
  }

  /* Product Gallery Mobile Refinement */
  .gallery-grid {
    display: flex !important;
    flex-direction: column;
    gap: 1rem;
  }

  .gallery-item {
    height: auto !important;
    aspect-ratio: 16/10;
    object-fit: cover;
  }

  .gallery-full .gallery-item {
    aspect-ratio: 16/12;
  }
}

.product-main-grid {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 992px) {
  .product-main-grid {
    grid-template-columns: 1fr;
  }
}

/* Final Mobile Fixes */
@media (max-width: 768px) {
  .gallery-grid { display: flex !important; flex-direction: column !important; }
  .gallery-item { height: auto !important; width: 100% !important; object-fit: contain !important; border-radius: 16px !important; }
  .product-main-grid { grid-template-columns: 1fr !important; }
}