/* ==========================================================================
   NovaPeak Tech — Enterprise Software & Global Digital Solutions
   Obsidian & Champagne Gold Design System (Responsive, WCAG AA, Ad-Compliant)
   ========================================================================== */

:root {
  --bg-base: #07090f;
  --bg-elevated: #0d121d;
  --bg-card: rgba(17, 23, 37, 0.72);
  --bg-card-solid: #111725;
  --bg-glass: rgba(11, 15, 25, 0.78);

  --gold-100: #fbf1da;
  --gold-200: #f3d9a4;
  --gold-400: #d4af6a;
  --gold-500: #b88f46;
  --gold-glow: rgba(212, 175, 106, 0.22);

  --text-primary: #f5f7fb;
  --text-secondary: #a8b3c7;
  --text-muted: #78849b;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 106, 0.34);

  --success: #34d399;
  --danger: #f87171;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.42);
  --shadow-gold: 0 12px 32px rgba(212, 175, 106, 0.16);

  --container: 1220px;
  --header-h: 76px;
  --transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition),
    background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--gold-200);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-200) 0%, var(--gold-400) 55%, var(--gold-500) 100%);
  color: #161108;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(212, 175, 106, 0.28);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-gold);
  color: var(--gold-100);
}

.btn-outline:hover {
  background: rgba(212, 175, 106, 0.12);
  border-color: var(--gold-200);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1rem;
}

/* ---------- Section Common ---------- */
.section {
  padding: 96px 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, rgba(13, 18, 29, 0.92) 0%, rgba(7, 9, 15, 0.98) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-gold);
  background: rgba(212, 175, 106, 0.08);
  color: var(--gold-200);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff 10%, #d8e0ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-desc {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.02rem;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 900;
  background: rgba(7, 9, 15, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition), border-color var(--transition);
}

.site-header.scrolled {
  background: rgba(7, 9, 15, 0.92);
  border-bottom-color: rgba(212, 175, 106, 0.18);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--gold-200);
}

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

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}

.lang-toggle:hover {
  border-color: var(--border-gold);
  color: var(--gold-200);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(7, 9, 15, 0.97);
  backdrop-filter: blur(20px);
  z-index: 890;
  padding: 28px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity var(--transition), transform var(--transition);
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-drawer a.mobile-link {
  padding: 14px 4px;
  font-size: 1.08rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  padding: calc(var(--header-h) + 64px) 0 72px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--bg-base);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.92;
  filter: saturate(1.12) contrast(1.06);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 106, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 106, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 74% 45%, rgba(0, 0, 0, 0.9), transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 74% 45%, rgba(0, 0, 0, 0.9), transparent 72%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 560px;
  height: 560px;
  right: -80px;
  top: 6%;
  background: radial-gradient(circle, rgba(212, 175, 106, 0.28) 0%, rgba(212, 175, 106, 0) 70%);
}

.hero-orb-2 {
  width: 440px;
  height: 440px;
  right: 18%;
  bottom: -120px;
  background: radial-gradient(circle, rgba(66, 133, 244, 0.16) 0%, rgba(66, 133, 244, 0) 72%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 15, 0.94) 0%, rgba(7, 9, 15, 0.74) 48%, rgba(7, 9, 15, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 9, 15, 0.25) 0%, rgba(7, 9, 15, 0.15) 68%, rgba(7, 9, 15, 0.98) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-gold);
  background: rgba(17, 23, 37, 0.78);
  color: var(--gold-200);
  font-size: 0.84rem;
  font-weight: 500;
  margin-bottom: 22px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 12px var(--gold-400);
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 4.1vw, 3.35rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.hero-title .gold-text {
  background: linear-gradient(120deg, var(--gold-100) 0%, var(--gold-400) 65%, #f4d69c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 30px;
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  background: rgba(17, 23, 37, 0.62);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  backdrop-filter: blur(8px);
}

.trust-value {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--gold-200);
  margin-bottom: 3px;
}

