/* =============================================
   idanta.ai — Customer-Facing Website v2
   Colors: #0B5ED7 (blue) · #F59E2E (amber)
   Font: Inter (all weights)
   Aesthetic: Clean precision, high contrast,
              confident enterprise SaaS
   ============================================= */

:root {
  --blue:        #0B5ED7;
  --blue-dark:   #094DB8;
  --blue-light:  #3B82F6;
  --blue-pale:   #EFF4FF;
  --blue-subtle: #DBEAFE;
  --amber:       #F59E2E;
  --amber-dark:  #D4820A;
  --amber-pale:  #FFFBEB;
  --amber-subtle:#FEF3C7;
  --dark:        #0A0F1E;
  --dark-2:      #111827;
  --dark-card:   #1a2235;
  --text:        #0F172A;
  --text-2:      #334155;
  --text-3:      #64748B;
  --text-4:      #94A3B8;
  --border:      #E2E8F0;
  --border-dark: rgba(255,255,255,0.08);
  --surface:     #F8FAFC;
  --white:       #FFFFFF;
  --green:       #22C55E;
  --nav-h:       64px;
  --font:        'Inter', -apple-system, sans-serif;
  --radius:      12px;
  --radius-lg:   20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); color: var(--text); background: var(--white); overflow-x: hidden; line-height: 1.6; }

em { font-style: normal; color: var(--blue); }
strong { font-weight: 600; color: var(--text); }
.mono { font-family: 'Courier New', monospace; font-size: 0.82em; letter-spacing: 0.04em; }
.green { color: var(--green); font-weight: 600; }

/* ---- REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.fade-up { opacity: 0; transform: translateY(24px); }
.fade-right { opacity: 0; transform: translateX(32px); }
.fade-up.in, .fade-right.in { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s ease; }

/* =============================================
   NAVBAR
   ============================================= */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
#navbar.scrolled { box-shadow: 0 1px 20px rgba(11,94,215,0.08); }

.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 40px; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none;
}
.logo-img { width: 32px; height: 32px; object-fit: contain; border-radius: 50%; }
.logo-wordmark {
  font-size: 1.25rem; font-weight: 800;
  color: var(--blue); letter-spacing: -0.03em;
}
.logo-ai { color: var(--amber); }

.nav-links {
  display: flex; align-items: center;
  list-style: none; gap: 4px;
}
.nav-links a {
  display: block; padding: 7px 14px;
  text-decoration: none; font-size: 0.875rem;
  font-weight: 500; color: var(--text-2);
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { background: var(--blue-pale); color: var(--blue); }
/* .nav-links a.active {
  color: var(--blue); font-weight: 600;
} */
.nav-link-selected {
  background: var(--blue) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
  box-shadow: 0 2px 12px rgba(11,94,215,0.25);
}

/* hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--blue); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease;
  border-top: 1px solid transparent;
  background: var(--white);
}
.mobile-menu.open {
  max-height: 360px;
  border-top-color: var(--border);
}
.mobile-menu ul { list-style: none; padding: 12px 40px 20px; display: flex; flex-direction: column; gap: 2px; }
.mobile-menu a {
  display: block; padding: 10px 0;
  font-size: 1rem; font-weight: 500;
  color: var(--text-2); text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border: none; color: var(--blue); font-weight: 600; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-inner { padding: 0 24px; }
}

/* =============================================
   SHARED SECTION STYLES
   ============================================= */
.section-wrap {
  max-width: 1120px; margin: 0 auto;
  padding: 100px 40px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
  padding: 4px 12px;
  background: var(--blue-pale);
  border: 1px solid var(--blue-subtle);
  border-radius: 100px;
}
.section-eyebrow.amber { color: var(--amber-dark); background: var(--amber-pale); border-color: var(--amber-subtle); }
.section-h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -0.03em; color: var(--text);
  margin-bottom: 20px;
}
.section-lead {
  font-size: 1.05rem; color: var(--text-2);
  max-width: 600px; line-height: 1.8;
  margin-bottom: 64px;
}
@media (max-width: 640px) {
  .section-wrap { padding: 72px 24px; }
  .section-h2 { font-size: 1.75rem; }
}

/* =============================================
   HERO
   ============================================= */
#hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 80px) 40px 80px;
  display: flex; align-items: center;
  justify-content: center; gap: 72px;
  position: relative; overflow: hidden;
  background: var(--surface);
}

