/* ============================================================
   ITWEENS — SECUI-inspired Premium Redesign
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
:root {
  --black: #04080f;
  --black-2: #07111f;
  --blue-deep: #0a1a3f;
  --blue-brand: #1a6fff;
  --blue-bright: #4da6ff;
  --blue-light: #8dd4ff;
  --white: #ffffff;
  --text: #e8f0ff;
  --muted: #8aa0c8;
  --accent: #4da6ff;
  --accent-2: #6dbfff;
  --line: rgba(100,160,255,0.14);
  --line-bright: rgba(100,160,255,0.28);
  --container: min(1280px, calc(100% - 40px));
  --shadow-card: 0 20px 60px rgba(0,0,0,0.45);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", -apple-system, sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.container { width: var(--container); margin: 0 auto; }

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  background: rgba(4,8,15,0.0);
  border-bottom: 1px solid rgba(255,255,255,0);
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}
.site-header.is-scrolled {
  background: rgba(4,8,15,0.92);
  border-bottom: 1px solid rgba(100,160,255,0.1);
  backdrop-filter: blur(18px);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 88px; background: #fff; border-radius: 8px; padding: 4px 7px; }
.brand-copy strong { display: block; font-size: 1rem; letter-spacing: .1em; color: #fff; }
.brand-copy em { display: block; font-size: .7rem; font-style: normal; color: var(--muted); margin-top: 2px; }
.gnb { display: flex; align-items: center; gap: 32px; }
.gnb a { font-size: .98rem; font-weight: 600; color: rgba(255,255,255,.82); letter-spacing: -.01em; transition: color .2s; }
.gnb a:hover { color: var(--white); }
.gnb .nav-cta {
  padding: 10px 22px; border-radius: 999px;
  border: 1px solid rgba(100,160,255,.32);
  background: rgba(26,111,255,.12);
  color: #fff;
}
.gnb .nav-cta:hover { background: rgba(26,111,255,.28); }
.menu-toggle {
  display: none; width: 46px; height: 46px; border: 0;
  background: transparent; flex-direction: column; justify-content: center; gap: 5px;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 0 auto; border-radius: 99px; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero-fullscreen {
  position: relative; overflow: hidden;
  min-height: 100vh; display: flex; align-items: center;
}
.hero-slides-wrap {
  position: absolute; inset: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.9s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-slide-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(4,8,15,.92) 0%,
    rgba(4,8,15,.78) 30%,
    rgba(4,8,15,.32) 62%,
    rgba(4,8,15,.06) 100%
  );
}
.hero-inner-fs {
  position: relative; z-index: 2;
  width: var(--container); margin: 0 auto;
  padding: 148px 0 100px;
  display: flex; align-items: center;
}
.hero-copy-fs { max-width: 680px; }
.hero-eyebrow {
  display: inline-block; margin-bottom: 22px;
  font-size: .78rem; letter-spacing: .3em; font-weight: 700;
  color: var(--accent-2); text-transform: uppercase;
}
.hero-copy-fs h1 {
  margin: 0 0 24px;
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  line-height: 1.06; letter-spacing: -.055em; font-weight: 900;
  color: #fff; word-break: keep-all;
}
.hero-copy-fs h1 em {
  font-style: normal;
  color: var(--accent-2);
}
.hero-copy-fs p {
  margin: 0 0 38px;
  font-size: 1.08rem; line-height: 1.85;
  color: rgba(220,234,255,.82); max-width: 520px; word-break: keep-all;
}
.hero-btn-wrap { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  font-size: 1rem; font-weight: 700; letter-spacing: -.01em;
  border: 0; transition: transform .2s, opacity .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--blue-brand);
  color: #fff;
  box-shadow: 0 16px 40px rgba(26,111,255,.36);
}
.btn-primary:hover { background: #2a7dff; }
.btn-ghost {
  background: rgba(255,255,255,.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-ghost.light { border-color: rgba(100,160,255,.4); }

/* Slide pagination */
.hero-pagination {
  position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; align-items: center; gap: 10px;
}
.hero-pag-item {
  width: 36px; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,.25); cursor: pointer; transition: all .3s;
  border: 0;
}
.hero-pag-item.is-active {
  width: 60px; background: var(--accent-2);
}
.hero-scroll-hint {
  position: absolute; bottom: 36px; right: 48px;
  z-index: 10; display: flex; align-items: center; gap: 10px;
  font-size: .78rem; color: rgba(255,255,255,.4); letter-spacing: .12em;
  animation: scrollHint 2.2s ease-in-out infinite;
}
@keyframes scrollHint { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }
.hero-scroll-hint::before {
  content: ""; width: 1px; height: 38px;
  background: linear-gradient(to bottom, rgba(100,160,255,.5), transparent);
}

