/* ==================================================
   Design tokens
================================================== */
:root {
  --primary: #4f46e5;
  --secondary: #06b6d4;
  --accent: #7c3aed;
  --amber: #f59e0b;
  --green: #22c55e;
  --rose: #f43f5e;
  --background: #071124;
  --background-2: #0a1020;
  --surface: #111827;
  --surface-2: #162033;
  --text: #f9fafb;
  --muted: #a7b0c2;
  --soft: #dbeafe;
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .22);
  --glass: rgba(17, 24, 39, .62);
  --glass-strong: rgba(17, 24, 39, .86);
  --shadow: 0 22px 70px rgba(0, 0, 0, .36);
  --shadow-soft: 0 14px 45px rgba(0, 0, 0, .24);
  --radius-card: 8px;
  --radius-control: 8px;
  --radius-pill: 999px;
  --container: 1180px;
  --header-height: 82px;
  --font-display: "Space Grotesk", "Poppins", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-bounce: cubic-bezier(.2, .9, .2, 1.18);
}

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

html {
  scroll-behavior: auto;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(79, 70, 229, .12), transparent 42%),
    linear-gradient(315deg, rgba(245, 158, 11, .08), transparent 36%),
    var(--background);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

body.is-transitioning main,
body.is-transitioning footer {
  opacity: .18;
  transform: translateY(10px);
  transition: opacity .28s ease, transform .28s ease;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
  object-fit: cover;
}

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

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

button {
  cursor: pointer;
}

main {
  position: relative;
  z-index: 1;
  transition: opacity .28s ease, transform .28s ease;
}

section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}

::selection {
  background: rgba(6, 182, 212, .32);
  color: var(--text);
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 42px;
}

.section-head.center {
  justify-items: center;
  text-align: center;
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--soft);
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 0;
}

.section-kicker i,
.eyebrow i {
  color: var(--secondary);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  font-size: 4.75rem;
  max-width: 970px;
}

h2 {
  font-size: 3.1rem;
  max-width: 820px;
}

h3 {
  font-size: 1.32rem;
}

h4 {
  font-size: 1.02rem;
}

p {
  margin: 0;
  color: var(--muted);
}

.lead {
  max-width: 780px;
  color: #c7d2fe;
  font-size: 1.12rem;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(90deg, var(--text), var(--secondary), var(--amber));
  background-clip: text;
  -webkit-background-clip: text;
}

.text-balance {
  text-wrap: balance;
}

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

/* ==================================================
   Loader
================================================== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  color: var(--text);
  background:
    linear-gradient(120deg, rgba(79, 70, 229, .35), transparent 34%),
    linear-gradient(240deg, rgba(6, 182, 212, .25), transparent 40%),
    #050a16;
  transition: opacity .75s var(--ease-out), visibility .75s var(--ease-out);
}

body.is-ready .page-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: grid;
  justify-items: center;
  gap: 18px;
  width: min(330px, calc(100% - 48px));
}

.loader-lottie {
  width: 120px;
  height: 120px;
}

.loader-logo {
  width: 204px;
}

.loader-track {
  width: 100%;
  height: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .08);
}

.loader-bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--amber));
  box-shadow: 0 0 26px rgba(6, 182, 212, .58);
  transition: width .18s linear;
}

.loader-percent {
  color: var(--soft);
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
}

/* ==================================================
   Cursor
================================================== */
.cursor,
.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  border-radius: 50%;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  opacity: 0;
}

.cursor {
  width: 10px;
  height: 10px;
  background: var(--secondary);
  box-shadow: 0 0 20px rgba(6, 182, 212, .72);
  transition: opacity .2s ease, width .2s ease, height .2s ease, background .2s ease;
}

.cursor-follower {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .035);
  backdrop-filter: blur(10px);
  transition: opacity .2s ease, width .24s ease, height .24s ease, border-color .24s ease;
}

body.cursor-ready .cursor,
body.cursor-ready .cursor-follower {
  opacity: 1;
}

