/* ============================================
   CSS VARIABLES & RESET
   ============================================ */
:root {
  --primary: #8B5E3C;
  --primary-dark: #6B4423;
  --primary-light: #A87B5A;
  --bg: #FCFAF8;
  --bg-alt: #F5F0EB;
  --card: #FFFFFF;
  --text: #1F1F1F;
  --text-muted: #6B6B6B;
  --text-light: #9A9A9A;
  --border: #EAEAEA;
  --border-light: #F0EDE9;
  --accent: #D6B98C;
  --accent-light: #E8D5B8;
  --accent-dark: #BFA070;
  --shadow-soft: 0 4px 24px rgba(31, 31, 31, 0.06);
  --shadow-medium: 0 12px 48px rgba(31, 31, 31, 0.08);
  --shadow-large: 0 24px 80px rgba(31, 31, 31, 0.12);
  --shadow-warm: 0 12px 40px rgba(139, 94, 60, 0.12);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1280px;
  --transition: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --primary: #D6B98C;
  --primary-dark: #BFA070;
  --primary-light: #E8D5B8;
  --bg: #14110F;
  --bg-alt: #1C1815;
  --card: #1F1B17;
  --text: #F5F0EB;
  --text-muted: #A0958A;
  --text-light: #6B6258;
  --border: #2E2925;
  --border-light: #252120;
  --accent: #D6B98C;
  --accent-light: #8B5E3C;
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-medium: 0 12px 48px rgba(0, 0, 0, 0.4);
  --shadow-large: 0 24px 80px rgba(0, 0, 0, 0.5);
  --shadow-warm: 0 12px 40px rgba(0, 0, 0, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.4s var(--transition), color 0.4s var(--transition);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
}

/* Selection */
::selection {
  background: var(--accent);
  color: var(--text);
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.display-xl {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.display-lg {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.display-md {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.text-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
}

.text-body-lg {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

section {
  position: relative;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 100px;
  cursor: pointer;
  border: none;
  transition: all 0.4s var(--transition);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-warm);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--card);
  color: var(--text);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.btn-ghost:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1rem;
}

/* Ripple effect */
.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.btn:hover::after {
  width: 300px;
  height: 300px;
}

/* ============================================
   GLASS CARD
   ============================================ */
.glass-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-large);
}

[data-theme="dark"] .glass-card {
  background: rgba(31, 27, 23, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.4s var(--transition);
}

.nav-wrapper.scrolled {
  background: rgba(252, 250, 248, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}

[data-theme="dark"] .nav-wrapper.scrolled {
  background: rgba(20, 17, 15, 0.82);
}

.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-logo span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.nav-icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
}
.nav-icon-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-alt);
}

.nav-quote-btn {
  padding: 10px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--transition);
}
.nav-quote-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-warm);
}

.nav-login-btn {
  padding: 10px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-login-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background: var(--bg);
  z-index: 1001;
  padding: 80px 32px 32px;
  transition: right 0.4s var(--transition);
  box-shadow: var(--shadow-large);
  overflow-y: auto;
}
.mobile-nav.open { right: 0; }
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: all; }

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav-links a {
  display: block;
  padding: 16px 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border-light);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg-decoration {
  position: absolute;
  top: 10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(214, 185, 140, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 12s ease-in-out infinite;
}

.hero-bg-decoration-2 {
  position: absolute;
  bottom: -5%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 94, 60, 0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.05); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 28px;
}
.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-trust-stars {
  display: flex;
  gap: 2px;
  color: var(--accent);
}
.hero-trust-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.hero-trust-text strong { color: var(--text); }

/* Hero Upload Card */
.upload-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-large);
  position: relative;
  animation: floatCard 6s ease-in-out infinite;
}

[data-theme="dark"] .upload-card {
  background: rgba(31, 27, 23, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.upload-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.upload-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  font-family: var(--font-body);
}
.upload-card-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  background: var(--accent-light);
  color: var(--primary-dark);
  border-radius: 100px;
}

.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 40px 24px;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--accent);
  background: rgba(214, 185, 140, 0.08);
}
.upload-zone .upload-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s;
}
.upload-zone:hover .upload-icon {
  transform: scale(1.1) translateY(-4px);
}
.upload-zone h4 {
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  margin-bottom: 6px;
}
.upload-zone p {
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* AI Processing state */
.upload-processing {
  display: none;
  text-align: center;
  padding: 30px 0;
}
.upload-processing.active { display: block; }
.upload-processing .spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.upload-processing .processing-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}
.upload-processing .processing-steps {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.upload-processing .step-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  animation: stepPulse 1.5s infinite;
}
.upload-processing .step-dot:nth-child(2) { animation-delay: 0.2s; }
.upload-processing .step-dot:nth-child(3) { animation-delay: 0.4s; }
.upload-processing .step-dot:nth-child(4) { animation-delay: 0.6s; }
@keyframes stepPulse {
  0%, 100% { background: var(--border); }
  50% { background: var(--primary); }
}

/* Analysis Results */
.analysis-results {
  display: none;
  margin-top: 20px;
}
.analysis-results.active { display: block; }

.analysis-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.analysis-label i { font-size: 0.875rem; }

.analysis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.analysis-item {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  border: 1px solid var(--border-light);
}
.analysis-item .label {
  font-size: 0.6875rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.analysis-item .value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}
.analysis-item .value.stars { color: var(--accent); }
.analysis-item .value.cost { color: var(--primary); }

.upload-supported {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.75rem;
  color: var(--text-light);
}
.upload-supported .format-tag {
  padding: 2px 8px;
  background: var(--bg-alt);
  border-radius: 4px;
  font-weight: 500;
  border: 1px solid var(--border-light);
}

/* Floating decorative elements */
.hero-deco {
  position: absolute;
  pointer-events: none;
}
.hero-deco-1 {
  top: 15%;
  left: 48%;
  width: 60px;
  height: 60px;
  background: var(--accent-light);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 8s ease-in-out infinite;
}
.hero-deco-2 {
  bottom: 20%;
  right: 8%;
  width: 40px;
  height: 40px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0.2;
  animation: float 10s ease-in-out infinite reverse;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-text {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-logo {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-light);
  opacity: 0.6;
  transition: all 0.3s;
  letter-spacing: -0.01em;
}
.trust-logo:hover {
  opacity: 1;
  color: var(--primary);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.trust-badge i { color: var(--primary); font-size: 0.875rem; }

/* ============================================
   FACTORY STATISTICS
   ============================================ */
.stats {
  padding: 100px 0;
  background: var(--bg);
}

.stats-header {
  text-align: center;
  margin-bottom: 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 32px 16px;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--border-light);
  transition: all 0.4s var(--transition);
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
  border-color: var(--accent);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.stat-number .unit {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--accent-dark);
}

.stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================
   FEATURE SECTION
   ============================================ */
.features {
  padding: 120px 0;
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.section-header .text-eyebrow {
  margin-bottom: 16px;
  display: block;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all 0.4s var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--transition);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-large);
  border-color: transparent;
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--bg-alt), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 24px;
  transition: transform 0.4s var(--transition);
}
.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-5deg);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  font-family: var(--font-body);
  margin-bottom: 10px;
  color: var(--text);
}
.feature-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.feature-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  background: var(--bg-alt);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}

/* ============================================
   TRENDING COLLECTION
   ============================================ */
.collection {
  padding: 120px 0;
  background: var(--bg);
}

.collection-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.collection-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.collection-filter {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s;
}
.collection-filter:hover, .collection-filter.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  background: var(--card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all 0.4s var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-large);
}

.product-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-alt);
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition);
}
.product-card:hover .product-image img {
  transform: none;
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.4s var(--transition);
  pointer-events: none;
}
.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.product-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  font-size: 0.875rem;
  transition: all 0.3s;
}
.product-action-btn:hover {
  background: var(--primary);
  color: #fff;
}

