/* ================================================
   Deepbind · styles.css · v2.1
   B2B Industrial Edge AI — Trust · Precision · Depth
   ================================================ */

/* ── Pretendard + Noto Sans KR ── */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard-dynamic-subset.min.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');

/* ── Design Tokens ── */
:root {
  --navy:        #060e1c;
  --navy-mid:    #0b1a30;
  --navy-card:   #0d2040;
  --blue:        #1a6ef5;
  --blue-dark:   #1254cc;
  --blue-dim:    rgba(26,110,245,.12);
  --cyan:        #1fb8f5;
  --cyan-soft:   #7dd3f8;
  --white:       #ffffff;
  --gray-50:     #f8fafc;
  --gray-100:    #f2f6fb;
  --gray-200:    #e6edf6;
  --gray-300:    #c8d6e8;
  --gray-500:    #64748b;
  --gray-700:    #334155;
  --text:        #0f1e33;
  --text-soft:   #475569;
  --text-inv:    #edf2f9;
  --line:        rgba(14,30,54,.09);
  --line-inv:    rgba(255,255,255,.09);
  --shadow-xs:   0 1px 4px rgba(8,18,40,.05);
  --shadow-sm:   0 2px 12px rgba(8,18,40,.07);
  --shadow:      0 8px 32px rgba(8,18,40,.10);
  --shadow-lg:   0 20px 56px rgba(8,18,40,.14);
  --shadow-xl:   0 32px 80px rgba(8,18,40,.18);
  --r-2xl:       28px;
  --r-xl:        22px;
  --r-lg:        16px;
  --r-md:        10px;
  --r-sm:        7px;
  --container:   1160px;
  --header-h:    66px;
  --ease:        cubic-bezier(.25,.46,.45,.94);
  --ease-out:    cubic-bezier(.16,1,.3,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Pretendard', 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  font-size: 16px; line-height: 1.72;
  color: var(--text); background: var(--gray-50);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1,h2,h3,h4 { font-weight: 800; }

/* ── Layout ── */
.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* ─────────────────────────────────────────
   HEADER
───────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  transition: background .35s var(--ease), box-shadow .35s var(--ease),
              backdrop-filter .35s;
}
.site-header:not(.scrolled) {
  background: linear-gradient(180deg, rgba(6,14,28,.88) 0%, rgba(6,14,28,0) 100%);
}
.site-header.scrolled {
  background: rgba(6,14,28,.94);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 1px 0 var(--line-inv), 0 8px 36px rgba(0,0,0,.26);
}
.header-inner {
  height: var(--header-h); display: flex;
  align-items: center; justify-content: space-between; gap: 20px;
}

/* Brand */
.brand { display: flex; align-items: center; gap: 10px; color: var(--text-inv); flex-shrink: 0; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  font-weight: 800; font-size: .84rem; letter-spacing: .04em; color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  box-shadow: 0 4px 14px rgba(26,110,245,.45); flex-shrink: 0;
}
.brand-text strong { display: block; font-size: .95rem; line-height: 1.2; }
.brand-text span { display: block; font-size: .7rem; color: rgba(237,242,249,.5); line-height: 1; margin-top: 2px; }

/* Desktop nav */
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a {
  color: rgba(237,242,249,.72); padding: 7px 13px;
  border-radius: 999px; font-size: .875rem; font-weight: 500;
  transition: color .16s, background .16s;
}
.site-nav a:hover, .site-nav a.active { color: #fff; background: rgba(255,255,255,.10); }
.site-nav a.active { font-weight: 700; }

.header-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 38px; padding: 0 18px; border-radius: 999px;
  background: var(--white); color: var(--text);
  font-weight: 700; font-size: .85rem; white-space: nowrap; flex-shrink: 0;
  transition: opacity .16s, transform .16s;
}
.header-cta:hover { opacity: .9; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 38px; height: 38px; padding: 8px;
  background: rgba(255,255,255,.08); border-radius: var(--r-sm); flex-shrink: 0;
}
.hamburger span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform .22s, opacity .22s; }
.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 nav */
.mobile-nav {
  display: none; flex-direction: column; gap: 2px;
  padding: 8px 16px 16px;
  background: rgba(6,14,28,.97); border-top: 1px solid var(--line-inv);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(237,242,249,.78); padding: 12px 14px;
  border-radius: var(--r-sm); font-size: .95rem; font-weight: 500;
  transition: background .14s;
}
.mobile-nav a:hover, .mobile-nav a.active { color: #fff; background: rgba(255,255,255,.09); font-weight: 700; }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.home-hero, .page-hero {
  position: relative; overflow: hidden; color: var(--text-inv);
  background:
    radial-gradient(ellipse 65% 55% at 4% 12%, rgba(31,184,245,.16) 0%, transparent 58%),
    radial-gradient(ellipse 50% 48% at 94% 88%, rgba(26,110,245,.14) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 60% 30%, rgba(26,110,245,.06) 0%, transparent 55%),
    linear-gradient(158deg, #040c18 0%, #07193a 50%, #0b2248 100%);
}
.home-hero { padding: 118px 0 96px; }
.page-hero  { padding: 90px 0 62px; }

#hero-canvas {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
}

