/* =========================================================
   EduNation AI by Inteople — AI-Powered School OS
   Standalone stylesheet, no framework. Light theme,
   blue + green + AI-gradient. Bilingual EN / BN.
   ========================================================= */

:root {
  /* Brand — trustworthy blue + growth green + AI violet accent */
  --blue: #1d4ed8; /* primary blue */
  --blue-2: #2563eb;
  --blue-soft: #e8efff;
  --green: #0fa968; /* growth green */
  --green-2: #14c07b;
  --green-soft: #e2f7ee;
  --violet: #7c5cff; /* AI accent */
  --violet-2: #9d86ff;
  --cyan: #21c7e6;

  /* AI gradient */
  --ai-grad: linear-gradient(120deg, #2563eb 0%, #7c5cff 48%, #14c07b 100%);
  --ai-grad-soft: linear-gradient(
    120deg,
    rgba(37, 99, 235, 0.12),
    rgba(124, 92, 255, 0.12) 50%,
    rgba(20, 192, 123, 0.12)
  );

  /* Surfaces — clean white */
  --bg: #fff;
  --bg-2: #f4f7fe;
  --bg-3: #eef3fc;
  --surface: #fff;
  --line: #e6ecf6;
  --line-strong: #d4ddec;

  /* Ink */
  --ink: #131c2e;
  --ink-2: #2a3650;
  --muted: #5a6884;
  --muted-2: #8693ab;

  --radius: 20px;
  --radius-sm: 13px;
  --shadow: 0 24px 50px -28px rgba(29, 47, 92, 0.28);
  --shadow-soft: 0 10px 28px -20px rgba(29, 47, 92, 0.2);
  --shadow-blue: 0 18px 40px -22px rgba(37, 99, 235, 0.45);

  --container: 1200px;

  --font:
    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  --font-bn:
    "Hind Siliguri", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Bangla typography swap */
body.lang-bn {
  font-family: var(--font-bn);
  line-height: 1.8;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  line-height: 1.14;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.85rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.65rem);
  font-weight: 800;
}

h3 {
  font-size: 1.22rem;
}

p {
  margin: 0 0 1rem;
}

body.lang-bn h1,
body.lang-bn h2,
body.lang-bn h3,
body.lang-bn h4 {
  letter-spacing: 0;
  line-height: 1.35;
}

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

.bg-alt {
  background: var(--bg-2);
}

/* ---------- Bilingual visibility ---------- */
.en {
  display: inline;
}

.bn {
  display: none;
}

body.lang-bn .en {
  display: none;
}

body.lang-bn .bn {
  display: inline;
}
/* block-level variants keep layout flow */
.en-block {
  display: block;
}

.bn-block {
  display: none;
}

body.lang-bn .en-block {
  display: none;
}

body.lang-bn .bn-block {
  display: block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    background 0.25s,
    border-color 0.25s,
    color 0.25s;
  will-change: transform;
}

.btn-primary {
  background: var(--ai-grad);
  background-size: 180% 180%;
  color: #fff;
  box-shadow: var(--shadow-blue);
  animation: gradShift 8s ease infinite;
}

@keyframes gradShift {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px -20px rgba(37, 99, 235, 0.6);
}

.btn-ghost {
  background: var(--surface);
  color: var(--blue);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
}

.btn-green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 16px 34px -18px rgba(15, 169, 104, 0.55);
}

.btn-green:hover {
  transform: translateY(-2px);
  background: var(--green-2);
}

.btn-sm {
  padding: 0.6rem 1.15rem;
  font-size: 0.9rem;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition:
    background 0.3s,
    box-shadow 0.3s,
    padding 0.3s;
  padding: 16px 0;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  box-shadow:
    0 1px 0 var(--line),
    0 12px 30px -24px rgba(29, 47, 92, 0.32);
  padding: 10px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--ai-grad);
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
  box-shadow: var(--shadow-blue);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.brand small {
  display: block;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  padding: 8px;
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
}

/* Language switch */
.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.lang-switch button {
  border: 0;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  transition:
    background 0.2s,
    color 0.2s;
}

