/* ─── DESIGN TOKENS ──────────────────────────────────────────── */
    :root {
      --brand: #8327D2;
      --brand-dark: #6A1FB0;
      --brand-deep: #510F92;
      --brand-light: #9F45E8;
      --brand-pale: #F3EAFD;
      --brand-soft: #EAD8FA;
      --brand-mid: #C598F0;

      --surface: #FFFFFF;
      --canvas: #F9F7FD;
      --canvas-alt: #F2EEF9;
      --border: #E6DFF5;
      --border-soft: #EDE8F6;

      --ink-900: #0F0B1A;
      --ink-700: #2D2240;
      --ink-500: #5E4D78;
      --ink-400: #8474A0;
      --ink-300: #B0A2C8;
      --ink-200: #D7CEED;
      --ink-100: #EDE8F6;

      --success: #12B76A;
      --warning: #F79009;
      --danger: #F04438;
      --blue: #3B82F6;
      --teal: #14B8A6;
      --orange: #F97316;

      --ff-heading: 'Sora', sans-serif;
      --ff-body: 'DM Sans', sans-serif;

      --r-sm: 8px;
      --r-md: 12px;
      --r-lg: 16px;
      --r-xl: 24px;
      --r-full: 999px;

      --shadow-xs: 0 1px 2px rgba(131, 39, 210, 0.06);
      --shadow-sm: 0 2px 8px rgba(131, 39, 210, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
      --shadow-md: 0 4px 20px rgba(131, 39, 210, 0.12), 0 2px 6px rgba(0, 0, 0, 0.05);
      --shadow-lg: 0 12px 48px rgba(131, 39, 210, 0.16), 0 4px 12px rgba(0, 0, 0, 0.06);
      --shadow-xl: 0 24px 80px rgba(131, 39, 210, 0.22), 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    /* ─── RESET ─────────────────────────────────────────────────── */
    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      font-family: var(--ff-body);
      background: var(--canvas);
      color: var(--ink-700);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

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

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

    ul {
      list-style: none;
    }

    ::-webkit-scrollbar {
      width: 5px;
    }

    ::-webkit-scrollbar-track {
      background: var(--canvas);
    }

    ::-webkit-scrollbar-thumb {
      background: var(--ink-200);
      border-radius: 99px;
    }

    ::-webkit-scrollbar-thumb:hover {
      background: var(--brand-mid);
    }

    /* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
    h1,
    h2,
    h3,
    h4,
    h5 {
      font-family: var(--ff-heading);
      color: var(--ink-900);
      letter-spacing: -0.025em;
      line-height: 1.12;
    }

    h1 {
      font-size: clamp(2.6rem, 5.5vw, 4.5rem);
      font-weight: 800;
    }

    h2 {
      font-size: clamp(1.75rem, 3.5vw, 2.75rem);
      font-weight: 700;
    }

    h3 {
      font-size: 1.125rem;
      font-weight: 600;
    }

    p {
      color: var(--ink-500);
      font-size: 1rem;
      line-height: 1.7;
    }

    .label {
      font-family: var(--ff-heading);
      font-size: 0.6875rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--brand);
    }

    /* ─── UTILITIES ─────────────────────────────────────────────── */
    .container {
      /* max-width: 1200px;
      margin-inline: auto;
      padding-inline: clamp(1.25rem, 4vw, 5rem); */
      max-width: 1600px;
      margin-inline: auto;
      padding: 0 100px 0 100px;
    }

    @media (max-width: 560px) {
      .container {
        /* max-width: 1200px; */
        margin-inline: auto;
        /* padding-inline: clamp(1.25rem, 4vw, 5rem); */
        padding: 0 20px 0 20px;
      }
    }

    .container-wide {
      /* max-width: 1360px;
      margin-inline: auto;
      padding-inline: clamp(1.25rem, 4vw, 4rem); */

      margin-inline: auto;
      padding: 0 100px 0 100px;
    }

    /* ─── REVEAL ANIMATIONS ──────────────────────────────────────── */
    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(28px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
      }

      to {
        opacity: 1;
      }
    }

    @keyframes slideRight {
      from {
        opacity: 0;
        transform: translateX(-28px);
      }

      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

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

      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    @keyframes floatY {

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

      50% {
        transform: translateY(-10px);
      }
    }

    @keyframes pulseRing {
      0% {
        box-shadow: 0 0 0 0 rgba(131, 39, 210, 0.35);
      }

      70% {
        box-shadow: 0 0 0 14px rgba(131, 39, 210, 0);
      }

      100% {
        box-shadow: 0 0 0 0 rgba(131, 39, 210, 0);
      }
    }

    @keyframes gradMove {
      0% {
        background-position: 0% 50%;
      }

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

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

    @keyframes spinSlow {
      to {
        transform: rotate(360deg);
      }
    }

    .reveal {
      opacity: 0;
      animation: fadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

    .reveal-d1 {
      animation-delay: 0.1s;
    }

    .reveal-d2 {
      animation-delay: 0.2s;
    }

    .reveal-d3 {
      animation-delay: 0.3s;
    }

    .reveal-d4 {
      animation-delay: 0.4s;
    }

    .reveal-d5 {
      animation-delay: 0.5s;
    }

    .reveal-d6 {
      animation-delay: 0.6s;
    }

    /* ─── BUTTONS ────────────────────────────────────────────────── */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 0.75rem 1.625rem;
      border-radius: var(--r-md);
      font-family: var(--ff-heading);
      font-size: 0.9375rem;
      font-weight: 600;
      cursor: pointer;
      border: none;
      outline: none;
      transition: all 0.2s ease;
    }

    .btn-primary {
      background: var(--brand);
      color: #fff;
      box-shadow: 0 4px 20px rgba(131, 39, 210, 0.35);
    }

    .btn-primary:hover {
      background: var(--brand-dark);
      transform: translateY(-1px);
      box-shadow: 0 8px 28px rgba(131, 39, 210, 0.5);
    }

    .btn-outline {
      background: transparent;
      color: var(--ink-700);
      border: 1.5px solid var(--border);
    }

    .btn-outline:hover {
      border-color: var(--brand-mid);
      color: var(--brand);
      background: var(--brand-pale);
    }

    .btn-lg {
      padding: 1rem 2.25rem;
      font-size: 1rem;
    }

    .btn-sm {
      padding: 0.5rem 1.125rem;
      font-size: 0.875rem;
      border-radius: var(--r-sm);
    }


    /* ─── HERO — matches index.html exactly ─────────────────────── */
    .feat-hero {
      padding-top: 120px;
      padding-bottom: 80px;
      position: relative;
      overflow: hidden;
      background: var(--canvas);
      /* #F9F7FD — same as index */
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    /* Background layer — same orbs as index.php */
    .feat-hero-mesh {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      overflow: hidden;
    }

    /* Orb 1 — top right (matches index .hero-orb-1) */
    .feat-hero-orb1 {
      position: absolute;
      top: -220px;
      right: -180px;
      width: 700px;
      height: 700px;
      border-radius: 50%;
      background: radial-gradient(circle at center, rgba(131, 39, 210, 0.12) 0%, transparent 65%);
    }

    /* Orb 2 — bottom left (matches index .hero-orb-2) */
    .feat-hero-orb2 {
      position: absolute;
      bottom: -100px;
      left: -120px;
      width: 500px;
      height: 500px;
      border-radius: 50%;
      background: radial-gradient(circle at center, rgba(131, 39, 210, 0.07) 0%, transparent 65%);
    }

    /* Dot grid (matches index .hero-grid) */
    .feat-hero-grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(131, 39, 210, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(131, 39, 210, 0.04) 1px, transparent 1px);
      background-size: 48px 48px;
      mask-image: radial-gradient(ellipse 80% 60% at 60% 30%, black 0%, transparent 80%);
      pointer-events: none;
      z-index: 0;
    }

    .feat-hero-ring {
      display: none;
    }

    .feat-hero-ring-2 {
      display: none;
    }

    .feat-hero-inner {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center;
    }

    /* Label — brand purple (matches index) */
    .feat-hero-copy .label {
      color: var(--brand);
      display: block;
      margin-bottom: 1.75rem;
    }

    /* h1 — ink-900 on light bg */
    .feat-hero-copy h1 {
      color: var(--ink-900);
      margin-bottom: 1.25rem;
    }

    /* em gradient — identical to index .hero-title em */
    .feat-hero-copy h1 em {
      font-style: normal;
      background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    /* Description — ink-500 on light bg */
    .feat-hero-copy>p {
      font-size: 1.0625rem;
      line-height: 1.75;
      max-width: 480px;
      margin-bottom: 2.5rem;
      color: var(--ink-500);
    }

    /* ── Trust indicators row ── equal-height pill strip */
    .hero-trust-row {
      display: flex;
      align-items: stretch;
      gap: 0;
    }

    .hero-trust-item {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 1rem 1.25rem;
      flex: 1;
      background: var(--surface);
      border: 1.5px solid var(--border-soft);
    }

    .hero-trust-item:first-child {
      border-radius: 12px 0 0 12px;
    }

    .hero-trust-item:last-child {
      border-radius: 0 12px 12px 0;
      border-left: none;
    }

    .hero-trust-item:not(:first-child):not(:last-child) {
      border-left: none;
    }

    .hero-trust-icon {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      display: grid;
      place-items: center;
      flex-shrink: 0;
    }

    /* stat values — ink-900 on light */
    .hero-trust-val {
      font-family: var(--ff-heading);
      font-size: 1rem;
      font-weight: 800;
      color: var(--ink-900);
      line-height: 1.2;
    }

    .hero-trust-label {
      font-size: 0.75rem;
      color: var(--ink-400);
      line-height: 1.3;
    }

    /* Visual side — feature preview mosaic */
    .feat-hero-visual {
      position: relative;
    }

    .feat-mosaic {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto auto;
      gap: 0.875rem;
      animation: fadeIn 1s 0.4s both;
    }

    .mosaic-card {
      background: var(--surface);
      border: 1.5px solid var(--border-soft);
      border-radius: 16px;
      padding: 1.375rem;
      overflow: hidden;
      position: relative;
      transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
      box-shadow: var(--shadow-sm);
    }

    .mosaic-card:hover {
      border-color: var(--brand-soft);
      box-shadow: var(--shadow-md);
      transform: translateY(-3px);
    }

    .mosaic-card.wide {
      grid-column: span 2;
    }

    .mosaic-card.tall {
      grid-row: span 2;
    }

    .mosaic-icon {
      width: 40px;
      height: 40px;
      border-radius: 11px;
      display: grid;
      place-items: center;
      margin-bottom: 1rem;
      flex-shrink: 0;
    }

    .mosaic-card h4 {
      font-size: 0.9375rem;
      font-weight: 700;
      color: var(--ink-900);
      margin-bottom: 0.25rem;
    }

    .mosaic-card p {
      font-size: 0.8125rem;
      color: var(--ink-400);
      line-height: 1.55;
    }

    /* Stat pill inside mosaic */
    .mosaic-stat {
      display: inline-flex;
      align-items: center;
      gap: 0.375rem;
      margin-top: 0.875rem;
      padding: 0.3rem 0.75rem;
      border-radius: 99px;
      background: rgba(18, 183, 106, 0.15);
      border: 1px solid rgba(18, 183, 106, 0.25);
      font-family: var(--ff-heading);
      font-size: 0.6875rem;
      font-weight: 700;
      color: var(--success);
    }

    /* Mini bar chart in mosaic */
    .mosaic-bars {
      display: flex;
      align-items: flex-end;
      gap: 4px;
      height: 36px;
      margin-top: 0.875rem;
    }

    .mosaic-bar {
      flex: 1;
      border-radius: 3px 3px 0 0;
      background: var(--border);
    }

    .mosaic-bar.hi {
      background: var(--brand);
    }

    /* Mini attendance ring */
    .mosaic-ring-wrap {
      display: flex;
      align-items: center;
      gap: 0.875rem;
      margin-top: 0.75rem;
    }

    .mosaic-ring-labels {
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
    }

    .mosaic-ring-label {
      font-size: 0.6875rem;
      color: rgba(255, 255, 255, 0.4);
      display: flex;
      align-items: center;
      gap: 0.375rem;
    }

    .mosaic-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      flex-shrink: 0;
    }

    /* ─── WAVE DIVIDER ───────────────────────────────────────────── */
    .wave-divider {
      line-height: 0;
      background: var(--ink-900);
    }

    .wave-divider svg {
      display: block;
      width: 100%;
    }

    /* ─── SECTION SHARED ─────────────────────────────────────────── */
    .feat-section {
      padding: 7rem 0;
    }

    .feat-section-alt {
      padding: 7rem 0;
      background: var(--surface);
    }

    .feat-section-dark {
      padding: 7rem 0;
      background: var(--ink-900);
      position: relative;
      overflow: hidden;
    }

    .feat-section-dark::before {
      content: '';
      position: absolute;
      top: -200px;
      right: -200px;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(131, 39, 210, 0.18) 0%, transparent 65%);
      pointer-events: none;
    }

    .feat-section-dark::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
      background-size: 48px 48px;
      pointer-events: none;
    }

    .section-intro {
      margin-bottom: 4rem;
    }

    .section-intro .label {
      display: block;
      margin-bottom: 0.875rem;
    }

    .section-intro h2 {
      margin-bottom: 1rem;
    }

    .section-intro p {
      font-size: 1.0625rem;
      max-width: 560px;
    }

    .section-intro.centered {
      text-align: center;
    }

    .section-intro.centered p {
      margin-inline: auto;
    }

    .section-intro.dark h2 {
      color: #fff;
    }

    .section-intro.dark p {
      color: rgba(255, 255, 255, 0.5);
    }

    .section-intro.dark .label {
      color: var(--brand-mid);
    }

    /* ─── BENTO GRID — CORE FEATURES ────────────────────────────── */
    .bento-grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      grid-template-rows: auto;
      gap: 1rem;
    }

    .bento-card {
      background: var(--surface);
      border: 1.5px solid var(--border-soft);
      border-radius: 20px;
      padding: 2rem;
      overflow: visible;
      position: relative;
      transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    }

    .bento-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: var(--bc-accent, transparent);
      border-radius: 20px 20px 0 0;
      opacity: 0;
      transition: opacity 0.3s;
    }

    .bento-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-lg);
      border-color: var(--brand-soft);
    }

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

    /* Layout placements */
    .bc-1 {
      grid-column: span 5;
      grid-row: span 2;
      --bc-accent: linear-gradient(90deg, var(--brand), var(--brand-light));
    }

    .bc-2 {
      grid-column: span 7;
      --bc-accent: linear-gradient(90deg, #3B82F6, #60A5FA);
    }

    .bc-3 {
      grid-column: span 4;
      --bc-accent: linear-gradient(90deg, #8B5CF6, #A78BFA);
    }

    .bc-4 {
      grid-column: span 3;
      --bc-accent: linear-gradient(90deg, #10B981, #34D399);
    }

    .bc-5 {
      grid-column: span 5;
      --bc-accent: linear-gradient(90deg, #F97316, #FBBF24);
    }

    .bc-6 {
      grid-column: span 4;
      --bc-accent: linear-gradient(90deg, var(--brand), var(--brand-dark));
    }

    /* Card internal layout */
    .bento-icon {
      width: 52px;
      height: 52px;
      border-radius: 14px;
      display: grid;
      place-items: center;
      margin-bottom: 1.5rem;
      transition: transform 0.3s ease;
    }

    .bento-card:hover .bento-icon {
      transform: scale(1.08) rotate(-5deg);
    }

    .bi-purple {
      background: linear-gradient(135deg, rgba(131, 39, 210, 0.15), rgba(131, 39, 210, 0.06));
      color: var(--brand);
    }

    .bi-blue {
      background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.06));
      color: #3B82F6;
    }

    .bi-violet {
      background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.06));
      color: #8B5CF6;
    }

    .bi-green {
      background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.06));
      color: #10B981;
    }

    .bi-orange {
      background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(249, 115, 22, 0.06));
      color: #F97316;
    }

    .bi-teal {
      background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(20, 184, 166, 0.06));
      color: #14B8A6;
    }

    .bento-card h3 {
      margin-bottom: 0.625rem;
      color: var(--ink-900);
      font-size: 1.0625rem;
    }

    .bento-card p {
      font-size: 0.9rem;
      line-height: 1.7;
      color: var(--ink-400);
    }

    .bc-2 p,
    .bc-3 p,
    .bc-4 p,
    .bc-6 p {
      padding-right: 5.5rem;
    }

    /* Large card extras */
    .bento-card-num {
      position: absolute;
      bottom: 1.5rem;
      right: 1.75rem;
      font-family: var(--ff-heading);
      font-size: 5rem;
      font-weight: 900;
      color: var(--border-soft);
      line-height: 1;
      letter-spacing: -0.06em;
      user-select: none;
      transition: color 0.3s;
    }

    .bento-card:hover .bento-card-num {
      color: var(--brand-pale);
    }

    /* Feature list inside bento */
    .bento-feature-list {
      display: flex;
      flex-direction: column;
      gap: 0.625rem;
      margin-top: 1.25rem;
    }

    .bento-feat-item {
      display: flex;
      align-items: center;
      gap: 0.625rem;
      font-size: 0.875rem;
      color: var(--ink-500);
    }

    /* Mascot Styles */
    .card-mascot {
      position: absolute;
      width: 100px;
      z-index: 10;
      filter: drop-shadow(0 15px 35px rgba(131, 39, 210, 0.2));
      pointer-events: none;
      animation: mascotTilt 5s ease-in-out infinite;
    }

    .mascot-left {
      top: -45px;
      left: -55px;
    }

    .mascot-right {
      top: -45px;
      right: -35px;
    }

    @keyframes mascotTilt {
      0%, 100% { transform: translateY(0) rotate(0deg); }
      50% { transform: translateY(-10px) rotate(15deg); }
    }

    @media (max-width: 640px) {
      .card-mascot {
        width: 70px;
        top: -30px;
      }
      .mascot-left { left: -15px; }
      .mascot-right { right: -15px; }
    }

    .bento-feat-item .check-dot {
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: rgba(18, 183, 106, 0.1);
      display: grid;
      place-items: center;
      flex-shrink: 0;
      color: var(--success);
    }

    /* ─── ACADEMIC GRID ──────────────────────────────────────────── */
    .academic-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1rem;
    }

    .acad-card {
      background: var(--surface);
      border: 1.5px solid var(--border-soft);
      border-radius: 20px;
      padding: 2rem 1.75rem;
      position: relative;
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }

    .acad-card::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(131, 39, 210, 0.04) 0%, transparent 60%);
      opacity: 0;
      transition: opacity 0.3s;
      border-radius: inherit;
      pointer-events: none;
    }

    .acad-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-md);
      border-color: var(--brand-soft);
    }

    .acad-card:hover::after {
      opacity: 1;
    }

    .acad-icon {
      width: 52px;
      height: 52px;
      border-radius: 14px;
      display: grid;
      place-items: center;
      margin-bottom: 1.5rem;
      color: var(--brand);
      background: var(--brand-pale);
      transition: background 0.3s, transform 0.3s;
    }

    .acad-card:hover .acad-icon {
      background: var(--brand);
      color: #fff;
      transform: scale(1.06) rotate(-4deg);
    }

    .acad-card h3 {
      font-size: 1rem;
      font-weight: 700;
      color: var(--ink-900);
      margin-bottom: 0.5rem;
    }

    .acad-card p {
      font-size: 0.875rem;
      color: var(--ink-400);
      line-height: 1.7;
    }

    /* ─── ADMIN FEATURES — ALTERNATING LAYOUT ────────────────────── */
    .admin-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
    }

    .admin-card {
      background: var(--surface);
      border: 1.5px solid var(--border-soft);
      border-radius: 20px;
      padding: 2rem;
      display: flex;
      gap: 1.5rem;
      align-items: flex-start;
      transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .admin-card::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 3px;
      background: var(--ac-line, var(--border-soft));
      border-radius: 20px 0 0 20px;
      opacity: 0;
      transition: opacity 0.3s;
    }

    .admin-card:hover {
      transform: translateX(4px);
      box-shadow: var(--shadow-sm);
      border-color: var(--brand-soft);
    }

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

    .admin-card.ac-1 {
      --ac-line: var(--brand);
    }

    .admin-card.ac-2 {
      --ac-line: #3B82F6;
    }

    .admin-card.ac-3 {
      --ac-line: #10B981;
    }

    .admin-card.ac-4 {
      --ac-line: #F97316;
    }

    .admin-icon {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      display: grid;
      place-items: center;
      flex-shrink: 0;
      transition: transform 0.3s;
    }

    .admin-card:hover .admin-icon {
      transform: scale(1.1) rotate(-6deg);
    }

    .admin-card h3 {
      font-size: 1rem;
      font-weight: 700;
      color: var(--ink-900);
      margin-bottom: 0.375rem;
    }

    .admin-card p {
      font-size: 0.875rem;
      color: var(--ink-400);
      line-height: 1.65;
    }

    /* ─── COMMUNICATION — DARK SECTION ──────────────────────────── */
    .comms-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
      position: relative;
      z-index: 1;
    }

    .comms-card {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 20px;
      padding: 2rem;
      overflow: hidden;
      position: relative;
      transition: background 0.3s, border-color 0.3s, transform 0.3s;
    }

    .comms-card:hover {
      background: rgba(131, 39, 210, 0.2);
      border-color: rgba(197, 152, 240, 0.35);
      transform: translateY(-4px);
    }

    .comms-icon {
      width: 52px;
      height: 52px;
      border-radius: 14px;
      display: grid;
      place-items: center;
      margin-bottom: 1.5rem;
      transition: transform 0.3s;
    }

    .comms-card:hover .comms-icon {
      transform: scale(1.08) rotate(-5deg);
    }

    .comms-card h3 {
      color: rgba(255, 255, 255, 0.9);
      font-size: 1.0625rem;
      margin-bottom: 0.625rem;
    }

    .comms-card p {
      font-size: 0.875rem;
      color: rgba(255, 255, 255, 0.4);
      line-height: 1.7;
    }

    /* ─── SECURITY TRIO — SPLIT LAYOUT ──────────────────────────── */
    .security-inner {
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 5rem;
      align-items: center;
    }

    .security-copy .label {
      display: block;
      margin-bottom: 0.875rem;
    }

    .security-copy h2 {
      margin-bottom: 1rem;
      max-width: 600px;
    }

    .security-copy>p {
      font-size: 1.0625rem;
      line-height: 1.75;
      margin-bottom: 2.5rem;
    }

    .security-features {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
    }

    .sec-feat {
      display: flex;
      align-items: flex-start;
      gap: 1.125rem;
      padding: 1.375rem 1.5rem;
      background: var(--canvas);
      border: 1.5px solid var(--border-soft);
      border-radius: 16px;
      transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
    }

    .sec-feat:hover {
      border-color: var(--brand-soft);
      box-shadow: var(--shadow-sm);
      transform: translateX(4px);
    }

    .sec-feat-icon {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      display: grid;
      place-items: center;
      flex-shrink: 0;
      transition: transform 0.3s;
    }

    .sec-feat:hover .sec-feat-icon {
      transform: scale(1.08) rotate(-5deg);
    }

    .sec-feat h4 {
      font-size: 0.9375rem;
      font-weight: 700;
      color: var(--ink-900);
      margin-bottom: 0.25rem;
    }

    .sec-feat p {
      font-size: 0.875rem;
      color: var(--ink-400);
      line-height: 1.6;
    }

    /* Visual side — security diagram */
    .security-visual {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 3.5rem 3.5rem 4rem 1rem;
      /* top/right for top badge, bottom for bottom badge */
    }

    .sec-diagram {
      width: 100%;
      max-width: 420px;
      position: relative;
      z-index: 2;
      background: var(--surface);
      border: 1.5px solid var(--border);
      border-radius: 24px;
      padding: 2.25rem;
      box-shadow: var(--shadow-lg);
      animation: floatY 7s ease-in-out infinite;
    }

    .sec-diag-header {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 1.75rem;
    }

    .sec-diag-logo {
      width: 38px;
      height: 38px;
      background: var(--brand);
      border-radius: 10px;
      display: grid;
      place-items: center;
    }

    .sec-diag-title {
      font-family: var(--ff-heading);
      font-size: 0.875rem;
      font-weight: 700;
      color: var(--ink-900);
    }

    .sec-diag-sub {
      font-size: 0.6875rem;
      color: var(--ink-400);
    }

    .sec-diag-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.875rem 1rem;
      border-radius: 12px;
      background: var(--canvas);
      border: 1px solid var(--border-soft);
      margin-bottom: 0.625rem;
    }

    .sec-diag-row:last-child {
      margin-bottom: 0;
    }

    .sec-diag-row-left {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .sec-diag-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      flex-shrink: 0;
    }

    .sec-diag-label {
      font-size: 0.8125rem;
      font-weight: 500;
      color: var(--ink-700);
    }

    .sec-diag-badge {
      font-family: var(--ff-heading);
      font-size: 0.625rem;
      font-weight: 700;
      padding: 0.25rem 0.625rem;
      border-radius: 99px;
    }

    .badge-on {
      background: rgba(18, 183, 106, 0.1);
      color: var(--success);
    }

    .badge-enc {
      background: rgba(131, 39, 210, 0.1);
      color: var(--brand);
    }

    .badge-ssl {
      background: rgba(59, 130, 246, 0.1);
      color: #3B82F6;
    }

    .badge-soc {
      background: rgba(249, 115, 22, 0.1);
      color: #F97316;
    }

    .sec-diag-uptime {
      margin-top: 1.5rem;
      padding: 1.25rem;
      background: var(--brand-pale);
      border: 1.5px solid var(--brand-soft);
      border-radius: 14px;
      text-align: center;
    }

    .sec-diag-uptime-val {
      font-family: var(--ff-heading);
      font-size: 2rem;
      font-weight: 800;
      color: var(--brand);
      line-height: 1;
    }

    .sec-diag-uptime-label {
      font-size: 0.75rem;
      color: var(--ink-400);
      margin-top: 0.25rem;
    }

    /* Floating badge — TOP RIGHT (Encrypted) */
    .sec-float {
      position: absolute;
      top: 0;
      right: 0;
      z-index: 10;
      background: var(--surface);
      border: 1.5px solid var(--brand-soft);
      border-radius: 14px;
      padding: 0.875rem 1.125rem;
      box-shadow: var(--shadow-md);
      display: flex;
      align-items: center;
      gap: 0.75rem;
      white-space: nowrap;
      animation: floatY 5s ease-in-out infinite 1s;
    }

    /* Floating badge — BOTTOM LEFT (Uptime) */
    .sec-float-2 {
      position: absolute;
      bottom: 0;
      left: -1rem;
      z-index: 10;
      background: var(--surface);
      border: 1.5px solid var(--border-soft);
      border-radius: 14px;
      padding: 0.875rem 1.125rem;
      box-shadow: var(--shadow-md);
      display: flex;
      align-items: center;
      gap: 0.75rem;
      white-space: nowrap;
      animation: floatY 6s ease-in-out infinite 0.4s;
    }

    .sec-float-icon {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      display: grid;
      place-items: center;
      flex-shrink: 0;
    }

    .sec-float-icon-green {
      background: rgba(18, 183, 106, 0.12);
      color: var(--success);
    }

    .sec-float-icon-brand {
      background: var(--brand-pale);
      color: var(--brand);
    }

    .sec-float-val {
      font-family: var(--ff-heading);
      font-size: 0.9375rem;
      font-weight: 800;
      color: var(--ink-900);
      line-height: 1.2;
    }

    .sec-float-label {
      font-size: 0.625rem;
      color: var(--ink-400);
      margin-top: 1px;
    }

    /* ─── FINAL CTA ─────────────────────────────────────────────── */
    .cta-section {
      background: var(--ink-900);
      padding: 7rem 0;
      position: relative;
      overflow: hidden;
    }

    .cta-section::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 900px;
      height: 900px;
      background: radial-gradient(circle, rgba(131, 39, 210, 0.22) 0%, transparent 65%);
      pointer-events: none;
    }

    .cta-section::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
      background-size: 48px 48px;
      pointer-events: none;
    }

    .cta-inner {
      position: relative;
      z-index: 1;
      text-align: center;
      max-width: 680px;
      margin-inline: auto;
    }

    .cta-inner .label {
      color: var(--brand-mid);
      display: block;
      margin-bottom: 1rem;
    }

    .cta-inner h2 {
      color: #fff;
      margin-bottom: 1.25rem;
      font-size: clamp(2rem, 4vw, 3rem);
    }

    .cta-inner>p {
      font-size: 1.0625rem;
      color: rgba(255, 255, 255, 0.5);
      line-height: 1.8;
      margin-bottom: 2.75rem;
    }

    .cta-btns {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      flex-wrap: wrap;
      margin-bottom: 2.25rem;
    }

    .btn-cta-white {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: #fff;
      color: var(--brand-dark);
      padding: 1rem 2.25rem;
      border-radius: var(--r-md);
      font-family: var(--ff-heading);
      font-size: 1rem;
      font-weight: 700;
      box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
      transition: all 0.25s ease;
    }

    .btn-cta-white:hover {
      background: var(--brand-pale);
      transform: translateY(-2px);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.24);
    }

    .btn-cta-ghost {
      display: inline-flex;
      align-items: center;
      background: rgba(255, 255, 255, 0.06);
      color: rgba(255, 255, 255, 0.85);
      border: 1.5px solid rgba(255, 255, 255, 0.14);
      padding: 1rem 2.25rem;
      border-radius: var(--r-md);
      font-family: var(--ff-heading);
      font-size: 1rem;
      font-weight: 600;
      transition: all 0.2s;
    }

    .btn-cta-ghost:hover {
      background: rgba(255, 255, 255, 0.12);
      border-color: rgba(255, 255, 255, 0.28);
      transform: translateY(-2px);
    }

    .cta-pills {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1.5rem;
      flex-wrap: wrap;
    }

    .cta-pill {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.8125rem;
      color: rgba(255, 255, 255, 0.45);
    }

    .cta-pill svg {
      color: var(--brand-mid);
    }


    /* ─── RESPONSIVE ─────────────────────────────────────────────── */
    @media (max-width: 1100px) {
      .bento-grid {
        grid-template-columns: repeat(6, 1fr);
      }

      .bc-1 {
        grid-column: span 6;
      }

      .bc-2 {
        grid-column: span 6;
      }

      .bc-3,
      .bc-4 {
        grid-column: span 3;
      }

      .bc-5,
      .bc-6 {
        grid-column: span 3;
      }

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

      .security-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
      }

      .security-visual {
        order: -1;
      }
    }

    @media (max-width: 900px) {
      .feat-hero-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
      }

      .feat-mosaic {
        display: none;
      }

      .admin-grid {
        grid-template-columns: 1fr;
      }

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

      .footer-grid-new {
        grid-template-columns: 1fr 1fr;
      }

      .footer-right-col {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
      }
    }

    @media (max-width: 768px) {

      .nav-links,
      .nav-actions .btn {
        display: none;
      }

      .hero-trust-row {
        flex-direction: column;
        align-items: flex-start;
      }

      .hero-trust-item {
        width: 100%;
        border-radius: 12px !important;
        border: 1px solid rgba(255, 255, 255, 0.07) !important;
        margin-bottom: 0.5rem;
      }

      .comms-grid {
        grid-template-columns: 1fr;
      }

      .academic-grid {
        grid-template-columns: 1fr;
      }
    }

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

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

      .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
      }
    }