.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(280px,.7fr);
  gap: 56px; align-items: center;
}

/* Eyebrow pill */
.hero-eyebrow, .page-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(31,184,245,.12); border: 1px solid rgba(31,184,245,.22);
  color: var(--cyan-soft); font-size: .8rem; font-weight: 600; letter-spacing: .03em;
  margin-bottom: 22px;
}
.hero-eyebrow::before, .page-eyebrow::before {
  content: ''; display: block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
  animation: pulse 2.2s ease infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-title, .page-title {
  margin: 0; font-size: clamp(1.95rem, 4vw, 3.75rem);
  line-height: 1.14; letter-spacing: -.035em; font-weight: 800;
}
.hero-text, .page-text {
  margin: 18px 0 0; max-width: 640px;
  color: rgba(237,242,249,.74); font-size: 1rem; line-height: 1.78;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Hero visual panel */
.hero-visual {
  padding: 26px; border-radius: var(--r-xl);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 24px 64px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08);
  position: relative; z-index: 1;
}
.hero-visual h3 { margin: 0 0 10px; font-size: 1.04rem; line-height: 1.42; font-weight: 700; }
.hero-visual p  { color: rgba(237,242,249,.72); font-size: .9rem; line-height: 1.68; }
.hero-visual ul { margin-top: 14px; }
.hero-visual li {
  position: relative; padding-left: 18px;
  color: rgba(237,242,249,.72); font-size: .88rem; margin-top: 8px;
}
.hero-visual li::before {
  content:''; position: absolute; left:0; top:9px;
  width:5px; height:5px; border-radius:50%; background:var(--cyan);
}
.hero-stat-row {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 18px;
}
.hero-stat {
  padding: 12px 10px; border-radius: 12px; text-align: center;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.09);
}
.hero-stat strong { display: block; color: #fff; font-size: .88rem; font-weight: 700; }
.hero-stat span   { display: block; margin-top: 3px; font-size: .72rem; color: rgba(237,242,249,.54); line-height: 1.3; }

/* ─────────────────────────────────────────
   KPI STRIP
───────────────────────────────────────── */
.kpi-strip {
  padding: 0;
  background: linear-gradient(90deg, #070f1e 0%, #0a1e3c 50%, #070f1e 100%);
  border-top: 1px solid rgba(31,184,245,.12);
  border-bottom: 1px solid rgba(31,184,245,.12);
}
.kpi-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
}
.kpi-item {
  text-align: center; padding: 28px 20px;
  border-right: 1px solid var(--line-inv);
  position: relative;
}
.kpi-item:last-child { border-right: none; }
.kpi-item::before {
  content: '';
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 40px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0; transition: opacity .3s;
}
.kpi-item:hover::before { opacity: 1; }
.kpi-val {
  display: block; font-size: clamp(1.9rem,3vw,2.6rem);
  font-weight: 800; letter-spacing: -.04em; line-height: 1.1;
  background: linear-gradient(135deg, #a8d4ff 0%, #ffffff 60%, #7dd3f8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.kpi-label {
  display: block; margin-top: 7px;
  font-size: .78rem; color: rgba(237,242,249,.55); line-height: 1.5;
}

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn, .btn-outline, .btn-light, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: .92rem; letter-spacing: -.01em;
  transition: transform .18s var(--ease), box-shadow .18s, opacity .18s, background .18s;
}
.btn {
  background: linear-gradient(135deg, var(--blue) 0%, #1da8e8 100%);
  color: #fff; box-shadow: 0 8px 24px rgba(26,110,245,.30);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(26,110,245,.44); }
.btn-outline {
  color: rgba(237,242,249,.88); border: 1.5px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.05);
}
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.36); }
.btn-light { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }
.btn-light:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-ghost:hover { background: var(--blue-dim); }

