:root {
  --obsidian: #070a12;
  --ink: #0c1222;
  --midnight: #071f3d;
  --navy: #092b52;
  --royal: #0f3a6f;
  --gold: #c9993a;
  --gold-soft: #edd08a;
  --ivory: #f8f3e6;
  --paper: #fffaf0;
  --mist: #d8dfeb;
  --muted: #8792a4;
  --line: rgba(237, 208, 138, 0.22);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ivory);
  background: var(--obsidian);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.site-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 70% 10%, rgba(201, 153, 58, 0.18), transparent 28rem),
    radial-gradient(circle at 12% 18%, rgba(15, 58, 111, 0.42), transparent 26rem),
    linear-gradient(180deg, #070a12 0%, #08111f 44%, #070a12 100%);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(237, 208, 138, 0.16);
  background: rgba(7, 10, 18, 0.78);
  backdrop-filter: blur(18px);
}
.nav-inner {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 245px;
}
.brand-logo {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: #ffffff; /* Clean white background matching the logo file */
  border: 1.5px solid rgba(237, 208, 138, 0.6); /* Gold frame */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; padding: 2px; }
.brand-word {
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.05;
}
.brand-word span {
  display: block;
  margin-top: 5px;
  color: var(--gold-soft);
  font-size: 11px;
  letter-spacing: 0.2em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links a {
  color: rgba(248, 243, 230, 0.72);
  text-decoration: none;
  padding: 28px 0;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-soft); }
.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--obsidian) !important;
  padding: 12px 18px !important;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(201, 153, 58, 0.2);
}

.page {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}
.hero {
  padding: clamp(74px, 9vw, 132px) 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
}
.eyebrow {
  color: var(--gold-soft);
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.93;
  letter-spacing: -0.025em;
}
h1 .gold, h2 .gold { color: var(--gold-soft); }
.hero-copy {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgba(248, 243, 230, 0.72);
  font-size: clamp(17px, 2vw, 21px);
}
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 13px 20px;
  color: var(--ivory);
  background: rgba(255,255,255,0.06);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
}
.button.primary {
  border: 0;
  color: var(--obsidian);
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
}
.button:hover { transform: translateY(-1px); }

.comet-panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04)),
    radial-gradient(circle at 74% 18%, rgba(237,208,138,0.28), transparent 16rem);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.browser-top {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.dot { width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,0.28); }
