:root {
  --brand-blue: #3b6bf6;
  --brand-cyan: #14c9e6;
  --bg-950: #05070f;
  --bg-900: #070b17;
  --bg-850: #0a0f1e;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink-000: #f5f8ff;
  --ink-200: #cfd7ec;
  --ink-400: #9aa4c4;
  --ink-600: #6d7796;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.35);
  --shadow-strong: 0 30px 70px rgba(0, 0, 0, 0.5);
  --glow-blue: 0 0 0 1px rgba(59, 107, 246, 0.25), 0 18px 45px rgba(59, 107, 246, 0.18);
  --glow-cyan: 0 0 0 1px rgba(20, 201, 230, 0.25), 0 18px 45px rgba(20, 201, 230, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: var(--ink-000);
  background: var(--bg-950);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: rgba(59, 107, 246, 0.35);
  color: #fff;
}

/* ---------- Background layers ---------- */

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: var(--bg-950);
  overflow: hidden;
}

.bg-layer::before {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(900px 560px at 12% 8%, rgba(59, 107, 246, 0.22), transparent 60%),
    radial-gradient(760px 520px at 88% 18%, rgba(20, 201, 230, 0.16), transparent 55%),
    radial-gradient(1000px 700px at 50% 100%, rgba(59, 107, 246, 0.14), transparent 60%);
  animation: drift 22s ease-in-out infinite alternate;
}

.bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  opacity: 0.6;
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-2%, 2%, 0) scale(1.06);
  }
}