/* ─────────────────────────────────────────
   SECTIONS
───────────────────────────────────────── */
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-dark {
  background: linear-gradient(180deg, #08172e 0%, #060e1c 100%);
  color: var(--text-inv);
}
.section-surface { background: var(--white); }
.section-alt     { background: var(--gray-100); }

.section-header { max-width: 800px; margin-bottom: 48px; }
.section-kicker {
  display: inline-block; margin-bottom: 10px;
  color: var(--blue); font-weight: 700; font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase;
}
.section-dark .section-kicker { color: var(--cyan-soft); }
.section-title {
  margin: 0; font-size: clamp(1.65rem, 2.7vw, 2.55rem);
  line-height: 1.22; letter-spacing: -.028em;
}
.section-desc {
  margin: 14px 0 0; color: var(--text-soft); font-size: .97rem; line-height: 1.76;
}
.section-dark .section-desc { color: rgba(237,242,249,.66); }

/* ─────────────────────────────────────────
   GRID
───────────────────────────────────────── */
.grid-2 { display: grid; gap: 20px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.grid-4 { display: grid; gap: 20px; grid-template-columns: repeat(4,minmax(0,1fr)); }

/* ─────────────────────────────────────────
   CARDS
───────────────────────────────────────── */
.card {
  padding: 28px; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card.soft {
  background: linear-gradient(175deg, #fff 0%, #f7fbff 100%);
}
.section-dark .card {
  background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.09);
  box-shadow: none;
}
.section-dark .card:hover { background: rgba(255,255,255,.08); box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.card h3 { margin: 0 0 12px; font-size: 1.1rem; line-height: 1.35; letter-spacing: -.015em; }
.card p  { margin: 0; color: var(--text-soft); font-size: .94rem; line-height: 1.72; }
.section-dark .card p { color: rgba(237,242,249,.68); }

/* Card icon */
.card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(26,110,245,.14) 0%, rgba(31,184,245,.07) 100%);
  border: 1px solid rgba(26,110,245,.12);
}
.card-icon svg { width: 22px; height: 22px; color: var(--blue); stroke-width: 1.8; }
.section-dark .card-icon { background: rgba(31,184,245,.10); border-color: rgba(31,184,245,.15); }
.section-dark .card-icon svg { color: var(--cyan-soft); }

/* ─────────────────────────────────────────
   CHECK LIST
───────────────────────────────────────── */
.check-list li {
  position: relative; padding-left: 20px;
  margin-top: 10px; color: var(--text-soft); font-size: .93rem; line-height: 1.65;
}
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue);
}
.section-dark .check-list li { color: rgba(237,242,249,.70); }
.section-dark .check-list li::before { background: var(--cyan-soft); }

/* ─────────────────────────────────────────
   BADGES
───────────────────────────────────────── */
.badge-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.badge {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px;
  border-radius: 999px; background: var(--gray-100); border: 1px solid var(--line);
  color: var(--text-soft); font-weight: 600; font-size: .82rem;
}
.section-dark .badge { background: rgba(255,255,255,.08); border-color: var(--line-inv); color: rgba(237,242,249,.85); }

/* ─────────────────────────────────────────
   SPLIT PANEL
───────────────────────────────────────── */
.split-panel {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(260px,.85fr);
  gap: 24px; align-items: start;
}

