/* ============================================================
   KOLIFU — Design System
   Professional Beauty Equipment for Aesthetic Businesses
   ============================================================ */

/* ============ 1. Design Tokens ============ */
:root {
  /* Brand Colors */
  --navy: #0A0E27;
  --navy-2: #141B3B;
  --navy-3: #1E2A5E;
  --gold: #C9A961;
  --gold-light: #D4BC7E;
  --gold-dark: #B0914D;
  --gold-glow: rgba(201, 169, 97, 0.15);

  /* Neutrals */
  --white: #FFFFFF;
  --cream: #FAF8F5;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Semantic */
  --text: #111827;
  --text-light: #6B7280;
  --bg: #FFFFFF;
  --bg-alt: #FAF8F5;
  --border: #E5E7EB;
  --success: #10B981;
  --danger: #EF4444;
  --warning: #F59E0B;

  /* Typography */
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Layout */
  --container: 1280px;
  --container-narrow: 960px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 8px 24px rgba(201, 169, 97, 0.25);

  /* Transitions */
  --t-fast: 0.15s ease;
  --t: 0.3s ease;
  --t-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ============ 3. Typography ============ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: var(--space-sm); }

.lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-light);
}

.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.eyebrow.centered {
  justify-content: center;
}

.eyebrow.centered::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold);
}

/* ============ 4. Layout ============ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-cream {
  background: var(--cream);
}

.section-gray {
  background: var(--gray-50);
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* ============ 5. Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  transition: all var(--t);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(201, 169, 97, 0.35);
}

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

.btn-navy:hover {
  background: var(--navy-2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}

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

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-300);
}

.btn-ghost:hover {
  border-color: var(--navy);
  background: var(--gray-50);
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* ============ 6. Badges & Pills ============ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-gold {
  background: var(--gold-glow);
  color: var(--gold-dark);
}

.badge-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.badge-navy {
  background: rgba(10, 14, 39, 0.08);
  color: var(--navy);
}

.badge-danger {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
}

.price-tag {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.price-current {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
}

.price-original {
  font-size: 1.25rem;
  color: var(--gray-400);
  text-decoration: line-through;
}

.price-save {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--success);
}

/* ============ 7. Cards ============ */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-body {
  padding: var(--space-lg);
}

.card-body-sm {
  padding: var(--space-md);
}

/* Product Card */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--t);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--gray-100);
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

.product-card-body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.product-card-desc {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: var(--space-sm);
  flex: 1;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.product-card-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}

/* Feature Card */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  transition: all var(--t);
}

.feature-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* ============ 8. Navigation ============ */
.topbar {
  background: var(--navy);
  color: var(--gray-300);
  font-size: 0.8rem;
  padding: 0.5rem 0;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.topbar-links a {
  color: var(--gray-300);
  transition: color var(--t-fast);
}

.topbar-links a:hover {
  color: var(--gold);
}

.topbar-promo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.topbar-promo span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow var(--t);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-lg);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--t-fast);
  position: relative;
}

.nav a:hover {
  color: var(--gold);
}

.nav a.has-dropdown::after {
  content: '\25BE';
  margin-left: 0.25rem;
  font-size: 0.7rem;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 220px;
  padding: var(--space-xs);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--t);
  z-index: 200;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}

.dropdown-menu a:hover {
  background: var(--gray-50);
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all var(--t);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 99;
  padding: var(--space-lg);
  overflow-y: auto;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: var(--space-sm) 0;
  font-size: 1.1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--navy);
}

.mobile-nav .dropdown-content {
  padding-left: var(--space-md);
}

.mobile-nav .dropdown-content a {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* ============ 9. Hero ============ */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  padding: var(--space-3xl) 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(30, 42, 94, 0.5) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.hero-content .lead {
  color: var(--gray-300);
  margin-bottom: var(--space-lg);
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.hero-trust {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-trust-item .number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
}

.hero-trust-item .label {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Landing Hero */
.product-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

.product-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
}

.product-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.product-hero-info h1 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.product-hero-tagline {
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.product-hero-desc {
  color: var(--gray-300);
  margin-bottom: var(--space-lg);
}

.product-hero-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.product-hero-price .price-current {
  color: var(--gold);
  font-size: 2.5rem;
}

.product-hero-price .price-original {
  color: var(--gray-500);
  font-size: 1.5rem;
}

.product-hero-cta {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.product-hero-trust {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--gray-400);
}

.product-hero-trust span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.product-hero-image {
  position: relative;
  z-index: 2;
}

.product-hero-image-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  backdrop-filter: blur(10px);
}

.product-hero-image-wrapper img {
  width: 100%;
  border-radius: var(--radius);
}

/* ============ 10. Sections ============ */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.section-header.left {
  text-align: left;
  margin-left: 0;
}

/* Trust Bar */
.trust-bar {
  background: var(--cream);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
}

.trust-bar-item .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============ 11. Product Components ============ */

/* Spec Table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.spec-table th,
.spec-table td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.spec-table th {
  background: var(--gray-50);
  font-weight: 600;
  color: var(--navy);
  font-size: 0.875rem;
  width: 200px;
}

.spec-table td {
  font-size: 0.95rem;
  color: var(--gray-700);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

/* Comparison Table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.compare-table th,
.compare-table td {
  padding: var(--space-md);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
}

.compare-table th:first-child {
  text-align: left;
}

.compare-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--navy);
  background: var(--gray-50);
}

.compare-table .check {
  color: var(--success);
  font-size: 1.25rem;
}

.compare-table .cross {
  color: var(--gray-400);
  font-size: 1.25rem;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  transition: border-color var(--t);
}

.faq-item.active {
  border-color: var(--gold);
}

.faq-question {
  width: 100%;
  padding: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  text-align: left;
  background: var(--white);
  transition: background var(--t-fast);
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-question .icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--t);
  color: var(--gold);
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 var(--space-md) var(--space-md);
  color: var(--text-light);
  line-height: 1.7;
}

/* Testimonial */
.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  transition: all var(--t);
}

.testimonial:hover {
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: var(--space-md);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gold-dark);
  font-size: 1.125rem;
  flex-shrink: 0;
  overflow: hidden;
}
.testimonial-avatar img{width:100%;height:100%;object-fit:cover;display:block}