.product-ai-btn {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  padding: 8px 16px;
  background: rgba(31, 31, 31, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s var(--transition);
}
.product-card:hover .product-ai-btn {
  opacity: 1;
  transform: translateY(0);
}
.product-ai-btn:hover {
  background: var(--primary);
}

.product-info {
  padding: 16px 18px 20px;
}
.product-name {
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-body);
  margin-bottom: 4px;
}
.product-meta {
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* ============================================
   AI CENTER
   ============================================ */
.ai-center {
  padding: 120px 0;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.ai-center::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(139, 94, 60, 0.06), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ai-center-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.ai-workflow {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 36px;
}

.workflow-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  position: relative;
  cursor: pointer;
  transition: all 0.3s;
}
.workflow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 23px;
  top: 56px;
  bottom: -8px;
  width: 2px;
  background: linear-gradient(180deg, var(--border), transparent);
}

.workflow-step:hover { transform: translateX(8px); }

.workflow-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  flex-shrink: 0;
  transition: all 0.3s;
  z-index: 1;
}
.workflow-step:hover .workflow-number {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: scale(1.1);
}

.workflow-content h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  font-family: var(--font-body);
  margin-bottom: 4px;
}
.workflow-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* AI Dashboard */
.ai-dashboard {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-large);
  border: 1px solid var(--border-light);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}
.dashboard-title {
  font-size: 1.125rem;
  font-weight: 600;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 10px;
}
.dashboard-title .live-dot {
  width: 8px;
  height: 8px;
  background: #4CAF50;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.dashboard-meta {
  font-size: 0.75rem;
  color: var(--text-light);
}

.dashboard-image {
  width: 100%;
  height: 450px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--bg-alt);
  position: relative;
}
.dashboard-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dashboard-image .scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  animation: scan 2s linear infinite;
}
@keyframes scan {
  0% { top: 0; }
  100% { top: 100%; }
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dashboard-item {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  border: 1px solid var(--border-light);
}
.dashboard-item .d-label {
  font-size: 0.6875rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.dashboard-item .d-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}
.dashboard-item .d-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}
.dashboard-item .d-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  width: 0;
  transition: width 1.2s var(--transition);
}

.dashboard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}
.dashboard-cost {
  display: flex;
  flex-direction: column;
}
.dashboard-cost .label {
  font-size: 0.6875rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.dashboard-cost .value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--primary);
}

/* ============================================
   COLOR GENERATOR
   ============================================ */
.color-gen {
  padding: 120px 0;
  background: var(--bg);
}

.color-gen-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.color-original {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-large);
  position: relative;
  aspect-ratio: 4/5;
}
.color-original img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.color-original .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: #fff;
}
.color-original .overlay .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.8;
  margin-bottom: 4px;
}
.color-original .overlay .name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.color-palette {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.color-swatch {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.4s var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.color-swatch:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: var(--shadow-medium);
  z-index: 2;
}
.color-swatch .swatch-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s;
}
.color-swatch:hover .swatch-info { opacity: 1; }

.color-gen-actions {
  margin-top: 28px;
  display: flex;
  gap: 14px;
}

/* ============================================
   OEM PROCESS TIMELINE
   ============================================ */
.oem-process {
  padding: 120px 0;
  background: var(--bg-alt);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
  margin-top: 60px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--border));
}

.timeline-step {
  text-align: center;
  padding: 0 12px;
  position: relative;
}

.timeline-dot {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  position: relative;
  z-index: 1;
  transition: all 0.4s var(--transition);
}
.timeline-step:hover .timeline-dot {
  background: var(--primary);
  color: #fff;
  transform: scale(1.15);
  box-shadow: var(--shadow-warm);
}

.timeline-step h4 {
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  margin-bottom: 6px;
}
.timeline-step p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================
   FACTORY SHOWCASE
   ============================================ */
.factory-showcase {
  padding: 0;
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #1a1612;
}

.factory-showcase-bg {
  position: absolute;
  inset: 0;
  background: url('/uploads/products/222.png') center/cover;
}
.factory-showcase-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,17,15,0.5) 0%, rgba(20,17,15,0.8) 100%);
}

.factory-showcase-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 32px;
  color: #fff;
}

.factory-showcase-content .text-eyebrow {
  color: var(--accent);
  margin-bottom: 16px;
}

.factory-showcase-content h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: #fff;
  margin-bottom: 20px;
  max-width: 700px;
}

.factory-showcase-content p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  margin-bottom: 40px;
}

.factory-stats-overlay {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.factory-stat {
  text-align: center;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 24px 28px;
  min-width: 140px;
  transition: all 0.3s ease;
}
.factory-stat:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(214,185,140,0.4);
  transform: translateY(-4px);
}
.factory-stat .num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  text-shadow: 0 2px 20px rgba(214,185,140,0.3);
}
.factory-stat .label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 8px;
  font-weight: 500;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-us {
  padding: 120px 0;
  background: var(--bg);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  padding: 32px 28px;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--border-light);
  transition: all 0.4s var(--transition);
  text-align: left;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
  border-color: var(--accent);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 20px;
}
.why-card h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  font-family: var(--font-body);
  margin-bottom: 8px;
}
.why-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 120px 0;
  background: var(--bg-alt);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border-light);
  transition: all 0.4s var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-large);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  color: var(--accent);
  margin-bottom: 20px;
  font-size: 0.875rem;
}

.testimonial-text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 28px;
  font-style: italic;
  font-family: var(--font-display);
  font-weight: 400;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-body);
}
.testimonial-role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.testimonial-flag {
  margin-left: auto;
  font-size: 1.25rem;
}

/* ============================================
   BLOG
   ============================================ */
.blog {
  padding: 120px 0;
  background: var(--bg);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border-light);
  transition: all 0.4s var(--transition);
  cursor: pointer;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-large);
}

.blog-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-alt);
}
.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition);
}
.blog-card:hover .blog-image img { transform: scale(1.08); }