body.cursor-hover .cursor {
  width: 18px;
  height: 18px;
  background: var(--amber);
}

body.cursor-hover .cursor-follower {
  width: 68px;
  height: 68px;
  border-color: rgba(245, 158, 11, .5);
}

/* ==================================================
   Navigation
================================================== */
.site-header {
  position: fixed;
  top: 18px;
  right: 0;
  left: 0;
  z-index: 1000;
  transition: top .3s var(--ease-out), transform .3s var(--ease-out);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-control);
  background: rgba(7, 17, 36, .52);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .24);
  backdrop-filter: blur(22px);
  transition: min-height .3s var(--ease-out), background .3s var(--ease-out), border-color .3s var(--ease-out);
}

.site-header.is-scrolled {
  top: 8px;
}

.site-header.is-scrolled .nav-wrap {
  min-height: 64px;
  border-color: rgba(255, 255, 255, .2);
  background: rgba(7, 17, 36, .82);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand img {
  width: 250px;
  height: auto;
}

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

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 10px;
  color: #dbeafe;
  border-radius: var(--radius-control);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: 0;
  transition: color .25s ease, background .25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 6px;
  left: 10px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--secondary), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-out);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, .06);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  color: var(--text);
  background: rgba(255, 255, 255, .08);
}

.menu-toggle i {
  font-size: 1.1rem;
}

/* ==================================================
   Buttons and controls
================================================== */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-control);
  color: var(--text);
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 15px 38px rgba(0, 0, 0, .22);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
  white-space: nowrap;
  transition: transform .25s var(--ease-out), border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(115deg, var(--primary), var(--secondary), var(--amber));
  transition: opacity .25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .32);
  box-shadow: 0 18px 48px rgba(6, 182, 212, .16);
}

.btn:hover::before,
.btn.primary::before {
  opacity: 1;
}

.btn.primary {
  border-color: rgba(255, 255, 255, .12);
}

.btn.ghost {
  background: rgba(255, 255, 255, .05);
}

.btn.small {
  min-height: 40px;
  padding: 10px 13px;
  font-size: .88rem;
}

.btn.icon-only {
  width: 46px;
  padding: 0;
}

.btn .ripple {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  transform: translate(-50%, -50%) scale(1);
  animation: ripple .65s ease-out forwards;
  pointer-events: none;
}

.switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, .06);
}

.switcher button {
  min-height: 38px;
  padding: 8px 13px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
}

.switcher button.is-active {
  color: var(--text);
  background: linear-gradient(135deg, rgba(79, 70, 229, .92), rgba(6, 182, 212, .86));
}

/* ==================================================
   Glass surfaces and utility cards
================================================== */
.glass-card,
.feature-card,
.service-card,
.course-card,
.story-card,
.price-card,
.blog-card,
.faq-item,
.contact-panel,
.value-card,
.stat-tile {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .04));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.glow-card {
  overflow: hidden;
}

.glow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  border-radius: inherit;
  background: linear-gradient(130deg, rgba(6, 182, 212, .26), transparent 42%, rgba(245, 158, 11, .18));
  transition: opacity .3s ease;
  pointer-events: none;
}

.glow-card:hover::before {
  opacity: 1;
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform .24s var(--ease-out), border-color .24s ease;
}

.tilt-card:hover {
  border-color: rgba(255, 255, 255, .28);
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-control);
  color: var(--text);
  background: linear-gradient(135deg, rgba(79, 70, 229, .92), rgba(6, 182, 212, .76));
  box-shadow: 0 14px 34px rgba(6, 182, 212, .18);
}

.icon-box.amber {
  background: linear-gradient(135deg, var(--amber), var(--rose));
}

.icon-box.green {
  background: linear-gradient(135deg, var(--green), var(--secondary));
}

.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  min-height: 360px;
  transition: transform .8s var(--ease-out);
}

.media-frame:hover img {
  transform: scale(1.045);
}