/* ── Sections ─────────────────────────────────────────────── */
.section { padding: 112px 0; }
.section-dark { background: linear-gradient(180deg, rgba(6,14,34,.9), rgba(8,20,46,.98)); }
.section-black { background: var(--black); }
.kicker {
  display: inline-block; margin-bottom: 12px;
  font-size: .76rem; letter-spacing: .24em; font-weight: 700;
  color: var(--accent-2); text-transform: uppercase;
}
.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: end; margin-bottom: 52px;
}
.section-head h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 1.18; letter-spacing: -.045em; font-weight: 800;
}
.section-head p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.section-head-center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head-center p { max-width: 680px; }

/* ── Stats bar (new) ─────────────────────────────────────── */
.stats-bar {
  background: linear-gradient(90deg, #06101f, #071428, #06101f);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 40px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); text-align: center; }
.stat-item { padding: 10px 20px; border-right: 1px solid var(--line); }
.stat-item:last-child { border-right: 0; }
.stat-num {
  font-size: clamp(2.4rem, 3.5vw, 3.6rem);
  font-weight: 900; letter-spacing: -.05em;
  background: linear-gradient(135deg, var(--accent-2), var(--blue-brand));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1.1;
}
.stat-label { margin-top: 6px; font-size: .9rem; color: var(--muted); }

/* ── Feature cards ───────────────────────────────────────── */
.feature-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.feature-card {
  padding: 32px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(12,28,72,.8), rgba(6,14,40,.95));
  border: 1px solid var(--line);
  transition: border-color .25s, transform .25s;
}
.feature-card:hover { border-color: var(--line-bright); transform: translateY(-4px); }
.feature-no {
  display: inline-flex; width: 40px; height: 40px; align-items: center;
  justify-content: center; border-radius: 12px;
  background: rgba(26,111,255,.16); color: var(--accent-2);
  font-size: .8rem; font-weight: 800; letter-spacing: .06em;
}
.feature-card h3 { margin: 18px 0 10px; font-size: 1.18rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.72; }

/* ── Business bubbles ────────────────────────────────────── */
.business-bubbles { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.bubble-card {
  text-align: center; padding: 54px 32px 48px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(10,22,56,.76), rgba(6,14,36,.96));
  border: 1px solid var(--line);
  transition: border-color .25s, transform .25s;
}
.bubble-card:hover { border-color: var(--line-bright); transform: translateY(-4px); }
.bubble {
  width: 164px; height: 164px; margin: 0 auto 32px;
  border-radius: 50%; display: grid; place-items: center;
  position: relative;
  background: radial-gradient(circle at 30% 28%, rgba(100,180,255,.24), rgba(8,18,50,.6) 50%);
  border: 1px solid rgba(100,180,255,.22);
}
.bubble::before {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 1px dashed rgba(100,180,255,.14);
}
.bubble span { font-size: 1.18rem; font-weight: 800; }
.glow-a { box-shadow: 0 0 60px rgba(26,111,255,.18); }
.glow-b { box-shadow: 0 0 60px rgba(0,180,255,.16); }
.glow-c { box-shadow: 0 0 60px rgba(80,160,255,.14); }
.bubble-card h3 { margin: 0 0 14px; font-size: 1.32rem; }
.bubble-card p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.72; }