.trust-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Hero Right-Side Flagship Showcase */
.hero-visual {
  position: relative;
  padding: 26px 14px 30px;
}

.hero-showcase-glow {
  position: absolute;
  inset: 10% 4%;
  border-radius: 32px;
  background: radial-gradient(circle at 50% 45%, rgba(212, 175, 106, 0.34), rgba(56, 114, 224, 0.14) 55%, transparent 78%);
  filter: blur(42px);
  z-index: 0;
  animation: glowPulse 6s ease-in-out infinite;
}

.hero-showcase-frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(22, 29, 47, 0.92), rgba(10, 14, 24, 0.96));
  border: 1px solid rgba(212, 175, 106, 0.42);
  box-shadow:
    0 32px 72px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
}

.hero-showcase-frame:hover {
  transform: translateY(-6px);
  border-color: rgba(243, 217, 164, 0.68);
}

.hero-frame-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  background: rgba(7, 9, 15, 0.82);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-window-dots {
  display: flex;
  gap: 6px;
}

.hero-window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.hero-window-dots span:first-child {
  background: rgba(212, 175, 106, 0.85);
}

.hero-frame-url {
  font-size: 0.78rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.32);
  color: #a7f3d0;
  font-size: 0.72rem;
  font-weight: 600;
  flex-shrink: 0;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

.hero-frame-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0b0f19;
  overflow: hidden;
}

.hero-frame-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-frame-media img.is-switching {
  opacity: 0.15;
  transform: scale(1.04);
}

.hero-frame-switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  background: rgba(7, 9, 15, 0.88);
  border-top: 1px solid var(--border-subtle);
}

.hero-switch-btn {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.hero-switch-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.07);
}

.hero-switch-btn.active {
  background: linear-gradient(135deg, rgba(243, 217, 164, 0.22), rgba(212, 175, 106, 0.08));
  border-color: var(--border-gold);
  color: var(--gold-100);
}

.hero-float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(13, 18, 30, 0.92);
  border: 1px solid var(--border-gold);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
}

.hero-float-top {
  top: 0;
  right: 0;
  animation: floatSlow 5.5s ease-in-out infinite;
}

.hero-float-bottom {
  bottom: 0;
  left: -8px;
  animation: floatSlow 6.5s ease-in-out infinite reverse;
}

.hero-float-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(212, 175, 106, 0.16);
  border: 1px solid rgba(212, 175, 106, 0.35);
  color: var(--gold-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-float-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.hero-float-sub {
  font-size: 0.74rem;
  color: var(--gold-200);
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ---------- Advantages 6-Grid ---------- */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), border-color var(--transition),
    background var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  background: rgba(20, 27, 44, 0.86);
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212, 175, 106, 0.2), rgba(212, 175, 106, 0.04));
  border: 1px solid var(--border-gold);
  color: var(--gold-200);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

/* ---------- Solutions Showcase (Upgraded Sliding Tabs + Cinematic Stage + Thumbnail Dock) ---------- */
.tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.solution-tabs {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 6px;
  max-width: 100%;
  border-radius: 999px;
  background: rgba(13, 18, 30, 0.92);
  border: 1px solid rgba(212, 175, 106, 0.22);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  scrollbar-width: none;
}

.solution-tabs::-webkit-scrollbar {
  display: none;
}

.tab-glider {
  position: absolute;
  top: 6px;
  left: 0;
  height: calc(100% - 12px);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-200) 0%, var(--gold-400) 60%, var(--gold-500) 100%);
  box-shadow: 0 8px 24px rgba(212, 175, 106, 0.32);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), width 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
  pointer-events: none;
}

.solution-tab {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.25s ease;
}

.solution-tab .tab-idx {
  font-size: 0.74rem;
  font-weight: 700;
  opacity: 0.65;
  letter-spacing: 0.04em;
}

.solution-tab:hover {
  color: var(--text-primary);
}