.bg-paths {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.bg-paths path {
  stroke: url(#pathGradient);
  stroke-width: 1;
  fill: none;
  opacity: 0.35;
  stroke-dasharray: 6 10;
  animation: pathFlow 14s linear infinite;
}

.bg-paths path:nth-child(odd) {
  animation-duration: 18s;
  animation-direction: reverse;
}

@keyframes pathFlow {
  to {
    stroke-dashoffset: -400;
  }
}

.bg-icons {
  position: absolute;
  inset: 0;
}

.bg-icon {
  position: absolute;
  width: 110px;
  height: 110px;
  color: rgba(159, 192, 255, 0.13);
  will-change: transform;
}

.icon-1 { top: 4%;   left: 4%;  width: 130px; color: rgba(159, 192, 255, 0.16); animation: drift1 34s ease-in-out infinite; }
.icon-2 { top: 14%;  left: 84%; width: 96px;  color: rgba(20, 201, 230, 0.15);  animation: drift2 29s ease-in-out infinite; animation-delay: -6s; }
.icon-3 { top: 34%;  left: 2%;  width: 140px; color: rgba(159, 192, 255, 0.14); animation: drift3 38s ease-in-out infinite; animation-delay: -12s; }
.icon-4 { top: 46%;  left: 88%; width: 104px; color: rgba(20, 201, 230, 0.16);  animation: drift1 31s ease-in-out infinite; animation-delay: -4s; }
.icon-5 { top: 64%;  left: 6%;  width: 110px; color: rgba(159, 192, 255, 0.15); animation: drift2 33s ease-in-out infinite; animation-delay: -18s; }
.icon-6 { top: 76%;  left: 86%; width: 130px; color: rgba(159, 192, 255, 0.14); animation: drift3 40s ease-in-out infinite; animation-delay: -9s; }
.icon-7 { top: 92%;  left: 3%;  width: 98px;  color: rgba(20, 201, 230, 0.15);  animation: drift1 27s ease-in-out infinite; animation-delay: -14s; }
.icon-8 { top: 106%; left: 80%; width: 135px; color: rgba(159, 192, 255, 0.14); animation: drift2 36s ease-in-out infinite; animation-delay: -22s; }

.icon-center-1 { top: 20%; left: 46%; width: 120px; color: rgba(159, 192, 255, 0.07); animation: drift3 42s ease-in-out infinite; animation-delay: -8s; }
.icon-center-2 { top: 58%; left: 40%; width: 100px; color: rgba(20, 201, 230, 0.06);  animation: drift1 37s ease-in-out infinite; animation-delay: -20s; }
.icon-center-3 { top: 88%; left: 50%; width: 110px; color: rgba(159, 192, 255, 0.06); animation: drift2 44s ease-in-out infinite; animation-delay: -26s; }

@keyframes drift1 {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  25%  { transform: translate3d(60px, -40px, 0) rotate(20deg); }
  50%  { transform: translate3d(20px, 50px, 0) rotate(-12deg); }
  75%  { transform: translate3d(-50px, -20px, 0) rotate(10deg); }
  100% { transform: translate3d(0, 0, 0) rotate(0deg); }
}

@keyframes drift2 {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  30%  { transform: translate3d(-55px, 35px, 0) rotate(-18deg); }
  60%  { transform: translate3d(45px, 45px, 0) rotate(14deg); }
  85%  { transform: translate3d(30px, -35px, 0) rotate(-8deg); }
  100% { transform: translate3d(0, 0, 0) rotate(0deg); }
}

@keyframes drift3 {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  20%  { transform: translate3d(40px, 30px, 0) rotate(15deg) scale(1.06); }
  45%  { transform: translate3d(-35px, 55px, 0) rotate(-16deg) scale(0.96); }
  70%  { transform: translate3d(-55px, -30px, 0) rotate(12deg) scale(1.04); }
  100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
}

@media (max-width: 980px) {
  .bg-icon {
    width: 70px !important;
    opacity: 0.6;
  }
}

@media (max-width: 640px) {
  .bg-icon {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-layer::before,
  .bg-paths path,
  .bg-icon,
  .marquee-track,
  .reveal,
  .btn:hover {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Layout ---------- */

.container {
  width: min(1180px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px) saturate(140%);
  background: rgba(5, 7, 15, 0.4);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.topbar.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(5, 7, 15, 0.72);
}

.topbar-inner {
  min-height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  text-decoration: none;
  color: var(--ink-000);
}

.brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(59, 107, 246, 0.45);
}

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

.brand-text strong {
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.brand-text small {
  color: var(--ink-400);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.lang-switch {
  position: relative;
}

.lang-switch-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-200);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.lang-switch-toggle:hover,
.lang-switch:hover .lang-switch-toggle,
.lang-switch:focus-within .lang-switch-toggle {
  border-color: rgba(20, 201, 230, 0.5);
  color: #fff;
}

.lang-switch-toggle svg {
  transition: transform 0.2s ease;
}

.lang-switch:hover .lang-switch-toggle svg,
.lang-switch:focus-within .lang-switch-toggle svg {
  transform: rotate(180deg);
}

.lang-switch-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 84px;
  padding: 0.4rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(8, 12, 22, 0.92);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--shadow-strong);
  display: grid;
  gap: 0.15rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 50;
}

.lang-switch:hover .lang-switch-menu,
.lang-switch:focus-within .lang-switch-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switch-menu a {
  display: block;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink-200);
  font-weight: 600;
  font-size: 0.82rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-switch-menu a:hover {
  background: rgba(20, 201, 230, 0.12);
  color: #fff;
}

.lang-switch-menu a.is-active {
  color: var(--brand-cyan);
  background: rgba(20, 201, 230, 0.1);
}

.nav a {
  text-decoration: none;
  color: var(--ink-200);
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  transition: color 0.2s ease;
}

.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
  transition: right 0.25s ease;
}

.nav a:not(.btn):hover {
  color: #fff;
}

.nav a:not(.btn):hover::after {
  right: 0;
}

.section {
  padding: 6.4rem 0;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.9rem;
  color: #8fb1ff;
  letter-spacing: 0.14em;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  box-shadow: 0 0 10px rgba(20, 201, 230, 0.8);
}

h1,
.section-title,
h2,
h3 {
  margin: 0;
  line-height: 1.16;
  color: var(--ink-000);
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.7rem);
  max-width: 18ch;
  letter-spacing: -0.025em;
}

.gradient-text {
  background: linear-gradient(120deg, #fff 20%, #9fc0ff 55%, var(--brand-cyan) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title {
  margin-top: 0.2rem;
  max-width: 26ch;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
}

.lead {
  margin: 1.1rem 0 0;
  max-width: 58ch;
  color: var(--ink-400);
  font-size: 1.02rem;
}

/* ---------- Hero ---------- */

.hero {
  min-height: calc(100svh - 78px);
  display: grid;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.9rem 0.45rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 0.78rem;
  color: var(--ink-200);
  margin-bottom: 1.4rem;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #33e29a;
  box-shadow: 0 0 12px rgba(51, 226, 154, 0.9);
  animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.8); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1.4rem;
  align-items: stretch;
  padding-top: 2rem;
}

.hero-content,
.hero-panel,
.card,
.course,
.about-card,
.timeline,
.certificate-card,
.contact-card,
.testimonial,
.process-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  background: linear-gradient(160deg, var(--surface-strong), var(--surface));
  backdrop-filter: blur(10px);
}