.search-pill {
  margin-left: 10px;
  flex: 1;
  height: 34px;
  border-radius: 999px;
  background: rgba(7,10,18,0.42);
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: rgba(248,243,230,0.55);
  font-size: 13px;
}
.panel-body { padding: 22px; }
.prompt-card {
  border: 1px solid rgba(237, 208, 138, 0.24);
  border-radius: 22px;
  padding: 22px;
  background: rgba(7,10,18,0.42);
}
.prompt-card strong { color: var(--gold-soft); display: block; margin-bottom: 12px; }
.prompt-card p { color: rgba(248,243,230,0.72); margin-bottom: 18px; }
.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mini-card {
  min-height: 110px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,0.05);
}
.mini-card b { display: block; color: #fff; margin-bottom: 7px; }
.mini-card span { color: rgba(248,243,230,0.58); font-size: 13px; }

.section { padding: clamp(62px, 8vw, 112px) 0; }
.section-head { max-width: 780px; margin-bottom: 34px; }
h2 {
  color: #fff;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.lead { color: rgba(248,243,230,0.68); font-size: 17px; max-width: 780px; }

.feature-grid,
.product-grid,
.team-grid,
.process-grid {
  display: grid;
  gap: 18px;
}
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.process-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.card,
.product-card,
.team-card,
.process-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,0.055);
  box-shadow: 0 22px 70px rgba(0,0,0,0.16);
}
.card { padding: 26px; }
.card h3, .team-card h3, .process-card h3 { color: #fff; margin-bottom: 10px; }
.card p, .team-card p, .process-card p { color: rgba(248,243,230,0.64); margin-bottom: 0; }

.product-card {
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  color: inherit;
  padding: 0;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(237,208,138,0.62);
  outline: none;
}
.product-image {
  aspect-ratio: 1.25;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--line);
}
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 20px; }
.product-body h3 { color: #fff; margin-bottom: 7px; font-size: 21px; }
.product-body p { color: rgba(248,243,230,0.64); font-size: 14px; margin-bottom: 16px; }
.product-meta {
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-card { overflow: hidden; }
.team-top {
  min-height: 148px;
  padding: 20px;
  display: flex;
  align-items: end;
  background: linear-gradient(135deg, var(--navy), #0b1728);
}
.avatar {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--obsidian);
  font-size: 24px;
  font-weight: 950;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  border: 4px solid rgba(255,255,255,0.78);
}
.team-body { padding: 24px; }
.role {
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.title { color: rgba(248,243,230,0.82); font-weight: 800; margin-bottom: 12px; }
.associate { margin-top: 18px; display: grid; grid-template-columns: 280px 1fr; }
.associate .team-top { min-height: 100%; }

.process-card { padding: 22px; min-height: 220px; }
.step { color: var(--gold-soft); font-size: 32px; font-weight: 950; margin-bottom: 18px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(32px, 6vw, 86px);
}
.contact-list { display: grid; gap: 14px; margin-top: 28px; }
.contact-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--gold-soft);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  font-weight: 950;
}
.contact-row strong { color: var(--gold-soft); display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-row span { color: rgba(248,243,230,0.72); }
.contact-card { padding: clamp(24px, 4vw, 38px); }
label {
  display: block;
  color: var(--gold-soft);
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(237, 208, 138, 0.24);
  border-radius: 14px;
  background: rgba(7,10,18,0.5);
  color: #fff;
  font: inherit;
  padding: 14px 15px;
  margin-bottom: 16px;
}
select option { color: var(--ink); }
textarea { min-height: 138px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,0.72);
}
.modal.open { display: flex; }
.modal-dialog {
  width: min(980px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #09101d;
  box-shadow: var(--shadow);
}
.modal-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
}
.modal-image { min-height: 430px; background: rgba(255,255,255,0.04); }
.modal-image img { width: 100%; height: 100%; object-fit: cover; }
.modal-content { padding: clamp(24px, 4vw, 42px); }
.modal-close {
  float: right;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
}
.detail-list { display: grid; gap: 12px; margin: 22px 0; }
.detail-list div {
  border: 1px solid rgba(237,208,138,0.16);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255,255,255,0.04);
}
.detail-list strong { color: var(--gold-soft); display: block; margin-bottom: 4px; }
.detail-list span { color: rgba(248,243,230,0.72); }

.footer {
  border-top: 1px solid rgba(237,208,138,0.16);
  background: rgba(0,0,0,0.3);
  padding: 30px 0;
}
.footer-inner {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(248,243,230,0.58);
  font-size: 14px;
}
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: rgba(248,243,230,0.64); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
  .nav-inner { align-items: flex-start; padding: 16px 0; }
  .nav-links { justify-content: flex-end; flex-wrap: wrap; }
  .nav-links a { padding: 7px 0; }
  .hero, .split { grid-template-columns: 1fr; }
  .feature-grid, .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .associate, .modal-grid { grid-template-columns: 1fr; }
  .associate .team-top { min-height: 148px; }
  .modal-image { min-height: 320px; }
}

@media (max-width: 680px) {
  .nav-inner { display: block; }
  .brand { margin-bottom: 18px; min-width: 0; }
  .nav-links { justify-content: flex-start; gap: 10px 16px; font-size: 11px; }
  .page, .nav-inner, .footer-inner { width: min(100% - 28px, 1240px); }
  h1 { font-size: clamp(42px, 15vw, 70px); }
  .mini-grid, .feature-grid, .product-grid, .team-grid, .process-grid, .form-grid { grid-template-columns: 1fr; }
  .comet-panel { border-radius: 22px; }
  .product-image { aspect-ratio: 1.35; }
}