.hero-canvas {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 700px 500px at 10% 20%, rgba(11,94,215,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 500px 400px at 85% 75%, rgba(245,158,46,0.07) 0%, transparent 70%);
}
.hero-canvas::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(11,94,215,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,94,215,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero-inner { max-width: 560px; z-index: 1; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-pale);
  border: 1px solid var(--blue-subtle);
  padding: 5px 14px; border-radius: 100px;
  margin-bottom: 28px;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber);
  animation: blink 1.8s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero-h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900; line-height: 1.05;
  letter-spacing: -0.04em; color: var(--text);
  margin-bottom: 24px;
}
.hero-highlight { color: var(--amber); }

.hero-body {
  font-size: 1.05rem; color: var(--text-2);
  line-height: 1.8; margin-bottom: 40px; max-width: 480px;
}

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-fill {
  display: inline-flex; align-items: center;
  background: var(--blue); color: var(--white);
  font-size: 0.9rem; font-weight: 600;
  padding: 12px 26px; border-radius: var(--radius);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(11,94,215,0.3);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-fill:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(11,94,215,0.4); }

.btn-outline {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--text-2);
  font-size: 0.9rem; font-weight: 500;
  padding: 12px 24px; border-radius: var(--radius);
  border: 1.5px solid var(--border);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-pale); }

.hero-image {
  flex-shrink: 0;
  z-index: 1;
}

.hero-image img {
  width: 460px;
  max-width: 100%;
  border-radius: 16px;
  display: block;
  box-shadow: 0 24px 64px rgba(11, 94, 215, 0.15), 0 4px 16px rgba(0,0,0,0.2);
}

@media (max-width: 960px) {
  .hero-image img {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* HERO DEMO CARD */
.hero-demo { z-index: 1; flex-shrink: 0; }

.demo-card {
  width: 300px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(11,94,215,0.1), 0 2px 8px rgba(0,0,0,0.04);
  overflow: hidden;
  animation: float 4.5s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

.demo-card-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  background: var(--dark-2);
}
.demo-label { font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.5); letter-spacing: 0.08em; text-transform: uppercase; }
.demo-status { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 700; color: var(--green); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: blink 1.4s infinite; }

.demo-visual {
  position: relative; height: 150px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(11,94,215,0.07) 0%, transparent 70%);
}
.demo-rings { position: absolute; display: flex; align-items: center; justify-content: center; }
.dr {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(11,94,215,0.18);
  animation: pulse-ring 2.8s ease-out infinite;
}
.dr1 { width: 72px; height: 72px; animation-delay: 0s; }
.dr2 { width: 110px; height: 110px; animation-delay: 0.6s; }
.dr3 { width: 148px; height: 148px; animation-delay: 1.2s; }
@keyframes pulse-ring { 0%{opacity:0.7;transform:scale(0.75)} 100%{opacity:0;transform:scale(1.1)} }

.demo-core { position: relative; z-index: 2; }
.demo-logo-img { width: 52px; height: 52px; object-fit: contain; border-radius: 50%; }

.scan-beam {
  position: absolute; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(to right, transparent, var(--amber), transparent);
  animation: sweep 2.2s ease-in-out infinite;
}
@keyframes sweep { 0%{top:20%;opacity:1} 50%{top:78%;opacity:0.7} 100%{top:20%;opacity:1} }

.demo-fields {
  padding: 14px 18px;
  display: flex; flex-direction: column; gap: 9px;
  border-top: 1px solid var(--border);
}
.df-row { display: flex; justify-content: space-between; font-size: 0.76rem; }
.df-key { color: var(--text-3); }
.df-val { color: var(--text); font-weight: 500; }

.demo-bar { height: 3px; background: var(--border); }
.demo-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(to right, var(--blue), var(--amber));
  animation: fill-bar 2s ease forwards 0.5s;
}
@keyframes fill-bar { to { width: 100%; } }