.hero-content {
  padding: clamp(1.6rem, 3.4vw, 2.6rem);
  border: none;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-panel {
  padding: clamp(1.3rem, 3vw, 2.1rem);
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(20, 201, 230, 0.22), transparent 70%);
  pointer-events: none;
}

.hero-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  position: relative;
}

.hero-panel-head h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
}

.hero-panel-head span {
  color: #7fb0ff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-list {
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
  position: relative;
}

.feature-list li {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.9rem 1rem;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.feature-list li:hover {
  border-color: rgba(59, 107, 246, 0.45);
  background: rgba(59, 107, 246, 0.08);
  transform: translateX(3px);
}

.feature-list h3 {
  margin: 0;
  font-size: 0.95rem;
}

.feature-list p {
  margin: 0.4rem 0 0;
  color: var(--ink-400);
  font-size: 0.87rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(140deg, var(--brand-blue), #4d7bf5 55%, var(--brand-cyan));
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
  box-shadow: 0 14px 32px rgba(59, 107, 246, 0.32);
}

.btn:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(20, 201, 230, 0.4);
}

.btn-sm {
  padding: 0.55rem 1.02rem;
  font-size: 0.85rem;
}

.btn-ghost {
  color: var(--ink-000);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.btn-ghost:hover {
  border-color: rgba(20, 201, 230, 0.5);
  box-shadow: 0 14px 30px rgba(20, 201, 230, 0.18);
}

.hero-metrics {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.hero-metrics article {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.85rem 0.9rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.hero-metrics article:hover {
  border-color: rgba(20, 201, 230, 0.4);
  transform: translateY(-3px);
}

.hero-metrics strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1.1;
  background: linear-gradient(120deg, #fff, var(--brand-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-metrics span {
  color: var(--ink-400);
  font-size: 0.75rem;
}

/* ---------- Marquee tag cloud ---------- */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  padding: 1.3rem 0;
  overflow: hidden;
  position: relative;
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-950), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-950), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marqueeScroll 38s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 1.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-400);
  white-space: nowrap;
}

.marquee-track span::after {
  content: "\25C6";
  color: var(--brand-cyan);
  font-size: 0.55rem;
  margin-left: 1.6rem;
  opacity: 0.7;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Cards / grids ---------- */

.cards {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.8rem;
}

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

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

.card,
.course,
.about-card,
.timeline,
.contact-card {
  padding: 1.3rem;
}

.card,
.course,
.testimonial,
.process-card {
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.card:hover,
.course:hover,
.testimonial:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 107, 246, 0.4);
  box-shadow: var(--glow-blue);
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(59, 107, 246, 0.25), rgba(20, 201, 230, 0.2));
  border: 1px solid var(--line-strong);
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
  color: #9fc0ff;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.card h3,
.course h3 {
  color: var(--ink-000);
  font-size: 1.06rem;
}

.card p,
.course p,
.about-card p,
.timeline p {
  margin: 0.55rem 0 0;
  color: var(--ink-400);
}

.course header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.7rem;
}

.course header span {
  color: #7fb0ff;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

/* ---------- About / timeline ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.1rem;
}

.timeline {
  display: grid;
  gap: 0.8rem;
}

.timeline div {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  padding: 0.9rem;
  transition: border-color 0.25s ease;
}

.timeline div:hover {
  border-color: rgba(20, 201, 230, 0.4);
}

.timeline span {
  flex-shrink: 0;
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand-blue), var(--brand-cyan));
  color: #06111f;
  font-size: 0.85rem;
  font-weight: 800;
}

/* ---------- Process ---------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 1.8rem;
}

.process-card {
  padding: 1.4rem;
  position: relative;
}

.process-step {
  display: inline-block;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  color: var(--brand-cyan);
  border: 1px solid rgba(20, 201, 230, 0.3);
  background: rgba(20, 201, 230, 0.08);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.process-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.process-card p {
  margin: 0;
  color: var(--ink-400);
  font-size: 0.92rem;
}

.audit-panel {
  margin-top: 1.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface-strong), var(--surface));
  backdrop-filter: blur(10px);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.audit-panel-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-200);
}

.audit-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #33e29a;
  box-shadow: 0 0 10px rgba(51, 226, 154, 0.8);
  flex-shrink: 0;
}

.audit-badge {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #7fb0ff;
  border: 1px solid var(--line-strong);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.audit-list {
  list-style: none;
  margin: 0;
  padding: 0.6rem;
  display: grid;
}

.audit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.8rem 0.6rem;
  border-radius: var(--radius-md);
  transition: background 0.25s ease;
}

.audit-list li:hover {
  background: rgba(255, 255, 255, 0.03);
}

.audit-check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
  border: 1px solid var(--line-strong);
  color: var(--ink-600);
  margin-top: 0.1rem;
}

.audit-list li.is-done .audit-check {
  background: linear-gradient(150deg, var(--brand-blue), var(--brand-cyan));
  border-color: transparent;
  color: #06111f;
}

.audit-list li.is-active .audit-check {
  color: var(--brand-cyan);
  border-color: rgba(20, 201, 230, 0.5);
  box-shadow: 0 0 0 4px rgba(20, 201, 230, 0.12);
}

.audit-list strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink-000);
}

.audit-list li:not(.is-done):not(.is-active) strong {
  color: var(--ink-400);
}

.audit-list small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: var(--ink-600);
}

/* ---------- Testimonials ---------- */

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 1.8rem;
}

