@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&family=Sarabun:wght@300;400;500;600;700&display=swap');

:root {
  /* Theme 3: Titanium Charcoal, Rose Copper & JT Ruby Crimson (European Automotive & Architectural Luxury) */
  --jt-titanium-deep: #0f1014;
  --jt-titanium: #16181d;
  --jt-titanium-mid: #1f2229;
  --jt-titanium-soft: #2a2e37;
  --jt-copper: #c68b59;
  --jt-copper-light: #e4b287;
  --jt-copper-deep: #9c6538;
  --jt-crimson: #9f121c;
  --jt-crimson-bright: #be1825;
  --jt-crimson-deep: #780b13;
  --jt-stone-bg: #f5f2ed;
  --jt-stone-alt: #ece7df;
  --jt-card-border: #dfd6ca;
  --jt-text-main: #1c1d21;
}

body {
  font-family: 'Sarabun', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--jt-text-main);
  background-color: var(--jt-stone-bg);
  background-image:
    radial-gradient(circle at 15% 0%, rgba(198, 139, 89, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(159, 18, 28, 0.05) 0%, transparent 40%);
  line-height: 1.72;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Prompt', sans-serif;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

/* ============================================================================
   LUXURY HEADER, BRAND LOCKUP & EXECUTIVE NAVIGATION BAR
   ============================================================================ */
html body header.sticky {
  background: rgba(252, 250, 247, 0.96) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1.5px solid rgba(198, 139, 89, 0.48) !important;
  box-shadow: 0 10px 30px -10px rgba(15, 16, 20, 0.10);
}

.jt-brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}