.testimonial-name {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Before/After */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.before-after-item {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--gray-100);
}

.before-after-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(10, 14, 39, 0.8);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  counter-reset: step;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto var(--space-md);
  counter-increment: step;
  position: relative;
  z-index: 2;
}

.process-step::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 1;
}

.process-step:last-child::before {
  display: none;
}

.process-step h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

/* ============ 12. Forms ============ */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--t-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
}

.form-control::placeholder {
  color: var(--gray-400);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236B7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Lead Form (floating/sticky) */
.lead-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.lead-form h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.lead-form p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: var(--space-md);
}

/* ============ 13. Footer ============ */
.footer {
  background: var(--navy);
  color: var(--gray-400);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  transition: all var(--t);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul li {
  margin-bottom: 0.625rem;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--gray-400);
  transition: color var(--t-fast);
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-contact {
  font-size: 0.875rem;
  line-height: 1.8;
}

.footer-contact a {
  color: var(--gray-400);
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  margin: 0;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ============ 14. Sticky CTA Bar (Mobile) ============ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  padding: var(--space-sm);
  z-index: 90;
}

.sticky-cta-inner {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.sticky-cta-price {
  flex: 1;
}

.sticky-cta-price .price-current {
  font-size: 1.25rem;
}

.sticky-cta-price .price-original {
  font-size: 0.875rem;
}

/* ============ 15. Utilities ============ */
.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.hidden { display: none !important; }

.bg-navy { background: var(--navy); color: var(--white); }
.bg-cream { background: var(--cream); }
.bg-gray { background: var(--gray-50); }

.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

.shadow { box-shadow: var(--shadow); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Image placeholder */
.img-placeholder {
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.875rem;
  text-align: center;
}

.img-placeholder.dark {
  background: linear-gradient(135deg, var(--navy-2), var(--navy-3));
  color: var(--gray-400);
}

/* Divider */
.divider {
  height: 1px;
  background: var(--border);
  margin: var(--space-lg) 0;
}

.divider-gold {
  height: 3px;
  width: 60px;
  background: var(--gold);
  border-radius: var(--radius-full);
  margin: var(--space-sm) 0;
}

.divider-gold.center {
  margin-left: auto;
  margin-right: auto;
}

/* ============ 16. Animations ============ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ 17. Responsive ============ */
@media (max-width: 1024px) {
  .hero-inner,
  .product-hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-2xl) 0;
  }

  .nav,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .topbar {
    display: none;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: var(--space-xl) 0;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md) var(--space-lg);
    margin-top: var(--space-md);
  }

  .hero-trust-item .number {
    font-size: 1.5rem;
  }

  .hero-trust-item .label {
    font-size: 0.75rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .product-hero-cta {
    flex-direction: column;
  }

  .product-hero-cta .btn {
    width: 100%;
  }

  .sticky-cta {
    display: block;
  }

  body {
    padding-bottom: 80px;
  }

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

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .before-after {
    grid-template-columns: 1fr;
  }

  .spec-table th {
    width: 120px;
  }

  .section-header {
    margin-bottom: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .hero-trust {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .product-hero-price .price-current {
    font-size: 2rem;
  }
}

/* ============ Handpiece Gallery ============ */

.handpiece-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--t);
  display: flex;
  flex-direction: column;
}

.handpiece-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.handpiece-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--gray-100);
  overflow: hidden;
}

.handpiece-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.handpiece-card:hover .handpiece-card-image img {
  transform: scale(1.05);
}

.handpiece-card-body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.handpiece-card-body h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.handpiece-card-body p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .handpiece-card-body h4 {
    font-size: 1rem;
  }
}

/* ============ Hero Image Carousel ============ */

.hero-carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.hero-carousel:active {
  cursor: grabbing;
}

.hero-carousel-track {
  position: relative;
  width: 100%;
}

.hero-carousel-slide {
  width: 100%;
  position: relative;
  animation: heroFadeIn 0.5s ease;
}

.hero-carousel-slide:not(.active) {
  display: none;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

/* Navigation arrows */
.hero-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(10, 14, 39, 0.55);
  color: var(--white);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t);
  z-index: 10;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero-carousel-arrow:hover {
  background: var(--gold);
  color: var(--navy);
  width: 50px;
  height: 50px;
}

.hero-carousel-arrow.prev {
  left: 0.75rem;
}

.hero-carousel-arrow.next {
  right: 0.75rem;
}

/* Dot indicators */
.hero-carousel-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.hero-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: all var(--t);
}

.hero-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

.hero-carousel-dot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 5px;
}

/* Image counter */
.hero-carousel-counter {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(10, 14, 39, 0.6);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  z-index: 10;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }

  .hero-carousel-arrow:hover {
    width: 42px;
    height: 42px;
  }

  .hero-carousel-dot {
    width: 8px;
    height: 8px;
  }

  .hero-carousel-dot.active {
    width: 22px;
  }
}
