/* =========================================================
   NOCX WEB
   Site statique premium avec navigation PJAX simulée.
   Fichiers : index.html / style.css / script.js
   ========================================================= */

:root {
  color-scheme: dark;
  --bg: #070814;
  --bg-2: #0c1020;
  --surface: rgba(255, 255, 255, 0.065);
  --surface-strong: rgba(255, 255, 255, 0.105);
  --surface-soft: rgba(255, 255, 255, 0.045);
  --border: rgba(255, 255, 255, 0.13);
  --border-strong: rgba(255, 255, 255, 0.22);
  --text: #f6f8ff;
  --muted: #aeb7ce;
  --muted-2: #78839d;
  --blue: #2a57ff;
  --cyan: #36d8ff;
  --violet: #8f5cff;
  --pink: #ff4ed8;
  --success: #73f7b6;
  --warning: #ffd166;
  --danger: #ff6978;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --shadow-soft: 0 14px 45px rgba(0, 0, 0, 0.24);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --header-height: 82px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(42, 87, 255, 0.18), transparent 32rem),
    radial-gradient(circle at 82% 18%, rgba(255, 78, 216, 0.14), transparent 26rem),
    linear-gradient(180deg, #070814 0%, #0a0c18 42%, #070814 100%);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img,
svg {
  max-width: 100%;
}

::selection {
  color: #fff;
  background: rgba(42, 87, 255, .8);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-160%);
  padding: .75rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: #070814;
  font-weight: 800;
  transition: transform .25s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  width: 34rem;
  aspect-ratio: 1;
  border-radius: 999px;
  filter: blur(70px);
  opacity: .32;
  animation: orbFloat 12s ease-in-out infinite alternate;
}

.orb-a {
  top: 7%;
  left: -12%;
  background: rgba(42, 87, 255, .58);
}

.orb-b {
  right: -16%;
  top: 24%;
  background: rgba(143, 92, 255, .48);
  animation-delay: -4s;
}

.grid-glow {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 62%, transparent 100%);
  opacity: .6;
}

@keyframes orbFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4rem, 3rem, 0) scale(1.1); }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  backdrop-filter: blur(18px);
  background: rgba(7, 8, 20, .74);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: background .25s var(--ease), border .25s var(--ease), box-shadow .25s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(7, 8, 20, .92);
  box-shadow: 0 16px 46px rgba(0, 0, 0, .25);
}

.nav-shell {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  font-weight: 950;
  letter-spacing: -0.08em;
  background:
    linear-gradient(135deg, rgba(42, 87, 255, 1), rgba(143, 92, 255, .95) 58%, rgba(255, 78, 216, .86));
  box-shadow: 0 12px 35px rgba(42, 87, 255, .25), inset 0 1px 0 rgba(255, 255, 255, .28);
}

.brand strong {
  display: block;
  font-size: .98rem;
  letter-spacing: -.03em;
}

.brand small {
  display: block;
  color: var(--muted-2);
  font-size: .72rem;
  margin-top: .08rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .38rem;
  border: 1px solid rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .045);
  border-radius: 999px;
}

.main-nav a {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
  padding: .74rem .95rem;
  border-radius: 999px;
  transition: color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.main-nav a:active {
  transform: scale(.98);
}

.main-nav .nav-cta {
  color: #fff;
  background: linear-gradient(135deg, rgba(42, 87, 255, .95), rgba(143, 92, 255, .95));
  box-shadow: 0 12px 30px rgba(42, 87, 255, .25);
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta.is-active {
  background: linear-gradient(135deg, rgba(58, 105, 255, 1), rgba(160, 105, 255, 1));
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: #fff;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Layout */

.page-shell {
  min-height: 68vh;
}

.section {
  padding: 92px 0;
}

.section-tight {
  padding: 62px 0;
}

.page-enter {
  animation: pageIn .42s var(--ease) both;
}

.page-exit {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .16s var(--ease), transform .16s var(--ease);
}

@keyframes pageIn {
  from { opacity: 0; transform: translateY(18px); filter: blur(10px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero {
  padding: 92px 0 82px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, .98fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  width: fit-content;
  margin: 0 0 1rem;
  color: #dbe3ff;
  font-size: .8rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .54rem .78rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
}

.eyebrow::before {
  content: "";
  width: .45rem;
  height: .45rem;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(54, 216, 255, .8);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  font-size: clamp(2.65rem, 7vw, 5.9rem);
  line-height: .92;
  letter-spacing: -.075em;
  margin-bottom: 1.35rem;
}

.hero-lead,
.page-lead {
  color: #d7def0;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.72;
  max-width: 760px;
  margin-bottom: 1.7rem;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  align-items: center;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .9rem 1.1rem;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 850;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), border .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, .34), transparent 24%),
    linear-gradient(135deg, var(--blue), var(--violet) 60%, rgba(255, 78, 216, .86));
  box-shadow: 0 18px 44px rgba(42, 87, 255, .26);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: -3px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(42, 87, 255, .65), rgba(255, 78, 216, .42));
  filter: blur(14px);
  opacity: .0;
  transition: opacity .22s var(--ease);
}

.btn-primary:hover::after {
  opacity: .74;
}

.btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .065);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .095);
}