.solution-tab.active {
  color: #161108;
}

.solution-tab.active .tab-idx {
  opacity: 0.85;
}

.solution-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(145deg, rgba(18, 24, 38, 0.94) 0%, rgba(9, 13, 22, 0.98) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(212, 175, 106, 0.07);
  overflow: hidden;
}

.solution-stage::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(212, 175, 106, 0.14), transparent 70%);
  pointer-events: none;
}

.stage-visual-col {
  position: relative;
  z-index: 1;
}

.stage-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 106, 0.26);
  background: #090d16;
  aspect-ratio: 16 / 9;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.52);
}

.stage-topbar {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.stage-counter {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(7, 9, 15, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 106, 0.34);
  color: var(--gold-100);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.stage-topbar-tools {
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.stage-tool-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 9, 15, 0.72);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.stage-tool-btn:hover {
  border-color: var(--gold-400);
  color: var(--gold-100);
  background: rgba(212, 175, 106, 0.22);
}

.stage-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.stage-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(44px, 0, 0) scale(0.97);
  filter: blur(4px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.stage-slide.from-left {
  transform: translate3d(-44px, 0, 0) scale(0.97);
}

.stage-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
  z-index: 2;
}

.stage-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.stage-visual:hover .stage-slide.active img {
  transform: scale(1.03);
}

.stage-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 9, 15, 0.68);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.stage-nav-prev { left: 14px; }
.stage-nav-next { right: 14px; }

.stage-nav-arrow:hover {
  border-color: var(--gold-400);
  background: rgba(212, 175, 106, 0.28);
  color: var(--gold-100);
  transform: translateY(-50%) scale(1.06);
}

.stage-progress-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 5;
}

.stage-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-100));
  box-shadow: 0 0 10px rgba(212, 175, 106, 0.6);
}

.stage-progress-bar.running {
  animation: slideProgress 6.5s linear forwards;
}

.stage-visual.is-paused .stage-progress-bar.running,
.solution-stage:hover .stage-progress-bar.running {
  animation-play-state: paused;
}

@keyframes slideProgress {
  from { width: 0%; }
  to { width: 100%; }
}

.stage-info {
  position: relative;
  z-index: 1;
}