.lang-switch button.active {
  background: var(--ai-grad);
  color: #fff;
}

@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 330px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.4rem;
    background: var(--surface);
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
    z-index: 99;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.18rem;
  }

  .nav-toggle {
    display: inline-flex;
    z-index: 100;
  }

  .nav-cta .btn-demo {
    display: none;
  }
}

/* ---------- Section scaffolding ---------- */
.section {
  padding: clamp(64px, 9vw, 118px) 0;
  position: relative;
}

.section-head {
  max-width: 780px;
  margin: 0 auto clamp(40px, 6vw, 62px);
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--blue-soft);
}

body.lang-bn .eyebrow {
  letter-spacing: 0.04em;
}

.section-head p {
  color: var(--muted);
  font-size: 1.08rem;
}

.grad-text {
  background: var(--ai-grad);
  background-clip: text;
  color: transparent;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: clamp(132px, 17vh, 196px) 0 clamp(64px, 9vw, 110px);
  overflow: hidden;
  background: var(--surface);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(
      48% 42% at 82% 8%,
      rgba(124, 92, 255, 0.16),
      transparent 70%
    ),
    radial-gradient(
      52% 46% at 8% 22%,
      rgba(37, 99, 235, 0.14),
      transparent 72%
    ),
    radial-gradient(
      46% 50% at 65% 100%,
      rgba(20, 192, 123, 0.13),
      transparent 70%
    );
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(
    rgba(29, 78, 216, 0.06) 1px,
    transparent 1px
  );
  background-size: 38px 38px;
  mask-image: radial-gradient(70% 65% at 50% 30%, #000, transparent);
}
/* AI particle canvas layer */
#ai-particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 3rem;
  align-items: center;
}

.hero .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 0.83rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
  box-shadow: var(--shadow-soft);
}

.hero .pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(15, 169, 104, 0.18);
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(15, 169, 104, 0.22);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(15, 169, 104, 0);
  }
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero p.lead {
  font-size: 1.16rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.1rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
  color: var(--muted-2);
  font-size: 0.88rem;
}

.hero-trust b {
  color: var(--ink);
}