.blog-content {
  padding: 24px 28px 28px;
}
.blog-category {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 10px;
}
.blog-title {
  font-size: 1.125rem;
  font-weight: 600;
  font-family: var(--font-body);
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-light);
}
.blog-meta .dot { width: 3px; height: 3px; background: var(--text-light); border-radius: 50%; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 100px 0;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(214, 185, 140, 0.15), transparent 70%);
  border-radius: 50%;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(214, 185, 140, 0.1), transparent 70%);
  border-radius: 50%;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
  color: #fff;
}
.cta-content .text-eyebrow {
  color: var(--accent-light);
  margin-bottom: 20px;
}
.cta-content h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.cta-content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-buttons .btn-primary {
  background: #fff;
  color: var(--primary);
}
.cta-buttons .btn-primary:hover {
  background: var(--accent-light);
}
.cta-buttons .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.cta-buttons .btn-secondary:hover {
  border-color: #fff;
  color: #fff;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #14110F;
  color: #9A9A9A;
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .nav-logo {
  color: #fff;
  margin-bottom: 20px;
}
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #6B6B6B;
  margin-bottom: 20px;
  max-width: 300px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #9A9A9A;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact-item:hover { color: var(--accent); }
.footer-contact-item i {
  font-size: 0.75rem;
  color: var(--primary);
  width: 16px;
  text-align: center;
}

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #2E2925;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B6B6B;
  font-size: 0.875rem;
  transition: all 0.3s;
  text-decoration: none;
}
.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 20px;
  font-family: var(--font-body);
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col ul a {
  font-size: 0.875rem;
  color: #6B6B6B;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-col ul a:hover { color: var(--accent); }

.footer-newsletter input {
  width: 100%;
  padding: 12px 16px;
  background: #1F1B17;
  border: 1px solid #2E2925;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.875rem;
  margin-bottom: 12px;
  outline: none;
  font-family: var(--font-body);
}
.footer-newsletter input::placeholder { color: #6B6B6B; }
.footer-newsletter input:focus { border-color: var(--accent); }
.footer-newsletter button {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  font-family: var(--font-body);
}
.footer-newsletter button:hover { background: var(--primary-dark); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid #2E2925;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: 0.8125rem;
  color: #6B6B6B;
}
.footer-bottom .footer-links {
  display: flex;
  gap: 24px;
}
.footer-bottom .footer-links a {
  font-size: 0.8125rem;
  color: #6B6B6B;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-bottom .footer-links a:hover { color: var(--accent); }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   PAGE HERO (shared by about/contact/service pages)
   ============================================ */
.page-hero { padding:140px 0 80px; position:relative; overflow:hidden; }
.page-hero-bg { position:absolute; top:10%; right:-10%; width:600px; height:600px; background:radial-gradient(circle, rgba(214,185,140,0.15), transparent 70%); border-radius:50%; pointer-events:none; }
.page-hero-content { max-width:820px; position:relative; z-index:1; }
.page-hero h1 { font-size:clamp(2.5rem, 6vw, 4.5rem); font-weight:500; letter-spacing:-0.035em; line-height:1.05; margin:20px 0 24px; }
.page-hero h1 em { font-style:italic; color:var(--primary); }
.page-hero-sub { font-size:1.1875rem; color:var(--text-muted); line-height:1.7; max-width:640px; }

/* ============================================
   STORY / SECTION GRIDS (shared by about/service pages)
   ============================================ */
.story-section { padding:80px 0; }
.story-grid { display:grid; grid-template-columns:1.1fr 1fr; gap:64px; align-items:center; }
.story-text h2 { font-size:clamp(2rem, 4vw, 2.75rem); font-weight:500; margin-bottom:24px; }
.story-text p { color:var(--text-muted); font-size:1.0625rem; line-height:1.8; margin-bottom:20px; }
.story-text .highlight { color:var(--primary); font-weight:600; }
.story-visual { position:relative; }
.story-visual img { width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:var(--radius-lg); }
.story-badge { position:absolute; bottom:24px; left:24px; right:24px; background:rgba(255,255,255,0.92); backdrop-filter:blur(16px); border-radius:var(--radius-md); padding:24px; box-shadow:var(--shadow-large); }
.story-badge .num { font-family:var(--font-display); font-size:2.5rem; font-weight:600; color:var(--primary); line-height:1; }
.story-badge .label { font-size:0.875rem; color:var(--text-muted); margin-top:4px; }

/* Values section */
.values-section { padding:80px 0; background:var(--bg-alt); }
.values-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:24px; }
.value-card { background:var(--card); border:1px solid var(--border-light); border-radius:var(--radius-lg); padding:36px 28px; transition:all 0.4s var(--transition); }
.value-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-large); border-color:var(--accent); }
.value-icon { width:56px; height:56px; border-radius:16px; background:var(--bg-alt); display:flex; align-items:center; justify-content:center; font-size:1.5rem; color:var(--primary); margin-bottom:24px; }
.value-card h3 { font-size:1.25rem; font-weight:600; margin-bottom:12px; }
.value-card p { font-size:0.9375rem; color:var(--text-muted); line-height:1.7; }

/* Certifications */
.cert-section { padding:80px 0; }
.cert-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:24px; }
.cert-card { background:var(--card); border:1px solid var(--border-light); border-radius:var(--radius-md); padding:36px 28px; text-align:center; transition:all 0.4s var(--transition); }
.cert-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-medium); border-color:var(--accent); }
.cert-icon { width:72px; height:72px; border-radius:50%; background:linear-gradient(135deg, var(--bg-alt), var(--accent-light)); display:flex; align-items:center; justify-content:center; font-size:1.875rem; color:var(--primary); margin:0 auto 20px; }
.cert-card h3 { font-size:1.125rem; font-weight:600; margin-bottom:8px; }
.cert-card .cert-sub { font-size:0.75rem; color:var(--text-light); text-transform:uppercase; letter-spacing:0.1em; margin-bottom:12px; }
.cert-card p { font-size:0.875rem; color:var(--text-muted); line-height:1.6; }

/* Stats */
.stat-num { font-family:var(--font-display); font-size:clamp(2rem, 3.5vw, 3rem); font-weight:600; color:var(--primary); line-height:1; margin-bottom:8px; }
.stat-item { text-align:center; }

/* Team */
.team-section { padding:80px 0; }
.team-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:32px; }
.team-card { background:var(--card); border:1px solid var(--border-light); border-radius:var(--radius-lg); overflow:hidden; transition:all 0.4s var(--transition); }
.team-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-large); }
.team-avatar { width:100%; aspect-ratio:1/1; object-fit:cover; background:var(--bg-alt); }
.team-info { padding:28px; }
.team-info h3 { font-size:1.375rem; font-weight:600; margin-bottom:4px; }
.team-role { font-size:0.875rem; color:var(--primary); font-weight:500; margin-bottom:16px; }
.team-bio { font-size:0.9375rem; color:var(--text-muted); line-height:1.7; margin-bottom:16px; }
.team-social { display:flex; gap:10px; }
.team-social a { width:34px; height:34px; border-radius:50%; border:1px solid var(--border); display:flex; align-items:center; justify-content:center; color:var(--text-muted); font-size:0.8125rem; text-decoration:none; transition:all 0.3s; }
.team-social a:hover { background:var(--primary); color:#fff; border-color:var(--primary); }

/* CTA section extras */
.cta-buttons { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

/* Responsive grids */
@media (max-width:1024px) {
  .story-grid { grid-template-columns:1fr; gap:48px; }
  .values-grid { grid-template-columns:repeat(2, 1fr); }
  .cert-grid { grid-template-columns:repeat(2, 1fr); }
  .team-grid { grid-template-columns:1fr; max-width:480px; margin:0 auto; }
}
@media (max-width:768px) {
  .page-hero { padding:120px 0 48px; }
  .values-grid { grid-template-columns:1fr; }
  .cert-grid { grid-template-columns:1fr; }
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}
.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}
.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .nav-quote-btn { display: none; }
  .nav-login-btn { display: none; }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .collection-grid { grid-template-columns: repeat(3, 1fr); }
  .ai-center-grid { grid-template-columns: 1fr; gap: 40px; }
  .color-gen-grid { grid-template-columns: 1fr; gap: 40px; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .timeline::before { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 16px 20px; }
  .hero { padding: 100px 0 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .collection-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .color-palette { grid-template-columns: repeat(4, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .factory-stats-overlay { gap: 24px; }
  .factory-stat .num { font-size: 1.75rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .dashboard-grid { grid-template-columns: 1fr; }
}

/* Dark mode toggle */
.theme-toggle {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  font-size: 1.125rem;
  color: var(--primary);
  transition: all 0.3s;
}
.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-large);
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}

.nav-report-btn {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.nav-report-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ============================================
   REPORT MODAL
   ============================================ */
.report-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(20, 17, 15, 0.55);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
  overflow-y: auto;
}
.report-modal-overlay.active { opacity: 1; visibility: visible; }
.report-modal {
  width: 100%;
  max-width: 960px;
  background: var(--card);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.05);
  border: 1px solid var(--border-light);
  transform: scale(0.96) translateY(20px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.4s;
  margin: auto;
  overflow: hidden;
}
.report-modal-overlay.active .report-modal { transform: scale(1) translateY(0); opacity: 1; }
.report-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--card) 100%);
  z-index: 5;
}
.report-modal-header h3 { font-size: 1.25rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.report-modal-header h3 i { color: var(--accent); }
.report-modal-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt); border: 1px solid var(--border-light);
  border-radius: 50%; font-size: 1rem; color: var(--text-muted);
  cursor: pointer; transition: all 0.2s;
}
.report-modal-close:hover { color: var(--text); background: var(--border); transform: rotate(90deg); }
.report-modal-body { padding: 20px; max-height: 75vh; overflow-y: auto; }
.report-modal-body::-webkit-scrollbar { width: 6px; }
.report-modal-body::-webkit-scrollbar-track { background: transparent; }
.report-modal-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
.report-item {
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  transition: box-shadow 0.3s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.report-item:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.report-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: linear-gradient(90deg, var(--bg-alt), transparent);
  border-bottom: 1px solid var(--border-light);
}
.report-item-date { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; display: flex; align-items: center; gap: 4px; }
.report-item-delete { background: none; border: none; color: var(--text-light); cursor: pointer; padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; }
.report-item-delete:hover { color: #DC2626; }
.report-item-body { display: flex; gap: 0; align-items: stretch; }
.report-item-body .report-item-img { flex: 0 0 280px; width: 280px; min-height: 280px; overflow: hidden; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; }
.report-item-body .report-item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.report-item-data { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.report-item-specs { padding: 12px 14px; }
.report-analysis-list { padding: 12px 16px; display: flex; flex-direction: column; gap: 6px; }
.report-analysis-list .ai-analysis-item { opacity: 1; transform: none; padding: 8px 12px; grid-template-columns: 120px 1fr 48px; gap: 10px; }
.report-item-cost {
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--bg-alt), rgba(193,154,107,0.05));
  border-top: 1px solid var(--border-light);
  margin-top: auto;
  border-radius: 0 0 12px 0;
}
.report-spec-row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 0.8125rem; border-bottom: 1px solid var(--border-light); }
.report-spec-row:last-child { border-bottom: none; }
.report-spec-row .rsl { color: var(--text-muted); }
.report-spec-row .rsv { font-weight: 500; }
.report-cost-total { font-size: 0.9375rem; color: var(--text); display: flex; align-items: center; gap: 6px; }
.report-cost-total strong { color: var(--primary); font-size: 1.25rem; }
.report-cost-detail { font-size: 0.6875rem; color: var(--text-light); margin-top: 6px; line-height: 1.6; }