.btn-ghost {
  color: #dfe5ff;
  border-color: rgba(255, 255, 255, .11);
  background: rgba(255, 255, 255, .04);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.35rem;
}

.trust-row span {
  color: var(--muted);
  font-size: .88rem;
  padding: .55rem .72rem;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
}

.hero-visual {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
}

.dashboard-card,
.glass-card,
.feature-card,
.price-card,
.step-card,
.faq-item,
.contact-panel,
.reassurance-card,
.use-card,
.compare-card,
.stat-card,
.timeline-card {
  border: 1px solid var(--border);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .105), rgba(255, 255, 255, .035));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.main-dashboard {
  width: min(100%, 500px);
  min-height: 380px;
  padding: 1rem;
  border-radius: var(--radius-xl);
  transform: rotate(-2deg);
  animation: dashboardFloat 6.6s ease-in-out infinite;
}

@keyframes dashboardFloat {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(-1deg) translateY(-14px); }
}

.dash-top {
  display: flex;
  gap: .5rem;
  padding: .75rem .75rem 1rem;
}

.dash-top span {
  width: .72rem;
  height: .72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .2);
}

.dash-top span:nth-child(1) { background: rgba(255, 105, 120, .9); }
.dash-top span:nth-child(2) { background: rgba(255, 209, 102, .9); }
.dash-top span:nth-child(3) { background: rgba(115, 247, 182, .9); }

.dash-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: .85rem;
}

.course-card,
.metric-card {
  min-height: 128px;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(5, 8, 23, .62);
  border: 1px solid rgba(255, 255, 255, .08);
}

.course-card small,
.metric-card small {
  display: block;
  color: var(--muted-2);
  font-weight: 750;
  margin-bottom: .5rem;
}

.course-card strong,
.metric-card strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: -.035em;
}

.metric-card strong {
  font-size: 2.35rem;
}

.course-card.wide {
  grid-column: span 2;
}

.progress {
  width: 100%;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  margin-top: 1.25rem;
  background: rgba(255, 255, 255, .08);
}

.progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.mini-list {
  display: grid;
  gap: .5rem;
  margin-top: 1.1rem;
}

.mini-list span {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .11);
}

.mini-list span:nth-child(2) { width: 78%; }
.mini-list span:nth-child(3) { width: 55%; }

.metric-card.neon {
  border-color: rgba(54, 216, 255, .24);
  box-shadow: inset 0 0 35px rgba(54, 216, 255, .08);
}

.floating-chip {
  position: absolute;
  padding: .72rem .9rem;
  border-radius: 999px;
  color: #f8fbff;
  font-size: .86rem;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .095);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px);
}

.chip-one {
  left: 0;
  top: 18%;
  animation: chipPulse 4.8s ease-in-out infinite;
}

.chip-two {
  right: 0;
  bottom: 19%;
  animation: chipPulse 5.2s ease-in-out infinite reverse;
}

@keyframes chipPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Generic content */

.section-heading {
  max-width: 820px;
  margin-bottom: 2rem;
}

.section-heading.center {
  text-align: center;
  margin-inline: auto;
}

.kicker {
  color: var(--cyan);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .77rem;
  margin-bottom: .72rem;
}

.section-heading h2,
.page-title h1 {
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -.065em;
  margin-bottom: 1rem;
}

