/* ==========================================================================
   lumokite — Silver-White Aurora Light Tech Design System
   Multi-View Corporate Architecture | Zero Warm Beige | Crisp Studio Clarity
   ========================================================================== */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: #f8fafc;
  color: #0f172a;
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ---------- Silver-White Aurora Ambient Backdrop ---------- */
.aurora-backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(62% 52% at 14% 8%, rgba(56, 189, 248, 0.14) 0%, rgba(56, 189, 248, 0) 70%),
    radial-gradient(54% 48% at 86% 12%, rgba(99, 102, 241, 0.13) 0%, rgba(99, 102, 241, 0) 72%),
    radial-gradient(48% 45% at 72% 68%, rgba(168, 85, 247, 0.08) 0%, rgba(168, 85, 247, 0) 70%),
    radial-gradient(45% 40% at 20% 82%, rgba(45, 212, 191, 0.08) 0%, rgba(45, 212, 191, 0) 70%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 48%, #f1f5f9 100%);
}

.aurora-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.032) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.032) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 24%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 24%, #000 30%, transparent 100%);
}

#auroraCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.75;
}

/* ---------- Layout Container ---------- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Typography Helpers ---------- */
.mono {
  font-family: "SF Mono", "JetBrains Mono", "Menlo", "Consolas", monospace;
}

.aurora-text {
  background: linear-gradient(135deg, #0284c7 0%, #4f46e5 52%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(79, 70, 229, 0.16);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4338ca;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9, #4f46e5);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}

/* ---------- Sticky Frosted Silver Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.site-header.is-elevated {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 30px -12px rgba(15, 23, 42, 0.08);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: #0f172a;
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #ffffff, #eef2ff);
  border: 1px solid rgba(79, 70, 229, 0.18);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.10);
}

.brand-wordmark {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0b1120;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(241, 245, 249, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.nav-btn {
  appearance: none;
  border: none;
  background: transparent;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.nav-btn:hover {
  color: #0f172a;
}

.nav-btn.is-active {
  background: #ffffff;
  color: #0f172a;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.07), 0 0 0 1px rgba(15, 23, 42, 0.04);
}

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

.lang-btn {
  appearance: none;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.10);
  color: #334155;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.18s ease;
}

.lang-btn:hover {
  border-color: rgba(79, 70, 229, 0.35);
  color: #0f172a;
}

/* ---------- Buttons ---------- */
.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.btn-primary {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px -6px rgba(30, 27, 75, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #1e293b 0%, #312e81 100%);
  box-shadow: 0 12px 26px -6px rgba(79, 70, 229, 0.38);
}

.btn-aurora {
  background: linear-gradient(135deg, #0284c7 0%, #4f46e5 55%, #6d28d9 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px -6px rgba(79, 70, 229, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-aurora:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -6px rgba(79, 70, 229, 0.48);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  background: #ffffff;
  border-color: rgba(79, 70, 229, 0.35);
  box-shadow: 0 8px 20px -6px rgba(15, 23, 42, 0.08);
}

.btn-ghost {
  background: transparent;
  color: #4338ca;
  padding: 8px 4px;
  font-weight: 600;
}

.btn-ghost:hover {
  color: #0284c7;
  transform: translateX(2px);
}

.menu-toggle {
  display: none;
  appearance: none;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0f172a;
}

.mobile-drawer {
  display: none;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(255, 255, 255, 0.97);
  padding: 16px 24px 22px;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-list .nav-btn {
  text-align: left;
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.95rem;
}

.mobile-nav-list .nav-btn.is-active {
  background: #eef2ff;
  color: #4338ca;
  box-shadow: none;
}

/* ---------- True Multi-Page View Router ---------- */
main {
  flex: 1;
}

.page-view {
  display: none;
  padding-bottom: 84px;
}

.page-view.is-active {
  display: block;
  animation: pageEnter 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ---------- Studio Image Bezel (16:9 Uncropped High-Clarity) ---------- */
.studio-frame {
  position: relative;
  border-radius: 20px;
  padding: 7px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(226, 232, 240, 0.65));
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.03),
    0 18px 40px -14px rgba(15, 23, 42, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  overflow: hidden;
}

.studio-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
}

.studio-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover .studio-viewport img,
.service-deep-card:hover .studio-viewport img {
  transform: scale(1.025);
}

/* ---------- Frosted Silver Glass Card ---------- */
.glass-card {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(15, 23, 42, 0.075);
  border-radius: 22px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.03),
    0 14px 34px -12px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.glass-card-hover:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 70, 229, 0.24);
  box-shadow:
    0 4px 10px rgba(15, 23, 42, 0.04),
    0 22px 44px -14px rgba(79, 70, 229, 0.13);
}

/* ---------- Inner Page Hero Header ---------- */
.page-hero {
  padding: 44px 0 36px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  margin-bottom: 44px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 18px;
}

.breadcrumb button {
  appearance: none;
  background: none;
  border: none;
  color: #475569;
  font: inherit;
  cursor: pointer;
  font-weight: 500;
}

.breadcrumb button:hover {
  color: #4338ca;
  text-decoration: underline;
}

.page-hero-grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.page-hero h1 {
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: #0b1120;
  margin-top: 12px;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.04rem;
  color: #475569;
  max-width: 680px;
}

/* ---------- PAGE 1: HOME ---------- */
.home-hero {
  padding: 58px 0 52px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 44px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.25rem, 4vw, 3.45rem);
  line-height: 1.13;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: #0b1120;
  margin: 18px 0 18px;
}

.hero-lead {
  font-size: 1.06rem;
  color: #475569;
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-meta-strip {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.84rem;
  color: #64748b;
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta-item strong {
  color: #0f172a;
  font-weight: 600;
}

.hero-visual-wrap {
  position: relative;
}

.hero-aurora-halo {
  position: absolute;
  inset: -18px;
  z-index: -1;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(99, 102, 241, 0.18), rgba(168, 85, 247, 0.14));
  filter: blur(28px);
}

.hero-badge-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 28px -8px rgba(15, 23, 42, 0.12);
  font-size: 0.8rem;
}

.hero-badge-top {
  top: -14px;
  right: 18px;
}

.hero-badge-bottom {
  bottom: -16px;
  left: 18px;
}

.badge-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e0f2fe, #e0e7ff);
  color: #4338ca;
  font-weight: 700;
  font-size: 0.78rem;
}