/* ==========================================================================
   ENHANCED INTERACTIVE VISUALS: 3D ROTATION, BUSINESS MARGINS, AND CHATBOT
   ========================================================================== */

/* 3D Rotating Spice Disk */
.modal-image-container {
  perspective: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 380px;
  padding: 30px;
  background: radial-gradient(circle at center, rgba(237, 208, 138, 0.12) 0%, transparent 75%);
  border-right: 1px solid var(--line);
}
.rotating-spice-disk {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid var(--gold);
  box-shadow: 
    0 12px 36px rgba(0,0,0,0.6),
    0 0 25px rgba(237, 208, 138, 0.25);
  overflow: hidden;
  animation: slow3DSpiceRotate 15s linear infinite;
  transform-style: preserve-3d;
  background: var(--ink);
  transition: transform 0.3s ease;
}
.rotating-spice-disk:hover {
  animation-play-state: paused;
  transform: scale(1.05) rotateY(180deg);
  box-shadow: 
    0 16px 44px rgba(0,0,0,0.7),
    0 0 35px rgba(237, 208, 138, 0.4);
}
.rotating-spice-disk img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rotate-tip {
  margin-top: 18px;
  color: var(--gold-soft);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.8;
}

@keyframes slow3DSpiceRotate {
  0% { transform: rotateY(0deg) rotateZ(0deg); }
  50% { transform: rotateY(180deg) rotateZ(3deg); }
  100% { transform: rotateY(360deg) rotateZ(0deg); }
}

/* Modal Layout Adjustments */
.modal-grid {
  grid-template-columns: 0.85fr 1.15fr !important;
}