/* ── Solutions tabs ──────────────────────────────────────── */
.solutions-showcase { display: grid; grid-template-columns: 1fr .85fr; gap: 40px; align-items: end; margin-bottom: 36px; }
.solutions-visual-card {
  position: relative; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--line); min-height: 300px;
  background: linear-gradient(180deg,#0a1840,#060e28);
}
.solutions-visual-card img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.visual-badges { position: absolute; left: 18px; bottom: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.visual-badges span {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(4,8,18,.6); backdrop-filter: blur(10px);
  font-size: .82rem; font-weight: 700; color: #ddf;
}
.tabs { display: flex; flex-direction: column; gap: 22px; }
.tab-buttons {
  display: grid; gap: 8px; padding: 8px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  border-radius: 999px;
}
.tab-buttons.three-col { grid-template-columns: repeat(3,1fr); }
.tab-btn {
  min-height: 54px; border-radius: 999px; border: 0; background: transparent;
  color: rgba(220,234,255,.7); font-weight: 700; font-size: 1.08rem;
  letter-spacing: -.01em; transition: all .25s;
}
.tab-btn.is-active {
  color: #fff; background: var(--blue-brand);
  box-shadow: 0 12px 32px rgba(26,111,255,.28);
}
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }
.tab-headline { display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap; margin-bottom: 24px; }
.tab-headline strong { font-size: 1.22rem; }
.tab-headline span { color: var(--muted); font-size: .96rem; }
.solution-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.solution-card {
  padding: 26px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(10,22,56,.84), rgba(6,14,40,.96));
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.solution-card:hover { border-color: var(--line-bright); transform: translateY(-3px); }
.solution-top { display: flex; flex-direction: column; gap: 10px; }
.category-chip {
  display: inline-flex; align-items: center; width: max-content;
  padding: 5px 12px; border-radius: 999px;
  font-size: .75rem; font-weight: 700; color: var(--accent-2);
  background: rgba(100,180,255,.08); border: 1px solid rgba(100,180,255,.18);
}
.solution-card h3 { margin: 0; font-size: 1.28rem; }
.solution-card p { margin: 14px 0 18px; color: var(--muted); font-size: .95rem; line-height: 1.7; flex: 1; }
.text-link { color: var(--accent-2); font-weight: 700; font-size: .9rem; }
.text-link:hover { color: #fff; }

/* ── Maintenance ─────────────────────────────────────────── */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.split-grid h2 { margin: 8px 0 20px; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.18; letter-spacing: -.045em; }
.split-grid > div > p { color: var(--muted); margin: 0 0 32px; line-height: 1.82; }
.service-steps { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.service-steps article {
  padding: 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(12,28,72,.76), rgba(6,14,40,.96));
  border: 1px solid var(--line);
}
.service-steps strong {
  display: inline-flex; width: 44px; height: 44px; align-items: center;
  justify-content: center; border-radius: 13px; margin-bottom: 14px;
  background: rgba(26,111,255,.16); color: var(--accent-2); font-size: 1rem;
}
.service-steps span { display: block; font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.service-steps p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.7; }

/* ── Cases ───────────────────────────────────────────────── */
.case-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.case-card {
  padding: 28px 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(10,22,56,.84), rgba(7,16,40,.96));
  border: 1px solid rgba(80,140,255,.16);
  transition: border-color .2s, transform .2s;
}
.case-card:hover { border-color: var(--line-bright); transform: translateY(-3px); }
.case-card h3 { margin: 0 0 12px; font-size: 1.1rem; }
.case-card p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.7; }

/* ── Timeline ────────────────────────────────────────────── */
.timeline-preview { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.timeline-item {
  padding: 28px 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(9,20,52,.86), rgba(6,12,32,.96));
  border: 1px solid var(--line);
}
.timeline-item .year { font-size: 1.4rem; font-weight: 900; color: var(--accent-2); margin-bottom: 14px; }
.timeline-item ul { margin: 0; padding-left: 16px; }
.timeline-item li { color: var(--muted); font-size: .88rem; line-height: 1.8; }
.timeline-item li + li { margin-top: 4px; }