.metrics-band {
  margin: 18px 0 64px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.metric-cell {
  padding-right: 16px;
  border-right: 1px solid rgba(15, 23, 42, 0.07);
}

.metric-cell:last-child {
  border-right: none;
  padding-right: 0;
}

.metric-val {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0b1120;
}

.metric-label {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 3px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  letter-spacing: -0.025em;
  color: #0b1120;
  margin-top: 8px;
}

.section-head p {
  color: #475569;
  max-width: 560px;
  font-size: 0.96rem;
}

/* Home 2x2 Practice Grid */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-bottom: 64px;
}

.practice-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  cursor: pointer;
}

.practice-body {
  padding: 0 6px 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.practice-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pillar-index {
  font-size: 0.76rem;
  font-weight: 700;
  color: #4f46e5;
  background: #eef2ff;
  padding: 3px 10px;
  border-radius: 999px;
}

.pillar-en {
  font-size: 0.76rem;
  color: #64748b;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.practice-body h3 {
  font-size: 1.32rem;
  color: #0b1120;
  letter-spacing: -0.02em;
}

.practice-body p {
  font-size: 0.93rem;
  color: #475569;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}

.chip {
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.card-link-row {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 0.88rem;
  font-weight: 600;
  color: #4338ca;
}

/* Home Integrated Value Strip */
.synergy-panel {
  padding: 36px;
  margin-bottom: 56px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(238, 242, 255, 0.75) 100%);
}

.synergy-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.synergy-node {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 16px;
  padding: 18px;
}

.synergy-node .step-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0284c7;
}

.synergy-node h4 {
  font-size: 1.02rem;
  margin: 6px 0;
  color: #0b1120;
}

.synergy-node p {
  font-size: 0.85rem;
  color: #475569;
}

/* Bottom Page CTA Banner */
.cta-banner {
  padding: 38px 42px;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #eef2ff 55%, #e0f2fe 100%);
  border: 1px solid rgba(79, 70, 229, 0.16);
  box-shadow: 0 20px 44px -18px rgba(79, 70, 229, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.cta-banner h3 {
  font-size: 1.5rem;
  color: #0b1120;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.cta-banner p {
  color: #475569;
  font-size: 0.95rem;
}

/* ---------- PAGE 2: SERVICES DEEP DIVE ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-pill {
  appearance: none;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.85);
  color: #475569;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-pill:hover {
  border-color: rgba(79, 70, 229, 0.35);
  color: #0f172a;
}

.filter-pill.is-active {
  background: linear-gradient(135deg, #0f172a, #1e1b4b);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 16px -4px rgba(30, 27, 75, 0.3);
}

.services-stack {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 52px;
}

.service-deep-card {
  padding: 30px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
}

.service-deep-card.is-hidden {
  display: none;
}

.service-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0 24px;
}

.spec-box {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 14px;
  padding: 15px 16px;
}

.spec-box h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 8px;
}

.spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.88rem;
  color: #1e293b;
}

.spec-list li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.spec-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4f46e5;
  margin-top: 8px;
  flex-shrink: 0;
}

.service-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  flex-wrap: wrap;
}

.cycle-tag {
  font-size: 0.83rem;
  color: #475569;
}

.cycle-tag strong {
  color: #0f172a;
}

/* ---------- PAGE 3: SOLUTIONS CONSOLE & MATRIX ---------- */
.console-shell {
  padding: 28px;
  margin-bottom: 48px;
}

.scenario-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 26px;
}

.scenario-tab {
  appearance: none;
  text-align: left;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.07);
  cursor: pointer;
  transition: all 0.18s ease;
}

.scenario-tab:hover {
  background: #ffffff;
  border-color: rgba(79, 70, 229, 0.25);
}

.scenario-tab.is-active {
  background: #ffffff;
  border-color: #4f46e5;
  box-shadow: 0 8px 22px -8px rgba(79, 70, 229, 0.22);
}

.scenario-tab .tab-code {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: #4f46e5;
  margin-bottom: 4px;
}

.scenario-tab .tab-name {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0b1120;
}

.console-stage {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 18px;
  padding: 28px;
}

.console-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 22px 0;
}