/* ─────────────────────────────────────────
   METRIC PANEL
───────────────────────────────────────── */
.metric-panel {
  padding: 30px; border-radius: var(--r-lg);
  background: linear-gradient(160deg, #0b1e3a 0%, #0e2d56 100%);
  color: #fff; box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,.07);
}
.metric-panel h3 { margin: 0 0 20px; font-size: 1.06rem; color: rgba(237,242,249,.9); }
.metric-list { display: grid; }
.metric-item { padding: 15px 0; border-top: 1px solid rgba(255,255,255,.08); }
.metric-item:first-child { padding-top: 0; border-top: none; }
.metric-item strong { display: block; font-size: .94rem; color: #fff; }
.metric-item span   { display: block; margin-top: 5px; color: rgba(237,242,249,.62); font-size: .88rem; line-height: 1.6; }

/* ─────────────────────────────────────────
   ARCHITECTURE DIAGRAM
───────────────────────────────────────── */
.arch-section { padding: 96px 0; background: var(--white); }
.arch-diagram { max-width: 880px; margin: 0 auto; }
.arch-node { cursor: pointer; }
.arch-node rect, .arch-node path {
  transition: filter .22s var(--ease);
}
.arch-node:hover rect,
.arch-node:hover path {
  filter: brightness(1.15) drop-shadow(0 0 12px rgba(26,110,245,.55));
}
.arch-node:focus { outline: none; }
.arch-node:focus rect { stroke: var(--cyan); stroke-width: 2.5; }
.arch-concepts { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 28px; }
.arch-concept {
  padding: 20px; border-radius: var(--r-lg); text-align: center;
  background: var(--gray-100); border: 1px solid var(--line);
  transition: box-shadow .22s;
}
.arch-concept:hover { box-shadow: var(--shadow); }
.arch-concept .icon { font-size: 1.6rem; margin-bottom: 10px; }
.arch-concept h4 { margin: 0 0 6px; font-size: .95rem; letter-spacing: -.01em; }
.arch-concept p  { margin: 0; font-size: .86rem; color: var(--text-soft); line-height: 1.6; }

/* ─────────────────────────────────────────
   MARKET VISUALIZATION
───────────────────────────────────────── */
.market-section { padding: 96px 0; background: var(--gray-100); }
.market-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start;
}
.market-chart-wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.market-legend { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.legend-row { display: flex; align-items: center; gap: 10px; }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.legend-label { font-size: .9rem; color: var(--text-soft); }
.legend-pct { margin-left: auto; font-weight: 700; font-size: .9rem; color: var(--text); }
.stat-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.stat-card {
  padding: 22px 18px; border-radius: var(--r-lg); text-align: center;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: box-shadow .22s;
}
.stat-card:hover { box-shadow: var(--shadow); }
.stat-card .num { font-size: clamp(1.6rem,2.5vw,2.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.stat-card .num.blue { color: var(--blue); }
.stat-card .num.red  { color: #d63a30; }
.stat-card .label { margin-top: 6px; font-size: .82rem; color: var(--text-soft); line-height: 1.5; }
.effect-list { display: grid; gap: 12px; }
.effect-item {
  padding: 18px 20px; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-xs);
  display: flex; align-items: flex-start; gap: 14px;
}
.effect-icon {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--blue-dim); color: var(--blue); font-size: 1.1rem;
}
.effect-item strong { display: block; font-size: .93rem; }
.effect-item span   { display: block; margin-top: 3px; font-size: .85rem; color: var(--text-soft); line-height: 1.58; }

/* ─────────────────────────────────────────
   COMPARISON TABLE
───────────────────────────────────────── */
.comp-wrap {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.comp-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.comp-table thead tr {
  background: linear-gradient(90deg, #0b1a30, #0d2448);
}
.comp-table th {
  padding: 14px 16px; text-align: left;
  font-weight: 700; font-size: .76rem; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(237,242,249,.7);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.comp-table th.col-deepbind {
  color: var(--cyan-soft);
  background: rgba(31,184,245,.08);
}
.comp-table tbody tr { transition: background .14s; }
.comp-table tbody tr:hover { background: var(--gray-50); }
.comp-table td {
  padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle;
}
.comp-table tbody tr:last-child td { border-bottom: none; }
.comp-table td:first-child { font-weight: 600; font-size: .88rem; color: var(--text); }
.col-legacy   { color: var(--gray-500); }
.col-deepbind { background: rgba(26,110,245,.04); color: var(--blue); font-weight: 700; }
.col-deepbind .good { display: inline-flex; align-items: center; gap: 5px; }
.col-deepbind .good::before {
  content: '✓'; width: 18px; height: 18px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(26,110,245,.12); color: var(--blue); font-size: .75rem; font-weight: 800;
}

/* ─────────────────────────────────────────
   TIMELINE
───────────────────────────────────────── */
.timeline { position: relative; display: grid; gap: 16px; padding-left: 28px; }
.timeline::before {
  content: ''; position: absolute; left: 27px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(180deg, var(--blue), var(--cyan));
  opacity: .25; border-radius: 2px;
}
.timeline-item {
  display: grid; grid-template-columns: 60px minmax(0,1fr); gap: 20px;
  padding: 22px 22px 22px 0;
  border-radius: var(--r-lg); align-items: start;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-xs);
  transition: box-shadow .22s;
}
.timeline-item:hover { box-shadow: var(--shadow); }
.timeline-step {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 1rem; letter-spacing: -.02em;
  color: var(--blue); background: var(--blue-dim);
  border: 1px solid rgba(26,110,245,.15); flex-shrink: 0;
}
.timeline-item h3 { margin: 0 0 6px; font-size: 1.02rem; letter-spacing: -.01em; }
.timeline-item p  { margin: 0; color: var(--text-soft); font-size: .92rem; line-height: 1.68; }

/* ─────────────────────────────────────────
   CTA PANEL
───────────────────────────────────────── */
.cta-panel {
  padding: 48px 52px; border-radius: 28px;
  background: linear-gradient(140deg, #091b38 0%, #0d2f5e 100%);
  color: #fff; box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,.07);
  position: relative; overflow: hidden;
}
.cta-panel::before {
  content: ''; position: absolute;
  top: -60px; right: -60px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31,184,245,.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-panel h2 { margin: 0; font-size: clamp(1.35rem,2.4vw,2rem); line-height: 1.3; letter-spacing: -.022em; }
.cta-panel p  { margin: 12px 0 0; color: rgba(237,242,249,.72); line-height: 1.72; }
.cta-actions  { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ─────────────────────────────────────────
   CONTACT
───────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 24px;
}
.contact-card, .form-card {
  padding: 34px; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.contact-meta { display: grid; gap: 10px; margin-top: 20px; }
.contact-meta-item {
  padding: 13px 16px; border-radius: var(--r-md);
  background: var(--gray-100); border: 1px solid var(--line);
  transition: border-color .16s;
}
.contact-meta-item:hover { border-color: var(--gray-300); }
.contact-meta-item strong {
  display: block; margin-bottom: 3px;
  font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--text-soft);
}
.contact-meta-item span, .contact-meta-item a { font-size: .94rem; }
.contact-meta-item a { color: var(--blue); font-weight: 600; }
.contact-meta-item a:hover { text-decoration: underline; }

.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.form-group { display: grid; gap: 6px; }
.form-group.full { grid-column: 1/-1; }
label { font-weight: 600; font-size: .86rem; color: var(--text); }
input, select, textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--r-md);
  border: 1.5px solid var(--gray-200); background: #fafcff;
  color: var(--text); font: inherit; font-size: .93rem;
  transition: border-color .16s, box-shadow .16s;
}
textarea { min-height: 148px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,110,245,.11);
}
input::placeholder, textarea::placeholder { color: var(--gray-300); }
.form-submit {
  display: flex; align-items: center; justify-content: center; width: 100%;
  min-height: 52px; margin-top: 8px; border-radius: 999px;
  background: linear-gradient(135deg, var(--blue) 0%, #1da8e8 100%);
  color: #fff; font: inherit; font-weight: 700; font-size: .93rem;
  box-shadow: 0 8px 22px rgba(26,110,245,.28);
  transition: transform .18s var(--ease), box-shadow .18s;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(26,110,245,.42); }
.notice {
  margin-top: 14px; padding: 12px 15px; border-radius: var(--r-md);
  background: #eef6ff; border: 1px solid #cce0f8;
  color: var(--text-soft); font-size: .86rem; line-height: 1.62;
}
.notice a { color: var(--blue); font-weight: 600; }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer {
  padding: 34px 0 42px; background: #040a16;
  border-top: 1px solid rgba(255,255,255,.05);
  color: rgba(237,242,249,.65);
}
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 20px; align-items: flex-start;
}
.footer-brand strong { display: block; color: #fff; font-size: .96rem; }
.footer-brand span   { display: block; margin-top: 5px; font-size: .84rem; max-width: 300px; line-height: 1.58; }
.footer-meta  { font-size: .85rem; line-height: 1.85; }
.footer-meta a { color: rgba(237,242,249,.76); }
.footer-meta a:hover { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer-links a { font-size: .86rem; color: rgba(237,242,249,.62); transition: color .14s; }
.footer-links a:hover { color: #fff; }

/* ─────────────────────────────────────────
   SCROLL ANIMATIONS
───────────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}
.fade-up.visible { opacity: 1; transform: none; }
.fade-up:nth-child(2) { transition-delay: .08s; }
.fade-up:nth-child(3) { transition-delay: .16s; }
.fade-up:nth-child(4) { transition-delay: .24s; }
.fade-up:nth-child(5) { transition-delay: .32s; }

/* ─────────────────────────────────────────
   PRIVACY
───────────────────────────────────────── */
.privacy-stack  { display: grid; gap: 16px; }
.privacy-block  {
  padding: 26px 28px; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-xs);
}
.privacy-block h2 { margin: 0 0 12px; font-size: 1.1rem; }
.privacy-block p  { margin: 0; color: var(--text-soft); font-size: .95rem; line-height: 1.74; }
.privacy-block p + p { margin-top: 10px; }

/* ─────────────────────────────────────────
   FEATURE STACK (services)
───────────────────────────────────────── */
.feature-stack { display: grid; gap: 18px; }
.feature-row {
  display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 22px;
  padding: 26px 28px; border-radius: var(--r-lg);
  background: linear-gradient(175deg,#fff 0%,#f8fbff 100%);
  border: 1px solid var(--line); box-shadow: var(--shadow-xs);
  align-items: start;
  transition: box-shadow .22s;
}
.feature-row:hover { box-shadow: var(--shadow); }
.feature-row .card-icon { margin: 0; }
.feature-row h3 { margin: 0 0 10px; font-size: 1.08rem; letter-spacing: -.015em; }
.feature-row p  { margin: 0; color: var(--text-soft); font-size: .93rem; line-height: 1.72; }

/* Fit cards */
.fit-card {
  padding: 26px 28px; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-xs);
  transition: box-shadow .22s;
}
.fit-card:hover { box-shadow: var(--shadow); }
.fit-card h3 { margin: 0 0 14px; font-size: 1.05rem; }

/* ─────────────────────────────────────────
   UTILITY
───────────────────────────────────────── */
.muted       { color: var(--text-soft); }
.text-center { text-align: center; }
.section-center .section-header { margin-inline: auto; text-align: center; }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero-grid, .split-panel, .contact-grid {
    grid-template-columns: 1fr;
  }
  .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .kpi-grid { grid-template-columns: repeat(2,1fr); }
  .kpi-item:nth-child(2) { border-right: none; }
  .kpi-item:nth-child(3) { border-top: 1px solid var(--line-inv); }
  .kpi-item:nth-child(4) { border-top: 1px solid var(--line-inv); }
  .market-grid { grid-template-columns: 1fr; }
  .arch-concepts { grid-template-columns: repeat(3,1fr); }
  .cta-panel { padding: 34px 30px; }
}

@media (max-width: 840px) {
  .site-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .home-hero  { padding: 84px 0 68px; }
  .page-hero  { padding: 74px 0 52px; }
  .section    { padding: 68px 0; }
  .section-sm { padding: 48px 0; }
  .grid-2, .grid-3, .form-grid { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .arch-concepts { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: repeat(2,1fr); }
  .hero-stat-row { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 560px) {
  .container { width: min(var(--container), calc(100% - 32px)); }
  .card, .contact-card, .form-card, .cta-panel,
  .hero-visual, .metric-panel, .privacy-block,
  .feature-row, .fit-card { padding: 20px 18px; }
  .hero-actions, .cta-actions { flex-direction: column; }
  .btn, .btn-outline, .btn-light { width: 100%; }
  .kpi-grid { grid-template-columns: repeat(2,1fr); }
  .kpi-val { font-size: 1.85rem; }
  .kpi-item { padding: 22px 14px; }
  .footer-inner { flex-direction: column; gap: 16px; }
  .comp-table { font-size: .8rem; }
  .comp-table th, .comp-table td { padding: 10px 10px; }
  .hero-stat-row { grid-template-columns: 1fr 1fr; }
  .timeline { padding-left: 0; }
  .timeline::before { display: none; }
}

@media (max-width: 400px) {
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .stat-cards { grid-template-columns: 1fr; }
}
