/* ============================================
   Jagat Impex — Global Stylesheet (v2)
   Modern IT-company dark theme
   ============================================ */

:root {
  --bg-950: #050810;
  --bg-900: #070b16;
  --bg-800: #0b1222;
  --bg-700: #101a30;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-hi: rgba(255, 255, 255, 0.18);
  --text-hi: #f2f6ff;
  --text-mid: #a9b4cf;
  --text-low: #67748f;
  --cyan: #38e1ff;
  --blue: #4f7cff;
  --violet: #8b5cf6;
  --grad: linear-gradient(115deg, #38e1ff, #4f7cff 52%, #8b5cf6);
  --grad-soft: linear-gradient(115deg, rgba(56, 225, 255, 0.14), rgba(79, 124, 255, 0.14) 52%, rgba(139, 92, 246, 0.14));
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-glow: 0 0 44px rgba(79, 124, 255, 0.24);
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --container: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-mid);
  background: var(--bg-900);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Deter casual copying — form fields and chat stay selectable below */
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

input, textarea, select,
.chat-panel, .chat-panel * {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

img { max-width: 100%; display: block; }

a { color: var(--cyan); text-decoration: none; }

::selection { background: rgba(79, 124, 255, 0.45); color: #fff; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  color: var(--text-hi);
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.5rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.28rem; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

.section-intro {
  max-width: 660px;
  color: var(--text-mid);
  font-size: 1.06rem;
  margin-top: 16px;
}

.section { padding: 104px 0; position: relative; }
.section.alt { background: var(--bg-800); }

.section-head { margin-bottom: 56px; }
.section-head.centered { text-align: center; }
.section-head.centered .eyebrow { justify-content: center; }
.section-head.centered .section-intro { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  font-family: var(--font-body);
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-3px); }

.btn-primary {
  background: var(--grad);
  color: #061024;
  font-weight: 700;
  box-shadow: 0 10px 34px rgba(79, 124, 255, 0.4);
}

.btn-primary:hover { box-shadow: 0 16px 44px rgba(79, 124, 255, 0.55); }

.btn-ghost {
  border-color: var(--border-hi);
  color: var(--text-hi);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover { border-color: var(--cyan); background: rgba(56, 225, 255, 0.07); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(7, 11, 22, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

.site-header.scrolled { background: rgba(7, 11, 22, 0.92); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  height: 80px;
}

.brand { display: flex; align-items: center; gap: 13px; margin-right: auto; }

.nav-links { order: 2; }
.theme-toggle { order: 3; }
.nav-toggle { order: 4; }

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-hi);
  background: var(--surface);
  color: var(--text-hi);
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover {
  border-color: var(--cyan);
  background: rgba(56, 225, 255, 0.08);
  transform: rotate(15deg);
}

/* Dark mode shows the sun (click for light); light mode shows the moon */
.theme-toggle .icon-moon { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun { display: none; }
html[data-theme="light"] .theme-toggle .icon-moon { display: block; }

.brand-mark {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #eef0f5;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(79, 124, 255, 0.35);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--text-hi);
  line-height: 1.1;
  display: block;
}

.brand-tag {
  display: block;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-low);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-mid);
  transition: color 0.2s ease;
  padding: 6px 0;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: width 0.28s ease;
}

.nav-links a:hover, .nav-links a.active { color: var(--text-hi); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--grad);
  color: #061024 !important;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700 !important;
  box-shadow: 0 6px 22px rgba(79, 124, 255, 0.35);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(79, 124, 255, 0.5); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 210;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2.5px;
  background: var(--text-hi);
  margin: 5.5px 0;
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

/* ---------- Ambient orbs & grid ---------- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  animation: drift 14s ease-in-out infinite alternate;
}

.orb-cyan { background: rgba(56, 225, 255, 0.28); }
.orb-blue { background: rgba(79, 124, 255, 0.3); }
.orb-violet { background: rgba(139, 92, 246, 0.3); }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(36px, -30px) scale(1.12); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 100% 65% at 50% -12%, #14224a 0%, var(--bg-900) 62%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 120px 0 96px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-hi);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 26px;
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34e39b;
  box-shadow: 0 0 12px #34e39b;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero p.lede {
  margin-top: 24px;
  font-size: 1.14rem;
  color: var(--text-mid);
  max-width: 560px;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-metrics {
  margin-top: 54px;
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
}

.hero-metric .num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-hi);
}

.hero-metric .num em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-metric .label {
  font-size: 0.82rem;
  color: var(--text-low);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Hero visual — floating glass cards */
.hero-visual {
  position: relative;
  min-height: 460px;
  display: none;
}

@media (min-width: 961px) {
  .hero-visual { display: block; }
}

.glass-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-md);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 20px 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  animation: floaty 6s ease-in-out infinite;
}

.glass-card .gc-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-hi);
  font-size: 0.95rem;
}