.stage-info.anim-next {
  animation: infoEnterNext 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.stage-info.anim-prev {
  animation: infoEnterPrev 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes infoEnterNext {
  from { opacity: 0; transform: translate3d(22px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes infoEnterPrev {
  from { opacity: 0; transform: translate3d(-22px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.stage-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(212, 175, 106, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-200);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.stage-info h3 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.3;
}

.stage-summary {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.feature-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 11px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: #dbe3f2;
  animation: featFadeUp 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.feature-list li:nth-child(2) { animation-delay: 0.05s; }
.feature-list li:nth-child(3) { animation-delay: 0.1s; }
.feature-list li:nth-child(4) { animation-delay: 0.15s; }

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

.feature-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(212, 175, 106, 0.16);
  color: var(--gold-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  font-weight: 700;
  margin-top: 2px;
}

.spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.spec-pill {
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.stage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Bottom Visual Thumbnail Dock */
.solution-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.thumb-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 8px;
  border-radius: var(--radius-md);
  background: rgba(15, 20, 33, 0.72);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  text-align: left;
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.thumb-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-100));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.thumb-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 106, 0.38);
  background: rgba(21, 28, 46, 0.9);
}

.thumb-card.active {
  transform: translateY(-4px);
  border-color: var(--gold-400);
  background: rgba(24, 31, 50, 0.96);
  box-shadow: 0 12px 28px rgba(212, 175, 106, 0.16);
}

.thumb-card.active::after {
  transform: scaleX(1);
}

.thumb-img-wrap {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 8px;
  background: #090d16;
}

.thumb-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.25s ease, transform 0.35s ease;
}

.thumb-card:hover .thumb-img-wrap img,
.thumb-card.active .thumb-img-wrap img {
  opacity: 1;
  transform: scale(1.04);
}

.thumb-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

.thumb-idx {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--gold-400);
}

.thumb-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thumb-card.active .thumb-title {
  color: var(--text-primary);
}

/* Lightbox Modal */
.lightbox-dialog {
  width: min(1080px, 94vw);
  background: #0b0f19;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.78);
}

.lightbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(13, 18, 30, 0.96);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--gold-100);
}

.lightbox-dialog img {
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  background: #07090f;
}

/* ---------- Tech & Services ---------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.pillar-card {
  position: relative;
  overflow: hidden;
}

.pillar-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
  opacity: 0.6;
}

.sub-section-gap {
  margin-top: 84px;
}

/* ---------- Process 5 Steps ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  transition: border-color var(--transition), transform var(--transition);
}

.step-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
}

.step-num {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold-400);
  margin-bottom: 14px;
}

.step-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.step-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item[open] {
  border-color: var(--border-gold);
}

.faq-item summary {
  list-style: none;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--gold-400);
  font-weight: 400;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

/* ---------- Contact, Live Advisory & Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 32px;
  align-items: start;
}

.contact-info-card {
  background: linear-gradient(160deg, rgba(21, 28, 44, 0.92), rgba(11, 15, 25, 0.96));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.live-chat-callout {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(9, 13, 22, 0.72);
  border: 1px solid rgba(212, 175, 106, 0.28);
  margin-bottom: 26px;
}

.live-chat-callout h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.live-chat-desc {
  margin: 0 0 18px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.live-chat-topics {
  margin-top: 14px;
  margin-bottom: 0;
  gap: 8px;
}

.live-chat-topics .aichat-chip {
  padding: 6px 12px;
  font-size: 0.79rem;
}

.contact-subhead {
  margin: 0 0 18px;
  font-size: 0.96rem;
  color: var(--gold-200);
  letter-spacing: 0.02em;
}

.contact-meta-list {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-meta-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(212, 175, 106, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-meta-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-meta-value {
  font-size: 0.92rem;
  color: var(--text-primary);
  font-weight: 500;
  word-break: break-word;
}

.compliance-note {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.25);
  font-size: 0.83rem;
  color: #bcebd7;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.form-card-title {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.form-card-sub {
  margin: 0 0 24px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #dce3f0;
  margin-bottom: 8px;
}

.req {
  color: var(--gold-400);
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(7, 9, 15, 0.75);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(212, 175, 106, 0.16);
}

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

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 22px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.consent-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold-400);
  flex-shrink: 0;
  cursor: pointer;
}

.consent-check a {
  color: var(--gold-200);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-feedback {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  display: none;
}

.form-feedback.show {
  display: block;
}

.form-feedback.success {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #a7f3d0;
}

.form-feedback.error {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
}

.aichat-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #a7f3d0;
  font-size: 0.8rem;
  font-weight: 600;
}

.aichat-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.aichat-chip {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #dde5f5;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
}

.aichat-chip:hover {
  border-color: var(--gold-400);
  background: rgba(212, 175, 106, 0.16);
  color: var(--gold-100);
  transform: translateY(-2px);
}

.aichat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-200), var(--gold-500));
  color: #161108;
  font-weight: 800;
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-bubble {
  max-width: 88%;
  padding: 12px 15px;
  border-radius: 14px;
  font-size: 0.87rem;
  line-height: 1.55;
}

.chat-bubble.bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #e4eaf6;
  border-top-left-radius: 4px;
}

.chat-bubble.user {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(243, 217, 164, 0.2), rgba(212, 175, 106, 0.1));
  border: 1px solid var(--border-gold);
  color: var(--gold-100);
  border-top-right-radius: 4px;
}

/* Built-in Live Chat Drawer */
.aichat-drawer {
  position: fixed;
  right: 22px;
  bottom: 84px;
  z-index: 960;
  width: min(380px, calc(100vw - 28px));
  background: #0d121f;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.72);
  overflow: hidden;
  display: none;
  flex-direction: column;
}

.aichat-drawer.open {
  display: flex;
  animation: featFadeUp 0.28s ease both;
}

.aichat-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(17, 23, 38, 0.96);
  border-bottom: 1px solid var(--border-subtle);
}