.section-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01)),
    rgba(255, 255, 255, .01);
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.ambient-gradient {
  position: absolute;
  inset: -15%;
  z-index: -2;
  opacity: .54;
  background:
    conic-gradient(from 190deg at 50% 50%, rgba(79, 70, 229, .28), rgba(6, 182, 212, .17), rgba(245, 158, 11, .14), rgba(124, 58, 237, .22), rgba(79, 70, 229, .28));
  filter: blur(54px);
  animation: meshDrift 18s ease-in-out infinite alternate;
}

.noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
}

/* ==================================================
   Hero
================================================== */
.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 150px 0 80px;
}

.three-canvas {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 24px;
  text-align: center;
}

.typing-line {
  min-height: 32px;
  color: #fef3c7;
  font-family: var(--font-display);
  font-weight: 700;
}

.typing-text {
  display: inline;
}

.typing-caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 4px;
  background: var(--amber);
  vertical-align: -.12em;
  animation: blink 1s steps(1) infinite;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
}

.floating-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin-top: 44px;
}

.stat-tile {
  min-height: 134px;
  padding: 22px;
  overflow: hidden;
  text-align: left;
}

.stat-tile strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 2.05rem;
  line-height: 1;
}

.stat-tile span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.hero-float {
  position: absolute;
  z-index: 1;
  width: 240px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(17, 24, 39, .58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-float .mini-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--soft);
  font-size: .86rem;
  font-weight: 800;
}

.hero-float .mini-label i {
  color: var(--amber);
}

.hero-float p {
  margin-top: 8px;
  font-size: .88rem;
}

.hero-float.one {
  top: 22%;
  left: 5%;
  animation: floatY 7s ease-in-out infinite;
}

.hero-float.two {
  right: 4%;
  bottom: 26%;
  animation: floatY 8s ease-in-out infinite reverse;
}

.hero-float.three {
  right: 18%;
  top: 18%;
  width: 206px;
  animation: floatX 9s ease-in-out infinite;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  transform: translateX(-50%);
}

.scroll-cue i {
  color: var(--secondary);
  animation: floatYSmall 1.6s ease-in-out infinite;
}

/* ==================================================
   Trust marquee
================================================== */
.trust {
  padding: 54px 0;
}

.logo-marquee {
  display: flex;
  gap: 18px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .035);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: max-content;
  padding: 20px 0;
  animation: marquee 28s linear infinite;
}

.company-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 156px;
  min-height: 58px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-control);
  color: #e2e8f0;
  background: rgba(255, 255, 255, .045);
  font-family: var(--font-display);
  font-weight: 800;
}

/* ==================================================
   About and values
================================================== */
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: 48px;
}

.copy-stack {
  display: grid;
  gap: 18px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.metric {
  min-height: 108px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, .05);
}

.metric strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
}

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

.value-card {
  min-height: 252px;
  padding: 24px;
}

.value-card h3 {
  margin-top: 18px;
}

.value-card p {
  margin-top: 10px;
}

.portrait-tag {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 6px;
  width: min(260px, calc(100% - 36px));
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-card);
  background: rgba(7, 17, 36, .76);
  backdrop-filter: blur(16px);
}

.portrait-tag strong {
  font-family: var(--font-display);
}

/* ==================================================
   Feature and service grids
================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.service-card,
.course-card {
  min-height: 246px;
  padding: 24px;
}

.feature-card h3,
.service-card h3,
.course-card h3 {
  margin-top: 18px;
}

.feature-card p,
.service-card p,
.course-card p {
  margin-top: 10px;
}

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

.service-card {
  min-height: 270px;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.course-card {
  display: grid;
  align-content: space-between;
  min-height: 185px;
  padding: 18px;
}

.course-card h3 {
  font-size: 1.04rem;
}

.course-card .course-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}

/* ==================================================
   Timelines
================================================== */
.vertical-timeline {
  position: relative;
  display: grid;
  gap: 18px;
  padding-left: 28px;
}