.glass-card .gc-sub {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--text-low);
}

.gc-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  color: var(--cyan);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.gc-1 { top: 6%; left: 4%; animation-delay: 0s; }
.gc-2 { top: 34%; right: 0; animation-delay: 1.6s; }
.gc-3 { bottom: 12%; left: 12%; animation-delay: 3.2s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.hero-ring {
  position: absolute;
  top: 50%;
  left: 55%;
  width: 380px;
  height: 380px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  animation: spin 40s linear infinite;
}

.hero-ring::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 18px rgba(79, 124, 255, 0.9);
}

@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-800);
  overflow: hidden;
  padding: 18px 0;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: scroll 34s linear infinite;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-low);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee span::before {
  content: "◆";
  font-size: 0.6rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 100% 90% at 50% -20%, #14224a 0%, var(--bg-900) 68%);
  padding: 96px 0 88px;
}

.page-hero .container { position: relative; z-index: 2; }

.page-hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); }

.page-hero p {
  margin-top: 18px;
  max-width: 640px;
  color: var(--text-mid);
  font-size: 1.08rem;
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(79, 124, 255, 0.12), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-7px);
  border-color: var(--border-hi);
  background: var(--surface-2);
  box-shadow: var(--shadow-glow);
}

.card:hover::before { opacity: 1; }

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  color: var(--cyan);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}

.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-mid); font-size: 0.97rem; }

.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--cyan);
  transition: gap 0.2s ease;
}

.card .card-link:hover { gap: 12px; }

/* ---------- Stats band ---------- */
.stats-band {
  position: relative;
  background: var(--bg-800);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
  overflow: hidden;
}

.stat { text-align: center; padding: 10px; position: relative; z-index: 1; }

.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.4vw, 3.3rem);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat .label {
  margin-top: 6px;
  font-size: 0.86rem;
  color: var(--text-low);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Split rows ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.split .visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  background:
    radial-gradient(ellipse 90% 80% at 20% 15%, rgba(56, 225, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 90% 80% at 85% 90%, rgba(139, 92, 246, 0.16), transparent 55%),
    var(--bg-700);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
}

.visual-emblem {
  width: 138px;
  height: 138px;
  border-radius: 36px;
  background: var(--grad);
  color: #061024;
  display: grid;
  place-items: center;
  box-shadow: 0 20px 60px rgba(79, 124, 255, 0.5);
  animation: floaty 6s ease-in-out infinite;
}

.check-list {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.check-list li {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  color: var(--text-mid);
}

.check-list li strong { color: var(--text-hi); }

.check-list .tick {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  color: var(--cyan);
  display: grid;
  place-items: center;
  margin-top: 3px;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; }

.step {
  position: relative;
  padding: 32px 28px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

.step:hover {
  transform: translateY(-6px);
  border-color: var(--border-hi);
  box-shadow: var(--shadow-glow);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.85;
  display: block;
  margin-bottom: 12px;
}

.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { font-size: 0.93rem; color: var(--text-mid); }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 65% 120% at 8% 0%, rgba(56, 225, 255, 0.16), transparent 55%),
    radial-gradient(ellipse 65% 120% at 95% 100%, rgba(139, 92, 246, 0.2), transparent 55%),
    var(--bg-700);
  border: 1px solid var(--border-hi);
  border-radius: 28px;
  padding: 76px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-banner h2 { max-width: 540px; }

.cta-banner p {
  color: var(--text-mid);
  margin-top: 14px;
  max-width: 480px;
}

/* ---------- Values ---------- */
.value-chip {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 28px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.value-chip:hover {
  transform: translateY(-5px);
  border-color: var(--border-hi);
  box-shadow: var(--shadow-glow);
}

.value-chip h3 {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 9px;
}

.value-chip h3 svg { color: var(--cyan); flex-shrink: 0; }
.value-chip p { font-size: 0.93rem; color: var(--text-mid); }

/* ---------- Founder ---------- */
.founder-card {
  display: flex;
  gap: 30px;
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 42px;
  border: 1px solid var(--border-hi);
  position: relative;
  overflow: hidden;
}

.founder-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad);
}

.founder-avatar {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 28px;
  background: var(--grad);
  color: #061024;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  box-shadow: 0 14px 40px rgba(79, 124, 255, 0.45);
}

.founder-card blockquote {
  font-style: italic;
  color: var(--text-mid);
  font-size: 1.04rem;
}

.founder-card cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-weight: 700;
  color: var(--text-hi);
  font-family: var(--font-display);
}

