/* =========================================================
   Intelevo – Modern dark theme
   Palette derived from logo: navy + bright blue + gold
   ========================================================= */

:root {
  --bg-0: #070d1c;
  --bg-1: #0b1530;
  --bg-2: #111c3a;
  --bg-3: #18254a;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(148, 175, 230, 0.12);
  --border-strong: rgba(148, 175, 230, 0.25);

  --brand-navy: #102d5f;
  --brand-blue: #2a6fbf;
  --brand-blue-bright: #4a90e2;
  --brand-blue-glow: #6bb0ff;
  --brand-gold: #d4af5f;
  --brand-gold-bright: #f3cd7d;

  --text: #e8ecf5;
  --text-dim: #aeb8cf;
  --text-muted: #7c87a3;

  --gradient-hero: radial-gradient(1200px 600px at 70% -10%, rgba(74, 144, 226, 0.22), transparent 60%),
                   radial-gradient(900px 500px at 10% 20%, rgba(212, 175, 95, 0.10), transparent 60%),
                   linear-gradient(180deg, #070d1c 0%, #0b1530 100%);
  --gradient-accent: linear-gradient(135deg, var(--brand-blue-bright) 0%, var(--brand-gold) 100%);
  --gradient-blue: linear-gradient(135deg, #4a90e2 0%, #2a6fbf 100%);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 40px rgba(74, 144, 226, 0.25);

  --container: 1200px;
  --header-h: 112px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----------------- Reset & base ----------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-blue-bright); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-gold-bright); }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .6em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); line-height: 1.2; }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; color: var(--text-dim); }
section { padding: 110px 0; position: relative; }

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

/* ----------------- Utilities ----------------- */
.grad-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--panel);
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-head p { color: var(--text-dim); }

/* ----------------- Buttons ----------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  transition: all .25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-blue);
  color: #fff;
  box-shadow: 0 8px 24px rgba(42, 111, 191, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(74, 144, 226, 0.45);
  color: #fff;
}
.btn-ghost {
  background: var(--panel);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: var(--panel-strong);
  border-color: var(--brand-blue-bright);
  color: var(--text);
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ----------------- Header / Nav ----------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(7, 13, 28, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(7, 13, 28, 0.92);
  border-bottom-color: var(--border);
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fc 100%);
  padding: 8px 22px;
  border-radius: 16px;
  box-shadow: 0 10px 32px rgba(74, 144, 226, 0.3), 0 2px 6px rgba(0,0,0,0.25);
  transition: all .25s var(--ease);
  border: 1px solid rgba(255,255,255,0.6);
}
.logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(74, 144, 226, 0.42), 0 2px 6px rgba(0,0,0,0.25);
}
.logo img { height: 84px; width: auto; display: block; }
.site-footer .logo img { height: 68px; }

@media (max-width: 720px) {
  :root { --header-h: 88px; }
  .logo { padding: 6px 16px; border-radius: 12px; }
  .logo img { height: 60px; }
  .site-footer .logo img { height: 56px; }
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text-dim);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 500;
  transition: all .2s var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--panel); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: inline-flex;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  font-size: .8rem;
}
.lang-switch a {
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 600;
}
.lang-switch a.active {
  background: var(--gradient-blue);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: var(--panel);
  border: 1px solid var(--border);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: var(--text);
  align-items: center;
  justify-content: center;
}

/* ----------------- Hero ----------------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 100px) 0 120px;
  background: var(--gradient-hero);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74, 144, 226, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 144, 226, 0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.hero h1 { margin-bottom: 24px; }
.hero p.lead {
  font-size: 1.18rem;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 38px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 80px;
  padding-top: 50px;
  border-top: 1px solid var(--border);
}
.stat .n {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .l {
  font-size: .85rem;
  color: var(--text-muted);
  letter-spacing: .05em;
}

/* ----------------- Services ----------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.service-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all .3s var(--ease);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(74, 144, 226, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-soft);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.18), rgba(212, 175, 95, 0.12));
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue-bright);
  margin-bottom: 20px;
}
.service-card h3 { color: var(--text); }
.service-card p { color: var(--text-dim); font-size: .95rem; margin: 0; }

/* ----------------- Products ----------------- */
.products-section { background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.product-card {
  position: relative;
  background: linear-gradient(180deg, rgba(74, 144, 226, 0.08) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all .3s var(--ease);
}
.product-card::after {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.18), transparent 70%);
  pointer-events: none;
  transition: transform .5s var(--ease);
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-blue-bright);
  box-shadow: var(--shadow-glow);
}
.product-card:hover::after { transform: scale(1.2); }
.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 14px;
}
.product-tag::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-gold);
  box-shadow: 0 0 12px var(--brand-gold);
}
.product-card h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.product-card p { color: var(--text-dim); margin-bottom: 24px; position: relative; z-index: 1; }
.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  position: relative;
  z-index: 1;
}
.product-features li {
  position: relative;
  padding: 8px 0 8px 28px;
  color: var(--text-dim);
  font-size: .95rem;
  border-bottom: 1px dashed var(--border);
}
.product-features li:last-child { border-bottom: none; }
.product-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gradient-blue);
  box-shadow: 0 0 12px rgba(74, 144, 226, 0.5);
}
.product-features li::after {
  content: '✓';
  position: absolute;
  left: 3px; top: 8px;
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
}
.product-card .btn { align-self: flex-start; margin-top: auto; position: relative; z-index: 1; }