/* ============================================
   AI ANALYSIS MODAL
   ============================================ */
.ai-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(20, 17, 15, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--transition), visibility 0.4s var(--transition);
  overflow-y: auto;
}
.ai-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.ai-modal {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-large);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transform: translateY(24px) scale(0.98);
  opacity: 0;
  transition: transform 0.5s var(--transition), opacity 0.5s var(--transition);
  margin: auto;
}
.ai-modal-overlay.active .ai-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Modal Header */
.ai-modal-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}
[data-theme="dark"] .ai-modal-header {
  background: rgba(31,27,23,0.85);
}

.ai-modal-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s var(--transition);
  white-space: nowrap;
}
.ai-modal-close:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Step Indicator */
.ai-steps {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.ai-step {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  transition: opacity 0.4s var(--transition);
}
.ai-step.active { opacity: 1; }
.ai-step.done { opacity: 0.75; }
.ai-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  font-family: var(--font-body);
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  transition: all 0.4s var(--transition);
}
.ai-step.active .ai-step-num {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(139,94,60,0.12);
}
.ai-step.done .ai-step-num {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}
.ai-step-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.ai-step-line {
  width: 28px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  transition: background 0.4s var(--transition);
}
.ai-step-line.done { background: var(--accent); }

/* Modal Body */
.ai-modal-body {
  padding: 34px 32px 40px;
  min-height: 420px;
}
.ai-step-panel {
  display: none;
  animation: aiPanelIn 0.5s var(--transition);
}
.ai-step-panel.active { display: block; }
@keyframes aiPanelIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.ai-panel-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.ai-panel-subtitle {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 26px;
}

/* ---- Step 1: Upload ---- */
.ai-upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 52px 32px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s var(--transition);
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.ai-upload-zone:hover, .ai-upload-zone.dragover {
  border-color: var(--accent);
  background: rgba(214,185,140,0.1);
}
.ai-upload-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  background: var(--card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--transition);
}
.ai-upload-zone:hover .ai-upload-icon {
  transform: scale(1.08) translateY(-4px);
}
.ai-upload-zone h4 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.ai-upload-zone p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 16px;
}
.ai-upload-formats {
  display: inline-flex;
  gap: 8px;
}
.ai-upload-formats span {
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: 6px;
}

.ai-preview-wrap { display: none; }
.ai-preview-wrap.active { display: block; }
.ai-preview-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  margin-bottom: 16px;
}
.ai-preview-box img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  display: block;
  background: var(--bg-alt);
}
.ai-preview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;padding:12px;background:var(--bg-alt);border-radius:16px;border:1px solid var(--border)}
.ai-preview-thumb{position:relative;aspect-ratio:3/4;border-radius:12px;overflow:hidden;background:#f4f0ea;border:1px solid rgba(0,0,0,.06)}
.ai-preview-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.ai-preview-thumb .tag{position:absolute;left:8px;top:8px;background:rgba(0,0,0,.62);color:#fff;border-radius:999px;padding:3px 8px;font-size:.7rem;font-weight:700}
.ai-review-note{display:none;margin-bottom:14px;padding:12px 14px;border-radius:12px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:.875rem;line-height:1.55}
.ai-review-note.active{display:block}
.ai-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ai-review-field{border:1px solid var(--border);border-radius:14px;padding:12px;background:var(--card);box-shadow:0 4px 14px rgba(0,0,0,.04)}
.ai-review-field.needs-review{border-color:#f59e0b;background:linear-gradient(180deg,#fffbeb,#fff)}
.ai-review-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}
.ai-review-label{font-size:.78rem;font-weight:800;letter-spacing:.02em;color:var(--text-muted);text-transform:uppercase}
.ai-review-conf{font-size:.72rem;font-weight:800;border-radius:999px;padding:3px 8px;background:#ecfdf5;color:#047857;white-space:nowrap}
.ai-review-conf.mid{background:#fffbeb;color:#b45309}.ai-review-conf.low{background:#fef2f2;color:#b91c1c}
.ai-review-field input,.ai-review-field select{width:100%;border:1px solid var(--border);border-radius:10px;padding:9px 10px;font:inherit;background:#fff;color:var(--text)}
.ai-review-evidence{margin-top:7px;font-size:.75rem;line-height:1.45;color:var(--text-muted)}
.ai-review-badge{display:inline-flex;align-items:center;gap:4px;margin-top:7px;font-size:.72rem;font-weight:800;color:#b45309}
.moq-tool{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end}.moq-tool label{font-size:.8rem;font-weight:800;color:var(--text-muted);text-transform:uppercase}.moq-tool input,.moq-tool select{margin-top:6px;width:100%;border:1px solid var(--border);border-radius:10px;padding:10px;background:#fff;font:inherit}.moq-result{padding:12px 14px;border-radius:12px;background:#ecfdf5;color:#047857;font-weight:800;line-height:1.5}@media(max-width:640px){.moq-tool{grid-template-columns:1fr}}
@media(max-width:640px){.ai-review-grid{grid-template-columns:1fr}.ai-preview-grid{grid-template-columns:repeat(2,1fr)}}
.ai-preview-remove {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(20,17,15,0.6);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.ai-preview-remove:hover { background: var(--primary); }

.ai-sample-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  background: transparent;
  border: 1.5px solid var(--accent);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s var(--transition);
}
.ai-sample-btn:hover {
  background: var(--accent-light);
}

/* Modal Footer / Actions */
.ai-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}
.ai-modal-footer.full { grid-column: 1 / -1; }
.ai-footer-note {
  font-size: 0.8125rem;
  color: var(--text-light);
}
.ai-btn-disabled {
  opacity: 0.45 !important;
  pointer-events: none !important;
}

/* ---- Step 2: Analyzing ---- */
.ai-scan-stage {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
}
.ai-scan-img {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-alt);
  aspect-ratio: 4/5;
}
.ai-scan-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ai-scan-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(139,94,60,0.04), rgba(139,94,60,0.2));
}
.ai-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 18px 4px rgba(214,185,140,0.65);
  top: 0;
  animation: aiScanMove 2.2s ease-in-out infinite;
}
@keyframes aiScanMove {
  0% { top: 0; }
  50% { top: calc(100% - 3px); }
  100% { top: 0; }
}
.ai-scan-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(214,185,140,0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214,185,140,0.14) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.ai-scan-corners::before,
.ai-scan-corners::after {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  border: 2px solid var(--accent);
}
.ai-scan-corners::before {
  top: 12px; left: 12px;
  border-right: none; border-bottom: none;
}
.ai-scan-corners::after {
  bottom: 12px; right: 12px;
  border-left: none; border-top: none;
}
.ai-scan-status {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: rgba(20,17,15,0.65);
  border-radius: 100px;
  backdrop-filter: blur(6px);
}
.ai-scan-status .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: stepPulse 1.2s infinite;
}

.ai-analysis-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ai-analysis-item {
  display: grid;
  grid-template-columns: 150px 1fr 64px;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.45s var(--transition), transform 0.45s var(--transition);
}
.ai-analysis-item.show {
  opacity: 1;
  transform: translateX(0);
}
.ai-ai-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}
.ai-ai-value {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.ai-ai-value .v {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.ai-conf-bar {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 6px;
  overflow: hidden;
  min-width: 40px;
}
.ai-conf-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 6px;
  transition: width 0.8s var(--transition);
}
.ai-conf-pct {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-align: right;
}

/* ---- Step 3: Quote ---- */
.ai-section-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ai-section-block { margin-bottom: 30px; }

.ai-result-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.ai-result-table td {
  padding: 11px 16px;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border-light);
}
.ai-result-table tr:last-child td { border-bottom: none; }
.ai-result-table td:first-child {
  color: var(--text-muted);
  width: 45%;
}
.ai-result-table td:last-child {
  font-weight: 600;
  color: var(--text);
}