@media (max-width: 960px) {
  #hero { flex-direction: column; text-align: center; gap: 48px; padding-top: calc(var(--nav-h) + 60px); }
  .hero-body { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
}
@media (max-width: 480px) {
  #hero { padding-left: 24px; padding-right: 24px; }
  .demo-card { width: 270px; }
}

/* =============================================
   PRODUCT
   ============================================= */
#product { background: var(--dark); }
#product .section-h2 { color: var(--white); }
#product .section-lead { color: rgba(255,255,255,0.9); }
.product-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin-bottom: 56px;
}
@media (max-width: 680px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
/*
.product-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(11,94,215,0.08); border-color: rgba(11,94,215,0.2); }
.product-card.wc-blue { background: var(--blue-pale); border-color: var(--blue-subtle); }
.product-card.wc-amber { background: var(--amber-pale); border-color: var(--amber-subtle); }
*/

.product-card.wc-dark { background: var(--dark-card); border-color: var(--border); }

.wc-icon { font-size: 1.8rem; margin-bottom: 16px; }
.product-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.product-card p { font-size: 0.9rem; color: var(--white); line-height: 1.75; }

.product-banner {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: var(--radius-lg); padding: 40px 48px;
  text-align: center;
}
.wb-text {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600; color: var(--white);
  line-height: 1.5; letter-spacing: -0.01em;
}
.wb-quote { color: var(--amber); font-size: 1.8em; line-height: 0; vertical-align: -0.3em; font-weight: 400; }

.product-image-wrap {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 56px;
}

.product-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* =============================================
   WHY?
   ============================================= */
#why { background: var(--white); }
#why .section-h2 { color: var(--text); }
#why .section-h2 em { color: var(--amber); font-weight: bold; }
#why .section-lead { color: --text-2; }
#why .section-lead em { color: var(--amber); font-style: italic; font-weight: bold; }

.why-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; margin-bottom: 56px;
}
@media (max-width: 820px) { .why-split { grid-template-columns: 1fr; } }

.why-problem-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); padding: 36px;
  height: 100%;
}
.wpc-label {
  font-size: 0.68rem; font-weight: 900;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 12px;
}
.why-problem-card h3 {
  font-size: 1.3rem; font-weight: 700;
  color: var(--text-2); margin-bottom: 16px; line-height: 1.3;
}
.why-problem-card p { font-size: 0.88rem; color: var(--text-2); line-height: 1.8; margin-bottom: 12px; }
.why-problem-card p strong { color: var(--text-2); }

.wpc-stats { display: flex; gap: 32px; margin-top: 28px; }
.wpc-stat { display: flex; flex-direction: column; gap: 4px; }
.wpc-num { font-size: 1.8rem; font-weight: 900; color: var(--amber); letter-spacing: -0.04em; }
.wpc-desc { font-size: 0.72rem; color: --text-3; font-weight: 500; }

.why-use-cases {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg); padding: 32px;
  height: 100%;
}
.wuc-title {
  font-size: 0.75rem; font-weight: 700;
  color: --text-2; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 20px;
}
.wuc-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.wuc-list li { display: flex; gap: 14px; align-items: flex-start; }
.wuc-icon {
  font-size: 0.75rem; font-weight: 700;
  color: var(--amber); flex-shrink: 0;
  margin-top: 3px; opacity: 0.8;
}
.wuc-list li div { display: flex; flex-direction: column; gap: 3px; }
.wuc-list strong { font-size: 0.88rem; font-weight: 600; color: --text-3; }
.wuc-list span { font-size: 0.8rem; color: --text-3; line-height: 1.6; }

.why-testimony {
  background: linear-gradient(135deg, rgba(245,158,46,0.1), rgba(11,94,215,0.1));
  border: 1px solid rgba(245,158,46,0.2);
  border-radius: var(--radius-lg); padding: 40px 48px;
}
.wt-quote {
  font-size: 1.05rem; font-style: italic;
  color: rgba(255,255,255,0.7); line-height: 1.75;
  margin-bottom: 16px;
}
.wt-attr { font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.35); }

/* =============================================
   HOW?
   ============================================= */
#how { background: var(--white); }

.how-steps { display: flex; flex-direction: column; gap: 80px; margin-bottom: 72px; }

.how-step {
  display: grid; grid-template-columns: 80px 1fr 1fr;
  gap: 40px; align-items: start;
}
.how-step.reverse { direction: rtl; }
.how-step.reverse > * { direction: ltr; }

.how-image-wrap {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 56px;
}

.how-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 820px) {
  .how-step, .how-step.reverse { grid-template-columns: 48px 1fr; direction: ltr; }
  .hs-visual { grid-column: 2; }
}
@media (max-width: 560px) {
  .how-step, .how-step.reverse { grid-template-columns: 1fr; gap: 20px; }
  .hs-number { font-size: 2.5rem !important; }
}

