/* =========================================================
   Digixora Technologies — main stylesheet
   ========================================================= */

:root {
  --ink: #0D0A1F;
  --ink-2: #15112E;
  --ink-3: #1E1940;
  --primary: #5B3DF5;
  --primary-d: #4529D9;
  --violet: #9A4DFF;
  --accent: #FF6A3D;
  --mint: #1ECFA4;

  --text: #1A1733;
  --muted: #5F5B7A;
  --line: #E8E5F4;
  --bg: #FFFFFF;
  --soft: #F7F5FE;
  --soft-2: #EEEAFF;

  --on-dark: #CFCBEA;
  --on-dark-muted: #A29DC6;

  --grad: linear-gradient(120deg, #5B3DF5 0%, #9A4DFF 48%, #FF6A3D 100%);
  --grad-soft: linear-gradient(135deg, rgba(91, 61, 245, .12), rgba(255, 106, 61, .10));

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(23, 16, 64, .06);
  --shadow: 0 14px 40px -14px rgba(30, 20, 90, .20);
  --shadow-lg: 0 30px 80px -24px rgba(30, 20, 90, .35);

  --ff-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 76px;
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--ff-head);
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--ink);
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.25rem, 5.2vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(91, 61, 245, .2); }
:focus-visible { outline: 3px solid rgba(91, 61, 245, .55); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 100px; }

.ic { width: 24px; height: 24px; flex-shrink: 0; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  background: var(--primary); color: #fff; padding: 10px 18px; border-radius: 10px;
  font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section-soft { background: var(--soft); }
.section-dark {
  background: var(--ink); color: var(--on-dark);
  overflow: hidden; isolation: isolate;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-tight { padding-top: 0; }

.section-head { max-width: 740px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.075rem; margin: 0; }
.section-dark .section-head p { color: var(--on-dark-muted); }
.section-head.left { text-align: left; margin-left: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-head);
  font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary); background: var(--soft-2);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad);
}
.eyebrow.light { color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.lead { font-size: 1.12rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff-head); font-weight: 600; font-size: .97rem; line-height: 1.2;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s, background-position .4s, background-color .25s, color .25s, border-color .25s;
}
.btn .ic { width: 18px; height: 18px; }
.btn:hover .ic-arrow { transform: translateX(3px); }
.ic-arrow { transition: transform .25s var(--ease); }
.btn-primary {
  background-image: var(--grad); background-size: 180% 100%; background-position: 0 0;
  color: #fff; box-shadow: 0 12px 30px -12px rgba(91, 61, 245, .75);
}
.btn-primary:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(91, 61, 245, .85); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(0, 0, 0, .5); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .02); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .7); transform: translateY(-2px); }
.btn-sm { padding: 11px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ff-head); font-weight: 600; font-size: .94rem; color: var(--primary);
}
.link-arrow .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover .ic, .card:hover .link-arrow .ic { transform: translateX(4px); }
.stretched::before { content: ""; position: absolute; inset: 0; z-index: 2; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  color: #fff;
  transition: height .3s var(--ease), color .3s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(20, 10, 60, .35);
  opacity: 0; transition: opacity .3s;
}
.site-header.scrolled { --header-h: 68px; color: var(--ink); }
.site-header.scrolled::before { opacity: 1; }

.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; flex-shrink: 0; }
.brand-mark { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--ff-head); font-weight: 700; font-size: 1.32rem; letter-spacing: -.015em; }
.brand-name span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-sub { font-size: .6rem; letter-spacing: .34em; font-weight: 600; opacity: .7; margin-top: 5px; }

.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav a, .nav-dd-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 15px; border-radius: 999px;
  font-weight: 500; font-size: .96rem; color: inherit;
  background: none; border: 0; cursor: pointer;
  opacity: .88; transition: background .2s, color .2s, opacity .2s;
}
.nav-dd-btn .ic { width: 16px; height: 16px; transition: transform .25s; }
.has-dd:hover .nav-dd-btn .ic, .has-dd.open .nav-dd-btn .ic { transform: rotate(180deg); }
.main-nav a:hover, .main-nav a.active, .nav-dd-btn:hover, .nav-dd-btn.active { opacity: 1; background: rgba(255, 255, 255, .1); }
.scrolled .main-nav a:hover, .scrolled .main-nav a.active,
.scrolled .nav-dd-btn:hover, .scrolled .nav-dd-btn.active { background: var(--soft-2); color: var(--primary); }

