/* ============================================
   Global Trade Hub - Main Stylesheet
   Quiet Luxury / Apple-inspired Design
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --bg: #FFFFFF;
  --text: #1A1A1A;
  --text-secondary: #6B6B6B;
  --dark: #0A0A0A;
  --gold: #C9A96E;
  --gold-hover: #B8944F;
  --border: #E8E8E8;
  --card-bg: #FAFAFA;
  --radius: 8px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --font: 'Inter', 'Noto Sans SC', 'Noto Sans JP', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ---- Utility ---- */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text);
}
.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-top: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--gold);
  color: #fff;
}
.btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.3);
}
.btn-outline {
  border: 1.5px solid var(--text);
  color: var(--text);
}
.btn-outline:hover {
  background: var(--text);
  color: #fff;
  transform: translateY(-2px);
}
.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
}
.btn-sm:hover {
  background: var(--gold);
  transform: translateY(-2px);
}
.btn-lg {
  padding: 18px 48px;
  font-size: 1.05rem;
}
.btn-back {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 10px 0;
  transition: color 0.2s;
}
.btn-back:hover { color: var(--text); }

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s var(--ease);
  background: transparent;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; }
.logo-text {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text);
}
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--text); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-cta {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 10px 20px;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}
.nav-cta:hover {
  background: var(--gold);
  transform: translateY(-1px);
}

/* Language Switcher */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.2s;
}
.lang-btn:hover { color: var(--text); }
.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s var(--ease);
  overflow: hidden;
}
.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--text);
  transition: background 0.15s;
}
.lang-dropdown button:hover { background: var(--card-bg); }

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s var(--ease);
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 0;
  position: relative;
  overflow: hidden;
  background: #0A0A0A;
}

/* Large watch background - dynamic */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  opacity: 0.7;
  animation: heroZoom 12s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

/* Floating golden glow */
.hero-bg-glow {
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  animation: glowFloat 10s ease-in-out infinite alternate;
}
@keyframes glowFloat {
  0% { top: 20%; right: 10%; opacity: 0.4; transform: scale(1); }
  50% { top: 30%; right: 20%; opacity: 0.6; transform: scale(1.1); }
  100% { top: 15%; right: 15%; opacity: 0.3; transform: scale(0.9); }
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, 
    rgba(10,10,10,0.95) 0%, 
    rgba(10,10,10,0.85) 30%, 
    rgba(10,10,10,0.5) 55%, 
    rgba(10,10,10,0.2) 80%,
    transparent 100%
  );
}
.hero-bg-overlay-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,10,10,0.95) 100%);
}

.hero-content {
  max-width: 640px;
  margin: 0;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  text-align: left;
  animation: heroFadeIn 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}
@keyframes heroFadeIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #fff;
}
.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-actions .btn-primary:hover {
  box-shadow: 0 8px 32px rgba(201, 169, 110, 0.5);
}
.hero-actions .btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.hero-actions .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* ---- Brands Carousel ---- */
.brands {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.brands-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.brands-track-wrapper { overflow: hidden; }
.brands-track {
  display: flex;
  animation: scrollBrands 30s linear infinite;
}
.brands-slide {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 0 30px;
  flex-shrink: 0;
}
.brand-item {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  white-space: nowrap;
  opacity: 0.6;
  transition: opacity 0.3s;
}
.brand-item:hover { opacity: 1; }
@keyframes scrollBrands {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Valuation Form ---- */
.valuation {
  padding: 120px 0;
  background: var(--card-bg);
}
.valuation-card {
  background: #fff;
  border-radius: 12px;
  padding: 48px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  border: 1px solid var(--border);
}
.val-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
}
.val-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--border);
  color: var(--text-secondary);
  transition: all 0.3s var(--ease);
}
.val-step.active .step-num {
  background: var(--gold);
  color: #fff;
}
.val-step.completed .step-num {
  background: var(--dark);
  color: #fff;
}
.step-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.val-step.active .step-label { color: var(--text); }
.val-step-line {
  width: 40px;
  height: 2px;
  background: var(--border);
  margin: 0 8px;
  margin-bottom: 24px;
  transition: background 0.3s;
}
.val-step-line.active { background: var(--dark); }

.val-panel { display: none; }
.val-panel:not(.hidden) {
  display: block;
  animation: fadeUp 0.4s var(--ease);
}
.val-panel.hidden { display: none; }
.val-panel h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Type Cards */
.type-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 24px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s var(--ease);
  color: var(--text-secondary);
}
.type-card:hover {
  border-color: var(--gold);
  color: var(--text);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.type-card span {
  font-size: 1rem;
  font-weight: 500;
}

/* Brand & Model Options */
.brand-options, .model-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.brand-card, .model-card {
  padding: 12px 24px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s var(--ease);
}
.brand-card:hover, .model-card:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
}