.founder-card cite span {
  display: block;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-low);
  font-family: var(--font-body);
}

/* ---------- Service rows ---------- */
.service-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 32px;
  padding: 46px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.service-row:last-child { border-bottom: none; }

.service-row .card-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 0;
}

.service-row h3 { font-size: 1.5rem; margin-bottom: 12px; }
.service-row p { color: var(--text-mid); max-width: 740px; }

.service-row ul {
  margin-top: 16px;
  list-style: none;
  display: grid;
  gap: 9px;
  font-size: 0.96rem;
  color: var(--text-mid);
}

.service-row ul li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.service-row ul li::before {
  content: "▸";
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  margin-top: -1px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 52px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  margin-bottom: 16px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.contact-item:hover { border-color: var(--border-hi); transform: translateX(5px); }

.contact-item .card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 0;
  border-radius: 13px;
  flex-shrink: 0;
}

.contact-item h3 { font-size: 1.02rem; margin-bottom: 3px; }
.contact-item p { color: var(--text-mid); font-size: 0.95rem; }
.contact-item a { color: var(--cyan); font-weight: 600; }
.contact-item a:hover { text-decoration: underline; }

.contact-form {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hi);
  padding: 42px;
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.86rem;
  margin-bottom: 8px;
  color: var(--text-hi);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-hi);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--text-hi);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-low); }

.form-group select option { background: var(--bg-800); color: var(--text-hi); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(79, 124, 255, 0.18);
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 15px 18px;
  border-radius: 12px;
  font-size: 0.93rem;
  font-weight: 500;
}

.form-status.success {
  display: block;
  background: rgba(52, 227, 155, 0.1);
  border: 1px solid rgba(52, 227, 155, 0.4);
  color: #6ff0ba;
}

.form-status.error {
  display: block;
  background: rgba(255, 92, 92, 0.1);
  border: 1px solid rgba(255, 92, 92, 0.4);
  color: #ff9d9d;
}

.map-frame {
  width: 100%;
  height: 400px;
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
  filter: grayscale(0.2) contrast(1.02);
  position: relative;
  z-index: 1;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-950);
  border-top: 1px solid var(--border);
  color: var(--text-mid);
  padding: 76px 0 0;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 56px;
  position: relative;
  z-index: 1;
}

.site-footer h4 {
  color: var(--text-hi);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.site-footer ul { list-style: none; display: grid; gap: 11px; }

.site-footer li { font-size: 0.95rem; }

.site-footer a {
  color: var(--text-mid);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.site-footer a:hover { color: var(--cyan); }

.footer-brand p {
  font-size: 0.95rem;
  margin-top: 18px;
  max-width: 310px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  font-size: 0.85rem;
  color: var(--text-low);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ---------- Cursor effects ---------- */
.cursor-glow,
.cursor-ring,
.cursor-dot,
.spark {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
}

.cursor-glow {
  width: 440px;
  height: 440px;
  margin: -220px 0 0 -220px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(79, 124, 255, 0.14) 0%,
    rgba(56, 225, 255, 0.07) 34%,
    transparent 68%);
  mix-blend-mode: screen;
  z-index: 1;
}

.cursor-dot {
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(79, 124, 255, 0.9);
}

.cursor-ring {
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border-radius: 50%;
  border: 1.5px solid rgba(56, 225, 255, 0.55);
  transition: width 0.25s ease, height 0.25s ease, margin 0.25s ease,
    border-color 0.25s ease, background 0.25s ease;
}

.cursor-ring.hovering {
  width: 62px;
  height: 62px;
  margin: -31px 0 0 -31px;
  border-color: rgba(139, 92, 246, 0.75);
  background: rgba(79, 124, 255, 0.08);
}

.spark {
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: var(--grad);
  animation: spark-fade 0.75s ease-out forwards;
}

@keyframes spark-fade {
  0% { opacity: 0.9; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--sx, 0), var(--sy, 18px)) scale(0.1); }
}

@media (pointer: coarse) {
  .cursor-glow, .cursor-ring, .cursor-dot, .spark { display: none !important; }
}

/* Soft tap ripple for phones / tablets */
.tap-ripple {
  position: fixed;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  background: radial-gradient(circle, rgba(79, 124, 255, 0.45) 0%, rgba(56, 225, 255, 0.2) 40%, transparent 70%);
  animation: tap-burst 0.65s ease-out forwards;
}