/* ── Contact ─────────────────────────────────────────────── */
.contact-shell { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; }
.contact-copy-block h2 { margin: 8px 0 20px; font-size: clamp(1.9rem,3vw,2.9rem); line-height: 1.16; letter-spacing: -.045em; }
.contact-copy-block p { color: var(--muted); margin: 0 0 28px; line-height: 1.82; }
.contact-mini-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.contact-mini-list span {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px;
  border-radius: 999px; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1); color: #d9e7ff; font-size: .86rem;
}
.contact-cta-wrap { display: flex; flex-wrap: wrap; gap: 14px; }
.contact-visual-wrap { position: relative; }
.contact-image-card {
  border-radius: 32px; overflow: hidden;
  border: 1px solid var(--line); min-height: 480px;
  background: linear-gradient(180deg, #0a1840, #060e28);
}
.contact-image-card img { width: 100%; height: 100%; object-fit: cover; min-height: 480px; }
.floating-contact-card {
  position: absolute; right: 24px; bottom: 24px;
  width: min(420px, calc(100% - 48px));
  padding: 28px; border-radius: 24px;
  background: rgba(4,10,28,.88); backdrop-filter: blur(16px);
  border: 1px solid rgba(100,160,255,.18);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.contact-row {
  display: grid; grid-template-columns: 80px 1fr; gap: 14px;
  padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.07);
}
.contact-row:last-child { border-bottom: 0; }
.contact-row strong { color: var(--accent-2); font-size: .92rem; }
.contact-row span { color: #dce8ff; font-size: .95rem; line-height: 1.6; word-break: keep-all; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  padding: 52px 0 28px;
  background: #020509;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .85fr; gap: 32px; }
.footer-brand { display: flex; flex-direction: column; }
.footer-logo { width: 82px; background: #fff; border-radius: 8px; padding: 4px 6px; margin-bottom: 18px; }
.site-footer h3 { margin: 0 0 8px; font-size: 1rem; }
.site-footer h4 { margin: 0 0 14px; font-size: .9rem; color: rgba(255,255,255,.6); letter-spacing: .06em; text-transform: uppercase; }
.site-footer p, .site-footer a { margin: 0 0 7px; color: var(--muted); font-size: .88rem; line-height: 1.7; display: block; }
.site-footer a:hover { color: var(--accent-2); }
.footer-bottom {
  margin-top: 20px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.05);
  color: rgba(140,160,200,.55); font-size: .82rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ── Sub-page hero ───────────────────────────────────────── */
.sub-hero {
  position: relative; overflow: hidden; padding: 160px 0 80px;
}
.sub-hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4,8,15,.9) 0%, rgba(4,8,15,.5) 50%, rgba(4,8,15,.18) 100%),
    url('../images/hero-bg-1.svg') center / cover no-repeat;
}
.sub-hero-inner { position: relative; z-index: 1; }
.sub-hero .eyebrow { margin-bottom: 14px; }
.sub-hero h1 { margin: 0 0 14px; font-size: clamp(2.4rem,4.5vw,4rem); letter-spacing: -.05em; line-height: 1.08; }
.sub-hero p { margin: 0; color: rgba(220,234,255,.76); max-width: 680px; font-size: 1.05rem; line-height: 1.8; }