.vertical-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 6px;
  width: 2px;
  background: linear-gradient(var(--primary), var(--secondary), var(--amber));
}

.timeline-item {
  position: relative;
  padding: 18px 18px 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, .045);
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 22px;
  left: -31px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--background);
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 0 6px rgba(6, 182, 212, .18);
}

.timeline-item span {
  color: var(--amber);
  font-size: .82rem;
  font-weight: 800;
}

.timeline-item h3 {
  margin-top: 4px;
}

.timeline-item p {
  margin-top: 7px;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.process-step {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 178px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, .05);
}

.process-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -13px;
  width: 14px;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), transparent);
}

.process-step:last-child::after {
  display: none;
}

.process-step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-control);
  background: rgba(6, 182, 212, .16);
  color: #bae6fd;
  font-family: var(--font-display);
  font-weight: 800;
}

.process-step h3 {
  font-size: 1rem;
}

/* ==================================================
   Success stories
================================================== */
.story-slider {
  overflow: visible;
}

.story-card {
  min-height: 330px;
  padding: 24px;
}

.story-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.story-head img {
  width: 64px;
  height: 64px;
  border: 2px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
}

.story-head span {
  display: block;
  color: var(--muted);
  font-size: .88rem;
}

.story-card p {
  margin-top: 18px;
}

.salary-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  color: #ecfdf5;
  background: rgba(34, 197, 94, .13);
  font-weight: 800;
}

.slider-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.slider-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  color: var(--text);
  background: rgba(255, 255, 255, .06);
}

/* ==================================================
   Pricing
================================================== */
.pricing-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.price-card {
  display: grid;
  gap: 22px;
  min-height: 580px;
  padding: 28px;
}

.price-card.featured {
  border-color: rgba(6, 182, 212, .38);
  background:
    linear-gradient(180deg, rgba(6, 182, 212, .13), rgba(255, 255, 255, .045)),
    rgba(17, 24, 39, .68);
  transform: translateY(-12px);
}

.popular-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: var(--radius-pill);
  color: #071124;
  background: var(--amber);
  font-size: .78rem;
  font-weight: 900;
}

.plan-name {
  display: grid;
  gap: 8px;
  padding-right: 108px;
}

.plan-price {
  display: flex;
  align-items: end;
  gap: 7px;
  font-family: var(--font-display);
}

.plan-price strong {
  color: var(--text);
  font-size: 2.65rem;
  line-height: 1;
}

.plan-price span {
  color: var(--muted);
  font-weight: 800;
}

.plan-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-list li {
  display: flex;
  gap: 10px;
  color: #dbeafe;
}

.plan-list i {
  margin-top: 4px;
  color: var(--green);
}

.comparison-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.comparison-table table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: left;
}

.comparison-table th {
  color: var(--text);
  font-family: var(--font-display);
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

/* ==================================================
   FAQ
================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 70px;
  padding: 18px 20px;
  border: 0;
  color: var(--text);
  background: transparent;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 800;
}

.faq-question i {
  color: var(--secondary);
  transition: transform .25s ease;
}

.faq-item.is-open .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s var(--ease-out);
}

.faq-answer p {
  padding: 0 20px 20px;
}

/* ==================================================
   Blog
================================================== */
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
}

.featured-post {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, .05);
}

.featured-post img {
  width: 100%;
  height: 100%;
  min-height: 365px;
}

.featured-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 34px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}

.post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.blog-card {
  overflow: hidden;
}

.blog-card img {
  width: 100%;
  height: 208px;
  transition: transform .65s var(--ease-out);
}

.blog-card:hover img {
  transform: scale(1.055);
}

.blog-card-body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.blog-card h3 {
  font-size: 1.18rem;
  line-height: 1.2;
}

.sidebar {
  display: grid;
  align-content: start;
  gap: 18px;
}

.sidebar-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px;
  background: rgba(255, 255, 255, .05);
}