/* dropdown */
.has-dd { position: relative; }
.dd {
  position: absolute; top: calc(100% + 12px); left: 50%;
  width: 640px; padding: 12px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: #fff; color: var(--text);
  border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
  transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-dd:hover .dd, .has-dd:focus-within .dd, .has-dd.open .dd { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.main-nav .dd a {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 12px; border-radius: 14px; opacity: 1; color: var(--text); font-size: inherit;
}
.main-nav .dd a:hover, .main-nav .dd a.active { background: var(--soft); color: var(--text); }
.dd-ic {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--grad-soft); color: var(--primary);
}
.dd-ic .ic { width: 21px; height: 21px; }
.dd strong { display: block; font-family: var(--ff-head); font-size: .94rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.dd small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.45; margin-top: 2px; }
.main-nav .dd .dd-all {
  grid-column: 1 / -1; justify-content: center; align-items: center; margin-top: 4px;
  background: var(--soft); color: var(--primary); font-family: var(--ff-head); font-weight: 600; font-size: .9rem;
}
.main-nav .dd .dd-all:hover { background: var(--soft-2); color: var(--primary); }
.dd-all .ic { width: 16px; height: 16px; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.burger {
  display: none; width: 46px; height: 46px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: inherit;
  align-items: center; justify-content: center; cursor: pointer;
}
.scrolled .burger { border-color: var(--line); }
.burger .i-close { display: none; }
.mobile-cta { display: none; }

@media (max-width: 1060px) {
  .burger { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: #fff; color: var(--ink);
    padding: 12px 16px 40px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform .35s var(--ease), visibility .35s;
    border-top: 1px solid var(--line);
  }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .nav-open .site-header { color: var(--ink); }
  .nav-open .site-header::before { opacity: 1; }
  .nav-open .burger { border-color: var(--line); }
  .nav-open .burger .i-menu { display: none; }
  .nav-open .burger .i-close { display: block; }
  .nav-open body { overflow: hidden; }

  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a, .nav-dd-btn {
    width: 100%; justify-content: space-between;
    padding: 15px 14px; font-size: 1.05rem; font-weight: 600; border-radius: 14px; opacity: 1;
    font-family: var(--ff-head);
  }
  .main-nav a:hover, .main-nav a.active, .nav-dd-btn:hover, .nav-dd-btn.active { background: var(--soft); color: var(--primary); }
  .has-dd:hover .nav-dd-btn .ic { transform: none; }
  .has-dd.open .nav-dd-btn .ic { transform: rotate(180deg); }
  .dd {
    position: static; width: auto; transform: none; opacity: 1; visibility: visible;
    display: none; grid-template-columns: 1fr; box-shadow: none; border: 0;
    padding: 4px 0 8px 8px; transition: none;
  }
  .has-dd:hover .dd, .has-dd:focus-within .dd { transform: none; }
  .has-dd.open .dd { display: grid; }
  .main-nav .dd a { padding: 10px 12px; font-family: var(--ff-body); justify-content: flex-start; align-items: center; }
  .main-nav .dd .dd-all { justify-content: center; }
  .main-nav .mobile-cta .btn { justify-content: center; padding: 15px 26px; border-radius: 999px; font-size: 1rem; }
  .dd small { display: none; }
  .dd-ic { width: 36px; height: 36px; }
  .mobile-cta { display: block; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
  .mobile-cta .btn { width: 100%; }
  .mobile-contact { display: grid; gap: 4px; margin-top: 14px; }
  .main-nav .mobile-contact a { justify-content: flex-start; gap: 12px; font-family: var(--ff-body); font-weight: 500; font-size: .98rem; color: var(--muted); padding: 10px 14px; }
  .mobile-contact .ic { width: 18px; height: 18px; color: var(--primary); }
}
@media (max-width: 400px) {
  .brand-name { font-size: 1.15rem; }
  .brand-mark { width: 38px; height: 38px; }
}

/* ---------- Background decorations ---------- */
.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: -1; }
.glow-1 { width: 560px; height: 560px; background: #5B3DF5; top: -200px; left: -160px; opacity: .55; }
.glow-2 { width: 460px; height: 460px; background: #FF6A3D; bottom: -220px; right: -120px; opacity: .32; }
.glow-3 { width: 320px; height: 320px; background: #9A4DFF; top: 25%; right: 28%; opacity: .25; }
.grid-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 25%, transparent 75%);
}

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: var(--on-dark);
  padding: calc(var(--header-h) + 72px) 0 130px;
}
.hero h1 { color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero-lead { font-size: 1.16rem; max-width: 570px; color: #BDB8DB; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 36px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: .92rem; color: #D9D5F0; }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust .ic { width: 18px; height: 18px; color: var(--mint); }

.hero-visual { position: relative; }
.dash {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 26px; padding: 22px;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7);
  color: #fff;
}
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.dash-dots { display: flex; gap: 6px; }
.dash-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.dash-dots span:first-child { background: #FF6A3D; }
.dash-dots span:nth-child(2) { background: #FFB23F; }
.dash-dots span:nth-child(3) { background: var(--mint); }
.dash-title { font-family: var(--ff-head); font-weight: 600; font-size: .92rem; }
.live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  background: rgba(30, 207, 164, .14); color: var(--mint);
}
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(30, 207, 164, .6); } 70% { box-shadow: 0 0 0 8px rgba(30, 207, 164, 0); } 100% { box-shadow: 0 0 0 0 rgba(30, 207, 164, 0); } }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.kpi { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 12px 14px; }
.kpi small { display: block; font-size: .72rem; color: var(--on-dark-muted); margin-bottom: 4px; }
.kpi strong { display: block; font-family: var(--ff-head); font-size: 1.28rem; line-height: 1.2; }
.kpi em { font-style: normal; font-size: .72rem; font-weight: 600; color: var(--mint); }
.chart { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; padding: 14px 14px 10px; }
.chart svg { width: 100%; height: auto; }
.chart-line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.2s .4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chart-legend { display: flex; gap: 18px; font-size: .72rem; color: var(--on-dark-muted); margin-top: 8px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { width: 14px; height: 3px; border-radius: 2px; background: var(--grad); display: inline-block; }
.chart-legend i.prev { background: rgba(255, 255, 255, .35); }
.dash-note { font-size: .68rem; color: #8E89B3; text-align: right; margin: 10px 0 0; }

.float-chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  background: #fff; color: var(--ink);
  padding: 10px 16px 10px 10px; border-radius: 16px;
  box-shadow: var(--shadow-lg);
  font-family: var(--ff-head); font-weight: 600; font-size: .85rem; line-height: 1.25;
  animation: float 6s ease-in-out infinite;
}
.float-chip small { display: block; font-family: var(--ff-body); font-weight: 500; font-size: .72rem; color: var(--muted); }
.chip-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: var(--grad); }
.chip-ic .ic { width: 19px; height: 19px; }
.chip-ic.orange { background: linear-gradient(135deg, #FF8A3D, #FF5A5F); }
.chip-ic.mint { background: linear-gradient(135deg, #1ECFA4, #13A58F); }
.chip-1 { top: -26px; right: 22px; }
.chip-2 { bottom: 74px; left: -44px; animation-delay: -2s; }
.chip-3 { bottom: -26px; right: 54px; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 1023px) {
  .hero { padding-bottom: 120px; }
  .hero-grid { grid-template-columns: 1fr; gap: 72px; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .chip-2 { left: -10px; }
}
@media (max-width: 560px) {
  .kpis { gap: 8px; }
  .kpi { padding: 10px; }
  .kpi strong { font-size: 1.05rem; }
  .float-chip { font-size: .78rem; padding: 8px 12px 8px 8px; }
  .chip-ic { width: 30px; height: 30px; }
  .chip-2 { display: none; }
  .chip-1 { right: 8px; }
  .chip-3 { right: 16px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Marquee ---------- */
.marquee-wrap { position: relative; z-index: 3; margin-top: -46px; padding: 18px 0; overflow: hidden; }
.marquee {
  width: 110%; margin-left: -5%;
  background: var(--grad); color: #fff;
  padding: 17px 0; transform: rotate(-1.6deg);
  box-shadow: 0 20px 40px -20px rgba(91, 61, 245, .6);
  overflow: hidden;
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 26px; padding-right: 26px;
  font-family: var(--ff-head); font-weight: 600; font-size: 1.12rem; white-space: nowrap;
}
.marquee-track span::after { content: "\2726"; opacity: .8; font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); }
.card h3 { margin-bottom: .45em; }
.card > :last-child { margin-bottom: 0; }

.service-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s;
}
.service-card:hover::after { opacity: 1; }
.card-num { position: absolute; top: 26px; right: 28px; font-family: var(--ff-head); font-weight: 700; font-size: 2.5rem; line-height: 1; color: var(--soft-2); }

.icon-box {
  width: 58px; height: 58px; border-radius: 17px;
  display: grid; place-items: center;
  background: var(--grad); color: #fff;
  margin-bottom: 22px;
  box-shadow: 0 12px 26px -12px rgba(91, 61, 245, .7);
}
.icon-box .ic { width: 27px; height: 27px; }
.icon-box.soft { background: var(--soft-2); color: var(--primary); box-shadow: none; }
.icon-box.sm { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px; }
.icon-box.sm .ic { width: 23px; height: 23px; }

.mini-list { margin: 4px 0 22px; display: grid; gap: 8px; }
.mini-list li { display: flex; align-items: center; gap: 10px; font-size: .93rem; color: var(--text); }
.mini-list .ic { width: 17px; height: 17px; color: var(--primary); }

.check-list { display: grid; gap: 14px; margin: 26px 0 32px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; color: var(--ink); }
.check-list .tick {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; margin-top: -1px;
  display: grid; place-items: center; background: rgba(30, 207, 164, .14); color: #10A584;
}
.check-list .tick .ic { width: 15px; height: 15px; stroke-width: 3; }
.section-dark .check-list li { color: #fff; }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split > div > p { color: var(--muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.spaced { margin-top: 30px; }
@media (max-width: 1023px) { .split { grid-template-columns: 1fr; gap: 48px; } }

/* About visual */
.about-visual { position: relative; min-height: 480px; }
.av-main {
  position: absolute; inset: 0 70px 70px 0;
  background: var(--ink); color: var(--on-dark);
  border-radius: var(--radius-lg); padding: 38px;
  display: flex; flex-direction: column; justify-content: flex-start;
  overflow: hidden; isolation: isolate;
}
.av-main .glow-1 { width: 380px; height: 380px; top: -140px; left: -100px; }
.av-main .glow-2 { width: 300px; height: 300px; bottom: -150px; right: -120px; opacity: .4; }
.av-main p { max-width: 300px; }
.av-rings { position: absolute; bottom: 34px; left: 34px; width: 150px; height: 150px; opacity: .5; }
.av-year { font-family: var(--ff-head); font-weight: 800; font-size: clamp(4rem, 9vw, 6.4rem); line-height: .9; letter-spacing: -.04em; }
.av-main p { margin: 10px 0 0; font-size: 1.05rem; color: #fff; }
.av-main small { color: var(--on-dark-muted); }
.av-card {
  position: absolute; right: 0; bottom: 0; width: min(330px, 86%);
  background: #fff; border-radius: 22px; padding: 24px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.av-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.av-card-head .icon-box { margin: 0; width: 44px; height: 44px; border-radius: 13px; }
.av-card-head .icon-box .ic { width: 22px; height: 22px; }
.av-card-head strong { font-family: var(--ff-head); color: var(--ink); display: block; line-height: 1.25; }
.av-card-head small { color: var(--muted); font-size: .8rem; }
.av-rows { display: grid; gap: 9px; font-size: .86rem; }
.av-rows div { display: flex; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--line); padding-top: 9px; }
.av-rows span { color: var(--muted); }
.av-rows b { color: var(--ink); font-weight: 600; text-align: right; }
@media (max-width: 560px) {
  .about-visual { min-height: 470px; }
  .av-main { inset: 0 0 150px 0; padding: 28px; }
  .av-card { width: 92%; }
  .av-rings { display: none; }
}

/* ---------- Features (dark) ---------- */
.feature {
  padding: 30px 28px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
  transition: background .3s, transform .35s var(--ease), border-color .3s;
}
.feature:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); transform: translateY(-5px); }
.feature .icon-box { background: rgba(255, 255, 255, .08); box-shadow: none; color: #fff; border: 1px solid rgba(255, 255, 255, .12); }
.feature:hover .icon-box { background: var(--grad); border-color: transparent; }
.feature p { color: var(--on-dark-muted); margin: 0; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.process::before {
  content: ""; position: absolute; top: 37px; left: 12.5%; right: 12.5%;
  border-top: 2px dashed #D3CCF5; z-index: 0;
}
.step { position: relative; text-align: center; }
.step-num {
  position: relative; z-index: 1;
  width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 22px;
  display: grid; place-items: center;
  background: #fff; border: 2px solid var(--line);
  font-family: var(--ff-head); font-weight: 700; font-size: 1.3rem; color: var(--primary);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.step:hover .step-num { background: var(--grad); color: #fff; border-color: transparent; transform: scale(1.06); }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 1023px) {
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .process::before { display: none; }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; row-gap: 28px; }
  .step { text-align: left; display: grid; grid-template-columns: 58px 1fr; gap: 18px; align-items: start; }
  .step-num { margin: 0; width: 58px; height: 58px; font-size: 1.1rem; }
}

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line);
  font-family: var(--ff-head); font-weight: 600; font-size: .98rem; color: var(--ink); line-height: 1.3;
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.industry:hover { border-color: rgba(91, 61, 245, .5); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.industry .ind-ic { width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center; background: var(--soft-2); color: var(--primary); }
.industry .ind-ic .ic { width: 22px; height: 22px; }
@media (max-width: 1023px) { .industries { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .industries { grid-template-columns: 1fr; } }

/* ---------- Stats band ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--grad); color: #fff;
  border-radius: var(--radius-lg); padding: 46px 20px;
  box-shadow: var(--shadow-lg);
}
.stat { text-align: center; padding: 6px 18px; border-right: 1px solid rgba(255, 255, 255, .22); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--ff-head); font-weight: 700; font-size: clamp(2.1rem, 4vw, 2.9rem); line-height: 1.1; margin-bottom: 6px; }
.stat > span { font-size: .95rem; opacity: .92; }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat:nth-child(2) { border-right: 0; }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .2); padding-bottom: 20px; }
  .stat:last-child { border-bottom: 0; padding-bottom: 6px; }
}

/* ---------- FAQ ---------- */
.faq-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-split .section-head { margin-bottom: 28px; }
@media (max-width: 1023px) { .faq-split { grid-template-columns: 1fr; gap: 36px; } }
.faq { max-width: 880px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  margin-bottom: 14px; overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.faq-item.open { border-color: transparent; box-shadow: var(--shadow); }
.faq-h { margin: 0; font-size: inherit; letter-spacing: 0; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  text-align: left; background: none; border: 0; cursor: pointer;
  padding: 22px 24px;
  font-family: var(--ff-head); font-weight: 600; font-size: 1.04rem; line-height: 1.4; color: var(--ink);
}
.faq-q .pm {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--soft-2); color: var(--primary);
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.faq-q .pm .ic { width: 18px; height: 18px; }
.faq-item.open .pm { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; visibility: hidden; transition: visibility .35s; }
.faq-item.open .faq-a > div { visibility: visible; }
.faq-a p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: var(--on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: 1.4fr auto; gap: 36px; align-items: center;
}
.cta-band .glow-1 { width: 420px; height: 420px; top: -220px; left: -120px; }
.cta-band .glow-2 { width: 380px; height: 380px; bottom: -220px; right: -80px; opacity: .45; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { margin: 0; color: var(--on-dark-muted); font-size: 1.06rem; max-width: 600px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 860px) {
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 480px) { .cta-actions .btn { flex: 1 1 100%; } }
@media (max-width: 400px) {
  .btn { white-space: normal; text-align: center; padding-left: 20px; padding-right: 20px; }
  .cta-band { padding: 36px 22px; }
}

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: stretch; }
@media (max-width: 1023px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-info-card {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: var(--on-dark);
  border-radius: var(--radius-lg); padding: 40px;
}
.contact-info-card .glow-1 { width: 340px; height: 340px; top: auto; bottom: -200px; left: -100px; opacity: .5; }
.contact-info-card h3 { color: #fff; font-size: 1.45rem; }
.contact-info-card > p { color: var(--on-dark-muted); margin-bottom: 30px; }
.ci-list { display: grid; gap: 22px; }
.ci-item { display: flex; gap: 16px; align-items: flex-start; }
.ci-ic {
  width: 50px; height: 50px; border-radius: 15px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); color: #fff;
}
.ci-ic .ic { width: 22px; height: 22px; }
.ci-item small { display: block; color: #8E89B3; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; margin-bottom: 3px; }
.ci-item a, .ci-item .v { color: #fff; font-weight: 500; line-height: 1.5; display: block; word-break: break-word; }
.ci-item a:hover { color: #C8BDFF; }
.contact-info-card .socials { margin-top: 30px; }

.form-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow);
}
.form-card h3 { font-size: 1.45rem; }
.form-card > p { color: var(--muted); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .88rem; color: var(--ink); }
.req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--text);
  padding: 14px 16px; border-radius: 13px;
  border: 1.5px solid var(--line); background: var(--soft);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #A4A0BC; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); background-color: #fff;
  box-shadow: 0 0 0 4px rgba(91, 61, 245, .12);
}
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F5B7A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
  padding-right: 42px;
}
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #E5484D; background-color: #FFF7F7; }
.field .err { display: none; font-size: .8rem; color: #D1343A; font-weight: 500; }
.field.invalid .err { display: block; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.form-actions .btn { flex: 1 1 210px; }
.form-status { margin: 16px 0 0; font-weight: 500; color: #10A584; min-height: 0; }
.form-status:empty { display: none; }
.form-note { display: flex; gap: 8px; align-items: flex-start; font-size: .84rem; color: var(--muted); margin: 16px 0 0; }
.form-note .ic { width: 16px; height: 16px; margin-top: 3px; color: var(--primary); }
.form-note a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-card, .contact-info-card { padding: 28px 20px; }
}

.contact-cards .card { padding: 28px 24px; }
.contact-cards .card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.contact-cards .card p { font-size: .92rem; margin-bottom: 12px; }
.contact-cards .card .v { font-weight: 600; color: var(--ink); display: block; word-break: break-word; }
.contact-cards .card a.v:hover { color: var(--primary); }

.next-steps { display: grid; gap: 18px; margin: 8px 0 0; padding: 0; list-style: none; }
.next-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.next-steps b {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: #fff; font-family: var(--ff-head);
}
.next-steps strong { color: #fff; display: block; font-family: var(--ff-head); font-weight: 600; }
.next-steps span { color: var(--on-dark-muted); font-size: .92rem; }
.divider { height: 1px; background: rgba(255, 255, 255, .1); margin: 30px 0; border: 0; }

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); height: 440px; background: var(--soft); box-shadow: var(--shadow-sm); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.map-bar h2 { margin: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: #BDB8DB; text-align: center;
  padding: calc(var(--header-h) + 76px) 0 96px;
}
.page-hero h1 { color: #fff; font-size: clamp(2.05rem, 4.6vw, 3.45rem); max-width: 920px; margin: 0 auto 18px; }
.page-hero p { max-width: 720px; margin: 0 auto; font-size: 1.12rem; }
.page-hero .hero-actions { justify-content: center; margin-bottom: 0; }
.breadcrumb {
  display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px;
  font-size: .86rem; margin-bottom: 24px; padding: 7px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #BDB8DB;
}
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: #C8BDFF; }
.breadcrumb .sep { opacity: .45; }
@media (max-width: 560px) { .page-hero .hero-actions .btn { flex: 1 1 100%; } }

/* ---------- Services overview page ---------- */
.svc-list { display: grid; gap: clamp(64px, 8vw, 100px); }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.svc-row:nth-child(even) .svc-visual { order: 2; }
.svc-row h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.svc-row > div > p { color: var(--muted); }
.svc-row .check-list { grid-template-columns: 1fr 1fr; margin: 22px 0 30px; }
.svc-visual {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 5 / 4; border-radius: var(--radius-lg);
  background: var(--ink);
  display: grid; place-items: center;
}
.svc-visual .glow-1 { width: 360px; height: 360px; top: -160px; left: -120px; }
.svc-visual .glow-2 { width: 320px; height: 320px; bottom: -170px; right: -110px; opacity: .45; }
.svc-big-ic {
  width: 128px; height: 128px; border-radius: 36px;
  display: grid; place-items: center; color: #fff;
  background: var(--grad);
  box-shadow: 0 30px 60px -20px rgba(91, 61, 245, .8), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.svc-big-ic .ic { width: 58px; height: 58px; stroke-width: 1.6; }
.svc-n { position: absolute; top: 22px; left: 28px; font-family: var(--ff-head); font-weight: 800; font-size: 4.2rem; line-height: 1; color: rgba(255, 255, 255, .07); }
.svc-tag {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; font-size: .82rem; font-weight: 500;
  animation: float 7s ease-in-out infinite;
}
.svc-tag .ic { width: 15px; height: 15px; color: var(--mint); stroke-width: 3; }
.svc-tag.t1 { top: 18%; right: 8%; }
.svc-tag.t2 { bottom: 20%; left: 7%; animation-delay: -2.5s; }
.svc-tag.t3 { bottom: 8%; right: 12%; animation-delay: -5s; }
@media (max-width: 1023px) {
  .svc-row { grid-template-columns: 1fr; gap: 36px; }
  .svc-row:nth-child(even) .svc-visual { order: 0; }
}
@media (max-width: 560px) {
  .svc-row .check-list { grid-template-columns: 1fr; }
  .svc-visual { aspect-ratio: 4 / 3; }
  .svc-big-ic { width: 96px; height: 96px; border-radius: 28px; }
  .svc-big-ic .ic { width: 44px; height: 44px; }
  .svc-tag { font-size: .74rem; padding: 7px 10px; }
}

.model-card { padding: 36px 30px; display: flex; flex-direction: column; }
.model-card .mini-list { margin-bottom: 26px; flex: 1; }
.model-card.featured { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.model-card.featured h3 { color: #fff; }
.model-card.featured p { color: var(--on-dark-muted); }
.model-card.featured .mini-list li { color: #fff; }
.model-card.featured .mini-list .ic { color: var(--mint); }
.model-badge {
  position: absolute; top: 22px; right: 22px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; background: var(--grad); color: #fff;
}

/* ---------- Service detail page ---------- */
.glance-card {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: var(--on-dark);
  border-radius: var(--radius-lg); padding: 38px;
}
.glance-card .glow-1 { width: 320px; height: 320px; top: -170px; right: -120px; left: auto; }
.glance-card h3 { color: #fff; font-size: 1.35rem; }
.glance-card .check-list { margin: 22px 0 28px; }
.glance-card .check-list li { color: #fff; font-weight: 500; }
.glance-card .note { font-size: .9rem; color: var(--on-dark-muted); margin: 0 0 20px; }

.mini-card { padding: 28px 26px; }
.mini-card h3 { font-size: 1.1rem; }
.mini-card p { font-size: .95rem; margin: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-weight: 500; font-size: .92rem; color: var(--ink);
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px; height: 100%; }
.panel h3 { font-size: 1.3rem; }
.panel > p { color: var(--muted); }
.panel .check-list { margin-bottom: 0; }
.split.top { align-items: stretch; }

.other-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.other-svc {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: #fff;
  font-family: var(--ff-head); font-weight: 600; color: var(--ink); line-height: 1.3;
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.other-svc:hover { border-color: rgba(91, 61, 245, .5); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.other-svc .ind-ic { width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center; background: var(--soft-2); color: var(--primary); }
.other-svc .ind-ic .ic { width: 21px; height: 21px; }
.other-svc > .ic { width: 18px; height: 18px; margin-left: auto; color: var(--primary); }

/* ---------- About page ---------- */
.mv-card { padding: 40px 36px; }
.mv-card h3 { font-size: 1.5rem; }
.mv-card p { font-size: 1.04rem; margin: 0; }
.team-card { text-align: center; padding: 40px 30px; }
.avatar {
  width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 20px;
  display: grid; place-items: center;
  background: var(--grad); color: #fff;
  font-family: var(--ff-head); font-weight: 700; font-size: 2.2rem; letter-spacing: -.02em;
  box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--line), 0 20px 40px -18px rgba(91, 61, 245, .7);
}
.team-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.team-card .role { color: var(--primary); font-weight: 600; font-size: .92rem; margin-bottom: 14px; display: block; }
.team-card .team-mail { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .92rem; }
.team-card .team-mail:hover { color: var(--primary); }
.team-card .team-mail .ic { width: 17px; height: 17px; }
.team-grid { max-width: 820px; margin: 0 auto; }

.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 18px 26px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th { width: 36%; color: var(--muted); font-weight: 500; background: var(--soft); }
.info-table td { color: var(--ink); font-weight: 600; }
@media (max-width: 600px) {
  .info-table th, .info-table td { display: block; width: 100%; padding: 12px 20px; }
  .info-table th { border-bottom: 0; padding-bottom: 4px; }
}

/* ---------- Legal pages ---------- */
.legal { max-width: 860px; margin: 0 auto; }
.legal-meta {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  padding: 18px 22px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line);
  font-size: .92rem; color: var(--muted); margin-bottom: 36px;
}
.legal-meta b { color: var(--ink); }
.legal h2 { font-size: 1.38rem; margin: 2.2em 0 .7em; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: #45405F; }
.legal ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1.1em; }
.legal li { margin-bottom: .45em; }
.legal a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.legal .contact-box { padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.legal .contact-box p { margin: 0 0 .35em; }

/* ---------- 404 ---------- */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) 0 80px; }
.nf-code { font-family: var(--ff-head); font-weight: 800; font-size: clamp(6rem, 22vw, 12rem); line-height: .9; letter-spacing: -.05em; margin-bottom: 10px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: var(--on-dark-muted);
  padding: 84px 0 0;
}
.site-footer .glow-1 { opacity: .3; top: -300px; }
.footer-grid { display: grid; grid-template-columns: 1.45fr .9fr 1.15fr 1.4fr; gap: 44px; }
.site-footer .brand { color: #fff; }
.footer-brand p { margin: 22px 0 22px; max-width: 350px; }
.site-footer h4 { color: #fff; font-size: 1.04rem; margin-bottom: 22px; letter-spacing: -.01em; }
.footer-links { display: grid; gap: 12px; }
.footer-links a { transition: color .2s, padding .2s; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact { display: grid; gap: 16px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.footer-contact .ic { width: 19px; height: 19px; color: #B7A8FF; margin-top: 3px; }
.footer-contact a:hover { color: #fff; }
.reg-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09);
  font-size: .82rem; color: var(--on-dark); margin-bottom: 22px;
}
.reg-badge .ic { width: 17px; height: 17px; color: var(--mint); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .16); color: #fff;
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.socials a:hover { background: var(--grad); border-color: transparent; transform: translateY(-3px); }
.socials .ic { width: 18px; height: 18px; }
.footer-word {
  font-family: var(--ff-head); font-weight: 800; letter-spacing: -.05em; line-height: .78;
  font-size: clamp(4rem, 17vw, 14.5rem); text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-top: 56px; user-select: none; white-space: nowrap; overflow: hidden;
}
.legal-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding-top: 22px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .87rem; position: relative;
}
.legal-strip p { margin: 0; }
.legal-strip nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.legal-strip a:hover { color: #fff; }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .legal-strip { flex-direction: column; align-items: flex-start; }
}

/* ---------- Back-to-top button ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 89;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; cursor: pointer;
  background: #fff; color: var(--ink); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--primary); }
.to-top .ic { width: 20px; height: 20px; }


/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .chart-line { stroke-dashoffset: 0; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .to-top, .marquee-wrap, .footer-word { display: none !important; }
  .hero, .page-hero, .section-dark, .site-footer { background: #fff !important; color: #000 !important; }
  .page-hero h1, .hero h1 { color: #000 !important; }
}