/* ── Sub-page content ────────────────────────────────────── */
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: end; margin-bottom: 40px; }
.section-heading h2 { margin: 8px 0 0; font-size: clamp(1.9rem,3vw,3rem); line-height: 1.18; letter-spacing: -.04em; }
.section-heading p { margin: 0; color: var(--muted); }
.section-heading.small-gap { margin-top: 52px; }
.detail-layout { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; }
.detail-card {
  padding: 30px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(10,22,56,.86), rgba(6,14,38,.97));
  border: 1px solid var(--line);
}
.detail-card h3 { margin: 0 0 14px; font-size: 1.12rem; }
.bullet-list { margin: 0; padding-left: 18px; color: var(--muted); }
.bullet-list li + li { margin-top: 8px; }
.deliver-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.deliver-grid article {
  padding: 24px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(12,26,68,.86), rgba(7,14,34,.97));
  border: 1px solid var(--line);
}
.deliver-grid strong { display: block; font-size: 1.02rem; color: var(--accent-2); margin-bottom: 8px; }
.deliver-grid p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.7; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.related-card {
  padding: 26px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(10,22,54,.86), rgba(6,12,32,.97));
  border: 1px solid var(--line);
}
.related-card strong { display: block; font-size: 1.1rem; margin-bottom: 10px; }
.related-card p { margin: 0 0 14px; color: var(--muted); font-size: .92rem; }
.related-card a { color: var(--accent-2); font-weight: 700; font-size: .9rem; }
.maintenance-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.maintenance-card {
  padding: 28px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(10,22,56,.82), rgba(6,12,32,.97));
  border: 1px solid var(--line);
}
.maintenance-card h3 { margin: 0 0 10px; }
.maintenance-card p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.72; }
.maintenance-process { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 28px; }
.maintenance-process article {
  padding: 26px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(10,22,54,.84), rgba(6,12,32,.97));
  border: 1px solid var(--line);
}
.maintenance-process strong { display: block; font-size: 2rem; color: var(--accent-2); line-height: 1; }
.maintenance-process span { display: block; margin: 10px 0 8px; font-weight: 800; }
.maintenance-process p { margin: 0; color: var(--muted); font-size: .88rem; }
.result-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.result-card {
  padding: 26px 22px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(10,22,54,.86), rgba(7,14,38,.97));
  border: 1px solid rgba(80,140,255,.16);
}
.result-card strong { display: block; margin-bottom: 10px; font-size: 1.06rem; }
.result-card p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.72; }
.project-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.project-item {
  display: grid; grid-template-columns: 68px 1fr; gap: 18px; align-items: flex-start;
  padding: 26px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(10,22,54,.84), rgba(6,12,32,.97));
  border: 1px solid var(--line);
}
.project-label {
  display: flex; align-items: center; justify-content: center;
  width: 68px; height: 68px; border-radius: 20px;
  background: rgba(26,111,255,.16); color: var(--accent-2);
  font-size: 1.2rem; font-weight: 800;
}
.project-item h3 { margin: 0 0 10px; font-size: 1.15rem; }
.project-item p { margin: 0; color: var(--muted); font-size: .93rem; }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.portfolio-tags span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border-radius: 999px; background: rgba(255,255,255,.04);
  border: 1px solid var(--line); color: #d8e6ff; font-size: .86rem;
}
.cta-panel {
  margin-top: 28px; padding: 30px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(10,24,62,.9), rgba(8,16,42,.97));
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.cta-panel strong { display: block; font-size: 1.18rem; margin-bottom: 8px; }
.cta-panel p { margin: 0; color: var(--muted); }
.history-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.history-card {
  padding: 28px 24px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(9,20,52,.88), rgba(6,12,32,.97));
  border: 1px solid var(--line);
}
.history-year { font-size: 1.48rem; font-weight: 900; color: var(--accent-2); margin-bottom: 16px; }
.history-card ul { margin: 0; padding-left: 18px; color: var(--muted); }
.history-card li + li { margin-top: 8px; }
.cert-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 28px; }
.cert-band article {
  padding: 22px; border-radius: 18px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); text-align: center;
}
.cert-band strong { display: block; font-size: 1.08rem; margin-bottom: 5px; }
.cert-band span { color: var(--muted); font-size: .9rem; }
.solution-nav-wrap { margin-top: -42px; position: relative; z-index: 4; }
.solution-top-tabs, .solution-sub-tabs {
  display: grid; gap: 8px; padding: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px; backdrop-filter: blur(14px);
}
.solution-top-tabs { grid-template-columns: repeat(4,1fr); margin-bottom: 14px; }
.solution-sub-tabs { grid-template-columns: repeat(auto-fit, minmax(130px,1fr)); }
.solution-top-tabs a, .solution-sub-tabs a {
  min-height: 52px; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 0 12px; border-radius: 999px;
  color: rgba(220,234,255,.7); font-weight: 700; background: transparent; transition: .25s;
}
.solution-top-tabs a.is-active, .solution-sub-tabs a.is-active {
  color: #fff; background: var(--blue-brand);
  box-shadow: 0 12px 30px rgba(26,111,255,.24);
}
.solution-top-tabs.three-tabs { grid-template-columns: repeat(3,1fr); }
.center { text-align: center; }
.top-gap { margin-top: 32px; }
.compact-timeline { margin-top: 10px; }

