/* =========================================================
   BANYA TALENTO — Design System
   ========================================================= */

:root{
  --bg: #121815;
  --bg-soft: #171f1a;
  --surface: #1d2621;
  --surface-2: #26302a;
  --surface-border: rgba(150, 235, 200, 0.18);
  --surface-border-strong: rgba(150, 235, 200, 0.38);

  --green: #2fe3a3;
  --green-bright: #7dffce;
  --green-dim: #17805e;
  --green-wash: rgba(47, 227, 163, 0.12);

  --text: #f4f8f6;
  --text-dim: #bac9c3;
  --text-faint: #8a9b94;

  --danger-muted: #9aa19e;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --font-head: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-glow: 0 0 0 1px var(--surface-border), 0 30px 80px -30px rgba(47, 227, 163, 0.25);
  --ease: cubic-bezier(.16,.84,.44,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
button{ font: inherit; cursor: pointer; }

h1, h2, h3, h4, h5{
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

.wrap{
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.text-accent{ color: var(--green); }

/* ---------- Eyebrow ---------- */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 18px;
}
.eyebrow-dot{
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-wash);
  flex: none;
}
.eyebrow-center{ justify-content: center; }

.section-sub{
  color: var(--text-dim);
  font-size: 17px;
  max-width: 640px;
  margin: 16px 0 0;
}
.section-sub-center{ margin-left: auto; margin-right: auto; text-align: center; }

.section-head{ max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head-left{ margin: 0 0 48px; text-align: left; }
.section-head h2{ font-size: clamp(28px, 3.4vw, 42px); }
.section-head-left .section-sub{ max-width: 620px; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .18s var(--ease), background .18s, border-color .18s, color .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn-sm{ padding: 9px 18px; font-size: 13.5px; }
.btn-lg{ padding: 15px 26px; font-size: 15.5px; }
.btn-block{ width: 100%; }

.btn-primary{
  background: linear-gradient(180deg, var(--green-bright), var(--green));
  color: #04241a;
  box-shadow: 0 8px 24px -8px rgba(47,227,163,0.55);
}
.btn-primary:hover{ transform: translateY(-1px); box-shadow: 0 12px 30px -8px rgba(47,227,163,0.65); }

.btn-outline{
  border-color: var(--surface-border-strong);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}
.btn-outline:hover{ border-color: var(--green); color: var(--green-bright); }

.btn-ghost{ color: var(--text-dim); }
.btn-ghost:hover{ color: var(--text); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), border-color .25s, padding .25s;
}
.site-header.is-scrolled{
  background: rgba(18, 24, 21, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--surface-border);
  padding: 12px 0;
}
.header-inner{
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand{ display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark{ width: 26px; height: 34px; color: var(--green); filter: drop-shadow(0 0 6px rgba(47,227,163,0.6)); transition: filter .3s, transform .4s var(--ease); }
.brand-mark .brand-nodes circle{ filter: drop-shadow(0 0 3px rgba(125,255,206,0.9)); transition: r .3s; }
.brand-mark .brand-lines line{ transition: stroke-opacity .3s; }
.brand:hover .brand-mark{ filter: drop-shadow(0 0 12px rgba(125,255,206,0.85)); transform: scale(1.08) rotate(-4deg); }
.brand:hover .brand-mark .brand-nodes circle{ filter: drop-shadow(0 0 6px rgba(190,255,230,1)); }
.brand-word{
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.03em;
  color: var(--text);
}
.brand-word em{ font-style: normal; color: var(--green); font-weight: 500; margin-left: 4px; }

.main-nav{ display: flex; align-items: center; gap: 28px; }
.main-nav a{
  font-size: 14.5px;
  color: var(--text-dim);
  font-weight: 500;
  transition: color .18s;
  position: relative;
  padding-bottom: 3px;
}
.main-nav a::after{
  content: "";
  position: absolute;
  left: 50%; right: 50%; bottom: 0;
  height: 1.5px;
  background: var(--green);
  transition: left .25s var(--ease), right .25s var(--ease);
}
.main-nav a:hover{ color: var(--text); }
.main-nav a:hover::after{ left: 0; right: 0; }

.header-cta{ display: flex; align-items: center; gap: 10px; }

.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span{ width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position: relative;
  padding: 168px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(47,227,163,0.14), transparent 60%),
    var(--bg);
}
.hero::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--cx, 50%) var(--cy, 0%), rgba(47,227,163,0.14), transparent 65%);
  opacity: 0;
  transition: opacity .4s;
}
.hero:hover::after{ opacity: 1; }
.hero-canvas{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.8;
}
.hero-glow{
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
}
.hero-glow-a{ width: 480px; height: 480px; background: rgba(47,227,163,0.16); top: -160px; right: -120px; }
.hero-glow-b{ width: 380px; height: 380px; background: rgba(47,227,163,0.10); bottom: -120px; left: -100px; }

.hero-grid{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1{
  font-size: clamp(32px, 4.1vw, 54px);
  margin: 0 0 22px;
}
.hero-sub{
  color: var(--text-dim);
  font-size: 17.5px;
  max-width: 560px;
  margin: 0 0 34px;
}
.hero-actions{ display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-actions-center{ justify-content: center; }

.hero-funnel{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
}
.funnel-item{ display: flex; flex-direction: column; gap: 4px; min-width: 78px; }
.funnel-num{
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 26px;
  color: var(--green-bright);
}
.funnel-label{ font-size: 12px; color: var(--text-faint); line-height: 1.35; }
.funnel-label em{ font-style: normal; color: var(--text-dim); }
.funnel-arrow{ color: var(--surface-border-strong); font-size: 16px; }
.funnel-conv{
  margin-left: auto;
  display: flex; flex-direction: column; align-items: flex-end;
  padding-left: 18px;
  border-left: 1px solid var(--surface-border);
}
.funnel-conv span{ font-family: var(--font-head); font-weight: 700; font-size: 24px; color: var(--green); }
.funnel-conv em{ font-style: normal; font-size: 11px; color: var(--text-faint); text-align: right; }

.hero-note{ margin: 14px 2px 0; font-size: 12.5px; color: var(--text-faint); }

.hero-visual{ position: relative; z-index: 1; }
.chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  font-size: 12.5px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}
.pulse-dot{
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(47,227,163,0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(47,227,163,0.55); }
  70%{ box-shadow: 0 0 0 8px rgba(47,227,163,0); }
  100%{ box-shadow: 0 0 0 0 rgba(47,227,163,0); }
}

/* Browser chrome frame — used everywhere real screenshots appear */
.browser-frame{
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  will-change: transform;
}
.browser-frame:hover{
  border-color: var(--surface-border-strong);
  box-shadow: 0 0 0 1px var(--surface-border-strong), 0 40px 90px -30px rgba(47, 227, 163, 0.4);
}
.browser-frame img{ width: 100%; height: auto; }
.browser-bar{
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--surface-border);
}
.dot{ width: 9px; height: 9px; border-radius: 50%; }
.dot-r{ background: #ff6259; }
.dot-y{ background: #ffbd44; }
.dot-g{ background: #28c93f; }
.browser-url{
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-faint);
  background: rgba(255,255,255,0.03);
  padding: 3px 10px;
  border-radius: 6px;
}

.browser-frame-lg{ transform: perspective(1400px) rotateY(-4deg) rotateX(1deg); }

/* =========================================================
   TRUST BAR
   ========================================================= */
.trust-bar{
  padding: 56px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
}
.trust-heading{
  text-align: center;
  color: var(--text-dim);
  font-size: 15.5px;
  max-width: 780px;
  margin: 0 auto 40px;
}
.trust-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.trust-item{
  position: relative;
  text-align: center;
  padding: 18px 8px;
  border-left: 1px solid var(--surface-border);
  border-radius: 10px;
  overflow: hidden;
  transition: background .3s;
}
.trust-item::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(160px circle at var(--mx, 50%) var(--my, 50%), rgba(47,227,163,0.14), transparent 70%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.trust-item:hover::before{ opacity: 1; }
.trust-item:hover{ background: rgba(47,227,163,0.03); }
.trust-item:hover .trust-num, .trust-item:hover .trust-num-static{ transform: scale(1.06); }
.trust-item:first-child{ border-left: none; }
.trust-num, .trust-num-static{
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 28px);
  transition: transform .3s var(--ease);
  color: var(--green-bright);
  margin-bottom: 8px;
}
.trust-label{ font-size: 12.5px; color: var(--text-faint); line-height: 1.4; }
.trust-label em{ font-style: normal; color: var(--text-dim); }
.trust-footnote{
  text-align: center;
  color: var(--text-faint);
  font-size: 12px;
  margin: 32px 0 0;
}
.trust-footnote-light{ color: rgba(168,184,178,0.55); }

/* =========================================================
   AGENTS SECTION
   ========================================================= */
.agents-section{ padding: 120px 0; }

.agent-tabs{
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.agent-tab{
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  color: var(--text-dim);
  overflow: hidden;
  transition: border-color .2s, color .2s, background .2s, transform .3s var(--ease);
}
.agent-tab::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90px circle at var(--mx, 50%) var(--my, 50%), rgba(47,227,163,0.22), transparent 70%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.agent-tab-index{ position: relative; font-family: var(--font-mono); font-size: 11.5px; color: var(--text-faint); }
.agent-tab-name{ position: relative; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--text); }
.agent-tab-role{ position: relative; font-size: 12.5px; color: var(--text-faint); }
.agent-tab:hover{ border-color: var(--surface-border-strong); transform: translateY(-2px); }
.agent-tab:hover::before{ opacity: 1; }
.agent-tab.is-active{
  background: var(--green-wash);
  border-color: var(--green);
}
.agent-tab.is-active .agent-tab-index{ color: var(--green); }
.agent-tab.is-active .agent-tab-name{ color: var(--green-bright); }

.agent-panel{
  display: none;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
  animation: fadeUp .5s var(--ease);
}
.agent-panel.is-active{ display: grid; }

@keyframes fadeUp{
  from{ opacity: 0; transform: translateY(14px); }
  to{ opacity: 1; transform: translateY(0); }
}

.agent-kicker{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.agent-panel-copy h3{ font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 16px; }
.agent-panel-copy > p{ color: var(--text-dim); font-size: 16px; margin-bottom: 24px; }

.check-list{ display: flex; flex-direction: column; gap: 13px; }
.check-list li{
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.5;
  border-radius: 8px;
  transition: color .25s, transform .25s var(--ease), background .25s;
}
.check-list li:hover{
  color: var(--text);
  transform: translateX(5px);
  background: rgba(47,227,163,0.05);
}
.check-list li::before{
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 15px; height: 15px;
  border-radius: 5px;
  background: var(--green-wash);
  border: 1px solid var(--surface-border-strong);
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.check-list li:hover::before{
  background: var(--green);
  border-color: var(--green);
  transform: scale(1.1);
}
.check-list li::after{
  content: "";
  position: absolute;
  left: 4px; top: 8.5px;
  width: 7px; height: 4px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
  transition: border-color .25s;
}
.check-list li:hover::after{ border-color: #04241a; }

.agent-panel-visual{ position: relative; }
.browser-frame-float{
  position: absolute;
  width: 58%;
  bottom: -34px;
  right: -34px;
  border-color: var(--surface-border-strong);
  box-shadow: 0 26px 60px -20px rgba(0,0,0,0.6), var(--shadow-glow);
}

/* =========================================================
   ARCHITECTURE SECTION
   ========================================================= */
.architecture-section{
  position: relative;
  padding: 120px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  overflow: hidden;
}
.arch-canvas{ position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; z-index: 0; }
.architecture-section::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(380px circle at var(--cx, 50%) var(--cy, 50%), rgba(47,227,163,0.10), transparent 65%);
  opacity: 0;
  transition: opacity .4s;
}
.architecture-section:hover::after{ opacity: 1; }
.architecture-section .wrap{ position: relative; z-index: 1; }

.arch-layout{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}

.arch-cards{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.arch-card{
  position: relative;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .2s, transform .3s var(--ease), box-shadow .3s;
}
.arch-card::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(47,227,163,0.10), transparent 70%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.arch-card:hover{ border-color: var(--surface-border-strong); transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(0,0,0,0.5); }
.arch-card:hover::before{ opacity: 1; }
.arch-icon{
  position: relative;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 11px;
  background: var(--green-wash);
  color: var(--green);
  margin-bottom: 16px;
  transition: transform .35s var(--ease), background .3s, color .3s;
}
.arch-card:hover .arch-icon{ transform: scale(1.12) rotate(-6deg); background: var(--green); color: #04241a; }
.arch-card h4, .arch-card p{ position: relative; }
.arch-card h4{ font-size: 15.5px; margin-bottom: 8px; }
.arch-card p{ font-size: 13.5px; color: var(--text-dim); margin: 0; line-height: 1.55; }

.arch-visuals{ display: flex; flex-direction: column; gap: 20px; position: sticky; top: 110px; }

.infra-stats{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--surface-border);
}
.infra-stat{ text-align: center; }
.infra-stat span{
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  color: var(--green-bright);
  margin-bottom: 6px;
}
.infra-stat em{ font-style: normal; font-size: 12.5px; color: var(--text-faint); }

/* =========================================================
   COMPARE SECTION
   ========================================================= */
.compare-section{ padding: 120px 0; }

.compare-grid{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}
.compare-card{
  padding: 34px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-border);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.compare-card:hover{ transform: translateY(-5px); }
.compare-card-old{ background: var(--surface); }
.compare-card-old:hover{ border-color: var(--surface-border-strong); }
.compare-card-new{ background: linear-gradient(180deg, rgba(47,227,163,0.08), rgba(47,227,163,0.02)); border-color: var(--surface-border-strong); }
.compare-card-new:hover{ border-color: var(--green); box-shadow: 0 30px 70px -30px rgba(47,227,163,0.35); }

.compare-tag{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--surface-border);
  margin-bottom: 22px;
}
.compare-tag-accent{ color: var(--green-bright); border-color: var(--surface-border-strong); background: var(--green-wash); }

.compare-card ul{ display: flex; flex-direction: column; gap: 16px; }
.compare-card-old li{
  font-size: 14.5px;
  color: var(--danger-muted);
  padding-left: 22px;
  position: relative;
  transition: color .2s;
}
.compare-card-old li:hover{ color: var(--text-dim); }
.compare-card-old li::before{
  content: "–";
  position: absolute; left: 0; color: var(--text-faint);
}
.compare-card-new li{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text);
  padding: 4px 6px;
  margin: -4px -6px;
  border-radius: 8px;
  transition: background .2s, transform .2s var(--ease);
}
.compare-card-new li:hover{
  background: rgba(47,227,163,0.08);
  transform: translateX(4px);
}
.compare-card-new li:hover svg{ color: var(--green-bright); transform: scale(1.15); }
.compare-card-new li svg{ flex: none; margin-top: 2px; color: var(--green); transition: color .2s, transform .2s var(--ease); }

.compare-vs{
  align-self: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-faint);
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--surface-border);
}

.compare-banner{
  max-width: 980px;
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 26px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  color: var(--text-dim);
}
.compare-banner svg{ color: var(--green); flex: none; }
.compare-banner p{ margin: 0; font-size: 14.5px; }
.compare-banner strong{ color: var(--green-bright); }

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta{
  padding: 110px 0;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 100% at 50% 100%, rgba(47,227,163,0.12), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--surface-border);
}
.final-cta-inner{ max-width: 720px; }
.final-cta h2{ font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 4px; }

/* =========================================================
   FOOTER / CONTACT
   ========================================================= */
.site-footer{
  background: var(--bg-soft);
  border-top: 1px solid var(--surface-border);
  padding: 96px 0 32px;
}
.footer-top{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--surface-border);
}
.contact-meta{ margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.contact-meta li{ font-size: 14px; color: var(--text-dim); }
.contact-meta strong{ color: var(--text); font-weight: 600; }

.contact-form{
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
}
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label{ display: flex; flex-direction: column; gap: 7px; font-size: 13px; color: var(--text-dim); }
.contact-form input, .contact-form select, .contact-form textarea{
  font: inherit;
  padding: 11px 13px;
  border-radius: 9px;
  border: 1px solid var(--surface-border-strong);
  background: var(--bg);
  color: var(--text);
  resize: vertical;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus{
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-wash);
}
.form-success{
  text-align: center;
  color: var(--green-bright);
  font-size: 14px;
  margin: 0;
}

.footer-nav{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding: 56px 0 40px;
}
.footer-col h5{
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.footer-col a{
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 14px;
  color: var(--text-dim);
  padding: 6px 0;
  transition: color .18s, gap .25s var(--ease);
}
.footer-col a::before{
  content: "→";
  display: inline-block;
  width: 0;
  opacity: 0;
  color: var(--green);
  transition: width .25s var(--ease), opacity .2s;
  overflow: hidden;
}
.footer-col a:hover{ color: var(--green-bright); gap: 8px; }
.footer-col a:hover::before{ width: 14px; opacity: 1; }

.footer-bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--surface-border);
}
.brand-footer .brand-word{ font-size: 15px; }
.footer-bottom p{ margin: 0; font-size: 13px; color: var(--text-faint); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px){
  .arch-layout{ grid-template-columns: 1fr; }
  .arch-visuals{ position: static; flex-direction: row; }
  .arch-visuals .browser-frame{ flex: 1; }
}