.ai-cost-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.ai-cost-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}
.ai-cost-item .name {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.ai-cost-item .amt {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-body);
}
.ai-cost-total {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm);
  color: #fff;
  border: none;
}
.ai-cost-total .name { color: rgba(255,255,255,0.85); font-size: 0.9375rem; font-weight: 600; }
.ai-cost-total .amt { color: #fff; font-size: 1.25rem; font-weight: 700; }

.ai-tier-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.ai-tier-table th,
.ai-tier-table td {
  padding: 12px 14px;
  font-size: 0.875rem;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}
.ai-tier-table th {
  background: var(--bg-alt);
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ai-tier-table tr:last-child td { border-bottom: none; }
.ai-tier-table td.qty { font-weight: 600; color: var(--text); }
.ai-tier-table td.price { font-weight: 700; color: var(--primary); }

.ai-meta-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.ai-meta-card {
  padding: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  text-align: center;
}
.ai-meta-card .label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.ai-meta-card .value {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
}
.ai-meta-card .value .accent { color: var(--primary); }

.ai-similar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.ai-similar-card {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.3s var(--transition), box-shadow 0.3s var(--transition);
  cursor: pointer;
}
.ai-similar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}
.ai-similar-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}
.ai-similar-info { padding: 12px 14px; }
.ai-similar-info .t {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.ai-similar-info .m {
  font-size: 0.75rem;
  color: var(--text-light);
}
.ai-similar-info .p {
  margin-top: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}

/* ---- Step 4: Form ---- */
.ai-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ai-form-field { display: flex; flex-direction: column; gap: 6px; }
.ai-form-field.full { grid-column: 1 / -1; }
.ai-form-field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
}
.ai-form-field label .req { color: #c0392b; }
.ai-form-field input,
.ai-form-field select,
.ai-form-field textarea {
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s, background 0.3s;
  outline: none;
  width: 100%;
}
.ai-form-field input:focus,
.ai-form-field select:focus,
.ai-form-field textarea:focus {
  border-color: var(--primary);
  background: var(--card);
}
.ai-form-field textarea { resize: vertical; min-height: 90px; }
.ai-form-field.error input,
.ai-form-field.error select,
.ai-form-field.error textarea {
  border-color: #c0392b;
  background: rgba(192,57,43,0.04);
}
.ai-form-error {
  font-size: 0.75rem;
  color: #c0392b;
  display: none;
}
.ai-form-field.error .ai-form-error { display: block; }

/* ---- Success ---- */
.ai-success {
  text-align: center;
  padding: 28px 20px 6px;
}
.ai-success-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  color: #fff;
  box-shadow: var(--shadow-warm);
  animation: aiPop 0.6s var(--transition);
}
@keyframes aiPop {
  0% { transform: scale(0.6); opacity: 0; }
  60% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}
.ai-success h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.ai-success p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.ai-success-num {
  display: inline-block;
  margin: 16px 0 24px;
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--accent-light);
  border-radius: 100px;
}

.geo-faq {
  padding: 120px 0;
  background: var(--bg-alt);
}

.geo-faq-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.4fr);
  gap: 56px;
  align-items: start;
}

.geo-faq-intro {
  position: sticky;
  top: 120px;
}

.geo-faq-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.geo-faq-list {
  display: grid;
  gap: 14px;
}

.geo-faq-item {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.geo-faq-item h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.35;
  letter-spacing: 0;
  margin-bottom: 10px;
}

.geo-faq-item p {
  color: var(--text-muted);
  line-height: 1.75;
}

/* Responsive */
@media (max-width: 900px) {
  .geo-faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .geo-faq-intro { position: static; }
}

/* Responsive */
@media (max-width: 768px) {
  .ai-modal-header { padding: 14px 16px; }
  .ai-modal-body { padding: 24px 18px 28px; }
  .ai-step-label { display: none; }
  .ai-step-line { width: 16px; }
  .ai-modal-close span { display: none; }
  .ai-scan-stage { grid-template-columns: 1fr; }
  .ai-scan-img { aspect-ratio: 4/3; max-height: 260px; }
  .ai-cost-grid { grid-template-columns: 1fr; }
  .ai-similar-grid { grid-template-columns: 1fr; }
  .ai-similar-card img { height: 180px; }
  .ai-form { grid-template-columns: 1fr; }
  .ai-meta-row { grid-template-columns: 1fr; }
  .ai-analysis-item { grid-template-columns: 110px 1fr 52px; gap: 10px; padding: 10px 12px; }
  .ai-panel-title { font-size: 1.4rem; }
}

/* ============================================
   LANGUAGE DROPDOWN
   ============================================ */
.lang-dropdown { position: relative; display: inline-block; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  width: auto; height: 40px; padding: 0 14px;
  border-radius: 100px; border: 1px solid var(--border);
  background: transparent; color: var(--text-muted); cursor: pointer;
  transition: all 0.3s; font-size: 0.85rem; font-weight: 600;
}
.lang-toggle:hover { border-color: var(--primary); color: var(--primary); background: var(--bg-alt); }
.lang-toggle i { font-size: 0.9rem; }
.lang-current-label { font-weight: 700; letter-spacing: 0.02em; }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 160px;
  background: var(--card); border: 1px solid var(--border-light);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-medium);
  padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all 0.25s var(--transition); z-index: 1100;
}
.lang-dropdown.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 8px; cursor: pointer;
  font-size: 0.875rem; color: var(--text); transition: background 0.2s;
}
.lang-menu-item:hover { background: var(--bg-alt); }
.lang-menu-item.active { background: var(--bg-alt); color: var(--primary); font-weight: 600; }
.lang-menu-item .lang-code { font-size: 0.75rem; color: var(--text-light); margin-left: auto; }

/* ============================================
   FLOATING CUSTOMER SERVICE (WhatsApp + Live Chat)
   ============================================ */