.testimonial {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-quote {
  color: var(--ink-200);
  font-size: 0.95rem;
  margin: 0;
}

.testimonial-quote::before {
  content: "\201C";
  color: var(--brand-cyan);
  font-size: 1.4rem;
  line-height: 0;
  vertical-align: -0.3rem;
  margin-right: 0.15rem;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: auto;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #06111f;
  background: linear-gradient(150deg, var(--brand-blue), var(--brand-cyan));
}

.testimonial-person strong {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-000);
}

.testimonial-person span {
  display: block;
  font-size: 0.76rem;
  color: var(--ink-600);
}

/* ---------- Certificate ---------- */

.certificate-wrap {
  display: grid;
  gap: 1.3rem;
}

.certificate-card {
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  position: relative;
}

.cert-top {
  padding: 1.2rem;
  background: linear-gradient(180deg, #0c1730 0%, #10254a 60%, #0a3b52 100%);
  text-align: center;
  position: relative;
}

.cert-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 160px at 50% 0%, rgba(20, 201, 230, 0.35), transparent 70%);
}

.cert-logo {
  position: relative;
  display: block;
  margin: 0 auto 0.7rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.cert-brand {
  position: relative;
  color: #fff;
  font-size: clamp(1.2rem, 3.2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.cert-body {
  text-align: center;
  padding: 2.4rem 1.2rem;
  background: #0a0f1e;
}

.cert-sub {
  margin: 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--ink-600);
}

.cert-body h3 {
  margin: 1rem 0;
  font-size: clamp(1.45rem, 3.7vw, 2.4rem);
}

.cert-course {
  margin: 0;
  color: #9fc0ff;
  font-size: 1.06rem;
  font-weight: 700;
}

.cert-note {
  margin: 0.95rem auto 0;
  max-width: 56ch;
  color: var(--ink-400);
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1.12fr 0.88fr;
}

.contact-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-card p {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink-200);
  font-size: 0.92rem;
}

.contact-card strong {
  color: var(--ink-000);
}

.contact-card .btn {
  margin-top: 0.4rem;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  background: rgba(6, 9, 18, 0.7);
}

.footer-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.4rem 0;
}

.footer p {
  margin: 0;
  color: var(--ink-600);
  font-size: 0.85rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  border-radius: 9px;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-content: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-200);
  text-decoration: none;
  font-size: 0.85rem;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-social a:hover {
  border-color: rgba(20, 201, 230, 0.5);
  color: var(--brand-cyan);
  transform: translateY(-2px);
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-stagger.is-visible > * {
  animation: staggerIn 0.6s ease forwards;
}

.reveal-stagger.is-visible > *:nth-child(1) { animation-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { animation-delay: 0.12s; }
.reveal-stagger.is-visible > *:nth-child(3) { animation-delay: 0.19s; }
.reveal-stagger.is-visible > *:nth-child(4) { animation-delay: 0.26s; }

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

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .nav a:not(.btn) {
    display: none;
  }

  .hero-grid,
  .three-col,
  .two-col,
  .about-grid,
  .contact-grid,
  .process-grid,
  .testimonial-track {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4.8rem 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1160px, calc(100% - 1.2rem));
  }

  .topbar-inner {
    min-height: 68px;
  }

  .hero {
    min-height: calc(100svh - 68px);
  }

  .process-code pre {
    font-size: 0.76rem;
  }
}