/* Condition Cards */
.condition-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.condition-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s var(--ease);
}
.condition-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.condition-stars { color: var(--gold); font-size: 0.9rem; }
.condition-name { font-weight: 600; font-size: 0.9rem; }
.condition-desc { font-size: 0.75rem; color: var(--text-secondary); text-align: center; }

/* Upload Zone */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 48px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  color: var(--text-secondary);
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.04);
}
.upload-zone svg { margin-bottom: 16px; opacity: 0.5; }
.upload-zone p { font-size: 0.95rem; margin-bottom: 8px; }
.upload-formats { font-size: 0.8rem; }
.upload-preview {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.preview-item {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
}
.preview-item img { width: 100%; height: 100%; object-fit: cover; }
.preview-remove {
  position: absolute;
  top: 2px;
  right: 4px;
  font-size: 1.2rem;
  color: #fff;
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.val-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
}

/* Result */
.result-content {
  text-align: center;
  padding: 32px 0;
}
.result-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.result-price {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 16px 0;
  color: var(--gold);
}
.result-note {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.result-content .btn { margin: 0 8px; }

/* ---- Why Us / Features ---- */
.why-us {
  padding: 120px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.feature-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: 12px;
  transition: all 0.3s var(--ease);
  border: 1px solid transparent;
}
.feature-card:hover {
  background: var(--card-bg);
  border-color: var(--border);
  transform: translateY(-4px);
}
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--gold);
  border: 1px solid var(--border);
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Products ---- */
.products {
  padding: 120px 0;
  background: var(--card-bg);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
.product-img {
  height: 240px;
  overflow: hidden;
  background: var(--dark);
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.product-card:hover .product-img img { transform: scale(1.08); }
.product-info {
  padding: 24px;
}
.product-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}
.product-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.product-price {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.product-price strong {
  color: var(--text);
  font-size: 1.1rem;
}

/* ---- Testimonials ---- */
.testimonials {
  padding: 120px 0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s var(--ease);
}
.testimonial-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
.test-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.test-quote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 24px;
  font-style: italic;
}
.test-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.test-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}
.test-author strong {
  display: block;
  font-size: 0.9rem;
}
.test-author span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ---- Stats ---- */
.stats {
  padding: 100px 0;
  background: var(--dark);
  color: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item { padding: 24px; }
.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gold);
}
.stat-suffix {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
}
.stat-item p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
  font-weight: 400;
}