.chat-fab {
  position: fixed; right: 28px; bottom: 96px; z-index: 998;
  display: flex; flex-direction: column; gap: 12px;
}
.chat-fab-btn {
  width: 56px; height: 56px; border-radius: 50%; border: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem; cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transition: transform 0.3s var(--transition), box-shadow 0.3s;
  text-decoration: none; position: relative;
}
.chat-fab-btn:hover { transform: scale(1.12); box-shadow: 0 12px 32px rgba(0,0,0,0.25); }
.chat-fab-btn.whatsapp { background: #25D366; }
.chat-fab-btn.livechat { background: var(--primary); }
.chat-fab-btn .fab-tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  background: var(--text); color: #fff; font-size: 0.75rem; font-weight: 600;
  padding: 6px 12px; border-radius: 6px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.chat-fab-btn:hover .fab-tip { opacity: 1; }
.chat-fab-pulse { position: absolute; inset: 0; border-radius: 50%; background: #25D366; opacity: 0.4; animation: chatPulse 2s ease-out infinite; }
.chat-fab-btn.livechat .chat-fab-pulse { background: var(--primary); }
@keyframes chatPulse { 0% { transform: scale(1); opacity: 0.4; } 100% { transform: scale(1.8); opacity: 0; } }

/* Unread badge */
.chat-unread-badge {
  position: absolute; top: -4px; right: -4px;
  background: #FF5C7A; color: #fff; font-size: 0.625rem; font-weight: 700;
  padding: 2px 6px; border-radius: 10px; min-width: 18px; text-align: center;
  border: 2px solid var(--bg); line-height: 1;
}

/* ============================================
   LIVE CHAT WIDGET
   ============================================ */
.livechat-widget {
  position: fixed; right: 28px; bottom: 168px; z-index: 1199;
  width: 380px; max-width: calc(100vw - 32px);
  max-height: 560px;
  background: var(--card); border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.05);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.96);
  transition: all 0.3s var(--transition);
}
.livechat-widget.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.livechat-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.livechat-header-info { display: flex; align-items: center; gap: 12px; }
.livechat-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem; position: relative; flex-shrink: 0;
}
.livechat-status-dot {
  position: absolute; bottom: 0; right: 0;
  width: 12px; height: 12px; border-radius: 50%;
  background: #4ADE80; border: 2px solid var(--primary);
}
.livechat-title { font-size: 0.9375rem; font-weight: 700; font-family: var(--font-body); }
.livechat-status-text { font-size: 0.6875rem; opacity: 0.85; margin-top: 1px; }
.livechat-close {
  width: 30px; height: 30px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.15); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 0.875rem;
  transition: background 0.2s;
}
.livechat-close:hover { background: rgba(255,255,255,0.3); }
.livechat-messages {
  flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px;
  background: var(--bg-alt); min-height: 200px; max-height: 340px;
}
.livechat-messages::-webkit-scrollbar { width: 5px; }
.livechat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 5px; }
.livechat-msg { display: flex; gap: 8px; max-width: 85%; animation: chatMsgIn 0.25s ease both; }
@keyframes chatMsgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.livechat-msg.guest { align-self: flex-end; flex-direction: row-reverse; }
.livechat-msg-avatar {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 0.75rem;
}
.livechat-msg.admin .livechat-msg-avatar { background: var(--primary); color: #fff; }
.livechat-msg.guest .livechat-msg-avatar { background: var(--border); color: var(--text-muted); }
.livechat-msg-bubble {
  padding: 10px 14px; border-radius: 12px; font-size: 0.8125rem; line-height: 1.5;
  word-break: break-word;
}
.livechat-msg.admin .livechat-msg-bubble { background: var(--card); color: var(--text); border-bottom-left-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.livechat-msg.guest .livechat-msg-bubble { background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.livechat-msg-time { font-size: 0.625rem; color: var(--text-light); margin-top: 2px; }
.livechat-msg.guest .livechat-msg-time { text-align: right; }
.livechat-typing { display: flex; gap: 4px; padding: 8px 14px; }
.livechat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-light); animation: typingDot 1.4s infinite; }
.livechat-typing span:nth-child(2) { animation-delay: 0.2s; }
.livechat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot { 0%,60%,100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
.livechat-input-area { padding: 12px 16px; border-top: 1px solid var(--border-light); background: var(--card); flex-shrink: 0; }

/* Email form */
.livechat-email-form { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--bg-alt); min-height: 300px; }
.livechat-email-inner { text-align: center; width: 100%; max-width: 280px; }
.livechat-email-inner > i { font-size: 2.5rem; color: var(--primary); margin-bottom: 16px; }
.livechat-email-inner h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.livechat-email-inner p { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.5; }
.livechat-email-inner input[type="email"],
.livechat-email-inner input[type="text"] { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 100px; font-size: 0.8125rem; font-family: var(--font-body); color: var(--text); background: var(--card); outline: none; transition: border-color 0.2s; margin-bottom: 10px; }
.livechat-email-inner input[type="email"]:focus,
.livechat-email-inner input[type="text"]:focus { border-color: var(--primary); }
.livechat-email-inner input[type="email"]::placeholder,
.livechat-email-inner input[type="text"]::placeholder { color: var(--text-light); }
.livechat-email-btn { width: 100%; padding: 10px 20px; background: var(--primary); color: #fff; border: none; border-radius: 100px; font-size: 0.8125rem; font-weight: 600; font-family: var(--font-body); cursor: pointer; transition: background 0.2s; }
.livechat-email-btn:hover { background: var(--primary-dark); }
.livechat-input-form { display: flex; gap: 8px; align-items: center; }
.livechat-input-form input {
  flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-radius: 100px;
  font-size: 0.8125rem; font-family: var(--font-body); color: var(--text); background: var(--bg);
  outline: none; transition: border-color 0.2s;
}
.livechat-input-form input:focus { border-color: var(--primary); }
.livechat-input-form input::placeholder { color: var(--text-light); }
.livechat-input-form button {
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: var(--primary); color: #fff; cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 0.875rem;
  transition: background 0.2s;
}
.livechat-input-form button:hover { background: var(--primary-dark); }
.livechat-input-form button:disabled { opacity: 0.5; cursor: not-allowed; }
.livechat-powered { text-align: center; font-size: 0.625rem; color: var(--text-light); margin-top: 8px; }
@media (max-width: 600px) {
  .chat-fab { right: 18px; bottom: 88px; }
  .livechat-widget { right: 16px; bottom: 156px; width: calc(100vw - 32px); }
}

/* ============================================
   PRODUCT SEARCH BOX
   ============================================ */
.collection-search {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; background: var(--card);
  border: 1px solid var(--border); border-radius: 100px;
  transition: border-color 0.3s; min-width: 220px;
}
.collection-search:focus-within { border-color: var(--primary); }
.collection-search i { color: var(--text-light); font-size: 0.875rem; }
.collection-search input {
  border: none; outline: none; background: transparent;
  font-size: 0.8125rem; color: var(--text); font-family: var(--font-body);
  width: 100%; min-width: 0;
}
.collection-search input::placeholder { color: var(--text-light); }
.collection-header { flex-wrap: wrap; gap: 20px; }
.collection-toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.no-results {
  grid-column: 1 / -1; text-align: center; padding: 60px 20px;
  color: var(--text-light); font-size: 0.95rem;
}
.no-results i { font-size: 2rem; display: block; margin-bottom: 12px; }

/* ============================================
   DOWNLOAD CENTER
   ============================================ */
.download-center { padding: 100px 0; background: var(--bg-alt); }
.download-header { text-align: center; margin-bottom: 56px; }
.download-header .text-eyebrow { display: inline-block; margin-bottom: 16px; }
.download-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.download-card {
  background: var(--card); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 32px; transition: all 0.4s var(--transition);
  display: flex; flex-direction: column;
}
.download-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-medium); border-color: var(--accent); }
.download-icon {
  width: 60px; height: 60px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--primary-dark); margin-bottom: 20px;
}
.download-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; }
.download-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; flex: 1; }
.download-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px; font-size: 0.75rem; color: var(--text-light);
}
.download-meta .file-size { background: var(--bg-alt); padding: 4px 10px; border-radius: 100px; font-weight: 600; }
.download-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; background: var(--primary); color: #fff;
  border: none; border-radius: 100px; font-size: 0.875rem; font-weight: 600;
  cursor: pointer; transition: all 0.3s; text-decoration: none;
}
.download-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
@media (max-width: 900px) { .download-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .download-grid { grid-template-columns: 1fr; } .chat-fab { right: 18px; bottom: 88px; } }