/* ----------------- About ----------------- */
.about {
  background:
    radial-gradient(800px 400px at 10% 50%, rgba(212, 175, 95, 0.08), transparent 60%),
    var(--bg-0);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 { margin-bottom: 24px; }
.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.value {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.value h4 { color: var(--brand-gold-bright); font-size: .98rem; margin-bottom: 6px; }
.value p { font-size: .88rem; margin: 0; color: var(--text-muted); }

/* ---- About visual: layered tech mockup ---- */
.about-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  perspective: 1400px;
}
.about-visual::before {
  content: '';
  position: absolute;
  inset: 10% -5% 0 -5%;
  background:
    radial-gradient(50% 50% at 30% 35%, rgba(74,144,226,0.35), transparent 70%),
    radial-gradient(45% 45% at 75% 70%, rgba(212,175,95,0.22), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.about-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74, 144, 226, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 144, 226, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}

.float-card {
  position: absolute;
  background: linear-gradient(180deg, rgba(24, 37, 74, 0.95) 0%, rgba(17, 28, 58, 0.92) 100%);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  z-index: 2;
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) var(--tilt, ); }
  50%      { transform: translateY(-10px) var(--tilt, ); }
}

/* Card 1: chart (back-left, biggest) */
.card-chart {
  top: 6%;
  left: 0;
  width: 78%;
  --tilt: rotate(-4deg);
  transform: rotate(-4deg);
  animation-delay: 0s;
}
.card-chart .ch-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.card-chart .ch-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: var(--text-dim);
  font-weight: 600;
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.4} }
.card-chart .ch-pct {
  font-size: .75rem;
  color: var(--brand-gold-bright);
  font-weight: 700;
  background: rgba(212, 175, 95, 0.12);
  padding: 3px 8px;
  border-radius: 999px;
}
.chart-svg { width: 100%; height: 80px; display: block; }
.card-chart .ch-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.ch-stats .s-val {
  font-size: 1.2rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.ch-stats .s-lbl {
  font-size: .7rem;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Card 2: progress ring (top-right) */
.card-ring {
  top: 0;
  right: 0;
  width: 42%;
  --tilt: rotate(5deg);
  transform: rotate(5deg);
  animation-delay: -2s;
  text-align: center;
}
.ring-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  margin: 0 auto;
}
.ring-wrap svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-wrap .ring-val {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.card-ring .r-lbl {
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-top: 8px;
  font-weight: 700;
}

/* Card 3: code snippet (bottom-right, front) */
.card-code {
  bottom: 2%;
  right: 2%;
  width: 72%;
  --tilt: rotate(3deg);
  transform: rotate(3deg);
  animation-delay: -4s;
  font-family: 'JetBrains Mono', 'Consolas', 'Courier New', monospace;
  font-size: .78rem;
  line-height: 1.7;
  padding: 16px 18px;
}
.code-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.code-head .cdot { width: 10px; height: 10px; border-radius: 50%; }
.code-head .cdot:nth-child(1) { background: #ff5f57; }
.code-head .cdot:nth-child(2) { background: #febc2e; }
.code-head .cdot:nth-child(3) { background: #28c840; }
.code-head .cfile {
  margin-left: 10px;
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  color: var(--text-muted);
}
.code-line { display: flex; gap: 12px; white-space: nowrap; }
.code-line .ln { color: var(--text-muted); opacity: .6; user-select: none; min-width: 14px; text-align: right; }
.code-line .kw { color: #c084fc; }
.code-line .fn { color: var(--brand-blue-glow); }
.code-line .str { color: #fde68a; }
.code-line .pn { color: var(--text-dim); }

.cursor::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 1em;
  background: var(--brand-blue-bright);
  margin-left: 2px;
  vertical-align: middle;
  animation: blink 1s steps(2) infinite;
}

/* ----------------- Contact ----------------- */
.contact {
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
}
.contact-card {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.10), rgba(212, 175, 95, 0.06));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 60px 50px;
  text-align: center;
}
.contact-card h2 { margin-bottom: 16px; }
.contact-card p { margin-bottom: 36px; }
.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 40px;
  text-align: left;
}
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  min-width: 0;
}
.contact-item > div:last-child { min-width: 0; flex: 1; }
.contact-item .ic {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--gradient-blue);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.contact-item .l { font-size: .78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; }
.contact-item .v {
  color: var(--text);
  font-weight: 500;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: .95rem;
  line-height: 1.4;
}

/* ----------------- Footer ----------------- */
.site-footer {
  background: #050912;
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: .92rem; color: var(--text-muted); max-width: 320px; }
.footer-col h4 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--brand-gold);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-dim); font-size: .92rem; }
.footer-col a:hover { color: var(--brand-blue-bright); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: .85rem;
  color: var(--text-muted);
}