/* ---- FAQ ---- */
.faq {
  padding: 120px 0;
}
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
  color: var(--text-secondary);
}
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}
.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- CTA Section ---- */
.cta-section {
  padding: 120px 0;
  background: var(--card-bg);
}
.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.cta-content h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* ---- Footer ---- */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 64px;
  margin-bottom: 64px;
}
.footer-brand {
  max-width: 300px;
}
.footer-brand .logo-text {
  font-size: 1rem;
  margin-bottom: 16px;
  display: block;
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.footer-links {
  display: flex;
  gap: 64px;
}
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--text);
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--gold); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Touch optimization */
  * { -webkit-tap-highlight-color: transparent; }
  a, button { min-height: 44px; min-width: 44px; }

  /* Safe area for notched phones */
  body {
    padding-top: env(safe-area-inset-top);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  /* Navigation */
  .nav { padding: 16px 0; }
  .nav.scrolled { padding: 10px 0; }
  .nav-inner { padding: 0 16px; }
  .nav-links { 
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 32px 40px;
    gap: 0;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    font-size: 1.5rem;
    font-weight: 500;
    padding: 20px 0;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    width: 100%;
    text-align: center;
  }
  .nav-links a:last-child { border-bottom: none; }
  .mobile-toggle { display: flex; z-index: 1001; padding: 8px; }
  .nav-cta { display: none; }
  .logo-text { font-size: 0.95rem; letter-spacing: 0.1em; }

  /* Hero */
  .hero { padding: 100px 20px 48px; min-height: auto; }
  .hero-eyebrow { font-size: 0.7rem; margin-bottom: 16px; }
  .hero-title { font-size: clamp(1.8rem, 7vw, 2.5rem); margin-bottom: 16px; }
  .hero-subtitle { font-size: 1rem; margin-bottom: 32px; max-width: 400px; }
  .hero-actions { gap: 12px; }
  .hero-bg img { object-position: 65% center; opacity: 0.5; }

  /* Brands */
  .brands { padding: 40px 0; }
  .brands-label { font-size: 0.65rem; margin-bottom: 20px; }
  .brand-item { font-size: 0.85rem; }
  .brands-slide { gap: 40px; }

  /* Valuation */
  .valuation { padding: 64px 0; }
  .valuation-card { padding: 20px 16px; border-radius: 10px; }
  .val-steps { gap: 0; margin-bottom: 32px; }
  .val-step-line { width: 16px; margin: 0 4px; margin-bottom: 24px; }
  .step-num { width: 30px; height: 30px; font-size: 0.75rem; }
  .step-label { font-size: 0.6rem; }
  .val-panel h3 { font-size: 1.1rem; margin-bottom: 20px; }
  .type-options { grid-template-columns: 1fr; gap: 12px; }
  .type-card { padding: 28px 20px; flex-direction: row; gap: 16px; }
  .type-card svg { width: 36px; height: 36px; flex-shrink: 0; }
  .condition-options { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .condition-card { padding: 16px 12px; }
  .condition-name { font-size: 0.8rem; }
  .condition-desc { font-size: 0.65rem; }
  .brand-options, .model-options { gap: 8px; }
  .brand-card, .model-card { padding: 10px 16px; font-size: 0.8rem; }
  .upload-zone { padding: 32px 16px; }
  .upload-zone svg { width: 36px; height: 36px; }
  .upload-zone p { font-size: 0.85rem; }
  .val-actions { flex-direction: column-reverse; gap: 12px; }
  .val-actions .btn { width: 100%; }

  /* Result */
  .result-price { font-size: 2.2rem; }
  .result-content .btn { display: block; margin: 8px auto; width: 100%; max-width: 280px; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { 
    display: flex; 
    text-align: left; 
    gap: 20px; 
    padding: 24px; 
    align-items: flex-start;
  }
  .feature-icon { margin: 0; flex-shrink: 0; width: 52px; height: 52px; }
  .feature-card h3 { font-size: 0.95rem; margin-bottom: 6px; }
  .feature-card p { font-size: 0.85rem; }

  /* Products */
  .products { padding: 64px 0; }
  .products-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-card { display: flex; flex-direction: row; }
  .product-img { width: 140px; height: 140px; flex-shrink: 0; }
  .product-info { padding: 16px; display: flex; flex-direction: column; justify-content: center; }
  .product-info h3 { font-size: 1rem; }
  .product-price { margin-bottom: 12px; }

  /* Testimonials */
  .testimonials { padding: 64px 0; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .testimonial-card { padding: 24px; }
  .test-quote { font-size: 0.9rem; }

  /* Stats */
  .stats { padding: 64px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-item { padding: 16px 8px; }
  .stat-number { font-size: 2rem; }
  .stat-suffix { font-size: 1.1rem; }
  .stat-item p { font-size: 0.75rem; }

  /* FAQ */
  .faq { padding: 64px 0; }
  .faq-question { padding: 18px 0; font-size: 0.9rem; }
  .faq-answer p { font-size: 0.85rem; }

  /* CTA */
  .cta-section { padding: 64px 0; }
  .cta-content h2 { font-size: 1.6rem; }
  .cta-content p { font-size: 0.95rem; }

  /* Footer */
  .footer { padding: 48px 0 32px; }
  .footer-inner { padding: 0 16px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-brand { max-width: 100%; }
  .footer-links { flex-wrap: wrap; gap: 24px; }
  .footer-col { min-width: 120px; flex: 1; }
  .footer-col a { padding: 6px 0; font-size: 0.85rem; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; padding-top: 24px; }

  /* Section common */
  .section-container { padding: 0 16px; }
  .section-header { margin-bottom: 36px; }
  .section-title { font-size: clamp(1.5rem, 5vw, 2rem); }
  .section-desc { font-size: 0.9rem; margin-top: 12px; }
  .section-eyebrow { font-size: 0.7rem; margin-bottom: 12px; }
}

@media (max-width: 480px) {
  .hero { padding: 90px 16px 40px; }
  .hero-title { font-size: 1.7rem; }
  .hero-subtitle { font-size: 0.9rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; }
  .hero-bg img { object-position: 60% center; opacity: 0.35; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 1.8rem; }

  .val-steps { flex-wrap: wrap; gap: 4px; justify-content: center; }
  .val-step-line { display: none; }
  .val-step { flex: 0 0 auto; }

  .product-card { flex-direction: column; }
  .product-img { width: 100%; height: 200px; }

  .condition-options { grid-template-columns: 1fr 1fr; gap: 8px; }
  .condition-card { padding: 14px 8px; }
  .condition-stars { font-size: 0.75rem; }
  .condition-name { font-size: 0.75rem; }
  .condition-desc { font-size: 0.6rem; }

  .footer-links { gap: 20px; }
  .footer-col { min-width: 100px; }
}

/* ---- Mobile Bottom CTA Bar ---- */
@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
  }
}
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  gap: 12px;
  align-items: center;
}
.mobile-cta-bar .mobile-cta-text {
  flex: 1;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.3;
}
.mobile-cta-bar .mobile-cta-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
}
.mobile-cta-bar .btn {
  padding: 12px 24px;
  font-size: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Add bottom padding on mobile to account for fixed CTA bar */
@media (max-width: 768px) {
  .footer { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}

/* ============================================
   Customer Service - Floating Chat Widget
   ============================================ */

/* ---- Chat Button ---- */
.chat-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.4);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  border: none;
}
.chat-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(201, 169, 110, 0.5);
}
.chat-btn:active {
  transform: scale(0.95);
}
.chat-btn svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
}
.chat-btn.open svg {
  transform: rotate(45deg);
}
.chat-btn-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--gold);
  animation: chatPulse 2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes chatPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ---- Chat Panel ---- */