.section-heading p,
.page-title p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.page-hero {
  padding: 82px 0 56px;
}

.page-title {
  max-width: 930px;
}

.page-title .page-lead {
  margin-bottom: 0;
}

.grid-3,
.grid-2,
.grid-4,
.pricing-grid,
.feature-grid,
.value-grid,
.use-grid,
.compare-grid,
.method-grid {
  display: grid;
  gap: 1rem;
}

.grid-3,
.feature-grid,
.use-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2,
.compare-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-4,
.value-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.glass-card,
.reassurance-card,
.use-card,
.stat-card,
.timeline-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  transition: transform .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease);
}

.feature-card:hover,
.glass-card:hover,
.use-card:hover,
.price-card:hover,
.reassurance-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, .25);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .045));
}

.feature-card::before,
.glass-card::before,
.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(54, 216, 255, .16), transparent 32%);
  opacity: .85;
  pointer-events: none;
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  margin-bottom: 1rem;
  color: #fff;
  background: linear-gradient(135deg, rgba(42, 87, 255, .9), rgba(143, 92, 255, .8));
  box-shadow: 0 14px 34px rgba(42, 87, 255, .18);
}

.feature-card h3,
.glass-card h3,
.use-card h3,
.reassurance-card h3,
.stat-card h3,
.timeline-card h3 {
  position: relative;
  font-size: 1.08rem;
  line-height: 1.2;
  letter-spacing: -.035em;
  margin-bottom: .6rem;
}

.feature-card p,
.glass-card p,
.use-card p,
.reassurance-card p,
.stat-card p,
.timeline-card p {
  position: relative;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.split-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.highlight-panel {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, .13);
  background:
    radial-gradient(circle at 20% 10%, rgba(54, 216, 255, .2), transparent 25rem),
    radial-gradient(circle at 92% 20%, rgba(255, 78, 216, .16), transparent 20rem),
    linear-gradient(145deg, rgba(255, 255, 255, .105), rgba(255, 255, 255, .038));
  box-shadow: var(--shadow);
}

.highlight-panel h2 {
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: -.06em;
  margin-bottom: 1rem;
}

.highlight-panel p {
  color: #d4dcf2;
  line-height: 1.72;
}

.check-list {
  display: grid;
  gap: .72rem;
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}

.check-list li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  color: #e4e9f8;
  line-height: 1.45;
}

.check-list li::before {
  content: "✓";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: .08rem;
  border-radius: 999px;
  color: #061015;
  font-size: .75rem;
  font-weight: 950;
  background: linear-gradient(135deg, var(--cyan), var(--success));
}

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(255, 255, 255, .15);
  background:
    radial-gradient(circle at 10% 0%, rgba(42, 87, 255, .35), transparent 28rem),
    radial-gradient(circle at 95% 20%, rgba(255, 78, 216, .2), transparent 24rem),
    linear-gradient(135deg, rgba(255, 255, 255, .115), rgba(255, 255, 255, .042));
  box-shadow: var(--shadow);
}

.cta-band h2 {
  max-width: 840px;
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -.06em;
  margin-bottom: .9rem;
}

.cta-band p {
  max-width: 760px;
  color: #d6ddf0;
  line-height: 1.7;
  margin-bottom: 1.3rem;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
  margin-top: 1.3rem;
}

.stat-card {
  padding: 1.1rem;
}

.stat-card strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -.06em;
}

.stat-card span {
  display: block;
  color: var(--muted);
  line-height: 1.42;
}

/* Campus */

.campus-showcase {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.2rem;
  align-items: center;
}

.interface-panel {
  border-radius: var(--radius-xl);
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .13);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .105), rgba(255, 255, 255, .035));
  box-shadow: var(--shadow);
}

.mock-sidebar-layout {
  min-height: 430px;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: .9rem;
}

.mock-sidebar,
.mock-content,
.mock-widget {
  border-radius: 22px;
  background: rgba(5, 8, 23, .62);
  border: 1px solid rgba(255, 255, 255, .08);
}

.mock-sidebar {
  padding: .9rem;
  display: grid;
  align-content: start;
  gap: .65rem;
}

.mock-sidebar span {
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}

.mock-sidebar span:nth-child(1) {
  width: 70%;
  height: 28px;
  background: linear-gradient(90deg, rgba(42, 87, 255, .65), rgba(54, 216, 255, .5));
}