.hs-number {
  font-size: 4rem; font-weight: 900;
  color: var(--blue-pale); letter-spacing: -0.06em;
  line-height: 1; padding-top: 4px;
  -webkit-text-stroke: 1px var(--blue-subtle);
}
.hs-content h3 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.hs-content p { font-size: 0.9rem; color: var(--text-2); line-height: 1.8; }
.hs-content p strong { color: var(--blue); }

/* visual panels */
.hs-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  display: flex; flex-direction: column; gap: 12px; align-items: center;
}

/* enroll viz */
.vis-line {
  display: flex; align-items: center; gap: 10px;
  padding: 16px;
  background: var(--blue-pale); border-radius: 10px;
  position: relative; width: 100%;
}
.vis-product {
  width: 36px; height: 52px; border-radius: 5px;
  background: var(--white); border: 1.5px solid var(--border);
  flex-shrink: 0;
  position: relative;
}
.vis-product::after {
  content: ''; position: absolute;
  top: 8px; left: 5px; right: 5px; height: 4px;
  background: var(--border); border-radius: 2px;
}
.vis-product.active { border-color: var(--blue); }
.vis-product.active::before {
  content: ''; position: absolute; inset: -4px;
  border-radius: 8px; border: 2px solid var(--blue); opacity: 0.4;
  animation: glow-box 1.5s ease-in-out infinite;
}
@keyframes glow-box { 0%,100%{opacity:0.4} 50%{opacity:1} }

.vis-camera {
  margin-left: auto; display: flex; flex-direction: column;
  align-items: center; position: relative; font-size: 1.5rem;
}
.vis-beam {
  position: absolute; right: 100%; top: 50%;
  width: 60px; height: 2px;
  background: linear-gradient(to left, var(--amber), transparent);
  animation: beam-pulse 1.5s ease-in-out infinite;
}
@keyframes beam-pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
.vis-caption { font-size: 0.72rem; color: var(--text-3); font-weight: 500; }

/* chain viz */
.chain-nodes {
  display: flex; align-items: center;
  gap: 6px; flex-wrap: wrap; justify-content: center;
  width: 100%;
}
.cn {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 1.4rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 10px 7px;
}
.cn small { font-size: 0.6rem; font-weight: 600; color: var(--text-3); white-space: nowrap; }
.cn.consumer { border-color: var(--blue); background: var(--blue-pale); }
.cn-arrow { color: var(--text-4); font-size: 1rem; }
.chain-label { font-size: 0.72rem; color: var(--text-3); font-weight: 500; }

/* intel viz */
.intel-grid { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }
.ig-tag {
  padding: 5px 12px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 600;
  background: var(--white); border: 1px solid var(--border);
  color: var(--text-3);
  transition: all 0.3s;
}
.ig-tag.active { background: var(--blue-pale); border-color: var(--blue-subtle); color: var(--blue); }
.ig-center { font-size: 0.75rem; font-weight: 700; color: var(--amber-dark); margin-top: 4px; }

/* BREAKTHROUGH PANEL */
.how-breakthrough {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--dark); border-radius: var(--radius-lg);
  padding: 56px 48px; align-items: center;
}
@media (max-width: 720px) { .how-breakthrough { grid-template-columns: 1fr; padding: 36px 28px; } }

.hb-tag {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 12px;
}
.hb-left h3 { font-size: 1.6rem; font-weight: 800; color: var(--white); margin-bottom: 16px; letter-spacing: -0.02em; }
.hb-left h3 em { color: var(--amber); }
.hb-left p { font-size: 0.9rem; color: rgba(255,255,255,0.8); line-height: 1.8; }
.hb-left p strong { font-weight: bold; color: var(--amber); }

.hb-compare { display: flex; gap: 16px; }
.hbc-col { flex: 1; border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.hbc-col.bad { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); }
.hbc-col.good { background: rgba(11,94,215,0.15); border: 1px solid rgba(11,94,215,0.3); }
.hbc-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.hbc-col.bad .hbc-label { color: rgba(255,255,255,0.9); }
.hbc-col.good .hbc-label { color: var(--blue-light); }
.hbc-item { font-size: 0.78rem; line-height: 1.5; }
.hbc-col.bad .hbc-item { color: rgba(255,255,255,0.8); }
.hbc-col.good .hbc-item { color: rgba(255,255,255,0.8); }

/* =============================================
   TEAM
   ============================================= */
#team { background: var(--surface); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

a.team-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.team-card:hover {
  border-color: var(--blue);
}

a.team-card:hover .team-role::after {
  content: ' ↗';
  font-size: 0.7em;
  opacity: 0.6;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(11,94,215,0.1); }