@keyframes tap-burst {
  0% { transform: scale(0.4); opacity: 0.9; }
  100% { transform: scale(6); opacity: 0; }
}

/* ---------- Owner journey timeline ---------- */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, #38e1ff, #4f7cff 52%, #8b5cf6);
  opacity: 0.5;
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding: 0 0 34px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-900);
  border: 3px solid var(--blue);
  box-shadow: 0 0 14px rgba(79, 124, 255, 0.7);
}

.timeline-item .tl-year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.06em;
}

.timeline-item h3 { font-size: 1.12rem; margin: 4px 0 6px; }
.timeline-item p { color: var(--text-mid); font-size: 0.96rem; max-width: 640px; }

/* ---------- Chat widget ---------- */
.chat-fab {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 500;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--grad);
  color: #061024;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 36px rgba(79, 124, 255, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.chat-fab:hover { transform: scale(1.08); box-shadow: 0 16px 44px rgba(79, 124, 255, 0.65); }

.chat-fab::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(79, 124, 255, 0.5);
  animation: fab-pulse 2.4s ease-out infinite;
}

@keyframes fab-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.45); opacity: 0; }
}

.chat-fab .icon-close { display: none; }
.chat-fab.open .icon-chat { display: none; }
.chat-fab.open .icon-close { display: block; }
.chat-fab.open::after { display: none; }

.chat-panel {
  position: fixed;
  bottom: 104px;
  right: 26px;
  z-index: 500;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 540px;
  max-height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
  background: rgba(11, 18, 34, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-hi);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.chat-panel.open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 20px;
  background: var(--grad-soft);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #eef0f5;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}

.chat-head-info h3 {
  font-size: 1rem;
  line-height: 1.2;
}

.chat-head-info p {
  font-size: 0.76rem;
  color: var(--text-low);
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-head-info .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34e39b;
  box-shadow: 0 0 8px #34e39b;
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.18) transparent;
}

.chat-msg {
  max-width: 82%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.55;
  animation: msg-in 0.3s ease;
  white-space: pre-line;
  word-wrap: break-word;
}

@keyframes msg-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.chat-msg.bot {
  align-self: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-mid);
  border-bottom-left-radius: 5px;
}

.chat-msg.bot a { color: var(--cyan); font-weight: 600; }

.chat-msg.user {
  align-self: flex-end;
  background: var(--grad);
  color: #061024;
  font-weight: 500;
  border-bottom-right-radius: 5px;
}

.chat-msg.typing {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 14px 16px;
}

.chat-msg.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-low);
  animation: typing-bounce 1.2s ease-in-out infinite;
}

.chat-msg.typing i:nth-child(2) { animation-delay: 0.15s; }
.chat-msg.typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 12px;
  flex-shrink: 0;
}

.chat-chip {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-hi);
  background: var(--surface);
  color: var(--text-mid);
  font-size: 0.8rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.chat-chip:hover {
  border-color: var(--cyan);
  color: var(--text-hi);
  background: rgba(56, 225, 255, 0.08);
}

.chat-input-row {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.chat-input-row input {
  flex: 1;
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid var(--border-hi);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-hi);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.chat-input-row input::placeholder { color: var(--text-low); }

.chat-input-row input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(79, 124, 255, 0.18);
}