.chat-panel {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 360px;
  max-height: 540px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.12);
  z-index: 998;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}
.chat-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

/* Chat Header */
.chat-header {
  background: var(--dark);
  color: #fff;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-header h3 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.chat-header-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
}
.chat-header-close:hover { background: rgba(255,255,255,0.2); }
.chat-header-close svg { width: 18px; height: 18px; }

/* Chat Body */
.chat-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  max-height: 380px;
}

/* Contact Options */
.chat-contact-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.chat-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
  background: var(--card-bg);
  min-height: 52px;
}
.chat-contact-item:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.05);
  transform: translateX(4px);
}
.chat-contact-item:active {
  transform: scale(0.98);
}
.chat-contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-contact-icon svg { width: 18px; height: 18px; }
.chat-contact-info { flex: 1; }
.chat-contact-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  display: block;
}
.chat-contact-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: block;
}

/* Divider */
.chat-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.chat-divider::before,
.chat-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Chat Form */
.chat-form { display: flex; flex-direction: column; gap: 12px; }
.chat-form input,
.chat-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--card-bg);
  transition: border-color 0.2s;
  outline: none;
  font-family: var(--font);
  -webkit-appearance: none;
}
.chat-form input:focus,
.chat-form textarea:focus {
  border-color: var(--gold);
  background: #fff;
}
.chat-form input::placeholder,
.chat-form textarea::placeholder {
  color: var(--text-secondary);
}
.chat-form textarea {
  min-height: 80px;
  resize: vertical;
}
.chat-form .btn {
  width: 100%;
  padding: 14px;
  font-size: 0.9rem;
  cursor: pointer;
  min-height: 48px;
}
.chat-form .btn:active { transform: scale(0.98); }

/* Chat Success Message */
.chat-success {
  display: none;
  text-align: center;
  padding: 24px;
}
.chat-success.show { display: block; }
.chat-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}
.chat-success h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.chat-success p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* ---- Chat Mobile Adjustments ---- */
@media (max-width: 768px) {
  .chat-btn {
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    right: 16px;
    width: 50px;
    height: 50px;
  }
  .chat-btn svg { width: 22px; height: 22px; }
  .chat-panel {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-height: 85vh;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
  }
  .chat-panel.open {
    transform: translateY(0);
  }
  .chat-body { max-height: 60vh; padding: 16px; }
  .chat-header { padding: 16px 20px; }
  .chat-contact-item { min-height: 48px; padding: 12px 14px; }
  .chat-form input,
  .chat-form textarea { padding: 12px 14px; font-size: 16px; }
}

@media (max-width: 480px) {
  .chat-panel { max-height: 90vh; }
  .chat-body { max-height: 65vh; }
}

/* -- Overlay -- */
.chat-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 997;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.chat-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ---- Hero Staggered Animations ---- */
.hero-eyebrow {
  opacity: 0;
  animation: heroFadeIn 0.8s 0.2s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}
.hero-title {
  opacity: 0;
  animation: heroFadeIn 0.8s 0.4s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}
.hero-subtitle {
  opacity: 0;
  animation: heroFadeIn 0.8s 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}
.hero-actions {
  opacity: 0;
  animation: heroFadeIn 0.8s 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}