.hero-trust .ht {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-trust svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

/* ---------- Hero visual: futuristic classroom ---------- */
.hero-visual {
  position: relative;
  isolation: isolate;
  perspective: 1500px;
}

.hero-aurora {
  position: absolute;
  inset: -16% -12% -18%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(
      40% 40% at 28% 26%,
      rgba(37, 99, 235, 0.32),
      transparent 70%
    ),
    radial-gradient(
      46% 46% at 78% 72%,
      rgba(20, 192, 123, 0.3),
      transparent 72%
    ),
    radial-gradient(
      40% 40% at 70% 18%,
      rgba(124, 92, 255, 0.3),
      transparent 70%
    );
  filter: blur(34px);
  opacity: 0.9;
  animation: heroAurora 15s ease-in-out infinite alternate;
}

@keyframes heroAurora {
  0% {
    transform: translate3d(-3%, -2%, 0) scale(1);
  }

  100% {
    transform: translate3d(4%, 3%, 0) scale(1.08);
  }
}

.classroom {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #f7faff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1rem;
  transform: rotateX(4deg) rotateY(-5deg);
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.classroom:hover {
  transform: rotateX(0) rotateY(0) translateY(-4px);
}
/* Smart board */
.smartboard {
  position: relative;
  border-radius: 16px;
  background: linear-gradient(160deg, #0e1b3d, #142a5c 60%, #0c1f47);
  padding: 1rem 1.1rem 1.1rem;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.smartboard::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  mask: radial-gradient(120% 90% at 50% 0%, #000, transparent 78%);
  pointer-events: none;
}

.sb-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
}

.sb-dots {
  display: flex;
  gap: 5px;
}

.sb-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: block;
}

.sb-dots i:nth-child(1) {
  background: #ff6058;
}

.sb-dots i:nth-child(2) {
  background: #ffbd2e;
}

.sb-dots i:nth-child(3) {
  background: #28c840;
}

.sb-title {
  font-size: 0.72rem;
  color: #aebcdc;
  font-weight: 600;
  margin-left: auto;
}

.sb-lesson {
  position: relative;
  z-index: 1;
  color: #fff;
}

.sb-lesson .tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8fb4ff;
  background: rgba(124, 160, 255, 0.14);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
}

.sb-lesson h4 {
  color: #fff;
  font-size: 1.05rem;
  margin: 0 0 0.7rem;
}
/* animated chalk graph */
.sb-graph {
  height: 64px;
  position: relative;
}

.sb-graph svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.sb-graph path.line {
  fill: none;
  stroke: url("#eduStroke");
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: drawLine 2.6s ease forwards 0.4s;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

.sb-graph .dot {
  fill: #fff;
  opacity: 0;
  animation: popDot 0.4s ease forwards;
}

@keyframes popDot {
  from {
    opacity: 0;
    transform: scale(0);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}
/* AI assistant chip floating */
.ai-chip {
  position: absolute;
  top: 16%;
  right: -18px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.6rem 0.8rem;
  box-shadow: var(--shadow);
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 3;
  animation: floatY 4.5s ease-in-out infinite;
}

.ai-chip .av {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--ai-grad);
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}

.ai-chip .av svg {
  width: 15px;
  height: 15px;
}

.ai-chip small {
  display: block;
  font-weight: 500;
  color: var(--muted-2);
  font-size: 0.68rem;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}
/* classroom lower row: tiles + parent phone */
.cr-row {
  display: grid;
  grid-template-columns: 1fr 0.62fr;
  gap: 0.7rem;
  margin-top: 0.7rem;
}

.cr-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.cr-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 0.65rem 0.7rem;
}

.cr-tile .lab {
  font-size: 0.64rem;
  color: var(--muted-2);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.cr-tile .lab svg {
  width: 13px;
  height: 13px;
}

.cr-tile .num {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0.15rem;
}

.cr-tile .num.blue {
  color: var(--blue);
}

.cr-tile .num.green {
  color: var(--green);
}

.cr-tile .bar {
  height: 5px;
  border-radius: 999px;
  background: var(--bg-3);
  margin-top: 0.45rem;
  overflow: hidden;
}

.cr-tile .bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--ai-grad);
  width: 0;
  animation: fillBar 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.6s;
}

.cr-tile:nth-child(2) .bar i {
  background: var(--green);
  animation-delay: 0.9s;
}

@keyframes fillBar {
  to {
    width: var(--w, 70%);
  }
}
/* parent phone mini */
.cr-phone {
  background: #0e1b3d;
  border-radius: 18px;
  padding: 0.5rem;
  box-shadow: var(--shadow);
  position: relative;
}

.cr-phone .scr {
  background: #fff;
  border-radius: 13px;
  padding: 0.6rem;
  height: 100%;
}

.cr-phone .ph-top {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.cr-phone .ph-av {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-soft);
  display: grid;
  place-items: center;
  color: var(--green);
  flex: none;
}

.cr-phone .ph-av svg {
  width: 13px;
  height: 13px;
}

.cr-phone .ph-top b {
  font-size: 0.62rem;
}

.cr-phone .ph-top small {
  display: block;
  font-size: 0.55rem;
  color: var(--muted-2);
}

.ph-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.6rem;
  padding: 0.32rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.ph-line:last-child {
  border-bottom: 0;
}

.ph-line .ok {
  color: var(--green);
  font-weight: 700;
}

.ph-line .badge-mini {
  background: var(--green-soft);
  color: var(--green);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.05rem 0.4rem;
}

/* =========================================================
   Logos / trust strip
   ========================================================= */