.chat-send {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: var(--grad);
  color: #061024;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chat-send:hover { transform: scale(1.06); box-shadow: 0 6px 18px rgba(79, 124, 255, 0.5); }

@media (max-width: 520px) {
  .chat-panel {
    right: 16px;
    bottom: 94px;
    height: 480px;
  }
  .chat-fab { bottom: 18px; right: 18px; width: 56px; height: 56px; }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible { opacity: 1; transform: none; }

/* Phones: guarantee content becomes visible even if JS is blocked/slow */
@media (pointer: coarse) {
  .reveal {
    animation: reveal-fallback 0.9s ease 0.35s forwards;
  }
}

@keyframes reveal-fallback {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split .visual { min-height: 280px; order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .hero-inner { padding: 84px 0 72px; }

  .nav-toggle { display: block; }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(7, 11, 22, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 14px 24px 28px;
    border-bottom: 1px solid var(--border-hi);
    display: none;
    z-index: 200;
  }

  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 15px 0;
    font-size: 1.08rem;
  }

  .nav-links a:not(.nav-cta)::after { display: none; }

  .nav-cta {
    margin-top: 12px;
    text-align: center;
    width: 100%;
  }

  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .cta-banner { padding: 50px 30px; }
  .form-row { grid-template-columns: 1fr; }
  .founder-card { flex-direction: column; text-align: center; padding: 32px 24px; }
  .service-row { grid-template-columns: 1fr; gap: 18px; }
  .contact-form { padding: 30px 22px; }
  .hero-metrics { gap: 28px; }
  .page-hero { padding: 72px 0 64px; }
}

@media (max-width: 520px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats-band .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-actions .btn { width: 100%; }
  .brand-name { font-size: 1.1rem; }
  .map-frame { height: 300px; }
}

@media (max-width: 360px) {
  .container { padding: 0 16px; }
  .stats-band .grid-4 { grid-template-columns: 1fr; }
}

/* ============================================
   LIGHT THEME
   Activated via html[data-theme="light"].
   Default follows the visitor's device setting;
   manual choice is saved in localStorage.
   ============================================ */

html[data-theme="light"] {
  --bg-950: #e7ebf4;
  --bg-900: #f5f7fb;
  --bg-800: #eceff7;
  --bg-700: #dfe6f3;
  --surface: rgba(16, 32, 64, 0.03);
  --surface-2: rgba(16, 32, 64, 0.055);
  --border: rgba(16, 32, 64, 0.1);
  --border-hi: rgba(16, 32, 64, 0.2);
  --text-hi: #0f1a2e;
  --text-mid: #43506b;
  --text-low: #76829b;
  --shadow-glow: 0 14px 40px rgba(64, 100, 200, 0.16);
}

html[data-theme="light"] ::selection {
  background: rgba(79, 124, 255, 0.25);
  color: #0f1a2e;
}

/* Header */
html[data-theme="light"] .site-header { background: rgba(245, 247, 251, 0.8); }
html[data-theme="light"] .site-header.scrolled { background: rgba(245, 247, 251, 0.95); }

/* Heroes */
html[data-theme="light"] .hero {
  background: radial-gradient(ellipse 100% 65% at 50% -12%, #d7e3fc 0%, var(--bg-900) 62%);
}

html[data-theme="light"] .page-hero {
  background: radial-gradient(ellipse 100% 90% at 50% -20%, #d7e3fc 0%, var(--bg-900) 68%);
}

html[data-theme="light"] .grid-overlay {
  background-image:
    linear-gradient(rgba(16, 32, 64, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 32, 64, 0.05) 1px, transparent 1px);
}

html[data-theme="light"] .orb { opacity: 0.3; }

html[data-theme="light"] .hero-pill {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-mid);
}

html[data-theme="light"] .hero-ring { border-color: rgba(16, 32, 64, 0.18); }

html[data-theme="light"] .glass-card {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 50px rgba(30, 50, 100, 0.13);
}

html[data-theme="light"] .btn-ghost { background: rgba(255, 255, 255, 0.65); }

/* Chat widget */
html[data-theme="light"] .chat-panel {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 30px 80px rgba(30, 50, 100, 0.28);
}

html[data-theme="light"] .chat-msg.bot {
  background: rgba(16, 32, 64, 0.05);
  color: var(--text-mid);
}

html[data-theme="light"] .chat-input-row input { background: rgba(16, 32, 64, 0.04); }
html[data-theme="light"] .chat-chip { background: rgba(255, 255, 255, 0.8); }

/* Forms */
html[data-theme="light"] .form-group input,
html[data-theme="light"] .form-group select,
html[data-theme="light"] .form-group textarea {
  background: rgba(16, 32, 64, 0.035);
}

html[data-theme="light"] .form-group select option {
  background: #ffffff;
  color: var(--text-hi);
}

html[data-theme="light"] .form-status.success {
  background: rgba(18, 158, 98, 0.08);
  border-color: rgba(18, 158, 98, 0.4);
  color: #0d7a4d;
}

html[data-theme="light"] .form-status.error {
  background: rgba(214, 60, 60, 0.07);
  border-color: rgba(214, 60, 60, 0.35);
  color: #b83a2e;
}

/* Cursor effects — the "screen" blend disappears on light backgrounds */
html[data-theme="light"] .cursor-glow {
  mix-blend-mode: normal;
  background: radial-gradient(circle,
    rgba(79, 124, 255, 0.1) 0%,
    rgba(56, 225, 255, 0.05) 34%,
    transparent 68%);
}

html[data-theme="light"] .cursor-ring { border-color: rgba(79, 124, 255, 0.6); }

/* Map looks better without the dark-theme filter */
html[data-theme="light"] .map-frame { filter: none; }

/* Mobile nav panel */
@media (max-width: 720px) {
  html[data-theme="light"] .nav-links {
    background: rgba(245, 247, 251, 0.98);
    box-shadow: 0 24px 44px rgba(30, 50, 100, 0.16);
  }
}