@media (max-width: 960px){
  .nav-panel{ display: none; }
  .nav-toggle{ display: flex; }
  .site-header.nav-open .nav-panel{
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: absolute;
    top: 100%; left: 0; right: 0;
    padding: 20px 32px 28px;
    background: rgba(18,24,21,0.98);
    border-bottom: 1px solid var(--surface-border);
  }
  .site-header.nav-open .main-nav{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .site-header.nav-open .header-cta{
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .site-header.nav-open .header-cta .btn{ width: 100%; }
  .site-header.nav-open .main-nav a{ padding: 10px 0; width: 100%; }

  .hero-grid{ grid-template-columns: 1fr; }
  .hero{ padding-top: 130px; }
  .hero-visual{ order: -1; }
  .browser-frame-lg{ transform: none; }

  .trust-grid{ grid-template-columns: repeat(3, 1fr); }
  .trust-item:nth-child(3n+1){ border-left: none; }
  .trust-item:not(:nth-child(3n+1)){ border-left: 1px solid var(--surface-border); }
  .trust-item{ border-bottom: 1px solid var(--surface-border); }

  .agent-panel.is-active{ grid-template-columns: 1fr; }
  .agent-panel-visual{ margin-top: 8px; }
  .browser-frame-float{ position: static; width: 70%; margin-top: 16px; box-shadow: var(--shadow-glow); }

  .arch-cards{ grid-template-columns: 1fr; }
  .infra-stats{ grid-template-columns: repeat(2, 1fr); row-gap: 28px; }

  .compare-grid{ grid-template-columns: 1fr; }
  .compare-vs{ margin: 0 auto; }

  .footer-top{ grid-template-columns: 1fr; gap: 40px; }
  .footer-nav{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px){
  .wrap{ padding: 0 20px; }
  .hero-actions .btn, .hero-actions-center .btn{ width: 100%; }
  .hero-funnel{ gap: 16px 10px; }
  .funnel-conv{ margin-left: 0; border-left: none; padding-left: 0; width: 100%; align-items: flex-start; border-top: 1px solid var(--surface-border); padding-top: 14px; margin-top: 4px; }
  .trust-grid{ grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2n+1){ border-left: none; }
  .form-row{ grid-template-columns: 1fr; }
  .footer-nav{ grid-template-columns: 1fr 1fr; }
}