.logos {
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.logos p {
  text-align: center;
  color: var(--muted-2);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.4rem 2.6rem;
  color: var(--muted-2);
}

.logo-row .lg {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  opacity: 0.72;
  transition: opacity 0.2s;
}

.logo-row .lg:hover {
  opacity: 1;
}

.logo-row .lg svg {
  width: 22px;
  height: 22px;
}

/* =========================================================
   Grid + cards
   ========================================================= */
.grid {
  display: grid;
  gap: 1.4rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 980px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  transition:
    transform 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.card .ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  background: var(--blue-soft);
  color: var(--blue);
}

.card .ic svg {
  width: 25px;
  height: 25px;
}

.card .ic.green {
  background: var(--green-soft);
  color: var(--green);
}

.card .ic.violet {
  background: rgba(124, 92, 255, 0.12);
  color: var(--violet);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--muted);
  font-size: 0.96rem;
  margin: 0;
}

/* Problem cards get a subtle warning tint + number */
.problem-card .ic {
  background: #fdecec;
  color: #e2574c;
}

.problem-card .qn {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--bg-3);
  letter-spacing: -0.04em;
  line-height: 1;
}

/* =========================================================
   Before / After comparison
   ========================================================= */
.beforeafter {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.4rem;
  align-items: stretch;
  margin-top: 2.6rem;
}

@media (max-width: 760px) {
  .beforeafter {
    grid-template-columns: 1fr;
  }
}

.ba-col {
  border-radius: var(--radius);
  padding: 1.6rem;
  border: 1px solid var(--line);
}

.ba-col.before {
  background: var(--bg-2);
}

.ba-col.after {
  background: var(--ai-grad-soft), var(--surface);
  border-color: rgba(37, 99, 235, 0.25);
}

.ba-col h4 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.ba-col.before h4 {
  color: var(--muted-2);
}

.ba-col.after h4 {
  color: var(--blue);
}

.ba-col li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--ink-2);
  border-bottom: 1px dashed var(--line);
}

.ba-col li:last-child {
  border-bottom: 0;
}

.ba-col li svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
}

.ba-col.before li svg {
  color: #d9534f;
}

.ba-col.after li svg {
  color: var(--green);
}

.ba-arrow {
  display: grid;
  place-items: center;
  color: var(--blue);
}

.ba-arrow span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ai-grad);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.ba-arrow svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 760px) {
  .ba-arrow span {
    transform: rotate(90deg);
  }
}

/* =========================================================
   Ecosystem diagram (solution)
   ========================================================= */
.ecosystem {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.eco-node {
  width: 100%;
  max-width: 480px;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.eco-node:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: var(--shadow);
}

.eco-node .eic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}

.eco-node .eic svg {
  width: 23px;
  height: 23px;
}

.eco-node b {
  display: block;
  font-size: 1rem;
}

.eco-node span {
  color: var(--muted);
  font-size: 0.88rem;
}

.eco-node.n1 .eic {
  background: #1d4ed8;
}

.eco-node.n2 .eic {
  background: #2563eb;
}

.eco-node.n3 .eic {
  background: #21c7e6;
}

.eco-node.n4 .eic {
  background: #0fa968;
}

.eco-node.n5 {
  background: linear-gradient(120deg, #11204a, #1a2f63);
  border-color: transparent;
}

.eco-node.n5 .eic {
  background: var(--ai-grad);
}

.eco-node.n5 b {
  color: #fff;
}

.eco-node.n5 span {
  color: #aebcdc;
}

.eco-link {
  width: 2px;
  height: 30px;
  background: linear-gradient(var(--blue), var(--green));
  position: relative;
  overflow: hidden;
}

.eco-link::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: #fff;
  opacity: 0.85;
  animation: flowDown 1.8s linear infinite;
}

@keyframes flowDown {
  to {
    top: 120%;
  }
}

/* =========================================================
   Feature blocks (alternating split)
   ========================================================= */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: clamp(40px, 6vw, 70px) 0;
}

.feature-block + .feature-block {
  border-top: 1px solid var(--line);
}

.feature-block.rev .fb-media {
  order: -1;
}

@media (max-width: 900px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-block.rev .fb-media {
    order: 0;
  }
}

.fb-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.fb-badge.blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.fb-badge.green {
  background: var(--green-soft);
  color: var(--green);
}

.fb-badge.violet {
  background: rgba(124, 92, 255, 0.12);
  color: var(--violet);
}

.fb-badge.cyan {
  background: rgba(33, 199, 230, 0.14);
  color: #0e9cb8;
}