/* ----------------- Product detail pages ----------------- */
.page-hero {
  padding: calc(var(--header-h) + 90px) 0 80px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74, 144, 226, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 144, 226, 0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}
.page-hero .container { position: relative; }
.breadcrumb {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand-blue-bright); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.feature-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all .25s var(--ease);
}
.feature-item:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.feature-item .num {
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
  display: block;
}
.feature-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-item p  { font-size: .9rem; margin: 0; color: var(--text-muted); }

.use-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.use-case {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
}
.use-case .ic {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--gradient-blue);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  margin-bottom: 18px;
}

.cta-band {
  margin: 0 auto;
  max-width: 980px;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-navy) 100%);
  border-radius: var(--radius-lg);
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  border: 1px solid var(--border-strong);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212, 175, 95, 0.3), transparent 70%);
}
.cta-band h2 { color: #fff; margin: 0; position: relative; }
.cta-band p  { color: rgba(255,255,255,0.85); margin: 8px 0 0; position: relative; }
.cta-band .btn { position: relative; background: #fff; color: var(--brand-navy); }
.cta-band .btn:hover { background: var(--brand-gold); color: var(--brand-navy); }

/* ----------------- Legal pages typography ----------------- */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  color: var(--text-dim);
  line-height: 1.75;
}
.legal-content > h2:first-child { margin-top: 0; }
.legal-content h2 {
  color: var(--text);
  font-size: 1.4rem;
  margin: 48px 0 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.legal-content h3 {
  color: var(--brand-blue-bright);
  font-size: 1.05rem;
  margin: 28px 0 10px;
}
.legal-content p, .legal-content li { color: var(--text-dim); }
.legal-content ul, .legal-content ol { padding-left: 22px; margin: 12px 0 16px; }
.legal-content li { margin-bottom: 8px; }
.legal-content strong { color: var(--text); font-weight: 600; }
.legal-content a { color: var(--brand-blue-bright); text-decoration: underline; text-underline-offset: 3px; }
.legal-content .meta {
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: .9rem;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.legal-content .meta div span {
  display: block;
  font-size: .72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 4px;
}
.legal-content .meta div b { color: var(--text); font-weight: 600; }
.legal-content .promise {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.12), rgba(212, 175, 95, 0.08));
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--brand-blue-bright);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 42px;
}
.legal-content .promise-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gradient-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(74, 144, 226, 0.35);
}
.legal-content .promise p {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
}
.legal-content .promise strong { color: var(--brand-gold-bright); }

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 22px;
  font-size: .92rem;
}
.legal-content th, .legal-content td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.legal-content th {
  background: var(--panel);
  color: var(--text);
  font-weight: 600;
}

/* ----------------- Animations ----------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ----------------- Responsive ----------------- */
@media (max-width: 960px) {
  section { padding: 80px 0; }
  .hero { padding: calc(var(--header-h) + 60px) 0 80px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); margin-top: 50px; padding-top: 36px; }
  .products-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { max-width: 360px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 16px; right: 16px;
    flex-direction: column;
    background: var(--bg-1);
    border: 1px solid var(--border);
    padding: 14px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
  }
  .nav-links.open a { width: 100%; padding: 12px 14px; }
  .contact-card { padding: 40px 26px; }
  .cta-band { padding: 36px 26px; text-align: center; flex-direction: column; }
}
@media (max-width: 560px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .values { grid-template-columns: 1fr; }
}