/* ── Misc helpers ─────────────────────────────────────────── */
.page-hero { padding: 88px 0 64px; }
.page-hero h1 { font-size: clamp(2.2rem,3.5vw,3.4rem); margin: 0 0 12px; letter-spacing: -.05em; }
.page-hero p { color: var(--muted); max-width: 720px; line-height: 1.78; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.content-card {
  padding: 32px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(10,22,56,.82), rgba(6,14,38,.97));
  border: 1px solid var(--line);
}
.content-card + .content-card { margin-top: 22px; }
.content-card h2 { margin: 0 0 14px; font-size: 1.2rem; }
.content-card p, .content-card li { color: var(--muted); font-size: .95rem; line-height: 1.78; }
.content-card ul { margin: 0; padding-left: 20px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1180px) {
  .hero-copy-fs h1 { font-size: clamp(2.6rem,7vw,4.2rem); }
  .feature-cards, .case-grid, .timeline-preview { grid-template-columns: repeat(2,1fr); }
  .solution-grid { grid-template-columns: repeat(2,1fr); }
  .solutions-showcase, .contact-shell, .split-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid .stat-item:nth-child(2) { border-right: 0; }
  .deliver-grid { grid-template-columns: repeat(2,1fr); }
  .detail-layout { grid-template-columns: 1fr 1fr; }
  .detail-layout .main-detail { grid-column: 1/-1; }
  .result-grid { grid-template-columns: repeat(2,1fr); }
  .project-list { grid-template-columns: 1fr; }
  .cert-band { grid-template-columns: repeat(2,1fr); }
  .history-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .menu-toggle { display: flex; }
  .gnb {
    position: fixed; top: 76px; left: 16px; right: 16px;
    display: none; flex-direction: column; align-items: stretch;
    gap: 6px; padding: 16px; border-radius: 22px;
    background: rgba(4,8,20,.97); border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
  }
  .gnb.is-open { display: flex; }
  .gnb a { padding: 12px 10px; border-radius: 12px; }
  .gnb a:hover { background: rgba(255,255,255,.05); }
  .brand-copy em { display: none; }
  .tab-buttons.three-col { grid-template-columns: 1fr; border-radius: 22px; }
  .section-heading { grid-template-columns: 1fr; }
  .solution-top-tabs, .solution-sub-tabs { border-radius: 22px; }
  .solution-top-tabs { grid-template-columns: repeat(2,1fr); }
  .floating-contact-card { position: static; width: 100%; margin-top: 18px; }
}
@media (max-width: 640px) {
  .hero-copy-fs h1 { font-size: 2.4rem; line-height: 1.08; }
  .hero-inner-fs { padding: 120px 0 80px; }
  .section { padding: 80px 0; }
  .feature-cards, .business-bubbles, .solution-grid, .service-steps,
  .case-grid, .timeline-preview, .maintenance-grid, .maintenance-process,
  .deliver-grid, .related-grid, .cert-band, .result-grid,
  .history-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid .stat-item { border-right: 0; }
  .detail-layout { grid-template-columns: 1fr; }
  .project-item { grid-template-columns: 52px 1fr; padding: 20px; }
  .project-label { width: 52px; height: 52px; border-radius: 16px; font-size: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-panel { flex-direction: column; align-items: flex-start; }
  .contact-image-card { min-height: 240px; }
  .contact-image-card img { min-height: 240px; }
}

/* ============================================================
   PREMIUM UPGRADES
   ============================================================ */

/* ── Hero slide — Ken Burns + refined crossfade ─────────── */
.hero-slide {
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4,0,0.2,1);
}
.hero-slide.is-active { opacity: 1; }
.hero-slide-bg {
  transform: scale(1.06);
  transition: transform 7s ease-out;
  will-change: transform;
}
.hero-slide.is-active .hero-slide-bg {
  transform: scale(1.0);
}