.fb-badge svg {
  width: 15px;
  height: 15px;
}

.feature-block h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.fb-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.fb-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.97rem;
  color: var(--ink-2);
}

.fb-list li .ck {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  flex: none;
}

.fb-list li .ck svg {
  width: 14px;
  height: 14px;
}

/* ---------- Mockup frames ---------- */
.fb-media {
  position: relative;
}

.mock {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
/* Browser-style dashboard mock */
.mock-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.mock-bar .dts {
  display: flex;
  gap: 5px;
}

.mock-bar .dts i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
  display: block;
}

.mock-bar .url {
  margin-left: 0.5rem;
  font-size: 0.68rem;
  color: var(--muted-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
}

.mock-body {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  min-height: 280px;
}

.mock-side {
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  padding: 0.9rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mock-side .sb-logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  font-size: 0.78rem;
  margin-bottom: 0.6rem;
}

.mock-side .sb-logo i {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--ai-grad);
  display: block;
  flex: none;
}

.mock-side .mi {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--muted);
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
}

.mock-side .mi svg {
  width: 15px;
  height: 15px;
}

.mock-side .mi.on {
  background: var(--surface);
  color: var(--blue);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.mock-main {
  padding: 1rem 1.1rem;
}

.mock-main .mh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.mock-main .mh b {
  font-size: 0.92rem;
}

.mock-main .mh .av {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ai-grad);
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.kpi {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 0.6rem 0.65rem;
}

.kpi .lab {
  font-size: 0.6rem;
  color: var(--muted-2);
  font-weight: 600;
}

.kpi .val {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.kpi .val.b {
  color: var(--blue);
}

.kpi .val.g {
  color: var(--green);
}

.kpi .val.v {
  color: var(--violet);
}
/* chart bars */
.mchart {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  height: 86px;
  padding: 0.7rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 11px;
}

.mchart i {
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: var(--ai-grad);
  opacity: 0.85;
  height: var(--h, 40%);
  transform-origin: bottom;
  animation: growBar 1.2s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.mchart i:nth-child(odd) {
  background: var(--green);
}

@keyframes growBar {
  from {
    transform: scaleY(0);
  }
}

/* ---------- Phone mockups ---------- */
.phone {
  width: 250px;
  margin: 0 auto;
  background: #0e1b3d;
  border-radius: 32px;
  padding: 0.55rem;
  box-shadow: var(--shadow);
  position: relative;
}

.phone::before {
  content: "";
  position: absolute;
  top: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  z-index: 2;
}

.phone .pscr {
  background: var(--bg-2);
  border-radius: 26px;
  overflow: hidden;
  min-height: 420px;
}

.p-head {
  background: var(--ai-grad);
  color: #fff;
  padding: 1.6rem 1rem 1.1rem;
}

.p-head.green {
  background: linear-gradient(135deg, #0fa968, #14c07b);
}

.p-head .gr {
  font-size: 0.68rem;
  opacity: 0.85;
}

.p-head b {
  font-size: 1.05rem;
}

.p-head .pill-mini {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.62rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  margin-top: 0.5rem;
}

.p-body {
  padding: 0.9rem;
  display: grid;
  gap: 0.6rem;
}

.p-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 0.7rem 0.8rem;
}

.p-card .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
}

.p-card .row b {
  font-size: 0.78rem;
}

.p-prog {
  height: 7px;
  border-radius: 999px;
  background: var(--bg-3);
  margin-top: 0.5rem;
  overflow: hidden;
}

.p-prog i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--ai-grad);
  width: var(--w, 60%);
}

.p-card.green .p-prog i {
  background: var(--green);
}

.p-tag {
  font-size: 0.6rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
}

.p-tag.g {
  background: var(--green-soft);
  color: var(--green);
}

.p-tag.b {
  background: var(--blue-soft);
  color: var(--blue);
}

.p-tag.v {
  background: rgba(124, 92, 255, 0.12);
  color: var(--violet);
}