/* Business Margins Calculator Panel */
.modal-business-section {
  margin-top: 24px;
  border-top: 1px dashed var(--line);
  padding-top: 22px;
}
.modal-calc-card {
  background: rgba(7, 10, 18, 0.55);
  border: 1.5px solid rgba(237, 208, 138, 0.24);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.modal-calc-header {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 900;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(237, 208, 138, 0.15);
  padding-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  color: rgba(248, 243, 230, 0.8);
}
.modal-calc-row.highlight {
  background: rgba(237, 208, 138, 0.06);
  padding: 8px 12px;
  border-radius: 8px;
  margin: 4px 0;
  border: 1px solid rgba(237, 208, 138, 0.1);
}
.modal-calc-row.profit {
  border-top: 1px solid rgba(237, 208, 138, 0.25);
  padding-top: 12px;
  margin-top: 10px;
}
.modal-calc-row strong {
  color: #fff;
}
.calc-label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.calc-badge {
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.calc-badge.inr {
  background: rgba(255, 165, 0, 0.15);
  color: #ffa500;
  border: 1px solid rgba(255, 165, 0, 0.3);
}
.calc-badge.usd {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
}
.margin-percent {
  font-size: 16px;
  color: #4ade80 !important;
  font-weight: 950;
  background: rgba(74, 222, 128, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(74, 222, 128, 0.2);
}
.fcl-profit-badge {
  font-size: 15px;
  font-weight: 900;
  color: var(--gold-soft);
  text-align: right;
  line-height: 1.35;
}
.fcl-profit-badge span {
  display: block;
  font-size: 11px;
  color: rgba(248, 243, 230, 0.5);
  font-weight: 400;
}

/* Dynamic Interactive Chatbot (Dhara) */
.chat-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 
    0 8px 30px rgba(201, 153, 58, 0.4),
    inset 0 2px 4px rgba(255,255,255,0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: chatPulse 2.5s infinite;
}
.chat-trigger:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(201, 153, 58, 0.6);
}
@keyframes chatPulse {
  0% { box-shadow: 0 8px 30px rgba(201, 153, 58, 0.4); }
  50% { box-shadow: 0 8px 45px rgba(201, 153, 58, 0.7); }
  100% { box-shadow: 0 8px 30px rgba(201, 153, 58, 0.4); }
}

.chat-window {
  position: fixed;
  bottom: 96px;
  right: 24px;
  z-index: 1000;
  width: 370px;
  height: 520px;
  max-height: calc(100vh - 140px);
  background: #09101d;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}
.chat-window.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}
.chat-header {
  background: var(--navy);
  padding: 14px 20px;
  border-bottom: 1.5px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.chat-avatar img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}
.chat-title-info {
  line-height: 1.25;
}
.chat-title {
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.05em;
}
.chat-status {
  color: #4ade80;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.chat-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
}
.chat-close-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
}
.chat-close-btn:hover {
  color: #fff;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  background: rgba(7, 10, 18, 0.45);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-bubble {
  max-width: 82%;
  padding: 11px 14px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.5;
  animation: bubbleScale 0.25s ease-out forwards;
}
@keyframes bubbleScale {
  from { opacity: 0; transform: scale(0.92) translateY(5px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.chat-bubble.bot {
  align-self: flex-start;
  background: var(--navy);
  color: rgba(248, 243, 230, 0.95);
  border: 1px solid rgba(237, 208, 138, 0.12);
  border-bottom-left-radius: 4px;
}
.chat-bubble.bot a {
  color: var(--gold-soft);
  text-decoration: underline;
  cursor: pointer;
}
.chat-bubble.user {
  align-self: flex-end;
  background: var(--gold);
  color: var(--obsidian);
  font-weight: 500;
  border-bottom-right-radius: 4px;
}
.chat-suggestions {
  padding: 10px 14px;
  background: rgba(7, 10, 18, 0.6);
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chat-pill {
  font-size: 11px;
  padding: 5px 11px;
  border-radius: 20px;
  background: var(--navy);
  border: 1px solid rgba(237, 208, 138, 0.22);
  color: var(--gold-soft);
  cursor: pointer;
  transition: all 0.2s ease;
}
.chat-pill:hover {
  background: var(--gold);
  color: var(--obsidian);
  border-color: var(--gold);
}
.chat-input-row {
  padding: 12px 16px;
  border-top: 1.5px solid var(--line);
  background: #070c16;
  display: flex;
  gap: 10px;
}
.chat-field {
  flex: 1;
  height: 38px;
  padding: 8px 14px;
  font-size: 13px;
  border: 1px solid rgba(237, 208, 138, 0.24);
  border-radius: 12px;
  background: rgba(7, 10, 18, 0.6);
  color: #fff;
  margin-bottom: 0;
}
.chat-field:focus {
  outline: none;
  border-color: var(--gold);
}
.chat-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--obsidian);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
}
.chat-send-btn:hover {
  transform: translateY(-1px);
}
.chat-typing {
  align-self: flex-start;
  background: var(--navy);
  border: 1px solid rgba(237, 208, 138, 0.12);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  padding: 10px 15px;
  display: flex;
  gap: 4px;
}
.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(248, 243, 230, 0.6);
  animation: typingDot 1.2s infinite ease-in-out;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Responsive Overrides */
@media (max-width: 1020px) {
  .modal-grid {
    grid-template-columns: 1fr !important;
  }
  .modal-image-container {
    border-right: none;
    border-bottom: 1px solid var(--line);
    min-height: 280px;
    padding: 20px;
  }
  .rotating-spice-disk {
    width: 160px;
    height: 160px;
  }
}
@media (max-width: 480px) {
  .chat-window {
    width: min(calc(100vw - 32px), 370px);
    right: 16px;
    bottom: 84px;
  }
  .chat-trigger {
    right: 16px;
    bottom: 16px;
  }
}