.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

.team-photo-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.team-photo {
  width: 100%; aspect-ratio: 1;
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--ph-color, #0B5ED7) calc(var(--ph-alpha, 0.9) * 100%), transparent),
    color-mix(in srgb, var(--ph-color, #0B5ED7) calc(var(--ph-alpha, 0.6) * 100%), transparent)
  );
  position: relative; overflow: hidden;
}
/* Fallback for browsers without color-mix */
.team-photo.placeholder { background: rgba(11, 94, 215, 0.12); }
.team-photo.placeholder[style*="--ph-color: #F59E2E"] { background: rgba(245, 158, 46, 0.12); }

.ph-initial {
  font-size: 2.5rem; font-weight: 900;
  color: var(--blue); opacity: 0.35;
  letter-spacing: -0.04em;
}
.ph-label {
  font-size: 0.68rem; font-weight: 600;
  color: var(--text-3); text-transform: uppercase;
  letter-spacing: 0.1em; opacity: 0.7;
}

/* Photo placeholder dashed border effect */
.team-photo::after {
  content: '';
  position: absolute; inset: 8px;
  border: 1.5px dashed rgba(11,94,215,0.2);
  border-radius: 8px;
}

.team-info { padding: 20px 24px 24px; }
.team-info h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.team-role { font-size: 0.75rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 4px; }
.team-creds { font-size: 0.72rem; color: var(--text-4); margin-bottom: 12px; }
.team-info p { font-size: 0.82rem; color: var(--text-2); line-height: 1.7; margin-bottom: 14px; }

.team-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.team-tags span {
  font-size: 0.68rem; font-weight: 600;
  padding: 3px 9px; border-radius: 100px;
  background: var(--blue-pale);
  border: 1px solid var(--blue-subtle);
  color: var(--blue);
}

/* =============================================
   CONTACT
   ============================================= */
#contact { background: var(--dark); }
.contact-wrap {
  position: relative; overflow: hidden;
  min-height: 500px; display: flex; align-items: center; justify-content: center;
  padding: 100px 40px;
}
.contact-bg-shape {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11,94,215,0.15) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}
.contact-inner { position: relative; z-index: 1; text-align: center; max-width: 640px; }
.contact-h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; color: var(--white);
  letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 20px;
}
.contact-body { font-size: 1rem; color: rgba(255,255,255,0.8); line-height: 1.8; margin-bottom: 40px; }

.contact-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--amber); color: var(--dark);
  font-size: 1rem; font-weight: 700;
  padding: 16px 32px; border-radius: var(--radius);
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(245,158,46,0.35);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-bottom: 28px;
}
.contact-cta:hover { background: var(--amber-dark); transform: translateY(-2px); box-shadow: 0 8px 36px rgba(245,158,46,0.5); }
.cta-arrow { font-size: 1.2rem; transition: transform 0.2s; }
.contact-cta:hover .cta-arrow { transform: translateX(4px); }

.contact-locations { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.contact-locations span { font-size: 0.82rem; color: rgba(255,255,255,0.6); }
.loc-sep { color: rgba(255,255,255,0.15); }

@media (max-width: 480px) { .contact-wrap { padding: 72px 24px; } }

/* =============================================
   ERROR
   ============================================= */
#error { background: var(--dark); min-height: calc(100svh - 140px); }
.error-wrap {
  position: relative; overflow: hidden;
  min-height: 500px; display: flex; align-items: center; justify-content: center;
  padding: 100px 40px;
}
.error-bg-shape {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11,94,215,0.15) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}
.error-inner { position: relative; z-index: 1; text-align: center; max-width: 640px; }
.error-h1 {
  font-size: clamp(6rem, 4vw, 6rem);
  font-weight: 800; color: var(--white);
  letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 20px;
}
.error-h2 {
  font-size: clamp(2rem, 4vw, 2rem);
  font-weight: 400; color: var(--white);
  letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 20px;
}
.error-body { font-size: 1rem; color: rgba(255,255,255,0.75); line-height: 1.8; margin-bottom: 40px; }

@media (max-width: 480px) { .error-wrap { padding: 72px 24px; } }

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--dark-2);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 36px 40px;
}
.footer-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
}
.footer-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.footer-logo .logo-wordmark { color: rgba(255,255,255,0.8); }
.footer-logo .logo-ai { color: var(--amber); }
.footer-logo .logo-img { width: 26px; height: 26px; }
.footer-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.7); font-style: italic; }
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.7); }