.mock-content {
  padding: .9rem;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: .9rem;
}

.mock-header {
  display: flex;
  gap: .6rem;
}

.mock-pill {
  height: 34px;
  flex: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.mock-pill:nth-child(2) {
  flex: .55;
  background: linear-gradient(90deg, rgba(143, 92, 255, .45), rgba(255, 78, 216, .3));
}

.mock-main-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: .9rem;
}

.mock-widget {
  padding: 1rem;
}

.mock-widget.large {
  display: grid;
  align-content: end;
  min-height: 280px;
  background:
    radial-gradient(circle at 30% 12%, rgba(54, 216, 255, .22), transparent 16rem),
    rgba(5, 8, 23, .62);
}

.mock-video {
  min-height: 145px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(42, 87, 255, .5), rgba(143, 92, 255, .25)),
    rgba(255, 255, 255, .06);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.play {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .18);
}

.play::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #fff;
  margin-left: 3px;
}

.mock-lines {
  display: grid;
  gap: .55rem;
}

.mock-lines span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}

.mock-lines span:nth-child(2) { width: 80%; }
.mock-lines span:nth-child(3) { width: 58%; }

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .65rem;
}

.feature-list span {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 48px;
  padding: .8rem .9rem;
  border-radius: 16px;
  color: #dfe6ff;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .08);
}

.feature-list span::before {
  content: "";
  width: .5rem;
  height: .5rem;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(54, 216, 255, .64);
}

.compare-card {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
}

.compare-card.before {
  border: 1px solid rgba(255, 105, 120, .22);
  background: linear-gradient(145deg, rgba(255, 105, 120, .09), rgba(255, 255, 255, .035));
}

.compare-card.after {
  border: 1px solid rgba(115, 247, 182, .22);
  background: linear-gradient(145deg, rgba(115, 247, 182, .09), rgba(255, 255, 255, .035));
}

.compare-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.compare-card.before h3 { color: #ffacb5; }
.compare-card.after h3 { color: #b7ffd8; }

/* Method */

.method-grid {
  grid-template-columns: repeat(7, minmax(160px, 1fr));
  overflow-x: auto;
  padding-bottom: .6rem;
  scroll-snap-type: x proximity;
}

.step-card {
  min-height: 230px;
  padding: 1.15rem;
  border-radius: var(--radius-lg);
  scroll-snap-align: start;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  margin-bottom: 1rem;
  font-weight: 950;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
}

.step-card h3 {
  letter-spacing: -.035em;
  margin-bottom: .6rem;
}

.step-card p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Pricing */

.pricing-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
}

.price-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  transition: transform .22s var(--ease), border-color .22s var(--ease);
}

.price-card.featured {
  border-color: rgba(54, 216, 255, .34);
  transform: translateY(-8px);
  box-shadow: 0 26px 90px rgba(42, 87, 255, .26);
}

.price-badge {
  position: relative;
  width: fit-content;
  margin-bottom: .9rem;
  color: #07111a;
  background: linear-gradient(135deg, var(--cyan), var(--success));
  border-radius: 999px;
  padding: .42rem .6rem;
  font-size: .72rem;
  font-weight: 950;
}

.price-card h3 {
  position: relative;
  min-height: 2.6rem;
  letter-spacing: -.04em;
  margin-bottom: .8rem;
}

.price {
  position: relative;
  margin-bottom: 1rem;
}

.price small {
  display: block;
  color: var(--muted-2);
  font-weight: 800;
  margin-bottom: .16rem;
}

.price strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  line-height: 1;
  letter-spacing: -.06em;
}

.price span {
  color: var(--muted);
  font-size: .88rem;
}

.price-card ul {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0 0 1.3rem;
  display: grid;
  gap: .64rem;
}

.price-card li {
  color: #dfe5f7;
  font-size: .92rem;
  line-height: 1.35;
  display: flex;
  gap: .55rem;
}

.price-card li::before {
  content: "•";
  color: var(--cyan);
  font-size: 1.3rem;
  line-height: .9;
}

.price-card .btn {
  margin-top: auto;
  width: 100%;
}

/* FAQ */

.faq-list {
  display: grid;
  gap: .8rem;
}