/* ============================================
   NEWSLETTER TOAST
   ============================================ */
.kn-toast {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--text); color: #fff; padding: 14px 24px; border-radius: 100px;
  font-size: 0.875rem; font-weight: 600; z-index: 2000; opacity: 0; pointer-events: none;
  transition: all 0.35s var(--transition); box-shadow: var(--shadow-large);
  display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px);
}
.kn-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.kn-toast.error { background: #c0392b; }
.kn-toast.success { background: #1a8a4b; }
.sync-toast{position:fixed;bottom:24px;left:24px;background:var(--card);border:1px solid var(--border);border-radius:16px;padding:16px 20px;box-shadow:0 12px 48px rgba(31,31,31,.12);z-index:9998;display:none;align-items:center;gap:12px;max-width:360px}
.sync-toast.show{display:flex;animation:syncSlideIn .4s cubic-bezier(.22,1,.36,1)}
@keyframes syncSlideIn{from{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}
.sync-dot{width:8px;height:8px;border-radius:50%;background:#4CAF50;animation:syncPulse 1.5s infinite;flex-shrink:0}
@keyframes syncPulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(1.3)}}
.sync-toast .sync-text{font-size:.875rem;color:var(--text);font-weight:500}
.sync-toast .sync-btn{padding:6px 16px;background:var(--primary);color:#fff;border:none;border-radius:100px;font-size:.8125rem;font-weight:600;cursor:pointer;white-space:nowrap}
.sync-toast .sync-btn:hover{background:var(--primary-dark)}

/* ============================================
   IMAGE CROP MODAL
   ============================================ */
.crop-overlay{position:fixed;inset:0;background:rgba(0,0,0,.85);z-index:10000;display:none;align-items:center;justify-content:center;padding:20px}
.crop-overlay.active{display:flex}
.crop-modal{background:var(--card);border-radius:16px;width:100%;max-width:600px;max-height:90vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.4)}
.crop-header{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;border-bottom:1px solid var(--border-light)}
.crop-header h3{font-size:1.125rem;font-weight:600;display:flex;align-items:center;gap:8px}
.crop-header h3 i{color:var(--primary)}
.crop-close{background:none;border:none;font-size:1.25rem;color:var(--text-muted);cursor:pointer;padding:4px 8px;border-radius:6px;transition:all .2s}
.crop-close:hover{background:var(--bg-hover);color:var(--text)}
.crop-body{padding:20px;overflow:hidden;flex:1;display:flex;align-items:center;justify-content:center;background:#1a1a1a;min-height:300px}
.crop-body img{max-width:100%;max-height:50vh;display:block}
.crop-footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid var(--border-light)}

/* ============================================
   IMAGE ZOOM LIGHTBOX
   ============================================ */
.zoom-overlay{position:fixed;inset:0;background:rgba(0,0,0,.92);z-index:10001;display:none;align-items:center;justify-content:center;padding:40px;cursor:zoom-out}
.zoom-overlay.active{display:flex}
.zoom-overlay img{max-width:90vw;max-height:90vh;object-fit:contain;border-radius:8px;box-shadow:0 8px 32px rgba(0,0,0,.5)}
.zoom-close{position:absolute;top:20px;right:20px;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.15);border:none;color:#fff;font-size:1.25rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}
.zoom-close:hover{background:rgba(255,255,255,.3)}

/* Clickable preview image */
.ai-preview-img-wrap{position:relative;cursor:zoom-in}
.ai-preview-img-wrap::after{content:'\f00e';font-family:'Font Awesome 6 Free';font-weight:900;position:absolute;bottom:8px;right:8px;background:rgba(0,0,0,.6);color:#fff;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.875rem;pointer-events:none}

/* Precise anchor offset for fixed navigation */
.anchor-target { scroll-margin-top: 110px; }


/* SEO / GEO content blocks */
.geo-summary { padding: 96px 0; background: linear-gradient(135deg, rgba(139,94,60,.08), rgba(193,154,107,.12)); }
.geo-summary-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 28px; padding: clamp(28px, 5vw, 54px); box-shadow: var(--shadow-lg); }
.geo-fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.geo-fact-grid div { padding: 18px; border-radius: 18px; background: rgba(139,94,60,.08); border: 1px solid var(--border-color); }
.geo-fact-grid strong { display: block; color: var(--text-primary); margin-bottom: 6px; font-size: .92rem; }
.geo-fact-grid span { color: var(--text-secondary); font-size: .9rem; line-height: 1.55; }
.seo-link-hub { padding: 96px 0; background: var(--bg-secondary); }
.seo-link-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 36px; }
.seo-link-grid a { display: block; padding: 20px; border-radius: 20px; background: var(--bg-card); border: 1px solid var(--border-color); color: inherit; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.seo-link-grid a:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow-md); }
.seo-link-grid strong { display: block; color: var(--text-primary); margin-bottom: 8px; }
.seo-link-grid span { display: block; color: var(--text-secondary); font-size: .9rem; line-height: 1.55; }
@media (max-width: 1100px) { .geo-fact-grid { grid-template-columns: repeat(2, 1fr); } .seo-link-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .geo-fact-grid, .seo-link-grid { grid-template-columns: 1fr; } }


/* Compact homepage SEO resource entry */
.seo-resource-entry { padding: 34px 0; background: var(--bg-primary); }
.seo-resource-pill { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 18px 22px; border: 1px solid var(--border-color); border-radius: 999px; background: var(--bg-card); color: inherit; text-decoration: none; box-shadow: var(--shadow-sm); transition: all .25s ease; }
.seo-resource-pill:hover { transform: translateY(-2px); border-color: var(--primary); box-shadow: var(--shadow-md); }
.seo-resource-pill span { color: var(--primary); font-weight: 700; white-space: nowrap; }
.seo-resource-pill strong { color: var(--text-primary); font-size: .98rem; font-weight: 600; }
.seo-resource-pill em { color: var(--text-secondary); font-style: normal; white-space: nowrap; }
.resources-hero { padding: 160px 0 88px; background: radial-gradient(circle at 20% 20%, rgba(139,94,60,.18), transparent 36%), linear-gradient(135deg, var(--bg-primary), var(--bg-secondary)); text-align: center; }
.resources-hero h1 { font-family: var(--font-display); font-size: clamp(2.8rem, 7vw, 6rem); line-height: .95; margin: 16px auto; max-width: 980px; }
.resources-hero p { max-width: 860px; margin: 0 auto; color: var(--text-secondary); font-size: 1.1rem; line-height: 1.75; }
.page-contained { padding-top: 76px; padding-bottom: 76px; }
.resources-cta { padding: 88px 0; text-align: center; background: var(--bg-secondary); }
.resources-cta h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 4rem); }
.resources-cta p { color: var(--text-secondary); margin: 14px 0 28px; }
@media (max-width: 760px) { .seo-resource-pill { grid-template-columns: 1fr; border-radius: 24px; } }

/* === Kangulu growth pages 20260709 === */
.growth-hero { padding: 150px 0 74px; overflow: hidden; background:
  radial-gradient(circle at 82% 18%, rgba(214,185,140,.22), transparent 30%),
  linear-gradient(135deg, var(--bg), var(--bg-alt)); }
