/* =====================================================================
   CODE PRO — codepro.vn
   Phong cách: Soft Glass / Modern Tech — xanh dương & trắng
   Màu chủ đạo sửa ở :root (--blue-*, --navy)
   ===================================================================== */

:root {
  --blue-50: #EEF5FF;
  --blue-100: #DCEBFF;
  --blue-200: #B9D6FF;
  --blue-400: #5A9BFF;
  --blue-500: #2F7BFF;
  --blue-600: #0866FF;   /* màu thương hiệu */
  --blue-700: #0652CC;
  --sky: #38BDF8;
  --indigo: #6B7CFF;
  --navy: #0D1B3E;       /* chữ đậm, nền tối */
  --navy-2: #13254F;
  --ink: #0D1B3E;
  --muted: #4A5878;
  --line: #DCE7F7;
  --bg: #FFFFFF;
  --bg-tint: #F4F8FF;
  --ok: #12A16B;
  --err: #D92D20;

  --grad: linear-gradient(120deg, #0866FF 0%, #3D8BFF 45%, #38BDF8 100%);
  --grad-soft: linear-gradient(160deg, #F7FAFF 0%, #EAF2FF 100%);
  --shadow-sm: 0 2px 8px rgba(13, 27, 62, .06);
  --shadow: 0 18px 48px -18px rgba(8, 102, 255, .28), 0 4px 14px rgba(13, 27, 62, .05);
  --shadow-lg: 0 30px 80px -24px rgba(8, 102, 255, .38);
  --radius: 24px;
  --radius-sm: 14px;
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { margin: 0; line-height: 1.22; letter-spacing: -.02em; color: var(--ink); font-weight: 700; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.ico { width: 20px; height: 20px; flex: none; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }

.text-gradient { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-gradient-light { background: linear-gradient(120deg, #7FB2FF, #38BDF8 60%, #A5F3FC); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Glass ---------- */
.glass {
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(220, 231, 247, .9);
  box-shadow: var(--shadow-sm);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15.5px; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 14.5px; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); background-size: 140% 100%; color: #fff; box-shadow: 0 10px 24px -8px rgba(8, 102, 255, .55); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 16px 32px -10px rgba(8, 102, 255, .6); }
.btn-primary:disabled { opacity: .7; cursor: wait; transform: none; }
.btn-ghost { background: rgba(255, 255, 255, .7); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { color: var(--blue-600); border-color: var(--blue-200); background: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--blue-700); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .35); }
.btn-light:hover { color: var(--blue-600); transform: translateY(-2px); }
.btn-outline-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { color: #fff; background: rgba(255, 255, 255, .16); transform: translateY(-2px); }

/* ---------- Eyebrow / headings ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 14px; }
.eyebrow-pill { text-transform: none; letter-spacing: 0; font-size: 13.5px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid var(--blue-100); color: var(--navy); box-shadow: var(--shadow-sm); }
.eyebrow-pill.dark { background: rgba(255, 255, 255, .06); border-color: rgba(127, 178, 255, .3); color: #CFE0FF; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 0 4px rgba(8, 102, 255, .15); flex: none; }
.dot.pulse { background: #5EE0A0; box-shadow: 0 0 0 0 rgba(94, 224, 160, .6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(94, 224, 160, .55); } 70% { box-shadow: 0 0 0 10px rgba(94, 224, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(94, 224, 160, 0); } }

.section { position: relative; padding: 104px 0; }
.section-tint { background: var(--bg-tint); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2, .split-copy h2, .contact-copy h2 { font-size: clamp(1.8rem, 3.3vw, 2.65rem); }
.section-lead { margin-top: 16px; font-size: 17.5px; color: var(--muted); }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; flex-wrap: wrap; margin-top: 96px; }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--blue-600); }
.text-link .ico { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.text-link:hover .ico, a:hover > .text-link .ico, .post:hover .text-link .ico { transform: translate(2px, -2px); }

/* ---------- Background decor ---------- */
.hero-bg, .dark-bg, .final-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.orb-1 { width: 520px; height: 520px; background: #BCD7FF; top: -160px; right: -120px; }
.orb-2 { width: 420px; height: 420px; background: #D3F1FF; bottom: -120px; left: -140px; }
.orb-3 { width: 520px; height: 520px; background: #0866FF; opacity: .35; top: -180px; right: -160px; }
.orb-4 { width: 380px; height: 380px; background: #38BDF8; opacity: .18; bottom: -160px; left: 10%; }
.orb-5 { width: 420px; height: 420px; background: #38BDF8; opacity: .45; top: -200px; right: -60px; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(8, 102, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(8, 102, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
}
.dark-bg .grid-lines, .final-bg .grid-lines { background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); }

/* ============================== HEADER ============================== */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.site-header.scrolled { background: rgba(255, 255, 255, .88); border-bottom-color: var(--line); box-shadow: 0 8px 30px -18px rgba(13, 27, 62, .25); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo { width: 150px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a:not(.btn) { padding: 10px 14px; border-radius: 999px; color: var(--navy); font-weight: 500; font-size: 15px; transition: background-color .2s, color .2s; }
.main-nav a:not(.btn):hover { background: var(--blue-50); color: var(--blue-600); }
.nav-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-hotline { display: flex; align-items: center; gap: 10px; color: var(--navy); line-height: 1.2; }
.header-hotline small { display: block; font-size: 12px; color: var(--muted); }
.header-hotline strong { font-size: 15px; }
.hotline-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
.hotline-ico .ico { width: 18px; height: 18px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; place-items: center; }

/* ============================== HERO ============================== */
.hero { position: relative; padding: 64px 0 40px; overflow: hidden; background: var(--grad-soft); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.14; margin: 6px 0 22px; }
.lead { font-size: 18.5px; color: var(--muted); max-width: 580px; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-actions.center { justify-content: center; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 34px; }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted); }
.hero-trust .ico { width: 18px; height: 18px; color: var(--blue-600); }

.hero-visual { position: relative; min-height: 480px; display: grid; place-items: center; }
.hero-ring { position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .9) 0 55%, rgba(220, 235, 255, .6) 56% 100%); border: 1px solid rgba(185, 214, 255, .7); box-shadow: inset 0 0 60px rgba(8, 102, 255, .08); }
.hero-ring::before { content: ""; position: absolute; inset: -22px; border-radius: 50%; border: 1px dashed rgba(8, 102, 255, .25); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-illus { position: relative; width: 100%; max-width: 540px; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px;
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow); line-height: 1.25; animation: floaty 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 14px; color: var(--navy); }
.float-card small { font-size: 12.5px; color: var(--muted); }
.fc-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; flex: none; }
.fc-ico .ico { width: 19px; height: 19px; }
.fc-1 { top: 6%; left: -2%; }
.fc-2 { bottom: 20%; right: -4%; animation-delay: -2s; }
.fc-3 { bottom: 2%; left: 6%; animation-delay: -4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.milestones {
  position: relative; z-index: 1; margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.milestones li { padding: 24px 26px; border-left: 1px solid var(--line); }
.milestones li:first-child { border-left: 0; }
.milestones strong { display: block; font-size: 28px; line-height: 1.1; letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.milestones span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.45; }

/* ============================== SPLIT / HUB ============================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 104px; }
.pain-list { display: grid; gap: 12px; margin-top: 26px; }
.pain-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); color: var(--ink); }
.pain-x { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: #FFF1F0; color: #E5484D; flex: none; margin-top: 1px; }
.pain-x .ico { width: 15px; height: 15px; }
.solution-note { display: flex; gap: 12px; margin-top: 22px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--navy); }
.solution-note .ico { color: var(--blue-600); margin-top: 3px; }

.hub { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1; margin: 0 auto; color: var(--blue-500); }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-core {
  position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 8px; background: #fff;
  box-shadow: 0 0 0 12px rgba(8, 102, 255, .06), 0 0 0 26px rgba(8, 102, 255, .04), var(--shadow-lg);
  font-weight: 700; color: var(--navy);
}
.hub-core img { width: 56px; height: 56px; }
.hub-node {
  position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 112px; padding: 12px 8px; border-radius: 18px; text-align: center; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--navy);
  background: rgba(255, 255, 255, .92); border: 1px solid var(--line); box-shadow: var(--shadow);
  animation: floaty 7s ease-in-out infinite;
}
.hub-node .ico { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--blue-50); color: var(--blue-600); }
.hub-node-0 { left: 50%; top: 12.5%; }
.hub-node-1 { left: 82.5%; top: 31.25%; animation-delay: -1s; }
.hub-node-2 { left: 82.5%; top: 68.75%; animation-delay: -2s; }
.hub-node-3 { left: 50%; top: 87.5%; animation-delay: -3s; }
.hub-node-4 { left: 17.5%; top: 68.75%; animation-delay: -4s; }
.hub-node-5 { left: 17.5%; top: 31.25%; animation-delay: -5s; }

/* ============================== PILLARS ============================== */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { position: relative; display: flex; flex-direction: column; padding: 30px 28px 26px; border-radius: var(--radius); background: #fff; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.pillar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); opacity: 0; transition: opacity .3s; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.pillar:hover::before { opacity: 1; }
.pillar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.pillar-ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 12px 24px -10px rgba(8, 102, 255, .6); }
.pillar-ico .ico { width: 26px; height: 26px; }
.pillar-tag { font-size: 12.5px; font-weight: 600; color: var(--blue-600); background: var(--blue-50); padding: 6px 12px; border-radius: 999px; }
.pillar h3 { font-size: 22px; }
.pillar-text { margin-top: 8px; color: var(--muted); font-size: 15px; }
.svc-list { display: grid; gap: 14px; margin: 22px 0 22px; padding-top: 22px; border-top: 1px solid var(--line); flex: 1; }
.svc-list li { display: flex; gap: 14px; }
.svc-ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
.svc-list h4 { font-size: 16px; margin-bottom: 4px; }
.svc-list p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.pillar-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.pillar-link .ico { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.pillar-link:hover .ico { transform: translateX(4px); }
.more-link { margin-top: 32px; }
.more-link a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.more-link .ico { width: 17px; height: 17px; }

/* ============================== INDUSTRIES ============================== */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.industry { position: relative; padding: 28px; border-radius: var(--radius); background: #fff; transition: transform .3s var(--ease), box-shadow .3s; }
.industry:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.industry.featured { grid-column: span 2; background: linear-gradient(135deg, #0866FF 0%, #2F7BFF 50%, #38BDF8 120%); border-color: transparent; color: #fff; overflow: hidden; }
.industry.featured::after { content: ""; position: absolute; width: 260px; height: 260px; right: -60px; bottom: -110px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .1); }
.industry.featured h3, .industry.featured p, .industry.featured .text-link { color: #fff; }
.industry.featured p { opacity: .92; max-width: 560px; }
.industry-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); margin-bottom: 18px; }
.industry-ico .ico { width: 26px; height: 26px; }
.industry.featured .industry-ico { background: rgba(255, 255, 255, .18); color: #fff; }
.badge-soft { position: absolute; top: 28px; right: 28px; font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .2); color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.industry h3 { font-size: 19px; margin-bottom: 8px; }
.industry p { color: var(--muted); font-size: 15px; }
.industry .text-link { margin-top: 16px; }

/* ============================== PROJECTS ============================== */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project { display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-cover { position: relative; height: 172px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; color: #fff; }
.project-cover::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 28px 28px; }
.project-cover::after { content: ""; position: absolute; width: 220px; height: 220px; right: -60px; top: -80px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.theme-blue .project-cover { background: linear-gradient(135deg, #0652CC, #2F7BFF); }
.theme-sky .project-cover { background: linear-gradient(135deg, #1A7CF0, #38BDF8); }
.theme-indigo .project-cover { background: linear-gradient(135deg, #4F5BD5, #6B7CFF 60%, #8FA3FF); }
.theme-dark .project-cover { background: radial-gradient(circle at 80% 20%, #1F3F8A, #0D1B3E 70%); }
.project-industry { position: relative; z-index: 1; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.project-industry .ico { width: 15px; height: 15px; }
.project-cover-ico { position: relative; z-index: 1; align-self: flex-end; width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); }
.project-cover-ico .ico { width: 34px; height: 34px; }
.project-metric { position: relative; z-index: 1; display: flex; align-items: baseline; gap: 12px; }
.project-metric strong { font-size: 56px; line-height: 1; letter-spacing: -.03em; background: linear-gradient(120deg, #7FB2FF, #38BDF8, #A5F3FC); -webkit-background-clip: text; background-clip: text; color: transparent; }
.project-metric span { font-size: 14px; color: #CFE0FF; max-width: 140px; line-height: 1.35; }
.project-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 24px; }
.project-body h3 { font-size: 19px; }
.project-client { margin-top: -8px; font-size: 13.5px; color: var(--muted); }
.project-body > p:not(.project-client):not(.project-result) { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.project-result { display: flex; gap: 8px; font-size: 14px; font-weight: 500; color: var(--navy); padding: 10px 12px; border-radius: 12px; background: var(--blue-50); }
.project-result .ico { width: 18px; height: 18px; color: var(--ok); margin-top: 2px; }
.project .text-link { margin-top: auto; padding-top: 4px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 12.5px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--bg-tint); border: 1px solid var(--line); color: var(--navy); white-space: nowrap; }
.project-cta { justify-content: center; align-items: flex-start; gap: 14px; padding: 34px 30px; background: linear-gradient(150deg, #0D1B3E, #13254F 55%, #0652CC); border: 0; color: #fff; position: relative; overflow: hidden; }
.project-cta::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(56, 189, 248, .45), transparent 70%); }
.project-cta h3 { color: #fff; font-size: 22px; }
.project-cta p { color: #C9D6F2; font-size: 15px; }
.project-cta .btn { margin-top: 8px; position: relative; z-index: 1; }
.project-cta-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #7FB2FF; }
.project-cta-ico .ico { width: 26px; height: 26px; }

/* ============================== STEPS / COMMITMENTS ============================== */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 34px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, transparent, var(--blue-200) 10%, var(--blue-200) 90%, transparent); }
.step { position: relative; text-align: center; padding: 0 6px; }
.step-no { position: absolute; top: -8px; left: 50%; transform: translateX(18px); font-size: 12px; font-weight: 700; color: var(--blue-600); background: #fff; border: 1px solid var(--blue-100); border-radius: 999px; padding: 2px 8px; z-index: 2; }
.step-ico { position: relative; z-index: 1; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 22px; display: grid; place-items: center; background: #fff; color: var(--blue-600); border: 1px solid var(--blue-100); box-shadow: var(--shadow); }
.step-ico .ico { width: 28px; height: 28px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--muted); }
.commitments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 72px; }
.commit { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--radius); background: #fff; }
.commit-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.commit h3 { font-size: 17px; margin-bottom: 6px; }
.commit p { font-size: 14.5px; color: var(--muted); }

/* ============================== DARK / PRODUCT ============================== */
.section-dark { background: #0A1530; color: #C9D6F2; overflow: hidden; }
.section-dark h2 { color: #fff; }
.section-dark .section-lead { color: #A9B9DA; }
.product-split { position: relative; z-index: 1; margin-bottom: 0; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.feature-list li { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(127, 178, 255, .16); font-size: 14.5px; color: #E2EAFB; line-height: 1.45; }
.feature-list li > span { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(8, 102, 255, .25); color: #7FB2FF; }
.feature-list .ico { width: 19px; height: 19px; }
.product-visual { position: relative; }
.product-visual img { width: 100%; filter: drop-shadow(0 30px 60px rgba(8, 102, 255, .25)); }
.status-pill { position: absolute; top: 4%; right: 6%; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(13, 27, 62, .7); border: 1px solid rgba(127, 178, 255, .35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* ============================== TEAM ============================== */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.member { display: grid; grid-template-columns: 0.82fr 1fr; border-radius: 28px; background: #fff; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.member-photo { position: relative; background: linear-gradient(160deg, var(--blue-100), var(--blue-50)); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.member-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(8, 102, 255, .28)); }
.member-body { display: flex; flex-direction: column; gap: 12px; padding: 28px 26px; }
.member-body h3 { font-size: 23px; }
.member-role { margin-top: -6px; font-weight: 600; font-size: 14.5px; color: var(--blue-600); }
.member-body > p:not(.member-role) { font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.member-links { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
.member-links a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); transition: background-color .2s, color .2s, transform .2s; }
.member-links a:hover { background: var(--blue-600); color: #fff; transform: translateY(-2px); }
.member-links .ico { width: 19px; height: 19px; }

/* ============================== ECOSYSTEM / BLOG ============================== */
.eco { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.eco-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--radius); background: #fff; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.eco-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.eco-card.current { background: linear-gradient(160deg, #fff, var(--blue-50)); border-color: var(--blue-200); }
.eco-domain { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--blue-600); }
.eco-domain .ico { width: 16px; height: 16px; }
.eco-card h3 { font-size: 18px; }
.eco-card p { font-size: 14.5px; color: var(--muted); flex: 1; }
.eco-go { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--navy); margin-top: 6px; }
.eco-go .ico { width: 15px; height: 15px; }
.head-row h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; overflow: hidden; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s; }
.post:hover { color: var(--ink); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--blue-100), #E6F6FF); overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post:hover .post-thumb img { transform: scale(1.05); }
.post-thumb-ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--blue-400); }
.post-thumb-ph .ico { width: 44px; height: 44px; }
.post-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.post-meta { font-size: 13px; color: var(--blue-600); font-weight: 600; }
.post-body h3 { font-size: 17px; line-height: 1.45; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ============================== CONTACT / FORM ============================== */
.contact-section { background: radial-gradient(ellipse 60% 50% at 0% 0%, #E6F0FF 0%, transparent 60%), radial-gradient(ellipse 50% 50% at 100% 100%, #E3F6FF 0%, transparent 60%), #fff; }
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: start; }
.contact-illus { width: 100%; max-width: 440px; margin: 26px 0 18px; }
.contact-quick { display: grid; gap: 10px; }
.contact-quick a { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--navy); transition: border-color .2s, transform .2s; }
.contact-quick a:hover { border-color: var(--blue-200); transform: translateX(4px); color: var(--navy); }
.contact-quick a > span { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); flex: none; }
.contact-quick small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.2; }
.contact-quick strong { font-size: 15.5px; word-break: break-all; }

.form-card { position: sticky; top: calc(var(--header-h) + 20px); padding: 34px 32px; border-radius: 28px; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 24px; }
.form-sub { margin: 6px 0 22px; color: var(--muted); font-size: 14.5px; }
.req { color: var(--err); }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff;
  font-size: 15.5px; color: var(--ink); transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #93A0BA; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(8, 102, 255, .12); }
.field .invalid, .consent input.invalid { border-color: var(--err); box-shadow: 0 0 0 4px rgba(217, 45, 32, .1); }
.select-wrap { position: relative; }
.select-wrap select { padding-right: 42px; cursor: pointer; }
.select-wrap .ico { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 18px; font-size: 13.5px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--blue-600); cursor: pointer; }
.form-msg { margin-top: 12px; font-size: 14px; min-height: 0; }
.form-msg:empty { display: none; }
.form-msg.error { padding: 10px 14px; border-radius: 12px; background: #FEF3F2; color: #B42318; border: 1px solid #FECDCA; }
.form-msg.success { padding: 10px 14px; border-radius: 12px; background: #ECFDF3; color: #067647; border: 1px solid #ABEFC6; }
.form-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }
.form-note .ico { width: 16px; height: 16px; color: var(--blue-600); }

/* ============================== FAQ ============================== */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-wrap .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: 18px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item.open { border-color: var(--blue-200); box-shadow: var(--shadow); }
.faq-item h3 { font-size: inherit; letter-spacing: 0; text-wrap: wrap; }
.faq-q { width: 100%; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border: 0; background: none; text-align: left; font-size: 16.5px; font-weight: 600; color: var(--navy); cursor: pointer; }
.faq-q .ico { width: 20px; height: 20px; color: var(--blue-600); transition: transform .3s var(--ease); flex: none; }
.faq-item.open .faq-q .ico { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; }

/* ============================== FINAL CTA ============================== */
.final-cta { padding: 0 0 104px; background: var(--bg-tint); }
.final-card { position: relative; overflow: hidden; text-align: center; padding: 72px 32px; border-radius: 32px; background: linear-gradient(130deg, #0652CC 0%, #0866FF 45%, #2F9BFF 100%); color: #fff; box-shadow: var(--shadow-lg); }
.final-card > *:not(.final-bg) { position: relative; z-index: 1; }
.final-card h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 760px; margin: 0 auto; }
.final-card h2 .text-gradient-light { background: linear-gradient(120deg, #D6EBFF, #A5F3FC); -webkit-background-clip: text; background-clip: text; }
.final-card p { margin: 16px auto 0; max-width: 560px; color: #DCEBFF; font-size: 17px; }

/* ============================== FOOTER ============================== */
.site-footer { position: relative; overflow: hidden; background: #081129; color: #9FB0CF; padding: 80px 0 28px; font-size: 15px; }
.footer-glow { position: absolute; width: 600px; height: 600px; left: -200px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(8, 102, 255, .35), transparent 65%); pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.5fr .8fr .8fr 1.3fr; gap: 40px; }
.footer-brand .brand-logo { width: 160px; }
.footer-brand p { margin-top: 18px; max-width: 360px; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #CFE0FF; transition: background-color .2s, transform .2s; }
.footer-social a:hover { background: var(--blue-600); color: #fff; transform: translateY(-2px); }
.footer-social .ico { width: 19px; height: 19px; }
.footer-title { color: #fff; font-size: 16px; margin-bottom: 18px; letter-spacing: 0; }
.footer-links { display: grid; gap: 10px; }
.footer-links a, .footer-contact a { color: #9FB0CF; transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.55; }
.footer-contact .ico { width: 18px; height: 18px; margin-top: 3px; color: #5A9BFF; }
.footer-legal { position: relative; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; line-height: 1.7; }
.footer-legal strong { color: #E2EAFB; font-weight: 600; letter-spacing: .02em; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 14px; font-size: 13.5px; color: #7183A8; }

/* ---------- Mobile bar ---------- */
.mobile-bar { display: none; }

/* ---------- Thanks page ---------- */
.thanks { position: relative; padding: 72px 0 96px; background: var(--grad-soft); overflow: hidden; min-height: 70vh; }
.thanks .container { position: relative; z-index: 1; }
.thanks-card { max-width: 720px; margin: 0 auto; padding: 44px 36px; border-radius: 32px; text-align: center; box-shadow: var(--shadow-lg); }
.thanks-card img { width: 100%; max-width: 360px; margin: 0 auto 10px; }
.thanks-card h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 6px 0 14px; }
.thanks-card > p { color: var(--muted); font-size: 17px; }
.thanks-list { display: grid; gap: 10px; margin: 26px auto 0; max-width: 540px; text-align: left; }
.thanks-list li { display: flex; gap: 12px; padding: 12px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 15px; }
.thanks-list .ico { color: var(--blue-600); margin-top: 2px; }

/* ---------- Reveal on scroll ---------- */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal-init { opacity: 0; transform: translateY(28px); }

/* ============================== RESPONSIVE ============================== */
@media (max-width: 1180px) {
  .header-hotline { display: none; }
  .fc-1 { left: 0; }
  .fc-2 { right: 0; }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: grid; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px 20px 22px; background: #fff; border-bottom: 1px solid var(--line); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    box-shadow: 0 24px 40px -20px rgba(13, 27, 62, .3); transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a:not(.btn) { padding: 14px 16px; font-size: 16px; border-radius: 12px; }
  .nav-cta-mobile { display: inline-flex; margin-top: 8px; min-height: 50px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { text-align: center; }
  .lead { margin: 0 auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { min-height: 0; max-width: 560px; margin: 0 auto; width: 100%; }
  .split, .contact-grid, .faq-wrap { grid-template-columns: 1fr; gap: 48px; }
  .faq-wrap .section-head { position: static; }
  .pillars, .projects, .posts { grid-template-columns: 1fr 1fr; }
  .industries { grid-template-columns: 1fr 1fr; }
  .eco, .commitments { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 560px; margin: 0 auto; }
  .steps::before { top: 0; bottom: 0; left: 34px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--blue-200), var(--blue-100)); }
  .step { display: grid; grid-template-columns: 68px 1fr; column-gap: 18px; text-align: left; padding: 0 0 26px; }
  .step-ico { grid-row: span 2; margin: 0; }
  .step h3 { align-self: end; }
  .step-no { left: 0; transform: translateX(50px); top: -6px; }
  .team { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
  .form-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  body { font-size: 15.5px; padding-bottom: 68px; }
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .section-lead { font-size: 16px; }
  .brand-logo { width: 128px; }
  .hero { padding: 36px 0 28px; }
  .lead { font-size: 16.5px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-trust { flex-direction: column; align-items: center; gap: 8px; }
  .float-card { padding: 8px 12px 8px 8px; gap: 8px; border-radius: 14px; }
  .float-card strong { font-size: 12.5px; }
  .float-card small { display: none; }
  .fc-ico { width: 30px; height: 30px; border-radius: 10px; }
  .fc-ico .ico { width: 16px; height: 16px; }
  .milestones { grid-template-columns: 1fr 1fr; margin-top: 32px; }
  .milestones li { padding: 18px 16px; }
  .milestones li:nth-child(3) { border-left: 0; }
  .milestones li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .milestones strong { font-size: 23px; }
  .milestones span { font-size: 13px; }
  .split { margin-bottom: 72px; }
  .hub-node { width: 88px; padding: 8px 4px; font-size: 11.5px; border-radius: 14px; }
  .hub-node .ico { width: 28px; height: 28px; padding: 6px; }
  .hub-core img { width: 40px; height: 40px; }
  .hub-core { font-size: 13px; }
  .pillars, .projects, .posts, .industries, .eco, .commitments, .feature-list { grid-template-columns: 1fr; }
  .industry.featured { grid-column: auto; }
  .badge-soft { position: static; display: inline-block; margin-bottom: 12px; }
  .pillar, .industry, .project-body, .commit, .eco-card { padding-left: 20px; padding-right: 20px; }
  .member { grid-template-columns: 1fr; }
  .member-photo { aspect-ratio: 4 / 3.4; }
  .member-photo img { object-position: 50% 15%; }
  .head-row { margin-top: 72px; }
  .head-row .btn { width: 100%; }
  .form-card { padding: 24px 18px; border-radius: 22px; }
  .form-row.two { grid-template-columns: 1fr; gap: 0; }
  .faq-q { padding: 16px 18px; font-size: 15.5px; }
  .faq-a p { padding: 0 18px 18px; }
  .final-cta { padding-bottom: 72px; }
  .final-card { padding: 52px 20px; border-radius: 24px; }
  .final-card .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer { padding-top: 60px; }
  .thanks-card { padding: 32px 20px; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -16px rgba(13, 27, 62, .3);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 14px; font-weight: 600; font-size: 14.5px; color: var(--navy); background: var(--blue-50); }
  .mobile-bar a .ico { width: 18px; height: 18px; color: var(--blue-600); }
  .mobile-bar .mobile-bar-cta { background: var(--grad); color: #fff; }
  .mobile-bar .mobile-bar-cta .ico { color: #fff; }
}

@media (max-width: 380px) {
  .hub-node { width: 76px; font-size: 10.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-init { opacity: 1; transform: none; }
}