.p-nav {
  display: flex;
  justify-content: space-around;
  padding: 0.6rem 0.4rem;
  border-top: 1px solid var(--line);
  background: #fff;
}

.p-nav svg {
  width: 19px;
  height: 19px;
  color: var(--muted-2);
}

.p-nav svg.on {
  color: var(--blue);
}

.p-head.green ~ .p-body .p-nav svg.on {
  color: var(--green);
}

/* AI doubt-solve chat bubble */
.chat {
  display: grid;
  gap: 0.5rem;
}

.bub {
  max-width: 85%;
  font-size: 0.72rem;
  padding: 0.5rem 0.7rem;
  border-radius: 13px;
  line-height: 1.45;
}

.bub.me {
  justify-self: end;
  background: var(--blue);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.bub.ai {
  justify-self: start;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}

.bub.ai .who {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 700;
  color: var(--violet);
  font-size: 0.62rem;
  margin-bottom: 0.2rem;
}

.bub.ai .who svg {
  width: 12px;
  height: 12px;
}

/* =========================================================
   AI intelligence section
   ========================================================= */
.ai-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.6rem;
  align-items: center;
}

@media (max-width: 900px) {
  .ai-panel {
    grid-template-columns: 1fr;
  }
}

.ai-flow {
  display: grid;
  gap: 1rem;
}

.ai-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.ai-step .n {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ai-grad);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 0.9rem;
}

.ai-step b {
  font-size: 1rem;
}

.ai-step p {
  margin: 0.1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
/* AI analytics card */
.ai-dash {
  border-radius: 20px;
  background: linear-gradient(165deg, #0e1b3d, #142a5c);
  padding: 1.4rem;
  color: #fff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.ai-dash::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.ai-dash .adh {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  z-index: 1;
  margin-bottom: 1.1rem;
}

.ai-dash .adh .core {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ai-grad);
  display: grid;
  place-items: center;
}

.ai-dash .adh .core svg {
  width: 19px;
  height: 19px;
  color: #fff;
}

.ai-dash .adh b {
  color: #fff;
  font-size: 0.96rem;
}

.ai-dash .adh small {
  display: block;
  color: #9fb0d6;
  font-size: 0.68rem;
}

.ai-dash .adh .live {
  margin-left: auto;
  font-size: 0.62rem;
  color: #8fffc4;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ai-dash .adh .live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ee6a0;
  animation: livePulse 2s infinite;
}

.ai-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  position: relative;
  z-index: 1;
  margin-bottom: 1.1rem;
}

.ai-metric {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  padding: 0.75rem 0.85rem;
}

.ai-metric .lab {
  font-size: 0.64rem;
  color: #9fb0d6;
}

.ai-metric .v {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ai-metric .v.g {
  color: #2ee6a0;
}

.ai-metric .v.b {
  color: #7aa8ff;
}

.ai-metric .v.v {
  color: #b9a6ff;
}

.ai-rec {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  padding: 0.85rem;
}

.ai-rec .t {
  font-size: 0.66rem;
  color: #9fb0d6;
  margin-bottom: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ai-rec .item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  padding: 0.32rem 0;
  color: #dde6f7;
}

.ai-rec .item svg {
  width: 15px;
  height: 15px;
  color: #2ee6a0;
  flex: none;
}

/* =========================================================
   Pricing
   ========================================================= */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .pricing {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
  }
}

.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  position: relative;
}

.plan:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.plan.featured {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--ai-grad) border-box;
  border: 2px solid transparent;
  box-shadow: var(--shadow);
}

.plan .pop {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ai-grad);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  box-shadow: var(--shadow-blue);
  white-space: nowrap;
}

.plan .pname {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

.plan.featured .pname {
  color: var(--violet);
}

.plan .pfor {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.plan .price {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.1rem;
}

.plan .price small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted-2);
}

.plan .pnote {
  font-size: 0.78rem;
  color: var(--muted-2);
  margin-bottom: 1.3rem;
}

.plan ul {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
  flex: 1;
}

.plan li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--ink-2);
}

.plan li svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex: none;
  margin-top: 2px;
}

.plan .btn {
  width: 100%;
}