.sidebar-panel h3 {
  margin-bottom: 14px;
}

.search-form {
  display: flex;
  gap: 8px;
}

.field,
.search-form input,
.contact-form input,
.contact-form select,
.contact-form textarea,
.newsletter-form input {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius-control);
  color: var(--text);
  background: rgba(255, 255, 255, .07);
  outline: 0;
  padding: 12px 14px;
  transition: border-color .24s ease, background .24s ease, box-shadow .24s ease;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.field:focus,
.search-form input:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.newsletter-form input:focus {
  border-color: rgba(6, 182, 212, .64);
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, .12);
}

.category-list,
.recent-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-list button,
.recent-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-control);
  color: #dbeafe;
  background: rgba(255, 255, 255, .04);
  text-align: left;
  font-weight: 700;
}

.category-list button.is-active {
  color: var(--text);
  background: rgba(6, 182, 212, .16);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  color: var(--muted);
  background: rgba(255, 255, 255, .05);
  font-weight: 800;
}

.pagination a.is-active {
  color: var(--text);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 32px;
}

.article-content {
  display: grid;
  gap: 24px;
}

.article-content h2 {
  font-size: 2.25rem;
}

.article-content p,
.article-content li {
  color: #cbd5e1;
}

.article-content ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.quote-panel {
  padding: 24px;
  border-left: 4px solid var(--amber);
  border-radius: var(--radius-card);
  background: rgba(245, 158, 11, .1);
  color: #fef3c7;
  font-family: var(--font-display);
  font-size: 1.28rem;
}

/* ==================================================
   Contact
================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 26px;
}

.contact-panel {
  padding: 28px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 12px;
  color: #dbeafe;
}

.contact-list i {
  color: var(--secondary);
  margin-top: 5px;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  color: var(--text);
  background: rgba(255, 255, 255, .06);
}

.map-panel {
  position: relative;
  min-height: 280px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(135deg, rgba(79, 70, 229, .16), rgba(6, 182, 212, .1));
  background-size: 34px 34px, 34px 34px, auto;
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 52%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #071124;
  background: var(--amber);
  box-shadow: 0 0 0 14px rgba(245, 158, 11, .15);
  transform: translate(-50%, -50%);
}

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

.contact-form .full {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 24px;
  color: #bbf7d0;
  font-weight: 700;
}

/* ==================================================
   Newsletter and footer
================================================== */
.newsletter {
  padding: 76px 0;
}

.newsletter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .52fr);
  align-items: center;
  gap: 30px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-card);
  background:
    linear-gradient(120deg, rgba(79, 70, 229, .3), rgba(6, 182, 212, .12) 55%, rgba(245, 158, 11, .16)),
    rgba(255, 255, 255, .06);
  box-shadow: var(--shadow);
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 74px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), transparent),
    #050a16;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, .72fr));
  gap: 28px;
}

.footer-brand img {
  width: 194px;
}

.footer-brand p {
  margin-top: 16px;
  max-width: 340px;
}

.footer-col h3 {
  margin-bottom: 16px;
  font-size: 1rem;
}

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

.footer-links a {
  color: var(--muted);
  font-weight: 700;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: var(--muted);
  font-size: .9rem;
}

/* ==================================================
   Inner page heroes
================================================== */
.page-hero {
  min-height: 560px;
  display: grid;
  align-items: end;
  padding: 170px 0 90px;
}

.page-hero-content {
  display: grid;
  gap: 18px;
  max-width: 860px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 800;
}

.breadcrumb a {
  color: #dbeafe;
}

.page-hero h1 {
  font-size: 4rem;
}

/* ==================================================
   Back to top and progress
================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--amber));
  box-shadow: 0 0 18px rgba(6, 182, 212, .6);
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 950;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  color: var(--text);
  background: rgba(7, 17, 36, .78);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  backdrop-filter: blur(16px);
  transition: opacity .25s ease, transform .25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