.console-block {
  padding: 20px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.console-block h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4f46e5;
  margin-bottom: 8px;
}

.workflow-chain {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 20px 0 24px;
}

.wf-step {
  padding: 13px 14px;
  border-radius: 12px;
  background: #eef2ff;
  border: 1px solid rgba(79, 70, 229, 0.14);
  font-size: 0.86rem;
  font-weight: 600;
  color: #1e1b4b;
}

.compare-table-wrap {
  overflow-x: auto;
  margin-bottom: 48px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.compare-table th {
  background: #f8fafc;
  font-weight: 700;
  color: #0b1120;
}

.compare-table td.highlight-col,
.compare-table th.highlight-col {
  background: rgba(238, 242, 255, 0.55);
  color: #1e1b4b;
  font-weight: 600;
}

/* ---------- PAGE 4: APPROACH, TIERS & FAQ ---------- */
.phase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.phase-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phase-num {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0284c7;
}

.phase-card h3 {
  font-size: 1.15rem;
  color: #0b1120;
}

.phase-card p {
  font-size: 0.89rem;
  color: #475569;
  flex: 1;
}

.phase-gate {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px dashed rgba(15, 23, 42, 0.12);
  font-size: 0.8rem;
  color: #4338ca;
  font-weight: 600;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 52px;
}

.tier-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.tier-card.is-featured {
  background: linear-gradient(180deg, #ffffff 0%, #eef2ff 100%);
  border: 1.5px solid rgba(79, 70, 229, 0.42);
  box-shadow: 0 20px 42px -14px rgba(79, 70, 229, 0.18);
}

.featured-ribbon {
  position: absolute;
  top: 16px;
  right: 18px;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0284c7, #4f46e5);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  appearance: none;
  background: none;
  border: none;
  padding: 18px 22px;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 600;
  color: #0b1120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f1f5f9;
  display: grid;
  place-items: center;
  font-size: 1rem;
  color: #475569;
  transition: transform 0.2s ease, background-color 0.2s ease;
  flex-shrink: 0;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: #eef2ff;
  color: #4338ca;
}

.faq-a {
  display: none;
  padding: 0 22px 18px;
  color: #475569;
  font-size: 0.92rem;
}

.faq-item.is-open .faq-a {
  display: block;
}

/* ---------- PAGE 5: ABOUT STUDIO ---------- */
.about-story-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 32px;
  margin-bottom: 44px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 48px;
}

.principle-card {
  padding: 26px;
}

.principle-card h3 {
  font-size: 1.12rem;
  color: #0b1120;
  margin: 8px 0;
}

.principle-card p {
  font-size: 0.91rem;
  color: #475569;
}

/* ---------- PAGE 6: CONTACT PORTAL ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.email-spotlight {
  padding: 26px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, #ffffff 0%, #eef2ff 100%);
}

.email-address-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  margin: 14px 0;
  background: #ffffff;
  border: 1px solid rgba(79, 70, 229, 0.22);
  border-radius: 12px;
  font-size: 1.02rem;
  font-weight: 700;
  color: #0b1120;
  flex-wrap: wrap;
}

.brief-form-card {
  padding: 30px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.scope-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scope-pill {
  appearance: none;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #f8fafc;
  color: #334155;
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.16s ease;
}

.scope-pill.is-selected {
  background: #eef2ff;
  border-color: #4f46e5;
  color: #3730a3;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.14);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 11px;
  border: 1px solid rgba(15, 23, 42, 0.13);
  background: #ffffff;
  color: #0f172a;
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.form-textarea {
  min-height: 108px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* ---------- Corporate Footer ---------- */
.site-footer {
  background: rgba(255, 255, 255, 0.82);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding: 52px 0 32px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.footer-col h4 {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0f172a;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links button,
.footer-links a {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.88rem;
  color: #475569;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
}

.footer-links button:hover,
.footer-links a:hover {
  color: #4338ca;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #64748b;
}

/* ---------- Toast Feedback ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 12px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.22);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1024px) {
  .primary-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .hero-layout,
  .service-deep-card,
  .about-story-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .metrics-band,
  .synergy-steps,
  .scenario-tabs,
  .workflow-chain,
  .phase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-cell:nth-child(2) {
    border-right: none;
  }
  .tier-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 18px;
  }
  .home-hero {
    padding: 34px 0 36px;
  }
  .practice-grid,
  .metrics-band,
  .synergy-steps,
  .service-spec-grid,
  .scenario-tabs,
  .console-grid,
  .workflow-chain,
  .phase-grid,
  .principle-grid,
  .form-row-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .metric-cell {
    border-right: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
    padding-bottom: 14px;
    padding-right: 0;
  }
  .metric-cell:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .hero-badge-float {
    position: static;
    margin-top: 10px;
  }
  .cta-banner {
    padding: 26px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