.growth-hero .container { display:grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap:56px; align-items:center; }
.growth-kicker { display:inline-flex; gap:10px; align-items:center; padding:8px 14px; border:1px solid var(--border); border-radius:999px; background:rgba(255,255,255,.55); color:var(--primary); font-size:.78rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
[data-theme="dark"] .growth-kicker { background:rgba(31,27,23,.72); }
.growth-hero h1 { font-size:clamp(2.7rem, 5.8vw, 5.25rem); font-weight:500; letter-spacing:-.045em; margin:22px 0; }
.growth-hero h1 em { color:var(--primary); font-style:italic; }
.growth-hero p { color:var(--text-muted); font-size:1.125rem; line-height:1.82; max-width:720px; }
.growth-actions { display:flex; gap:14px; flex-wrap:wrap; margin-top:32px; }
.growth-visual { position:relative; min-height:520px; border-radius:42px; overflow:hidden; background:linear-gradient(145deg,#2b2119,#8B5E3C 55%,#D6B98C); box-shadow:var(--shadow-large); }
.growth-visual:before { content:''; position:absolute; inset:0; background:
  linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
  linear-gradient(0deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size:34px 34px; opacity:.45; }
.growth-visual .woven-card { position:absolute; left:32px; right:32px; bottom:32px; padding:26px; border-radius:28px; background:rgba(255,255,255,.86); backdrop-filter:blur(18px); color:#1F1F1F; }
.growth-visual .woven-card h3 { font-size:1.55rem; margin-bottom:8px; }
.growth-visual .woven-card p { color:#5c5047; font-size:.95rem; line-height:1.65; }
.growth-visual .floating-stat { position:absolute; top:32px; left:32px; right:auto; display:grid; grid-template-columns:repeat(2, minmax(110px,1fr)); gap:12px; }
.growth-visual .floating-stat span { padding:16px; border-radius:18px; background:rgba(20,17,15,.56); color:#fff; font-size:.82rem; backdrop-filter:blur(12px); }
.growth-visual .floating-stat strong { display:block; font-family:var(--font-display); font-size:1.55rem; color:var(--accent); line-height:1; margin-bottom:6px; }
.growth-section { padding:86px 0; }
.growth-section.alt { background:var(--bg-alt); }
.growth-section-head { max-width:820px; margin:0 auto 44px; text-align:center; }
.growth-section-head h2 { font-size:clamp(2rem, 4vw, 3.35rem); font-weight:500; margin:14px 0; }
.growth-section-head p { color:var(--text-muted); font-size:1.06rem; line-height:1.75; }
.growth-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.growth-grid.two { grid-template-columns:repeat(2,1fr); }
.growth-grid.four { grid-template-columns:repeat(4,1fr); }
.growth-card { background:var(--card); border:1px solid var(--border-light); border-radius:28px; padding:30px; box-shadow:var(--shadow-soft); transition:transform .35s var(--transition), box-shadow .35s var(--transition), border-color .35s; }
.growth-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-large); border-color:var(--accent); }
.growth-card .icon { width:54px; height:54px; border-radius:18px; display:flex; align-items:center; justify-content:center; background:var(--bg-alt); color:var(--primary); font-size:1.25rem; margin-bottom:20px; }
.growth-card h3 { font-size:1.35rem; margin-bottom:12px; }
.growth-card p, .growth-card li { color:var(--text-muted); line-height:1.7; font-size:.95rem; }
.growth-card ul { padding-left:18px; display:grid; gap:8px; margin-top:14px; }
.process-line { display:grid; gap:16px; counter-reset:step; }
.process-step { display:grid; grid-template-columns:72px 1fr; gap:18px; padding:22px; border:1px solid var(--border-light); border-radius:24px; background:var(--card); }
.process-step:before { counter-increment:step; content:counter(step, decimal-leading-zero); width:54px; height:54px; border-radius:18px; display:flex; align-items:center; justify-content:center; background:var(--primary); color:#fff; font-weight:800; }
.process-step h3 { font-size:1.2rem; margin-bottom:6px; }
.process-step p { color:var(--text-muted); line-height:1.7; }
.proof-strip { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:34px; }
.proof-tile { min-height:170px; border-radius:28px; padding:22px; display:flex; flex-direction:column; justify-content:flex-end; color:#fff; overflow:hidden; position:relative; background:linear-gradient(145deg,#201811,#8B5E3C); }
.proof-tile:before { content:''; position:absolute; inset:0; background:radial-gradient(circle at 30% 20%, rgba(255,255,255,.32), transparent 26%); }
.proof-tile h3, .proof-tile p { position:relative; z-index:1; }
.proof-tile h3 { font-size:1.05rem; margin-bottom:6px; }
.proof-tile p { font-size:.82rem; color:rgba(255,255,255,.78); }
.case-card { display:grid; grid-template-rows:190px auto; overflow:hidden; padding:0; }
.case-art { position:relative; background:linear-gradient(135deg,#1c1815,#8B5E3C,#D6B98C); }
.case-art:after { content:''; position:absolute; inset:18px; border:1px solid rgba(255,255,255,.36); border-radius:22px; }
.case-body { padding:28px; }
.badge-row { display:flex; flex-wrap:wrap; gap:8px; margin:14px 0 18px; }
.badge-row span { padding:6px 11px; border-radius:999px; background:var(--bg-alt); border:1px solid var(--border-light); color:var(--text-muted); font-size:.76rem; font-weight:700; }
.faq-page-list { display:grid; gap:16px; max-width:980px; margin:0 auto; }
.faq-page-item { border:1px solid var(--border-light); border-radius:22px; background:var(--card); overflow:hidden; }
.faq-page-item summary { cursor:pointer; list-style:none; padding:22px 26px; font-weight:750; display:flex; justify-content:space-between; gap:20px; }
.faq-page-item summary::-webkit-details-marker { display:none; }
.faq-page-item summary:after { content:'+'; color:var(--primary); font-size:1.4rem; line-height:1; }
.faq-page-item[open] summary:after { content:'–'; }
.faq-page-item p { padding:0 26px 24px; color:var(--text-muted); line-height:1.75; }
.ai-demo-panel { background:#14110F; color:#fff; border-radius:34px; padding:30px; box-shadow:var(--shadow-large); }
.ai-demo-panel .scan-box { min-height:300px; border:1px dashed rgba(214,185,140,.55); border-radius:26px; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:12px; background:radial-gradient(circle at 50% 30%, rgba(214,185,140,.18), transparent 42%); }
.ai-demo-panel .scan-box i { font-size:3rem; color:var(--accent); }
.ai-result-row { display:grid; grid-template-columns:1fr auto; gap:12px; padding:14px 0; border-bottom:1px solid rgba(255,255,255,.1); color:rgba(255,255,255,.82); }
.ai-result-row strong { color:#fff; }
.contact-upgrade { margin-top:18px; padding:20px; border-radius:22px; background:var(--bg-alt); border:1px solid var(--border-light); }
.contact-upgrade h3 { font-size:1.15rem; margin-bottom:10px; }
.contact-upgrade ul { padding-left:18px; display:grid; gap:6px; color:var(--text-muted); font-size:.92rem; }
@media (max-width:1024px){ .growth-hero .container{grid-template-columns:1fr}.growth-visual{min-height:420px}.growth-grid,.growth-grid.two,.growth-grid.four,.proof-strip{grid-template-columns:repeat(2,1fr)} }
@media (max-width:720px){ .growth-hero{padding:122px 0 54px}.growth-grid,.growth-grid.two,.growth-grid.four,.proof-strip{grid-template-columns:1fr}.process-step{grid-template-columns:1fr}.growth-visual .floating-stat{grid-template-columns:1fr;right:32px}.growth-actions{flex-direction:column}.growth-actions .btn{justify-content:center;width:100%} }

/* === Local products UI cleanup 20260710 === */
.collection-toolbar,
.collection-filters,
.product-actions,
.product-ai-btn { display: none !important; }
.collection-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.product-image img { cursor: pointer; }
.product-card:hover .product-image img { transform: none; }
@media (max-width: 1200px) { .collection-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) { .collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* === Strict user requested product cleanup 20260710 === */
.collection .product-image,
.collection .product-image img,
.collection .product-card,
.collection .product-card:hover,
.collection .product-card:hover .product-image img {
  transform: none !important;
}
.collection .product-image img {
  transition: none !important;
  cursor: pointer !important;
}
.collection .product-actions,
.collection .product-action-btn,
.collection .product-ai-btn,
.collection-toolbar,
.collection-filters {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.collection-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 18px !important;
}
@media (max-width: 1200px) { .collection-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
@media (max-width: 900px) { .collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