.aichat-drawer-messages {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 310px;
  overflow-y: auto;
}

.aichat-drawer-foot {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(9, 13, 22, 0.95);
}

.aichat-drawer-input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
}

.aichat-drawer-input:focus {
  outline: none;
  border-color: var(--gold-400);
}

.fab-chat {
  background: linear-gradient(135deg, var(--gold-200), var(--gold-500));
  color: #161108;
  border-color: transparent;
}

.fab-chat:hover {
  background: linear-gradient(135deg, var(--gold-100), var(--gold-400));
}

/* ---------- Footer ---------- */
.site-footer {
  background: #05070c;
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-desc {
  margin: 16px 0 14px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 340px;
}

.footer-entity {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-title {
  margin: 0 0 16px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-200);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-links button {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  color: var(--text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: color var(--transition);
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--gold-200);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-disclaimer {
  margin-top: 14px;
  font-size: 0.78rem;
  color: #657188;
  line-height: 1.6;
}

/* ---------- Modal (Tech Spec / Cookie Prefs) ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(4, 6, 12, 0.78);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  width: 100%;
  max-width: 560px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--gold-100);
}

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.1rem;
}

.modal-close:hover {
  color: var(--text-primary);
  border-color: var(--border-gold);
}

.spec-grid {
  display: grid;
  gap: 12px;
  margin: 18px 0 24px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.spec-row span:first-child {
  color: var(--text-muted);
}

.spec-row span:last-child {
  color: var(--text-primary);
  font-weight: 500;
  text-align: right;
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 950;
  max-width: 1120px;
  margin: 0 auto;
  background: rgba(13, 18, 29, 0.96);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner.show {
  display: flex;
}

.cookie-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.cookie-text strong {
  color: var(--text-primary);
}

.cookie-text a {
  color: var(--gold-200);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.cookie-toggle-row:last-of-type {
  border-bottom: 0;
}

.cookie-toggle-row h4 {
  margin: 0 0 4px;
  font-size: 0.96rem;
}

.cookie-toggle-row p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

/* ---------- Floating Back-to-Top ---------- */
.floating-cta {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 850;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.has-aichat-widget .floating-cta {
  right: 27px;
  bottom: 92px;
}

body.has-aichat-widget .fab-chat {
  display: none;
}

.fab-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: rgba(13, 18, 29, 0.92);
  color: var(--gold-200);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), background var(--transition);
}

.fab-btn:hover {
  transform: translateY(-2px);
  background: rgba(212, 175, 106, 0.2);
}

.fab-top {
  opacity: 0;
  pointer-events: none;
}

.fab-top.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Legal Pages ---------- */
.legal-main {
  padding: calc(var(--header-h) + 56px) 0 88px;
}

.legal-shell {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 44px;
}

.legal-shell h1 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-shell h2 {
  margin: 30px 0 12px;
  font-size: 1.2rem;
  color: var(--gold-200);
}

.legal-shell p,
.legal-shell li {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.legal-shell ul {
  padding-left: 20px;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
  }
  .solution-stage {
    grid-template-columns: 1fr;
    padding: 26px;
  }
  .solution-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav-links,
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .hero-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-float-card {
    display: none;
  }
  .hero-visual {
    padding: 0;
  }
  .advantages-grid,
  .pillars-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 580px) {
  .section {
    padding: 68px 0;
  }
  .solution-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .form-row,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-card,
  .contact-form-card,
  .legal-shell {
    padding: 24px;
  }
  .floating-cta {
    right: 14px;
    bottom: 16px;
  }
}