.jt-brand-title {
  font-family: 'Prompt', sans-serif;
  font-weight: 700;
  color: #14161b;
  font-size: 1.02rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

@media (min-width: 1280px) {
  .jt-brand-title {
    font-size: 1.125rem;
  }
}

.jt-brand-subtitle {
  font-family: 'Prompt', sans-serif;
  font-weight: 500;
  font-size: 0.68rem;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: #7c5836;
  white-space: nowrap;
  margin-top: 2px;
}

.jt-nav-bar {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1280px) {
  .jt-nav-bar {
    gap: 0.5rem;
  }
}

.jt-nav-link {
  font-family: 'Prompt', sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  color: #262930;
  white-space: nowrap;
  padding: 0.45rem 0.65rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  position: relative;
}

.jt-nav-link:hover {
  color: var(--jt-crimson) !important;
  background-color: rgba(198, 139, 89, 0.12);
}

.jt-nav-cta {
  font-family: 'Prompt', sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0.6rem 1.1rem;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, #9f121c 0%, #7f0d15 55%, #a84232 100%) !important;
  border: 1px solid rgba(228, 178, 135, 0.55) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px -4px rgba(159, 18, 28, 0.38);
  transition: all 0.22s ease;
  margin-left: 0.35rem;
}

.jt-nav-cta:hover {
  background: linear-gradient(135deg, #b81722 0%, #8e111a 50%, #c68b59 100%) !important;
  border-color: rgba(228, 178, 135, 0.85) !important;
  box-shadow: 0 10px 24px -4px rgba(198, 139, 89, 0.48);
  transform: translateY(-1px);
}

/* Top SLA Bar & Dark Titanium Sections */
html body .bg-slate-900 {
  background: linear-gradient(135deg, #111216 0%, #191b22 55%, #14151a 100%) !important;
}

html body .bg-slate-800,
html body .bg-slate-800\/90,
html body .bg-slate-800\/80 {
  background: linear-gradient(145deg, rgba(31, 34, 41, 0.95) 0%, rgba(22, 24, 30, 0.96) 100%) !important;
  border-color: rgba(198, 139, 89, 0.28) !important;
}

/* Hero Section Titanium Charcoal + Rose Copper & Ruby Ambient Glow */
html body main > section.bg-gradient-to-b.from-slate-900 {
  background:
    radial-gradient(circle at 82% 18%, rgba(198, 139, 89, 0.20) 0%, transparent 42%),
    radial-gradient(circle at 16% 80%, rgba(159, 18, 28, 0.22) 0%, transparent 48%),
    linear-gradient(135deg, #0e0f13 0%, #171920 52%, #1f1b1c 100%) !important;
  border-bottom: 2px solid rgba(198, 139, 89, 0.45);
}

/* ============================================================================
   ROSE COPPER & JT RUBY CRIMSON ACCENT REMAPPING
   ============================================================================ */
/* Primary CTA Buttons: JT Ruby Crimson + Rose Copper Luxury Sheen */
html body .bg-blue-700,
html body .bg-blue-600 {
  background: linear-gradient(135deg, #9f121c 0%, #7f0d15 55%, #a84232 100%) !important;
  border: 1px solid rgba(228, 178, 135, 0.42) !important;
  box-shadow: 0 6px 20px -4px rgba(159, 18, 28, 0.38);
  color: #ffffff !important;
}

html body .bg-blue-700:hover,
html body .bg-blue-600:hover,
html body .hover\:bg-blue-800:hover,
html body .hover\:bg-blue-700:hover,
html body .hover\:bg-blue-500:hover {
  background: linear-gradient(135deg, #b81722 0%, #8e111a 50%, #c68b59 100%) !important;
  border-color: rgba(228, 178, 135, 0.75) !important;
  box-shadow: 0 10px 26px -4px rgba(198, 139, 89, 0.45);
}

/* Dark Card CTA buttons (bg-slate-900 inside white cards) */
html body article .bg-slate-900 {
  background: linear-gradient(135deg, #181a20 0%, #262932 100%) !important;
  border: 1px solid rgba(198, 139, 89, 0.45);
}

html body article .bg-slate-900:hover {
  background: linear-gradient(135deg, #9f121c 0%, #b86b3e 100%) !important;
  border-color: #e4b287;
}

/* Accent Text Colors: Sky/Blue -> Rose Copper & Ruby Crimson */
html body .text-sky-400,
html body .text-blue-300,
html body .text-sky-300 {
  color: var(--jt-copper-light) !important;
}

html body .text-blue-700,
html body .text-blue-800,
html body .hover\:text-blue-700:hover {
  color: var(--jt-crimson) !important;
}

html body .text-blue-900 {
  color: #6b141a !important;
}

/* Borders & Badges */
html body .border-sky-400,
html body .border-blue-600,
html body .border-blue-500 {
  border-color: var(--jt-copper) !important;
}

html body .bg-blue-500\/20 {
  background-color: rgba(198, 139, 89, 0.16) !important;
  border-color: rgba(228, 178, 135, 0.42) !important;
}

html body .bg-blue-100 {
  background-color: #f7ebe1 !important;
  color: #7c2d12 !important;
  border: 1px solid rgba(198, 139, 89, 0.35);
}

html body .bg-blue-50\/70,
html body .bg-blue-50\/60,
html body .bg-blue-50 {
  background-color: #faf4ee !important;
  border-color: #e6d3c1 !important;
}

/* Light Section Backgrounds */
html body .bg-slate-100 {
  background-color: var(--jt-stone-alt) !important;
}

html body .bg-slate-50 {
  background-color: #faf8f5 !important;
}

/* Cards & Containers Luxury Border & Elevation */
html body article.bg-white,
html body article.bg-slate-50,
html body section.bg-white {
  border-color: var(--jt-card-border) !important;
  box-shadow: 0 10px 30px -10px rgba(20, 18, 15, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

html body article.bg-white:hover,
html body article.bg-slate-50:hover {
  border-color: var(--jt-copper) !important;
  box-shadow: 0 18px 38px -12px rgba(159, 18, 28, 0.14), 0 0 0 1px rgba(198, 139, 89, 0.30);
}

/* ============================================================================
   AI ANSWER BOX (Rose Copper & Warm Ivory Executive Callout)
   ============================================================================ */
.ai-answer-box {
  background: linear-gradient(135deg, #fdfaf6 0%, #f7efe6 100%);
  border-left: 5px solid var(--jt-crimson);
  border-top: 1px solid rgba(198, 139, 89, 0.35);
  border-right: 1px solid rgba(198, 139, 89, 0.35);
  border-bottom: 1px solid rgba(198, 139, 89, 0.35);
  box-shadow: 0 8px 26px -4px rgba(159, 18, 28, 0.08);
}

/* ============================================================================
   SPECIFICATION TABLES (Titanium Charcoal Header + Rose Copper Accent)
   ============================================================================ */
.geo-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.geo-table th {
  background: linear-gradient(135deg, #15171c 0%, #23262f 100%);
  color: var(--jt-copper-light);
  font-family: 'Prompt', sans-serif;
  font-weight: 600;
  text-align: left;
  padding: 14px 18px;
  border-bottom: 2px solid var(--jt-copper);
}

.geo-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #e7dfd5;
  vertical-align: top;
}

.geo-table tr:nth-child(even) td {
  background-color: #fbf9f6;
}

.geo-table tr:hover td {
  background-color: #f7efe6;
}

/* Installation Tier Tabs */
.tier-tab.active {
  background: linear-gradient(135deg, #9f121c 0%, #b86b3e 100%);
  color: #ffffff;
  border-color: var(--jt-copper-light);
  box-shadow: 0 4px 14px rgba(159, 18, 28, 0.28);
}

/* Diagram Connector Lines */
.step-card {
  position: relative;
}

/* Print optimization for engineering spec sheets */
@media print {
  .no-print {
    display: none !important;
  }
  body {
    background: #fff;
  }
}

/* ============================================================================
   AI & 3D ENGINEERING SHOWCASE FIGURES (Titanium Frame + Rose Copper Trim)
   ============================================================================ */
.jt-figure {
  margin: 0;
  background: var(--jt-titanium);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(198, 139, 89, 0.45);
  box-shadow: 0 14px 30px -6px rgba(15, 16, 20, 0.22);
}

.jt-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.jt-figure figcaption {
  padding: 0.9rem 1.25rem;
  background: linear-gradient(180deg, #16181e 0%, #111217 100%);
  color: #ece7e1;
  font-size: 0.875rem;
  line-height: 1.55;
  border-top: 1px solid rgba(198, 139, 89, 0.35);
}

.jt-card-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(198, 139, 89, 0.32);
}