.custom-band {
  margin-top: 1.6rem;
  text-align: center;
  background: var(--ai-grad-soft);
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.custom-band b {
  font-size: 1.05rem;
}

.custom-band span {
  color: var(--muted);
  font-size: 0.94rem;
}

/* =========================================================
   Why-choose feature grid
   ========================================================= */
.why-card {
  text-align: left;
}

.why-card .ic {
  margin-bottom: 1rem;
}

/* =========================================================
   Demo CTA band
   ========================================================= */
.demo-band {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(135deg, #11204a, #1a2f63 55%, #0f3b54);
  color: #fff;
  padding: clamp(2.4rem, 5vw, 3.6rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.4rem;
  align-items: center;
}

.demo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      40% 60% at 85% 10%,
      rgba(124, 92, 255, 0.4),
      transparent 70%
    ),
    radial-gradient(
      40% 60% at 10% 100%,
      rgba(20, 192, 123, 0.35),
      transparent 70%
    );
}

.demo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  mask: radial-gradient(120% 100% at 50% 0%, #000, transparent 80%);
}

@media (max-width: 860px) {
  .demo-band {
    grid-template-columns: 1fr;
  }
}

.demo-band .dz {
  position: relative;
  z-index: 1;
}

.demo-band h2 {
  color: #fff;
}

.demo-band p {
  color: #c3cfe8;
  font-size: 1.05rem;
  margin-bottom: 1.6rem;
}

.demo-band .btn-ghost {
  background: #fff;
  color: var(--blue);
}
/* principal mini dashboard inside demo band */
.demo-dash {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 1.1rem;
  backdrop-filter: blur(6px);
}

.demo-dash .ddh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.demo-dash .ddh b {
  color: #fff;
  font-size: 0.9rem;
}

.demo-dash .ddh span {
  font-size: 0.66rem;
  color: #8fffc4;
}

.demo-dash .ddrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

.dd-tile {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.65rem 0.7rem;
}

.dd-tile .lab {
  font-size: 0.6rem;
  color: #9fb0d6;
}

.dd-tile .v {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

.dd-tile .v.g {
  color: #2ee6a0;
}

.dd-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  height: 60px;
}

.dd-bars i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(var(--violet-2), var(--blue-2));
  height: var(--h, 40%);
  transform-origin: bottom;
  animation: growBar 1.1s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

/* =========================================================
   Stats
   ========================================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  text-align: center;
}

@media (max-width: 720px) {
  .stats {
    grid-template-columns: 1fr 1fr;
  }
}

.stat .num {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--ai-grad);
  background-clip: text;
  color: transparent;
}

.stat .lab {
  color: var(--muted);
  font-size: 0.92rem;
}

/* =========================================================
   About
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.6rem;
  align-items: center;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.expertise {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.exp {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}

.exp:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.exp .ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--ai-grad-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: none;
}

.exp .ic svg {
  width: 19px;
  height: 19px;
}

.exp b {
  font-size: 0.9rem;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: clamp(48px, 7vw, 76px) 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.4rem;
}

@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-grid h4 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.footer-grid a {
  color: var(--muted);
  display: block;
  padding: 0.25rem 0;
  font-size: 0.93rem;
}

.footer-grid a:hover {
  color: var(--blue);
}

.footer-brand p {
  color: var(--muted);
  max-width: 340px;
  font-size: 0.93rem;
}

.footer-brand .brand {
  margin-bottom: 1rem;
}

.socials {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  transition:
    background 0.2s,
    transform 0.2s,
    border-color 0.2s;
}

.socials a:hover {
  background: var(--blue-soft);
  border-color: transparent;
  transform: translateY(-2px);
}

.socials svg {
  width: 18px;
  height: 18px;
  fill: var(--muted);
}

.socials a:hover svg {
  fill: var(--blue);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  justify-content: space-between;
  color: var(--muted-2);
  font-size: 0.85rem;
}

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

/* Utility */
.center {
  text-align: center;
}

.mt-lg {
  margin-top: 2.4rem;
}

.lead-narrow {
  max-width: 600px;
}