/* Hero copy — stagger fade-in on load */
.hero-copy-fs {
  animation: heroFadeUp 1s cubic-bezier(0.22,1,0.36,1) both;
  animation-delay: 0.3s;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow { animation: heroFadeUp 0.9s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.1s; }
.hero-copy-fs h1 { animation: heroFadeUp 1s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.2s; }
.hero-copy-fs p   { animation: heroFadeUp 1s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.35s; }
.hero-btn-wrap    { animation: heroFadeUp 1s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.5s; }

/* Pagination — progress bar animation */
.hero-pag-item { position: relative; overflow: hidden; }
.hero-pag-item.is-active::after {
  content: "";
  position: absolute; inset: 0 100% 0 0;
  background: rgba(255,255,255,.35);
  animation: pagProgress 5s linear forwards;
}
@keyframes pagProgress { to { right: 0; } }

/* Scroll hint improved */
.hero-scroll-hint {
  font-size: .7rem; letter-spacing: .18em; font-weight: 600;
  color: rgba(255,255,255,.35);
}

/* ── Solutions visual card — panoramic wide style ─────── */
.solutions-visual-card {
  min-height: 0 !important;
  aspect-ratio: 2.5 / 1;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(100,160,255,0.14);
  background: linear-gradient(135deg, #040d22, #071840);
  position: relative;
}
.solutions-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  min-height: 0 !important;
}
/* Overlay gradient on solutions card for depth */
.solutions-visual-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(4,13,34,.3) 0%,
    transparent 50%,
    rgba(0,100,255,.06) 100%
  );
  pointer-events: none;
}

/* ── Section card hover — glow border ──────────────────── */
.feature-card:hover,
.bubble-card:hover,
.solution-card:hover,
.case-card:hover {
  box-shadow: 0 0 0 1px rgba(77,166,255,.35), 0 24px 60px rgba(0,0,0,.5);
}

/* ── Stat numbers — refined ─────────────────────────────── */
.stat-num {
  background: linear-gradient(135deg, #6dbfff 0%, #1a6fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}

/* ── Buttons — refined glow ─────────────────────────────── */
.btn-primary {
  box-shadow: 0 14px 36px rgba(26,111,255,.38), 0 2px 0 rgba(255,255,255,.08) inset;
}
.btn-primary:hover {
  box-shadow: 0 18px 44px rgba(26,111,255,.52), 0 2px 0 rgba(255,255,255,.08) inset;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.4); }

/* ── Tab active — gradient pill ─────────────────────────── */
.tab-btn.is-active {
  background: linear-gradient(135deg, #2a7dff, #1255d4);
  box-shadow: 0 12px 32px rgba(26,111,255,.32);
}

/* ── Kicker — subtle underline accent ───────────────────── */
.kicker {
  position: relative;
  padding-bottom: 0;
}

/* ── Section transitions ────────────────────────────────── */
.section-dark { 
  background: linear-gradient(180deg, rgba(5,12,32,.92) 0%, rgba(7,17,44,.98) 100%);
}

/* ── Footer — cleaner ───────────────────────────────────── */
.site-footer {
  background: #020406;
}
.footer-bottom {
  color: rgba(120,150,195,.45);
}