.faq-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-button {
  width: 100%;
  padding: 1.15rem 1.25rem;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-weight: 850;
  letter-spacing: -.02em;
}

.faq-button span:last-child {
  color: var(--cyan);
  font-size: 1.2rem;
  transition: transform .2s var(--ease);
}

.faq-item.is-open .faq-button span:last-child {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .24s var(--ease);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  color: var(--muted);
  line-height: 1.7;
  padding: 0 1.25rem 1.2rem;
  margin: 0;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 1.1rem;
  align-items: start;
}

.contact-panel {
  border-radius: var(--radius-xl);
  padding: clamp(1.2rem, 3vw, 1.8rem);
}

.contact-panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1;
  letter-spacing: -.055em;
}

.contact-form {
  display: grid;
  gap: .9rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
}

.form-field {
  display: grid;
  gap: .45rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: #e7ecfb;
  font-size: .88rem;
  font-weight: 780;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: .9rem 1rem;
  color: #fff;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(3, 5, 15, .55);
  outline: none;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}

.form-field textarea {
  resize: vertical;
  min-height: 150px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(54, 216, 255, .62);
  box-shadow: 0 0 0 4px rgba(54, 216, 255, .11);
  background: rgba(3, 5, 15, .74);
}

.form-status {
  display: none;
  color: #061015;
  padding: .9rem 1rem;
  border-radius: 16px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--success), var(--cyan));
}

.form-status.is-visible {
  display: block;
}

.reassurance-stack {
  display: grid;
  gap: .85rem;
  margin-top: 1rem;
}

.reassurance-item {
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .045);
}

.reassurance-item strong {
  display: block;
  margin-bottom: .35rem;
}

.reassurance-item p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Footer */

.site-footer {
  padding: 46px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: rgba(3, 5, 13, .44);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr .75fr .75fr .75fr;
  gap: 1.2rem;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-grid p,
.footer-note {
  color: var(--muted);
  line-height: 1.65;
  max-width: 440px;
}

.footer-grid h2 {
  font-size: .85rem;
  color: #fff;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}

.footer-grid a:not(.brand) {
  display: block;
  color: var(--muted);
  padding: .32rem 0;
  transition: color .18s var(--ease);
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted-2);
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

/* Reveal animations */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .52s var(--ease), transform .52s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* No script */

.noscript-fallback {
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.fallback-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.fallback-grid article {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
}

/* Responsive */

@media (max-width: 1180px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-card.featured {
    transform: none;
  }

  .grid-4,
  .value-grid,
  .fallback-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method-grid {
    grid-template-columns: repeat(7, minmax(220px, 1fr));
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    left: 16px;
    right: 16px;
    display: grid;
    align-items: stretch;
    gap: .3rem;
    padding: .65rem;
    border-radius: 24px;
    background: rgba(7, 8, 20, .96);
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s var(--ease), transform .22s var(--ease);
  }

  .menu-open .main-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    border-radius: 16px;
    padding: .94rem 1rem;
  }

  .hero-grid,
  .split-section,
  .campus-showcase,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .grid-3,
  .feature-grid,
  .use-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .section {
    padding: 66px 0;
  }

  .section-tight {
    padding: 44px 0;
  }

  h1 {
    font-size: clamp(2.35rem, 14vw, 4rem);
  }

  .hero-lead,
  .page-lead {
    font-size: 1rem;
  }

  .hero-actions,
  .cta-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 380px;
  }

  .main-dashboard {
    min-height: 320px;
    transform: none;
  }

  .dash-grid {
    grid-template-columns: 1fr;
  }

  .course-card.wide {
    grid-column: auto;
  }

  .floating-chip {
    display: none;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .feature-grid,
  .value-grid,
  .use-grid,
  .compare-grid,
  .pricing-grid,
  .fallback-grid,
  .stat-strip {
    grid-template-columns: 1fr;
  }

  .mock-sidebar-layout {
    grid-template-columns: 1fr;
  }

  .mock-sidebar {
    display: flex;
    overflow: hidden;
  }

  .mock-sidebar span {
    min-width: 72px;
  }

  .mock-main-grid,
  .feature-list,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel,
  .highlight-panel,
  .cta-band,
  .interface-panel {
    border-radius: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: .01ms !important;
  }
}
