
    /* ==========================================================================
       1. DESIGN TOKENS
       ========================================================================== */
    :root {
      --bg: #07080b;
      --bg-soft: #0b0d12;
      --surface: rgba(255, 255, 255, 0.035);
      --surface-2: rgba(255, 255, 255, 0.06);
      --border: rgba(255, 255, 255, 0.09);
      --border-strong: rgba(255, 255, 255, 0.16);

      --text: #eef1f6;
      --text-dim: #c3cad8;
      --muted: #98a1b3;

      --blue: #4d7cfe;
      --violet: #8b5cf6;
      --cyan: #22d3ee;

      --grad: linear-gradient(135deg, var(--blue), var(--violet));
      --grad-soft: linear-gradient(135deg, rgba(77, 124, 254, .16), rgba(139, 92, 246, .16));

      --radius: 18px;
      --radius-sm: 12px;
      --radius-lg: 26px;

      --shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, .9);
      --shadow-glow: 0 0 40px -8px rgba(77, 124, 254, .55);

      --nav-h: 64px;
      --container: 1200px;
      --ease: cubic-bezier(.22, 1, .36, 1);

      --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
      --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    }

    @media (min-width: 1024px) {
      :root { --nav-h: 74px; }
    }

    /* ==========================================================================
       2. RESET & BASE
       ========================================================================== */
    *, *::before, *::after { box-sizing: border-box; }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: calc(var(--nav-h) + 16px);
      -webkit-text-size-adjust: 100%;
    }

    body {
      margin: 0;
      min-height: 100%;
      background: var(--bg);
      color: var(--text);
      font-family: var(--font-sans);
      font-size: 16px;
      line-height: 1.65;
      font-weight: 400;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    /* Ambient page background */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      z-index: -2;
      background:
        radial-gradient(900px 600px at 12% -8%, rgba(77, 124, 254, .18), transparent 60%),
        radial-gradient(800px 600px at 92% 6%, rgba(139, 92, 246, .16), transparent 62%),
        radial-gradient(700px 700px at 50% 108%, rgba(34, 211, 238, .08), transparent 65%),
        linear-gradient(180deg, #07080b 0%, #080a0f 45%, #07080b 100%);
      pointer-events: none;
    }

    img { max-width: 100%; display: block; }
    svg { display: block; }

    a { color: inherit; text-decoration: none; }

    button, input, select, textarea { font: inherit; color: inherit; }

    h1, h2, h3, h4 {
      margin: 0;
      line-height: 1.15;
      letter-spacing: -0.022em;
      font-weight: 700;
    }

    p { margin: 0; }

    ul { margin: 0; padding: 0; list-style: none; }

    :focus-visible {
      outline: 2px solid var(--cyan);
      outline-offset: 3px;
      border-radius: 6px;
    }

    ::selection { background: rgba(77, 124, 254, .35); color: #fff; }

    /* Scrollbar */
    ::-webkit-scrollbar { width: 10px; height: 10px; }
    ::-webkit-scrollbar-track { background: #0a0b0f; }
    ::-webkit-scrollbar-thumb {
      background: linear-gradient(180deg, rgba(77,124,254,.5), rgba(139,92,246,.5));
      border-radius: 99px;
      border: 2px solid #0a0b0f;
    }

    /* ==========================================================================
       3. UTILITIES
       ========================================================================== */
    .container {
      width: 100%;
      max-width: var(--container);
      margin-inline: auto;
      padding-inline: 20px;
    }

    @media (min-width: 768px) { .container { padding-inline: 32px; } }

    .section { padding-block: clamp(64px, 9vw, 118px); position: relative; }

    .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;
    }

    .skip-link {
      position: absolute;
      top: -100px;
      left: 16px;
      z-index: 200;
      padding: 12px 18px;
      background: var(--grad);
      color: #fff;
      border-radius: 10px;
      font-weight: 600;
      transition: top .25s var(--ease);
    }
    .skip-link:focus { top: 16px; }

    .icon { width: 1em; height: 1em; flex: none; }

    .grad-text {
      background: var(--grad);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 58px); }
    .section-head--center { margin-inline: auto; text-align: center; }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      font-size: .74rem;
      font-weight: 600;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 16px;
    }
    .eyebrow::before {
      content: '';
      width: 6px; height: 6px;
      border-radius: 50%;
      background: var(--grad);
      box-shadow: 0 0 12px rgba(77, 124, 254, .9);
    }

    .h2 {
      font-size: clamp(1.75rem, 4.2vw, 2.7rem);
      font-weight: 800;
    }

    .lead {
      margin-top: 16px;
      color: var(--muted);
      font-size: clamp(.98rem, 1.6vw, 1.06rem);
      line-height: 1.75;
    }

    /* Glass surface */
    .glass {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
    }

    /* ==========================================================================
       4. BUTTONS & CHIPS
       ========================================================================== */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 13px 24px;
      border-radius: 999px;
      border: 1px solid transparent;
      font-size: .94rem;
      font-weight: 600;
      letter-spacing: -0.01em;
      cursor: pointer;
      white-space: nowrap;
      transition: transform .3s var(--ease), box-shadow .3s var(--ease),
                  background-color .3s var(--ease), border-color .3s var(--ease),
                  color .3s var(--ease);
    }

    .btn--primary {
      background: var(--grad);
      color: #fff;
      box-shadow: 0 12px 34px -14px rgba(77, 124, 254, .95);
    }
    .btn--primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 18px 44px -14px rgba(124, 92, 254, 1);
    }

    .btn--ghost {
      background: var(--surface);
      border-color: var(--border-strong);
      color: var(--text);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }
    .btn--ghost:hover {
      transform: translateY(-2px);
      border-color: rgba(77, 124, 254, .6);
      background: rgba(77, 124, 254, .1);
    }

    .btn--sm { padding: 9px 16px; font-size: .83rem; }
    .btn--block { width: 100%; }

    .link-underline {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--text-dim);
      font-size: .9rem;
      font-weight: 500;
      border-bottom: 1px solid rgba(255, 255, 255, .18);
      padding-bottom: 3px;
      transition: color .3s var(--ease), border-color .3s var(--ease);
    }
    .link-underline:hover { color: #fff; border-color: var(--blue); }

    .chip {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 9px 18px;
      border-radius: 999px;
      background: var(--surface);
      border: 1px solid var(--border);
      color: var(--muted);
      font-size: .85rem;
      font-weight: 500;
      cursor: pointer;
      transition: all .3s var(--ease);
    }
    .chip:hover { color: var(--text); border-color: var(--border-strong); }
    .chip[aria-pressed="true"] {
      background: var(--grad);
      border-color: transparent;
      color: #fff;
      box-shadow: 0 10px 26px -14px rgba(77, 124, 254, .95);
    }

    .tag {
      display: inline-flex;
      align-items: center;
      padding: 5px 11px;
      border-radius: 999px;
      background: rgba(255, 255, 255, .05);
      border: 1px solid var(--border);
      font-size: .72rem;
      font-weight: 500;
      color: var(--text-dim);
      letter-spacing: .01em;
    }

    /* ==========================================================================
       5. REVEAL ANIMATIONS
       ========================================================================== */
    .js [data-reveal] {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity .75s var(--ease), transform .75s var(--ease);
      will-change: opacity, transform;
    }
    .js [data-reveal].is-visible {
      opacity: 1;
      transform: none;
    }

    .hero__content > [data-reveal]:nth-child(1) { transition-delay: .05s; }
    .hero__content > [data-reveal]:nth-child(2) { transition-delay: .13s; }
    .hero__content > [data-reveal]:nth-child(3) { transition-delay: .21s; }
    .hero__content > [data-reveal]:nth-child(4) { transition-delay: .29s; }
    .hero__content > [data-reveal]:nth-child(5) { transition-delay: .37s; }
    .hero__content > [data-reveal]:nth-child(6) { transition-delay: .45s; }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
      *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
      }
    }

    /* ==========================================================================
       6. NAVIGATION
       ========================================================================== */
    .nav {
      position: fixed;
      inset: 0 0 auto 0;
      z-index: 100;
      height: var(--nav-h);
      display: flex;
      align-items: center;
      transition: background-color .35s var(--ease), border-color .35s var(--ease),
                  backdrop-filter .35s var(--ease);
      border-bottom: 1px solid transparent;
    }

    .nav.is-scrolled {
      background: rgba(8, 10, 14, .72);
      border-bottom-color: var(--border);
      backdrop-filter: blur(18px) saturate(150%);
      -webkit-backdrop-filter: blur(18px) saturate(150%);
    }

    .nav__inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      width: 100%;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 11px;
      flex: none;
    }

    .brand__mark {
      display: grid;
      place-items: center;
      width: 38px; height: 38px;
      border-radius: 11px;
      background: var(--grad);
      color: #fff;
      font-size: .82rem;
      font-weight: 800;
      letter-spacing: .02em;
      box-shadow: 0 8px 22px -10px rgba(77, 124, 254, .95);
    }

    .brand__text { display: flex; flex-direction: column; line-height: 1.15; }
    .brand__text strong { font-size: .92rem; font-weight: 700; letter-spacing: -0.01em; }
    .brand__text small { font-size: .68rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

    .nav__toggle {
      display: inline-grid;
      place-items: center;
      width: 44px; height: 44px;
      border-radius: 12px;
      background: var(--surface);
      border: 1px solid var(--border);
      color: var(--text);
      cursor: pointer;
      transition: background-color .3s var(--ease), border-color .3s var(--ease);
    }
    .nav__toggle:hover { border-color: var(--border-strong); }
    .nav__toggle .icon { width: 20px; height: 20px; }
    .nav__toggle .icon--close { display: none; }
    .nav[data-open="true"] .nav__toggle .icon--menu { display: none; }
    .nav[data-open="true"] .nav__toggle .icon--close { display: block; }

    .nav__backdrop {
      position: fixed;
      inset: 0;
      z-index: 90;
      background: rgba(3, 4, 7, .65);
      backdrop-filter: blur(3px);
      -webkit-backdrop-filter: blur(3px);
      opacity: 0;
      visibility: hidden;
      transition: opacity .35s var(--ease), visibility .35s var(--ease);
    }
    .nav[data-open="true"] .nav__backdrop { opacity: 1; visibility: visible; }

    .nav__menu {
      position: fixed;
      top: 0; right: 0;
      z-index: 95;
      height: 100dvh;
      width: min(86vw, 350px);
      padding: calc(var(--nav-h) + 24px) 26px 36px;
      display: flex;
      flex-direction: column;
      gap: 6px;
      overflow-y: auto;
      background: rgba(10, 12, 17, .97);
      border-left: 1px solid var(--border);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      transform: translateX(102%);
      transition: transform .45s var(--ease);
    }
    .nav[data-open="true"] .nav__menu { transform: translateX(0); }

    .nav__list { display: flex; flex-direction: column; gap: 2px; }

    .nav__link {
      display: block;
      padding: 12px 14px;
      border-radius: 10px;
      font-size: .95rem;
      font-weight: 500;
      color: var(--muted);
      transition: color .25s var(--ease), background-color .25s var(--ease);
    }
    .nav__link:hover { color: var(--text); background: var(--surface); }
    .nav__link[aria-current="true"] {
      color: #fff;
      background: var(--grad-soft);
      box-shadow: inset 0 0 0 1px rgba(77, 124, 254, .28);
    }

    .nav__cta { margin-top: 18px; }

    @media (min-width: 1024px) {
      .nav__toggle { display: none; }
      .nav__backdrop { display: none; }

      .nav__menu {
        position: static;
        height: auto;
        width: auto;
        padding: 0;
        flex-direction: row;
        align-items: center;
        gap: 28px;
        background: none;
        border: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        transform: none;
        overflow: visible;
      }

      .nav__list { flex-direction: row; align-items: center; gap: 2px; }

      .nav__link {
        padding: 8px 12px;
        font-size: .855rem;
        position: relative;
      }
      .nav__link::after {
        content: '';
        position: absolute;
        left: 12px; right: 12px; bottom: 3px;
        height: 2px;
        border-radius: 2px;
        background: var(--grad);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .35s var(--ease);
      }
      .nav__link[aria-current="true"] { background: none; box-shadow: none; }
      .nav__link[aria-current="true"]::after { transform: scaleX(1); }

      .nav__cta { margin-top: 0; padding: 10px 20px; font-size: .85rem; }
    }

    @media (min-width: 1200px) {
      .nav__link { padding: 8px 14px; font-size: .89rem; }
      .nav__menu { gap: 36px; }
    }

    /* ==========================================================================
       7. HERO
       ========================================================================== */
    .hero {
      position: relative;
      padding-top: calc(var(--nav-h) + clamp(30px, 6vw, 62px));
      padding-bottom: clamp(56px, 8vw, 96px);
      overflow: hidden;
    }

    .hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

    .orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(90px);
      opacity: .5;
      animation: drift 16s ease-in-out infinite alternate;
    }
    .orb--1 {
      width: 420px; height: 420px;
      top: -140px; left: -120px;
      background: radial-gradient(circle, rgba(77, 124, 254, .55), transparent 68%);
    }
    .orb--2 {
      width: 460px; height: 460px;
      top: 8%; right: -160px;
      background: radial-gradient(circle, rgba(139, 92, 246, .45), transparent 68%);
      animation-delay: -6s;
    }

    @keyframes drift {
      from { transform: translate3d(0, 0, 0) scale(1); }
      to   { transform: translate3d(30px, 34px, 0) scale(1.09); }
    }

    .grid-overlay {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
      background-size: 62px 62px;
      mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 78%);
      -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 78%);
    }

    .hero__inner {
      display: grid;
      gap: clamp(40px, 6vw, 56px);
      align-items: center;
    }

    @media (min-width: 1024px) {
      .hero__inner {
        grid-template-columns: 1.06fr .94fr;
        gap: clamp(32px, 4vw, 64px);
      }
    }

    .hero__greet {
      font-size: clamp(.9rem, 2vw, 1.02rem);
      font-weight: 500;
      color: var(--text-dim);
      letter-spacing: .01em;
    }

    .hero__title {
      margin-top: 14px;
      font-size: clamp(2.15rem, 8.4vw, 4.15rem);
      font-weight: 800;
      letter-spacing: -0.035em;
      line-height: 1.05;
    }

    .hero__sub {
      margin-top: 20px;
      max-width: 56ch;
      color: var(--muted);
      font-size: clamp(.97rem, 2.2vw, 1.09rem);
      line-height: 1.75;
    }

    .hero__meta {
      margin-top: 20px;
      font-size: clamp(.76rem, 1.9vw, .84rem);
      font-weight: 500;
      color: var(--text-dim);
      letter-spacing: .02em;
      line-height: 1.9;
    }

    .hero__cta {
      margin-top: 30px;
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .hero__cta .btn { flex: 1 1 auto; min-width: 168px; }

    .hero__resume { margin-top: 22px; }

    /* ---------- Portrait composition ---------- */
    .hero__visual { display: flex; justify-content: center; }

    .portrait {
      position: relative;
      width: min(100%, 440px);
      aspect-ratio: 4 / 5;
      isolation: isolate;
    }

    @media (min-width: 1024px) {
      .portrait { width: min(100%, 470px); }
    }

    /* --- NEW: Neon Earth-like Planet System --- */
    .portrait__planet-system {
      position: absolute;
      inset: -12% -12% 6%;
      z-index: -2; /* Sits behind the glow and portrait */
      display: grid;
      place-items: center;
      pointer-events: none;
      perspective: 1200px;
    }

    .planet-core {
      position: absolute;
      width: 55%;
      aspect-ratio: 1;
      border-radius: 50%;
      background: radial-gradient(circle at 35% 35%, rgba(34, 211, 238, 0.18), rgba(77, 124, 254, 0.05) 60%, transparent 80%);
      box-shadow: 
        0 0 60px rgba(34, 211, 238, 0.25),
        0 0 120px rgba(77, 124, 254, 0.15),
        inset 0 0 50px rgba(34, 211, 238, 0.4),
        inset 0 0 100px rgba(139, 92, 246, 0.2);
      border: 1px solid rgba(34, 211, 238, 0.25);
      animation: pulseCore 8s ease-in-out infinite alternate;
    }

    .planet-ring {
      position: absolute;
      border-radius: 50%;
      border: 1.5px solid transparent;
      transform-style: preserve-3d;
      animation: spinRing 20s linear infinite;
    }

    /* Custom properties for ring transforms to keep them tilted while spinning */
    .ring-1 {
      --rx: 70deg; --ry: 0deg;
      width: 80%; height: 80%;
      border-top-color: rgba(34, 211, 238, 0.8);
      border-bottom-color: rgba(34, 211, 238, 0.1);
      box-shadow: 0 0 20px rgba(34, 211, 238, 0.4), inset 0 0 20px rgba(34, 211, 238, 0.4);
      animation-duration: 18s;
    }

    .ring-2 {
      --rx: 75deg; --ry: -15deg;
      width: 95%; height: 95%;
      border-left-color: rgba(139, 92, 246, 0.8);
      border-right-color: rgba(139, 92, 246, 0.1);
      box-shadow: 0 0 25px rgba(139, 92, 246, 0.4), inset 0 0 25px rgba(139, 92, 246, 0.4);
      animation-duration: 24s;
      animation-direction: reverse;
    }

    .ring-3 {
      --rx: 65deg; --ry: 15deg;
      width: 110%; height: 110%;
      border-top-color: rgba(77, 124, 254, 0.6);
      border-bottom-color: rgba(77, 124, 254, 0.1);
      box-shadow: 0 0 30px rgba(77, 124, 254, 0.3), inset 0 0 30px rgba(77, 124, 254, 0.3);
      animation-duration: 30s;
    }

    @keyframes spinRing {
      from { transform: rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(0deg); }
      to { transform: rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(360deg); }
    }

    @keyframes pulseCore {
      0% { transform: scale(0.95); opacity: 0.6; }
      100% { transform: scale(1.05); opacity: 1; }
    }
    /* --- END NEW --- */

    .portrait__glow {
      position: absolute;
      inset: -8% -6% 4%;
      z-index: -1;
      border-radius: 50%;
      background:
        radial-gradient(circle at 50% 42%, rgba(77, 124, 254, .42), transparent 62%),
        radial-gradient(circle at 62% 62%, rgba(139, 92, 246, .34), transparent 64%);
      filter: blur(46px);
      animation: pulseGlow 7s ease-in-out infinite alternate;
    }

    @keyframes pulseGlow {
      from { opacity: .72; transform: scale(.97); }
      to   { opacity: 1;   transform: scale(1.04); }
    }

    .portrait__ring {
      position: absolute;
      inset: 4% 2% 8%;
      z-index: 0;
      border-radius: 50%;
      background: conic-gradient(from 0deg,
        rgba(77, 124, 254, 0) 0deg,
        rgba(77, 124, 254, .85) 90deg,
        rgba(139, 92, 246, .85) 200deg,
        rgba(34, 211, 238, .6) 300deg,
        rgba(77, 124, 254, 0) 360deg);
      mask: radial-gradient(circle, transparent 62%, #000 63%, #000 66%, transparent 67%);
      -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%, #000 66%, transparent 67%);
      opacity: .85;
      animation: spin 24s linear infinite;
    }

    @keyframes spin { to { transform: rotate(360deg); } }

    .portrait__frame {
      position: absolute;
      inset: 8% 6% 0;
      z-index: 1;
      border-radius: 200px 200px 26px 26px;
      overflow: hidden;
      background: linear-gradient(170deg, rgba(77, 124, 254, .16), rgba(139, 92, 246, .1) 60%, transparent);
      border: 1px solid rgba(255, 255, 255, .1);
      box-shadow: var(--shadow-lg), inset 0 0 60px rgba(77, 124, 254, .12);
      -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 82%, transparent 100%);
      mask-image: linear-gradient(to bottom, #000 0%, #000 82%, transparent 100%);
    }

    .portrait__frame img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
    }

    .portrait__fallback {
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      padding: 28px;
      text-align: center;
      font-size: .82rem;
      line-height: 1.7;
      color: var(--muted);
      background: linear-gradient(160deg, rgba(77, 124, 254, .2), rgba(139, 92, 246, .12));
    }

    /* ---------- Floating tech badges ---------- */
    .tech-badges { position: absolute; inset: 0; pointer-events: none; z-index: 2; }

    .badge {
      position: absolute;
      padding: 7px 14px;
      border-radius: 999px;
      font-size: .74rem;
      font-weight: 600;
      letter-spacing: .02em;
      color: var(--text);
      background: rgba(14, 17, 24, .78);
      border: 1px solid var(--border-strong);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      box-shadow: 0 10px 26px -16px rgba(0, 0, 0, .95);
      animation: float 6s ease-in-out infinite;
      white-space: nowrap;
    }

    .badge--1 { top: 10%; left: -4%;  animation-delay: -0.4s; }
    .badge--2 { top: 24%; right: -6%; animation-delay: -1.5s; }
    .badge--3 { top: 43%; left: -8%;  animation-delay: -2.6s; }
    .badge--4 { top: 58%; right: -8%; animation-delay: -3.4s; }
    .badge--5 { top: 72%; left: -3%;  animation-delay: -1.1s; }
    .badge--6 { top: 86%; right: 2%;  animation-delay: -2.1s; }
    .badge--7 { top: 4%;  right: 16%; animation-delay: -3.9s; }
    .badge--8 { top: 92%; left: 20%; animation-delay: -0.9s; }

    @keyframes float {
      0%, 100% { transform: translateY(0); }
      50%      { transform: translateY(-11px); }
    }

    @media (max-width: 767px) {
      .badge { font-size: .66rem; padding: 5px 10px; }
      .badge--3, .badge--5 { left: -2%; }
      .badge--2, .badge--4 { right: -2%; }
    }

    /* ---------- Floating info cards ---------- */
    .float-card {
      position: absolute;
      z-index: 3;
      padding: 12px 16px;
      border-radius: 14px;
      background: rgba(13, 16, 23, .82);
      border: 1px solid var(--border-strong);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 1);
      animation: float 7s ease-in-out infinite;
    }

    .float-card strong {
      display: block;
      font-size: 1.28rem;
      font-weight: 800;
      letter-spacing: -0.02em;
      background: var(--grad);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      line-height: 1.2;
    }

    .float-card span {
      display: block;
      font-size: .7rem;
      color: var(--muted);
      letter-spacing: .02em;
      line-height: 1.4;
    }

    .float-card--stat { bottom: 16%; left: -6%; animation-delay: -2.2s; }
    .float-card--role {
      top: 16%; right: -7%;
      display: flex;
      align-items: center;
      gap: 10px;
      animation-delay: -4.1s;
    }
    .float-card--role .dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: #34d399;
      box-shadow: 0 0 12px #34d399;
      flex: none;
    }
    .float-card--role strong { font-size: .84rem; background: none; color: var(--text); -webkit-text-fill-color: currentColor; }
    .float-card--role span { font-size: .68rem; }

    @media (max-width: 767px) {
      .float-card { padding: 9px 12px; border-radius: 12px; }
      .float-card strong { font-size: 1rem; }
      .float-card span { font-size: .62rem; }
      .float-card--stat { left: -2%; bottom: 12%; }
      .float-card--role { right: -2%; top: 12%; }
      .float-card--role strong { font-size: .74rem; }
    }

    /* ==========================================================================
       8. STATS / ABOUT
       ========================================================================== */
    .about__grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: start; }

    @media (min-width: 1024px) {
      .about__grid { grid-template-columns: 1.15fr .85fr; }
    }

    .about__text p + p { margin-top: 18px; }
    .about__text p { color: var(--muted); line-height: 1.8; }
    .about__text strong { color: var(--text); font-weight: 600; }

    .about__list {
      margin-top: 26px;
      display: grid;
      gap: 12px 22px;
      grid-template-columns: 1fr;
    }
    @media (min-width: 560px) { .about__list { grid-template-columns: repeat(2, 1fr); } }

    .about__list li {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: .9rem;
      color: var(--text-dim);
    }
    .about__list .icon {
      width: 17px; height: 17px;
      margin-top: 3px;
      color: var(--cyan);
      flex: none;
    }

    .stats { display: grid; gap: 14px; }

    .stat {
      padding: 22px 24px;
      border-radius: var(--radius);
      background: var(--surface);
      border: 1px solid var(--border);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
    }
    .stat:hover {
      transform: translateY(-4px);
      border-color: rgba(77, 124, 254, .42);
      box-shadow: 0 22px 48px -28px rgba(77, 124, 254, .85);
    }

    .stat__num {
      font-size: clamp(1.7rem, 4vw, 2.15rem);
      font-weight: 800;
      letter-spacing: -0.03em;
      background: var(--grad);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      line-height: 1.1;
    }

    .stat__label {
      margin-top: 6px;
      font-size: .85rem;
      color: var(--muted);
      line-height: 1.5;
    }

    /* ==========================================================================
       9. SERVICES
       ========================================================================== */
    .services__grid {
      display: grid;
      gap: 22px;
      grid-template-columns: 1fr;
    }
    @media (min-width: 768px)  { .services__grid { grid-template-columns: repeat(2, 1fr); } }
    @media (min-width: 1200px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }

    .service {
      position: relative;
      display: flex;
      flex-direction: column;
      gap: 18px;
      padding: 28px 26px;
      border-radius: var(--radius-lg);
      background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
      border: 1px solid var(--border);
      overflow: hidden;
      transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
    }

    .service::after {
      content: '';
      position: absolute;
      inset: -1px;
      border-radius: inherit;
      padding: 1px;
      background: linear-gradient(140deg, rgba(77, 124, 254, .55), transparent 42%, rgba(139, 92, 246, .5));
      -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
      mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      opacity: 0;
      transition: opacity .45s var(--ease);
      pointer-events: none;
    }

    .service:hover {
      transform: translateY(-6px);
      box-shadow: 0 34px 70px -40px rgba(77, 124, 254, .9);
    }
    .service:hover::after { opacity: 1; }

    .service--wide { grid-column: 1 / -1; }

    .service__head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
    }

    .service__icon {
      display: grid;
      place-items: center;
      width: 46px; height: 46px;
      border-radius: 13px;
      background: var(--grad-soft);
      border: 1px solid rgba(77, 124, 254, .3);
      color: var(--cyan);
    }
    .service__icon .icon { width: 22px; height: 22px; }

    .service__num {
      font-family: var(--font-mono);
      font-size: .74rem;
      letter-spacing: .14em;
      color: var(--muted);
    }

    .service__title { font-size: 1.16rem; font-weight: 700; }

    .service__desc {
      font-size: .91rem;
      color: var(--muted);
      line-height: 1.72;
    }

    .service__features {
      display: grid;
      grid-template-columns: 1fr;
      gap: 8px;
      margin-top: 2px;
    }
    @media (min-width: 480px) { .service__features { grid-template-columns: repeat(2, 1fr); } }

    .service__features li {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      font-size: .84rem;
      color: var(--text-dim);
      line-height: 1.55;
    }
    .service__features .icon {
      width: 14px; height: 14px;
      margin-top: 4px;
      color: var(--blue);
      flex: none;
    }

    .service__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }

    /* --- Decorative mocks --- */
    .mock {
      position: relative;
      height: 108px;
      border-radius: 14px;
      background: rgba(255, 255, 255, .028);
      border: 1px solid var(--border);
      overflow: hidden;
      padding: 12px;
    }

    .mock--browser { padding: 0; }
    .mock__bar {
      display: flex;
      gap: 5px;
      padding: 9px 12px;
      border-bottom: 1px solid var(--border);
      background: rgba(255, 255, 255, .03);
    }
    .mock__bar span {
      width: 7px; height: 7px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .18);
    }
    .mock__body { padding: 12px; display: grid; gap: 8px; }
    .mock__hero {
      height: 30px;
      border-radius: 7px;
      background: linear-gradient(120deg, rgba(77, 124, 254, .5), rgba(139, 92, 246, .45));
    }
    .mock__row { display: flex; gap: 7px; }
    .mock__row span {
      flex: 1;
      height: 22px;
      border-radius: 6px;
      background: rgba(255, 255, 255, .07);
    }

    .mock--layers { display: grid; place-items: center; }
    .mock--layers .layer {
      position: absolute;
      border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, .16);
    }
    .layer--1 { width: 122px; height: 62px; background: rgba(77, 124, 254, .28); }
    .layer--2 { width: 100px; height: 50px; background: rgba(139, 92, 246, .3); transform: translate(14px, -10px); }
    .layer--3 { width: 78px;  height: 38px; background: rgba(34, 211, 238, .3);  transform: translate(28px, -20px); }

    .mock--phone { display: grid; place-items: center; }
    .phone {
      position: relative;
      width: 56px; height: 92px;
      border-radius: 11px;
      border: 1.5px solid rgba(255, 255, 255, .22);
      background: rgba(10, 13, 20, .9);
      padding: 9px 6px 6px;
      display: grid;
      align-content: start;
      gap: 4px;
    }
    .phone::before {
      content: '';
      position: absolute;
      top: 4px; left: 50%;
      transform: translateX(-50%);
      width: 18px; height: 3px;
      border-radius: 3px;
      background: rgba(255, 255, 255, .22);
    }
    .phone span { display: block; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .16); }
    .phone .ph-a { width: 78%; background: rgba(77, 124, 254, .75); }
    .phone .ph-b { width: 52%; }
    .phone .ph-c { height: 22px; border-radius: 6px; background: linear-gradient(120deg, rgba(139, 92, 246, .5), rgba(34, 211, 238, .35)); }
    .phone .ph-d { width: 64%; }

    .mock--code {
      display: grid;
      align-content: center;
      font-family: var(--font-mono);
      font-size: .68rem;
      line-height: 1.85;
      color: #93a3bb;
      white-space: pre;
      overflow: hidden;
      margin: 0;
    }
    .mock--code .c-key { color: #c084fc; }
    .mock--code .c-str { color: #67e8f9; }
    .mock--code .c-fn  { color: #7aa2ff; }

    .mock--db {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
    }
    .db-table {
      display: grid;
      gap: 5px;
      width: 88px;
      padding: 9px 10px;
      border-radius: 9px;
      border: 1px solid rgba(77, 124, 254, .35);
      background: rgba(77, 124, 254, .1);
    }
    .db-table:last-child { border-color: rgba(139, 92, 246, .35); background: rgba(139, 92, 246, .1); }
    .db-table .db-title {
      font-family: var(--font-mono);
      font-size: .62rem;
      color: var(--text);
      letter-spacing: .05em;
    }
    .db-table span:not(.db-title) {
      height: 4px;
      border-radius: 3px;
      background: rgba(255, 255, 255, .16);
    }
    .db-table span:nth-child(3) { width: 70%; }

    /* DB subsections */
    .db-split {
      display: grid;
      gap: 18px;
      grid-template-columns: 1fr;
    }
    @media (min-width: 768px) { .db-split { grid-template-columns: repeat(2, 1fr); } }

    .db-panel {
      padding: 20px;
      border-radius: var(--radius);
      background: rgba(255, 255, 255, .028);
      border: 1px solid var(--border);
    }
    .db-panel h4 {
      display: flex;
      align-items: center;
      gap: 9px;
      font-size: .95rem;
      font-weight: 700;
      margin-bottom: 12px;
    }
    .db-panel h4 .icon { width: 17px; height: 17px; color: var(--cyan); }

    /* ==========================================================================
       10. SKILLS
       ========================================================================== */
    .skills__grid {
      display: grid;
      gap: 20px;
      grid-template-columns: 1fr;
    }
    @media (min-width: 640px)  { .skills__grid { grid-template-columns: repeat(2, 1fr); } }
    @media (min-width: 1200px) { .skills__grid { grid-template-columns: repeat(3, 1fr); } }

    .skill-card {
      padding: 26px 24px;
      border-radius: var(--radius-lg);
      background: var(--surface);
      border: 1px solid var(--border);
      transition: transform .4s var(--ease), border-color .4s var(--ease);
    }
    .skill-card:hover { transform: translateY(-5px); border-color: rgba(77, 124, 254, .4); }

    .skill-card__title {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 20px;
    }
    .skill-card__title .icon { width: 18px; height: 18px; color: var(--cyan); }

    .skill { margin-bottom: 16px; }
    .skill:last-child { margin-bottom: 0; }

    .skill__top {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      font-size: .84rem;
      margin-bottom: 7px;
      color: var(--text-dim);
    }
    .skill__top span:last-child {
      font-family: var(--font-mono);
      font-size: .76rem;
      color: var(--muted);
    }

    .bar {
      height: 6px;
      border-radius: 99px;
      background: rgba(255, 255, 255, .07);
      overflow: hidden;
    }
    .bar > i {
      display: block;
      height: 100%;
      width: 0;
      border-radius: inherit;
      background: var(--grad);
      box-shadow: 0 0 14px rgba(77, 124, 254, .7);
      transition: width 1.3s var(--ease);
    }

    /* ==========================================================================
       11. PROJECTS
       ========================================================================== */
    .filters {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 32px;
    }

    .projects__grid {
      display: grid;
      gap: 22px;
      grid-template-columns: 1fr;
    }
    @media (min-width: 640px)  { .projects__grid { grid-template-columns: repeat(2, 1fr); } }
    @media (min-width: 1200px) { .projects__grid { grid-template-columns: repeat(3, 1fr); } }

    .project-card {
      display: flex;
      flex-direction: column;
      border-radius: var(--radius-lg);
      background: var(--surface);
      border: 1px solid var(--border);
      overflow: hidden;
      transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
    }
    .project-card:hover {
      transform: translateY(-6px);
      border-color: rgba(77, 124, 254, .42);
      box-shadow: 0 36px 70px -44px rgba(77, 124, 254, .95);
    }
    .project-card[hidden] { display: none; }

    .project-card__media {
      position: relative;
      aspect-ratio: 16 / 10;
      overflow: hidden;
      display: grid;
      place-items: center;
      border-bottom: 1px solid var(--border);
    }
    .project-card__media::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 40%, rgba(7, 8, 11, .78));
    }

    .media--website   { background: linear-gradient(140deg, #12233f, #1b2b52 55%, #0d1526); }
    .media--webapp    { background: linear-gradient(140deg, #1a1636, #2a1f56 55%, #120f26); }
    .media--ecommerce { background: linear-gradient(140deg, #0f2f30, #17484a 55%, #0a1e20); }
    .media--mobile    { background: linear-gradient(140deg, #241436, #3a1f57 55%, #170d24); }
    .media--uiux      { background: linear-gradient(140deg, #101d3d, #22315f 55%, #0b1226); }

    .project-card__glyph {
      position: relative;
      z-index: 1;
      display: grid;
      place-items: center;
      width: 62px; height: 62px;
      border-radius: 18px;
      background: rgba(255, 255, 255, .07);
      border: 1px solid rgba(255, 255, 255, .16);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      color: #fff;
      transition: transform .55s var(--ease);
    }
    .project-card:hover .project-card__glyph { transform: scale(1.11) translateY(-4px); }
    .project-card__glyph .icon { width: 26px; height: 26px; }

    .project-card__num {
      position: absolute;
      top: 14px; left: 16px;
      z-index: 1;
      font-family: var(--font-mono);
      font-size: .74rem;
      letter-spacing: .14em;
      color: rgba(255, 255, 255, .62);
    }

    .project-card__cat {
      position: absolute;
      top: 12px; right: 14px;
      z-index: 1;
      padding: 4px 11px;
      border-radius: 999px;
      font-size: .68rem;
      font-weight: 600;
      letter-spacing: .04em;
      text-transform: uppercase;
      color: #fff;
      background: rgba(7, 8, 11, .6);
      border: 1px solid rgba(255, 255, 255, .16);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }

    .project-card__body {
      display: flex;
      flex-direction: column;
      gap: 12px;
      padding: 22px 22px 24px;
      flex: 1;
    }

    .project-card__title { font-size: 1.05rem; font-weight: 700; }

    .project-card__desc {
      font-size: .87rem;
      color: var(--muted);
      line-height: 1.68;
    }

    .project-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }

    .project-card__actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: auto;
      padding-top: 6px;
    }

    /* Featured project */
    .featured {
      margin-top: clamp(48px, 7vw, 84px);
      display: grid;
      gap: 0;
      border-radius: var(--radius-lg);
      background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
      border: 1px solid var(--border);
      overflow: hidden;
    }
    @media (min-width: 992px) { .featured { grid-template-columns: 1.1fr 1fr; } }

    .featured__preview {
      position: relative;
      min-height: 280px;
      background:
        radial-gradient(circle at 30% 25%, rgba(77, 124, 254, .45), transparent 58%),
        radial-gradient(circle at 75% 70%, rgba(139, 92, 246, .4), transparent 60%),
        linear-gradient(140deg, #0c1424, #101a30 55%, #0a0f1c);
      border-bottom: 1px solid var(--border);
      overflow: hidden;
      display: grid;
      place-items: center;
      padding: 30px;
    }
    @media (min-width: 992px) {
      .featured__preview { border-bottom: 0; border-right: 1px solid var(--border); min-height: 420px; }
    }

    .featured__browser {
      width: min(100%, 420px);
      border-radius: 14px;
      border: 1px solid rgba(255, 255, 255, .14);
      background: rgba(9, 12, 18, .86);
      overflow: hidden;
      box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 1);
      transition: transform .6s var(--ease);
    }
    .featured:hover .featured__browser { transform: translateY(-6px) scale(1.015); }

    .featured__browser .mock__bar span:nth-child(1) { background: #f87171; }
    .featured__browser .mock__bar span:nth-child(2) { background: #fbbf24; }
    .featured__browser .mock__bar span:nth-child(3) { background: #34d399; }

    .featured__body {
      padding: clamp(26px, 4vw, 44px);
      display: flex;
      flex-direction: column;
      gap: 16px;
      justify-content: center;
    }

    .badge-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      align-self: flex-start;
      padding: 6px 14px;
      border-radius: 999px;
      font-size: .7rem;
      font-weight: 600;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--cyan);
      background: rgba(34, 211, 238, .09);
      border: 1px solid rgba(34, 211, 238, .28);
    }

    /* ==========================================================================
       12. WHY CHOOSE ME
       ========================================================================== */
    .why__grid {
      display: grid;
      gap: 18px;
      grid-template-columns: 1fr;
      margin-top: clamp(40px, 6vw, 64px);
    }
    @media (min-width: 640px)  { .why__grid { grid-template-columns: repeat(2, 1fr); } }
    @media (min-width: 1200px) { .why__grid { grid-template-columns: repeat(3, 1fr); } }

    .why-card {
      position: relative;
      padding: 28px 24px;
      border-radius: var(--radius);
      background: var(--surface);
      border: 1px solid var(--border);
      transition: transform .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease);
    }
    .why-card:hover {
      transform: translateY(-5px);
      border-color: rgba(139, 92, 246, .45);
      background: rgba(139, 92, 246, .05);
    }

    .why-card__num {
      font-family: var(--font-mono);
      font-size: .78rem;
      letter-spacing: .16em;
      color: var(--blue);
      margin-bottom: 14px;
      display: block;
    }
    .why-card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 8px; }
    .why-card p { font-size: .87rem; color: var(--muted); line-height: 1.7; }

    /* ==========================================================================
       13. CAPABILITIES
       ========================================================================== */
    .capabilities {
      display: grid;
      gap: 14px;
      grid-template-columns: 1fr;
    }
    @media (min-width: 640px)  { .capabilities { grid-template-columns: repeat(2, 1fr); } }
    @media (min-width: 1200px) { .capabilities { grid-template-columns: repeat(4, 1fr); } }

    .capability {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 18px 20px;
      border-radius: var(--radius);
      background: var(--surface);
      border: 1px solid var(--border);
      transition: transform .35s var(--ease), border-color .35s var(--ease);
    }
    .capability:hover { transform: translateY(-4px); border-color: rgba(77, 124, 254, .42); }

    .capability__icon {
      display: grid;
      place-items: center;
      width: 40px; height: 40px;
      border-radius: 11px;
      background: var(--grad-soft);
      border: 1px solid rgba(77, 124, 254, .26);
      color: var(--cyan);
      flex: none;
    }
    .capability__icon .icon { width: 19px; height: 19px; }
    .capability span { font-size: .89rem; font-weight: 500; line-height: 1.45; }

    /* ==========================================================================
       14. PROCESS TIMELINE
       ========================================================================== */
    .timeline { position: relative; display: flex; flex-direction: column; gap: 24px; }

    .timeline::before {
      content: '';
      position: absolute;
      left: 19px;
      top: 10px; bottom: 10px;
      width: 2px;
      border-radius: 2px;
      background: linear-gradient(180deg,
        rgba(77, 124, 254, 0),
        rgba(77, 124, 254, .6) 12%,
        rgba(139, 92, 246, .6) 60%,
        rgba(34, 211, 238, 0));
    }

    .timeline__item { position: relative; padding-left: 58px; }

    .timeline__node {
      position: absolute;
      left: 8px; top: 24px;
      width: 24px; height: 24px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: #0a0c11;
      border: 1px solid rgba(77, 124, 254, .5);
      box-shadow: 0 0 0 4px rgba(77, 124, 254, .1);
      transition: box-shadow .4s var(--ease), border-color .4s var(--ease);
    }
    .timeline__node::after {
      content: '';
      width: 8px; height: 8px;
      border-radius: 50%;
      background: var(--grad);
    }
    .timeline__item:hover .timeline__node {
      border-color: var(--cyan);
      box-shadow: 0 0 0 6px rgba(34, 211, 238, .14), 0 0 22px rgba(34, 211, 238, .5);
    }

    .timeline__card {
      padding: 22px 24px;
      border-radius: var(--radius);
      background: var(--surface);
      border: 1px solid var(--border);
      transition: transform .4s var(--ease), border-color .4s var(--ease);
    }
    .timeline__item:hover .timeline__card {
      transform: translateY(-4px);
      border-color: rgba(77, 124, 254, .4);
    }

    .timeline__step {
      font-family: var(--font-mono);
      font-size: .72rem;
      letter-spacing: .18em;
      color: var(--blue);
      margin-bottom: 8px;
      display: block;
    }
    .timeline__card h3 { font-size: 1.04rem; margin-bottom: 7px; }
    .timeline__card p { font-size: .87rem; color: var(--muted); line-height: 1.7; }

    @media (min-width: 900px) {
      .timeline::before { left: 50%; transform: translateX(-1px); }

      .timeline__item {
        width: 50%;
        padding-left: 0;
        padding-right: 54px;
      }
      .timeline__item:nth-child(even) {
        margin-left: 50%;
        padding-left: 54px;
        padding-right: 0;
      }
      .timeline__node { left: auto; right: -12px; }
      .timeline__item:nth-child(even) .timeline__node { left: -12px; right: auto; }
    }

    /* ==========================================================================
       15. TESTIMONIALS
       ========================================================================== */
    .testimonials__grid {
      display: grid;
      gap: 20px;
      grid-template-columns: 1fr;
    }
    @media (min-width: 768px)  { .testimonials__grid { grid-template-columns: repeat(2, 1fr); } }
    @media (min-width: 1200px) { .testimonials__grid { grid-template-columns: repeat(3, 1fr); } }

    .testimonial {
      display: flex;
      flex-direction: column;
      gap: 16px;
      padding: 28px 26px;
      border-radius: var(--radius-lg);
      background: var(--surface);
      border: 1px solid var(--border);
      transition: transform .4s var(--ease), border-color .4s var(--ease);
    }
    .testimonial:hover { transform: translateY(-5px); border-color: rgba(139, 92, 246, .42); }

    .stars { display: flex; gap: 3px; color: #fbbf24; }
    .stars .icon { width: 15px; height: 15px; }

    .testimonial blockquote {
      margin: 0;
      font-size: .91rem;
      color: var(--text-dim);
      line-height: 1.78;
    }

    .testimonial__author {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: auto;
      padding-top: 6px;
      border-top: 1px solid var(--border);
    }

    .avatar {
      display: grid;
      place-items: center;
      width: 42px; height: 42px;
      border-radius: 50%;
      background: var(--grad-soft);
      border: 1px solid rgba(77, 124, 254, .3);
      font-size: .8rem;
      font-weight: 700;
      color: var(--text);
      flex: none;
    }

    .testimonial__author strong { display: block; font-size: .88rem; font-weight: 600; }
    .testimonial__author span { display: block; font-size: .78rem; color: var(--muted); }

    /* ==========================================================================
       16. CTA
       ========================================================================== */
    .cta {
      position: relative;
      overflow: hidden;
      padding: clamp(44px, 6vw, 76px) clamp(24px, 4vw, 60px);
      border-radius: var(--radius-lg);
      text-align: center;
      background: linear-gradient(150deg, rgba(77, 124, 254, .14), rgba(139, 92, 246, .12));
      border: 1px solid rgba(255, 255, 255, .12);
    }

    .cta::before {
      content: '';
      position: absolute;
      inset: -40%;
      z-index: 0;
      background: conic-gradient(from 0deg,
        transparent 0deg,
        rgba(77, 124, 254, .22) 60deg,
        transparent 140deg,
        rgba(139, 92, 246, .22) 240deg,
        transparent 330deg);
      animation: spin 18s linear infinite;
      pointer-events: none;
    }

    .cta__inner { position: relative; z-index: 1; }

    .cta h2 {
      font-size: clamp(1.6rem, 4.6vw, 2.6rem);
      font-weight: 800;
      letter-spacing: -0.03em;
    }

    .cta p {
      margin: 16px auto 0;
      max-width: 60ch;
      color: var(--text-dim);
      font-size: clamp(.95rem, 2vw, 1.05rem);
      line-height: 1.75;
    }

    .cta__actions {
      margin-top: 30px;
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: center;
    }

    /* ==========================================================================
       17. CONTACT
       ========================================================================== */
    .contact__grid {
      display: grid;
      gap: clamp(34px, 5vw, 56px);
      align-items: start;
    }
    @media (min-width: 992px) { .contact__grid { grid-template-columns: .9fr 1.1fr; } }

    .contact__info h3 { font-size: clamp(1.3rem, 3vw, 1.75rem); font-weight: 700; }
    .contact__info > p { margin-top: 14px; color: var(--muted); line-height: 1.78; font-size: .95rem; }

    .contact__list { margin-top: 30px; display: grid; gap: 14px; }

    .contact__item {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 16px 18px;
      border-radius: var(--radius);
      background: var(--surface);
      border: 1px solid var(--border);
      transition: border-color .35s var(--ease), transform .35s var(--ease);
    }
    .contact__item:hover { border-color: rgba(77, 124, 254, .45); transform: translateY(-3px); }

    .contact__item .icon-tile {
      display: grid;
      place-items: center;
      width: 40px; height: 40px;
      border-radius: 11px;
      background: var(--grad-soft);
      border: 1px solid rgba(77, 124, 254, .26);
      color: var(--cyan);
      flex: none;
    }
    .contact__item .icon-tile .icon { width: 18px; height: 18px; }

    .contact__item small {
      display: block;
      font-size: .72rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 2px;
    }
    .contact__item strong { font-size: .92rem; font-weight: 600; word-break: break-word; }

    .socials { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }

    .social-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 44px; height: 44px;
      border-radius: 12px;
      background: var(--surface);
      border: 1px solid var(--border);
      color: var(--text-dim);
      transition: all .32s var(--ease);
    }
    .social-btn:hover {
      color: #fff;
      transform: translateY(-3px);
      border-color: rgba(77, 124, 254, .55);
      background: rgba(77, 124, 254, .12);
      box-shadow: 0 12px 28px -16px rgba(77, 124, 254, 1);
    }
    .social-btn .icon { width: 19px; height: 19px; }

    /* Form */
    .form {
      padding: clamp(24px, 3.4vw, 38px);
      border-radius: var(--radius-lg);
      background: var(--surface);
      border: 1px solid var(--border);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
    }

    .form__row {
      display: grid;
      gap: 16px;
      grid-template-columns: 1fr;
      margin-bottom: 16px;
    }
    @media (min-width: 640px) { .form__row--2 { grid-template-columns: repeat(2, 1fr); } }

    .field { display: flex; flex-direction: column; gap: 7px; }

    .field label {
      font-size: .82rem;
      font-weight: 600;
      color: var(--text-dim);
      letter-spacing: .01em;
    }
    .field label .req { color: var(--blue); }

    .field input,
    .field select,
    .field textarea {
      width: 100%;
      padding: 13px 15px;
      border-radius: 12px;
      background: rgba(255, 255, 255, .04);
      border: 1px solid var(--border);
      color: var(--text);
      font-size: .92rem;
      transition: border-color .28s var(--ease), background-color .28s var(--ease), box-shadow .28s var(--ease);
      appearance: none;
      -webkit-appearance: none;
    }

    .field textarea { resize: vertical; min-height: 128px; line-height: 1.65; }

    .field select {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398a1b3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 14px center;
      background-size: 17px;
      padding-right: 42px;
    }
    .field select option { background: #0d1017; color: var(--text); }

    .field input::placeholder,
    .field textarea::placeholder { color: rgba(152, 161, 179, .62); }

    .field input:focus,
    .field select:focus,
    .field textarea:focus {
      outline: none;
      border-color: rgba(77, 124, 254, .7);
      background: rgba(77, 124, 254, .06);
      box-shadow: 0 0 0 3px rgba(77, 124, 254, .16);
    }

    .field input[aria-invalid="true"],
    .field select[aria-invalid="true"],
    .field textarea[aria-invalid="true"] {
      border-color: rgba(248, 113, 113, .75);
      box-shadow: 0 0 0 3px rgba(248, 113, 113, .14);
    }

    .field__error {
      min-height: 0;
      font-size: .76rem;
      color: #fca5a5;
      line-height: 1.4;
    }

    .form__status {
      margin-top: 16px;
      padding: 13px 16px;
      border-radius: 12px;
      font-size: .87rem;
      line-height: 1.6;
      display: none;
    }
    .form__status.is-success {
      display: block;
      color: #6ee7b7;
      background: rgba(52, 211, 153, .1);
      border: 1px solid rgba(52, 211, 153, .34);
    }
    .form__status.is-error {
      display: block;
      color: #fca5a5;
      background: rgba(248, 113, 113, .1);
      border: 1px solid rgba(248, 113, 113, .34);
    }

    /* ==========================================================================
       18. MODAL
       ========================================================================== */
    .modal {
      width: min(94vw, 780px);
      max-height: 88dvh;
      padding: 0;
      border: 1px solid var(--border-strong);
      border-radius: var(--radius-lg);
      background: #0b0e14;
      color: var(--text);
      overflow: hidden;
      box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 1);
    }
    .modal::backdrop { background: rgba(3, 4, 7, .78); backdrop-filter: blur(6px); }

    .modal__inner { max-height: 88dvh; overflow-y: auto; }

    .modal__head {
      position: sticky;
      top: 0;
      z-index: 2;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      padding: 24px 26px 20px;
      background: linear-gradient(180deg, #0d1119 70%, rgba(13, 17, 25, .92));
      border-bottom: 1px solid var(--border);
    }

    .modal__head h3 { font-size: clamp(1.1rem, 3vw, 1.4rem); font-weight: 700; }
    .modal__head p { margin-top: 6px; font-size: .82rem; color: var(--muted); }

    .modal__close {
      display: grid;
      place-items: center;
      width: 38px; height: 38px;
      border-radius: 10px;
      background: var(--surface);
      border: 1px solid var(--border);
      color: var(--text);
      cursor: pointer;
      flex: none;
      transition: border-color .3s var(--ease), background-color .3s var(--ease);
    }
    .modal__close:hover { border-color: var(--border-strong); background: var(--surface-2); }
    .modal__close .icon { width: 17px; height: 17px; }

    .modal__body { padding: 26px; display: grid; gap: 26px; }

    .case-block h4 {
      display: flex;
      align-items: center;
      gap: 9px;
      font-size: .78rem;
      font-weight: 700;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--cyan);
      margin-bottom: 10px;
    }
    .case-block h4 .icon { width: 15px; height: 15px; }
    .case-block p { font-size: .9rem; color: var(--text-dim); line-height: 1.78; }

    .case-list { display: grid; gap: 8px; }
    .case-list li {
      display: flex;
      gap: 10px;
      font-size: .88rem;
      color: var(--text-dim);
      line-height: 1.65;
    }
    .case-list .icon { width: 15px; height: 15px; margin-top: 4px; color: var(--blue); flex: none; }

    .modal__actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      padding: 20px 26px 26px;
      border-top: 1px solid var(--border);
    }

    /* ==========================================================================
       19. FOOTER
       ========================================================================== */
    .footer {
      margin-top: clamp(48px, 7vw, 90px);
      border-top: 1px solid var(--border);
      padding-block: clamp(38px, 5vw, 56px);
      background: rgba(255, 255, 255, .012);
    }

    .footer__grid {
      display: grid;
      gap: 30px;
      grid-template-columns: 1fr;
    }
    @media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }

    .footer__brand p {
      margin-top: 12px;
      max-width: 40ch;
      font-size: .86rem;
      color: var(--muted);
      line-height: 1.7;
    }

    .footer h4 {
      font-size: .78rem;
      font-weight: 700;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 16px;
    }

    .footer__links { display: grid; gap: 10px; }
    .footer__links a {
      font-size: .88rem;
      color: var(--text-dim);
      transition: color .28s var(--ease);
      width: fit-content;
    }
    .footer__links a:hover { color: #fff; }

    .footer__socials { display: flex; gap: 10px; }

    .footer__bottom {
      margin-top: 38px;
      padding-top: 24px;
      border-top: 1px solid var(--border);
      display: flex;
      flex-wrap: wrap;
      gap: 12px 24px;
      justify-content: space-between;
      align-items: center;
      font-size: .8rem;
      color: var(--muted);
    }

    /* ==========================================================================
       20. BACK TO TOP
       ========================================================================== */
    .to-top {
      position: fixed;
      right: 18px; bottom: 18px;
      z-index: 80;
      display: grid;
      place-items: center;
      width: 46px; height: 46px;
      border-radius: 14px;
      background: rgba(13, 16, 23, .85);
      border: 1px solid var(--border-strong);
      color: var(--text);
      cursor: pointer;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      opacity: 0;
      visibility: hidden;
      transform: translateY(12px);
      transition: all .38s var(--ease);
    }
    .to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
    .to-top:hover { border-color: rgba(77, 124, 254, .6); background: rgba(77, 124, 254, .14); }
    .to-top .icon { width: 18px; height: 18px; transform: rotate(-90deg); }

    @media (min-width: 768px) { .to-top { right: 28px; bottom: 28px; } }
 