
  :root {
    --bg: #ffffff;
    --bg-2: #eef3f9;
    --surface: rgba(15, 35, 65, 0.025);
    --surface-2: rgba(15, 35, 65, 0.045);
    --border: rgba(20, 50, 95, 0.12);
    --border-strong: rgba(20, 50, 95, 0.2);
    --text: #101e34;
    --muted: #55667e;
    --muted-2: #94a3b8;
    --sky: #1f7fc1;
    --sky-bright: #0f8fe0;
    --blue: #1a5a96;
    --cube: #2f8ad1;
    --accent-rgb: 61, 163, 230;
    --accent-bright-rgb: 92, 192, 255;
    --display: "Space Grotesk", system-ui, sans-serif;
    --body: "Manrope", system-ui, sans-serif;
    --maxw: 1180px;
  }

  /* ── Theme 2: Enterprise Navy (indigo accent) ── */
  html[data-theme="2"] {
    --bg: #ffffff;
    --bg-2: #f3f5f9;
    --surface: rgba(15, 23, 42, 0.025);
    --surface-2: rgba(15, 23, 42, 0.045);
    --border: rgba(15, 23, 42, 0.12);
    --border-strong: rgba(15, 23, 42, 0.22);
    --text: #0f1729;
    --muted: #5b6479;
    --muted-2: #97a0b3;
    --sky: #4338ca;
    --sky-bright: #4f46e5;
    --blue: #312e81;
    --cube: #6366f1;
    --accent-rgb: 79, 70, 229;
    --accent-bright-rgb: 99, 102, 241;
  }

  /* ── Theme 3: Modern Graphite (teal accent) ── */
  html[data-theme="3"] {
    --bg: #ffffff;
    --bg-2: #f4f4f5;
    --surface: rgba(24, 24, 27, 0.025);
    --surface-2: rgba(24, 24, 27, 0.045);
    --border: rgba(24, 24, 27, 0.1);
    --border-strong: rgba(24, 24, 27, 0.2);
    --text: #18181b;
    --muted: #52525b;
    --muted-2: #a1a1aa;
    --sky: #0d9488;
    --sky-bright: #14b8a6;
    --blue: #134e4a;
    --cube: #2dd4bf;
    --accent-rgb: 20, 184, 166;
    --accent-bright-rgb: 45, 212, 191;
  }

  @property --p1 {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
  }
  @property --p2 {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
  }
  @property --p3 {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; overflow-x: hidden; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  ::selection { background: rgba(var(--accent-bright-rgb), 0.28); }

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

  .wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

  /* ── Background field ── */
  .bg-field {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
      radial-gradient(900px 600px at 78% -8%, rgba(var(--accent-rgb), 0.08), transparent 60%),
      radial-gradient(700px 500px at 6% 12%, rgba(31, 116, 181, 0.06), transparent 58%),
      linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 55%, var(--bg) 100%);
  }
  .bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
      linear-gradient(rgba(31, 116, 181, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(31, 116, 181, 0.05) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(900px 700px at 50% 0%, #000 35%, transparent 78%);
    -webkit-mask-image: radial-gradient(900px 700px at 50% 0%, #000 35%, transparent 78%);
  }

  main { position: relative; z-index: 1; }

  /* ── Header ── */
  header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.65);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, background 0.3s;
    animation: fadeInDown 0.8s ease-out;
  }
  header.scrolled {
    border-bottom-color: var(--border);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 8px 32px rgba(var(--accent-rgb), 0.08);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 11px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .brand:hover {
    transform: scale(1.05);
  }
  .brand img {
    width: 38px;
    height: 38px;
    display: block;
    transition: transform 0.3s ease;
    animation: float 3s ease-in-out infinite;
  }
  .brand:hover img {
    transform: rotate(8deg) scale(1.1);
    filter: drop-shadow(0 0 12px rgba(var(--accent-bright-rgb), 0.6));
  }
  .brand .name {
    font-family: var(--display);
    font-weight: 600;
    font-size: 21px;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, var(--text) 0%, var(--sky-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: background 0.3s;
  }
  .brand .name:hover {
    background: linear-gradient(45deg, var(--sky-bright) 0%, var(--sky) 50%, var(--text) 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }
  .brand .name b {
    color: var(--sky-bright);
    font-weight: 600;
  }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
  }
  .nav-links a {
    font-size: 15px;
    color: var(--muted);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
  }
  .nav-links a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--sky-bright), var(--sky));
    transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .nav-links a:hover::after {
    width: 100%;
  }
  .nav-links a:hover {
    color: var(--sky-bright);
    transform: translateY(-2px);
  }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--body);
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    border-radius: 11px;
    padding: 12px 22px;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
  }

  .btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
  }

  .btn:hover::before {
    transform: translateX(100%);
  }

  .btn-primary {
    background: linear-gradient(135deg, var(--sky) 0%, var(--blue) 50%, var(--blue) 100%);
    color: #fff;
    box-shadow: 0 8px 26px -10px rgba(var(--accent-rgb), 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
  }

  .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 42px -8px rgba(var(--accent-rgb), 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    background-position: 100% 0%;
  }

  .btn-primary:active {
    transform: translateY(-1px);
  }

  .btn-ghost {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(var(--accent-rgb), 0.04));
    color: var(--text);
    border: 1.5px solid var(--border);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .btn-ghost:hover {
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.15), rgba(var(--accent-bright-rgb), 0.08));
    border-color: var(--sky-bright);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px -8px rgba(var(--accent-rgb), 0.3);
    color: var(--sky-bright);
  }

  .btn .arrow {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
  }

  .btn:hover .arrow {
    transform: translateX(6px);
  }

  .nav .btn {
    padding: 10px 18px;
  }

  /* ── Hero ── */
  .hero {
    min-height: 720px;
    padding: 96px 0 112px;
    position: relative;
    animation: fadeInUp 1s ease-out;
    overflow: hidden;
    display: flex;
    align-items: center;
  }
  .hero-title-with-logo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-bottom: 16px;
  }
  .hero-logo {
    width: 64px;
    height: 64px;
    display: block;
    border-radius: 14px;
    animation: orbit-pulse 1.2s cubic-bezier(0.34, 1.56, 0.64, 1), float 4s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(var(--accent-rgb), 0.3);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .hero-title-with-logo:hover .hero-logo {
    transform: scale(1.1) rotateZ(-8deg);
    box-shadow: 0 16px 48px rgba(var(--accent-bright-rgb), 0.5), 0 0 32px rgba(var(--accent-rgb), 0.4);
  }
  .hero-glow {
    position: absolute;
    width: 520px;
    height: 520px;
    right: -60px;
    top: -40px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.22), transparent 65%);
    filter: blur(20px);
    z-index: -1;
    pointer-events: none;
    animation: float 6s ease-in-out infinite, pulse-border 3s ease-in-out infinite;
  }
  .eyebrow {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    gap: 10px;
    font-family: var(--display);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sky-bright);
    padding: 8px 15px;
    border: 1px solid var(--border-strong);
    border-radius: 100px;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.15), rgba(var(--accent-bright-rgb), 0.05));
    animation: aurora-wave 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) both, wave 2.5s ease-in-out 0.8s infinite;
    transition: all 0.3s ease;
  }
  .eyebrow:hover {
    transform: translateY(-4px);
    border-color: var(--sky-bright);
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.25), rgba(var(--accent-bright-rgb), 0.1));
    box-shadow: 0 8px 20px -6px rgba(var(--accent-bright-rgb), 0.4);
  }
  .eyebrow-text {
    min-width: 0;
    overflow-wrap: break-word;
  }
  .eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sky-bright);
    box-shadow: 0 0 12px 2px rgba(var(--accent-bright-rgb), 0.8);
    animation: glow-pulse 2s ease-in-out infinite, orbit-pulse 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  h1.hero-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(40px, 6.4vw, 76px);
    line-height: 1.03;
    letter-spacing: -0.025em;
    margin: 26px 0 0;
    max-width: 15ch;
    text-wrap: balance;
    animation: liquid-flow 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both, glitch-shimmer 0.9s ease-out 0.3s both;
    background: linear-gradient(135deg, var(--text), var(--sky-bright));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  h1.hero-title .grad {
    background: linear-gradient(100deg, var(--sky-bright) 0%, var(--sky) 45%, var(--blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: gradient-shift 4s ease infinite, rainbow-glow 4s ease-in-out infinite;
  }
  .hero-sub {
    margin-top: 26px;
    font-size: 19px;
    color: var(--muted);
    max-width: 58ch;
    line-height: 1.62;
    animation: code-rain 1s cubic-bezier(0.2, 0.7, 0.3, 1) 0.5s both;
  }
  .hero-cta {
    display: flex;
    gap: 14px;
    margin-top: 38px;
    flex-wrap: wrap;
    animation: crystal-bounce 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.65s both;
  }
  .hero-meta {
    display: flex;
    gap: 38px;
    margin-top: 56px;
    flex-wrap: wrap;
    animation: tech-unfold 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s both;
  }
  .hero-meta .stat {
    transition: all 0.3s ease;
    animation: data-flow 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  }

  .hero-meta .stat:nth-child(1) { animation-delay: 0.9s; }
  .hero-meta .stat:nth-child(3) { animation-delay: 1s; }
  .hero-meta .stat:nth-child(5) { animation-delay: 1.1s; }
  .hero-meta .stat:nth-child(7) { animation-delay: 1.2s; }

  .hero-meta .stat:hover {
    transform: translateY(-12px) scale(1.05);
  }
  .hero-meta .stat .num {
    font-family: var(--display);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    background: linear-gradient(135deg, var(--text), var(--sky-bright));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
  }
  .hero-meta .stat .num span {
    color: var(--sky-bright);
  }
  .hero-meta .stat .lbl {
    font-size: 14px;
    color: var(--muted-2);
    margin-top: 2px;
    transition: color 0.3s ease;
  }
  .hero-meta .stat:hover .lbl {
    color: var(--muted);
  }
  .hero-meta .divider {
    width: 1px;
    background: linear-gradient(180deg, var(--border) 0%, transparent 100%);
    align-self: stretch;
    animation: stagger-fade 0.8s ease-out 1s both;
  }

  /* Hero video background */
  .hero { position: relative; }
  .hero .wrap { position: relative; z-index: 2; }
  .hero-video {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    border-radius: 0;
  }
  .hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.92;
    filter: brightness(1.04) saturate(1.05) contrast(1.02);
    transform: scale(1.02);
  }
  .hero-video::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.74) 40%, rgba(255,255,255,0.28) 100%),
      linear-gradient(180deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.78) 100%);
    pointer-events: none;
  }

  /* ── Theme 2 & 3: dramatic dark hero banner ──
     Overrides the light photo-wash with a deep tinted wash, then
     re-points --text/--muted/--border to light values scoped to
     .hero so every child component (title, subtext, ghost button,
     eyebrow badge) automatically flips to dark-mode contrast. */
  html[data-theme="2"] .hero,
  html[data-theme="3"] .hero {
    background: #0a0a1a;
  }
  html[data-theme="3"] .hero {
    background: #0a0f0e;
  }
  html[data-theme="2"] .hero .wrap,
  html[data-theme="3"] .hero .wrap {
    --text: #f2f3fc;
    --muted: #c6cbee;
    --muted-2: #9aa0d4;
    --border: rgba(255, 255, 255, 0.18);
    --border-strong: rgba(255, 255, 255, 0.3);
    --surface: rgba(255, 255, 255, 0.05);
    --surface-2: rgba(255, 255, 255, 0.09);
  }
  html[data-theme="2"] .hero-video::after {
    background:
      radial-gradient(1100px 650px at 88% -12%, rgba(var(--accent-rgb), 0.4), transparent 62%),
      radial-gradient(900px 600px at -6% 100%, rgba(var(--accent-bright-rgb), 0.22), transparent 60%),
      linear-gradient(90deg, rgba(6, 6, 22, 0.95) 0%, rgba(10, 9, 34, 0.82) 45%, rgba(20, 16, 60, 0.42) 100%),
      linear-gradient(180deg, rgba(5, 5, 16, 0.55) 0%, rgba(8, 8, 26, 0.88) 100%);
  }
  html[data-theme="3"] .hero-video::after {
    background:
      radial-gradient(1100px 650px at 88% -12%, rgba(var(--accent-rgb), 0.35), transparent 62%),
      radial-gradient(900px 600px at -6% 100%, rgba(var(--accent-bright-rgb), 0.18), transparent 60%),
      linear-gradient(90deg, rgba(6, 10, 10, 0.95) 0%, rgba(9, 14, 13, 0.82) 45%, rgba(14, 26, 24, 0.42) 100%),
      linear-gradient(180deg, rgba(5, 8, 8, 0.55) 0%, rgba(7, 12, 11, 0.88) 100%);
  }

  /* ── Section scaffolding ── */
  section.block {
    padding: 96px 0;
    position: relative;
    animation: fadeInUp 1s ease-out;
  }
  section.block:nth-of-type(2) {
    animation: slide-down 1s cubic-bezier(0.2, 0.7, 0.3, 1);
  }
  section.block:nth-of-type(3) {
    animation: zoom-in 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  section.block:nth-of-type(4) {
    animation: flip-in 1s cubic-bezier(0.2, 0.7, 0.3, 1);
  }
  section.block:nth-of-type(5) {
    animation: elastic 1s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .sec-head {
    max-width: 640px;
    margin-bottom: 56px;
  }
  .sec-tag {
    font-family: var(--display);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--sky), var(--sky-bright));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    margin-bottom: 16px;
    animation: fadeInLeft 0.8s ease-out, wave 2.5s ease-in-out 0.8s infinite;
  }
  .sec-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(30px, 3.8vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.022em;
    text-wrap: balance;
    background: linear-gradient(135deg, var(--text) 0%, var(--sky-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: fadeInUp 0.8s ease-out 0.1s both, rainbow-glow 4s ease-in-out infinite 0.1s;
  }
  .sec-desc {
    margin-top: 18px;
    font-size: 18px;
    color: var(--muted);
    max-width: 54ch;
    animation: fadeInUp 0.8s ease-out 0.2s both;
  }

  /* ── Services ── */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .svc-card {
    position: relative;
    padding: 34px 32px 32px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.06), rgba(31, 116, 181, 0.04));
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
  }

  .svc-card:nth-child(1) { animation: zoom-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both; }
  .svc-card:nth-child(2) { animation: flip-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both; }
  .svc-card:nth-child(3) { animation: blur-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both; }
  .svc-card:nth-child(4) { animation: elastic 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both; }

  .svc-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(420px 220px at var(--mx, 80%) -10%, rgba(var(--accent-rgb), 0.2), transparent 65%);
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
  }

  .svc-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--accent-bright-rgb), 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    border-radius: 18px;
  }

  .svc-card:hover {
    transform: translateY(-8px) rotateY(2deg);
    border-color: var(--sky-bright);
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.12), rgba(31, 116, 181, 0.08));
    box-shadow: 0 20px 40px -10px rgba(var(--accent-rgb), 0.3), inset 0 0 20px rgba(var(--accent-rgb), 0.08);
  }

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

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

  .svc-icon {
    width: 54px;
    height: 54px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.25), rgba(31, 116, 181, 0.12));
    border: 1px solid var(--border-strong);
    margin-bottom: 22px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: spin-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .svc-card:hover .svc-icon {
    transform: rotate(12deg) scale(1.1) translateZ(0);
    box-shadow: 0 8px 20px -4px rgba(var(--accent-bright-rgb), 0.4);
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.4), rgba(31, 116, 181, 0.2));
    animation: spin-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .svc-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--sky-bright);
    fill: none;
    stroke-width: 1.7;
    transition: all 0.3s ease;
    animation: pulse-border 2s ease-in-out infinite;
  }

  .svc-card:hover .svc-icon svg {
    filter: drop-shadow(0 0 8px rgba(var(--accent-bright-rgb), 0.6));
    animation: rainbow-glow 3s ease-in-out infinite;
  }

  .svc-num {
    position: absolute;
    top: 30px;
    right: 32px;
    font-family: var(--display);
    font-size: 14px;
    font-weight: 500;
    color: var(--muted-2);
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    animation: wave 2.5s ease-in-out infinite;
  }

  .svc-card:hover .svc-num {
    color: var(--sky-bright);
    transform: translateX(4px);
    animation: wave 1s ease-in-out infinite;
  }

  .svc-card h3 {
    font-family: var(--display);
    font-weight: 600;
    font-size: 23px;
    letter-spacing: -0.015em;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--text), var(--sky-bright));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
    animation: slide-in 0.8s ease-out;
  }

  .svc-card:hover h3 {
    background: linear-gradient(45deg, var(--sky-bright), var(--sky), var(--text));
    -webkit-background-clip: text;
    background-clip: text;
  }

  .svc-card p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
    transition: color 0.3s ease;
    animation: fade-in 0.8s ease-out 0.2s both;
  }

  .svc-card:hover p {
    color: var(--text);
  }

  .svc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
  }

  .svc-tags span {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--muted);
    padding: 5px 11px;
    border-radius: 7px;
    background: linear-gradient(135deg, rgba(var(--accent-bright-rgb), 0.08), rgba(var(--accent-rgb), 0.04));
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: bounce-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  }

  .svc-tags span:nth-child(1) { animation-delay: 0.3s; }
  .svc-tags span:nth-child(2) { animation-delay: 0.4s; }
  .svc-tags span:nth-child(3) { animation-delay: 0.5s; }

  .svc-card:hover .svc-tags span {
    background: linear-gradient(135deg, rgba(var(--accent-bright-rgb), 0.15), rgba(var(--accent-rgb), 0.08));
    border-color: var(--sky-bright);
    color: var(--sky-bright);
    transform: translateY(-2px);
  }

  /* ── Industries ── */
  .industries-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
  }
  .industry-card {
    position: relative;
    min-height: 380px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #0b1528;
    isolation: isolate;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1), border-color 0.35s, box-shadow 0.35s, filter 0.35s;
  }
  .industry-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--industry-img);
    background-size: cover;
    background-position: center;
    opacity: 0.52;
    transform: scale(1.04);
    transition: transform 0.45s ease, opacity 0.45s ease;
    z-index: -2;
  }
  .industry-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(6, 13, 26, 0.1) 0%, rgba(6, 13, 26, 0.78) 55%, rgba(6, 13, 26, 0.96) 100%),
      linear-gradient(135deg, rgba(var(--accent-rgb), 0.18), transparent 55%);
    z-index: -1;
  }
  .industry-card .scanline {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(var(--accent-bright-rgb), 0.14), transparent);
    transform: translateY(-100%);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .industry-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--accent-bright-rgb), 0.72);
    box-shadow: 0 24px 52px -18px rgba(var(--accent-rgb), 0.46);
  }
  .industry-card.is-active {
    border-color: var(--sky-bright);
    box-shadow: 0 26px 60px -16px rgba(var(--accent-bright-rgb), 0.58);
    filter: saturate(1.14);
  }
  .industry-card:hover .scanline,
  .industry-card.is-active .scanline {
    opacity: 1;
    animation: industry-scan 2.8s linear infinite;
  }
  .industry-card:hover::before {
    opacity: 0.7;
    transform: scale(1.1);
  }
  .industry-card .industry-content {
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
  }
  .industry-card .industry-kicker {
    width: fit-content;
    font-family: var(--display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--sky-bright);
    padding: 5px 10px;
    border-radius: 100px;
    border: 1px solid rgba(var(--accent-bright-rgb), 0.34);
    background: rgba(6, 13, 26, 0.55);
    margin-bottom: 16px;
  }
  .industry-card h3 {
    font-family: var(--display);
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -0.015em;
    margin-bottom: 10px;
  }
  .industry-card p {
    color: #b8c7dc;
    font-size: 15px;
    line-height: 1.55;
  }
  .industry-card .industry-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
  }
  .industry-card .industry-metrics span {
    font-size: 12px;
    color: #d9ecff;
    border: 1px solid rgba(var(--accent-bright-rgb), 0.24);
    background: rgba(6, 13, 26, 0.52);
    border-radius: 100px;
    padding: 5px 9px;
  }
  .industry-card .learn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: 20px;
    border: 0;
    background: transparent;
    font-family: var(--body);
    font-size: 14px;
    font-weight: 700;
    color: var(--sky-bright);
    cursor: pointer;
    padding: 0;
  }
  .industry-showcase {
    margin-top: 26px;
    border: 1px solid var(--border-strong);
    border-radius: 22px;
    background:
      linear-gradient(135deg, rgba(var(--accent-rgb), 0.14), rgba(6, 13, 26, 0.68)),
      radial-gradient(420px 220px at 88% 8%, rgba(51, 211, 166, 0.14), transparent 65%);
    overflow: hidden;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    min-height: 300px;
    box-shadow: 0 24px 64px -36px rgba(var(--accent-bright-rgb), 0.65);
  }
  .industry-visual {
    position: relative;
    min-height: 300px;
    background-image: var(--detail-img);
    background-size: cover;
    background-position: center;
  }
  .industry-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(6, 13, 26, 0.08), rgba(6, 13, 26, 0.78)),
      linear-gradient(180deg, transparent, rgba(6, 13, 26, 0.68));
  }
  .industry-detail {
    padding: 34px;
    display: grid;
    align-content: center;
  }
  .industry-detail .detail-label {
    font-family: var(--display);
    color: var(--sky-bright);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 12px;
  }
  .industry-detail h3 {
    font-family: var(--display);
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
  }
  .industry-detail p {
    color: var(--muted);
    font-size: 16px;
    max-width: 62ch;
  }
  .industry-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
  }
  .industry-points span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text);
    font-size: 14px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--border);
  }
  .industry-points span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sky-bright);
    box-shadow: 0 0 12px rgba(var(--accent-bright-rgb), 0.9);
  }

  /* ── Insights / Budget ── */
  .analytics-panel {
    position: relative;
    border-radius: 22px;
    border: 1px solid var(--border-strong);
    background: linear-gradient(155deg, rgba(var(--accent-rgb), 0.12), rgba(255, 255, 255, 0.028));
    overflow: hidden;
    padding: 30px;
    min-height: 430px;
  }
  .analytics-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(420px 260px at 78% 10%, rgba(var(--accent-bright-rgb), 0.16), transparent 65%);
    pointer-events: none;
  }
  .panel-label {
    position: relative;
    font-family: var(--display);
    color: var(--sky-bright);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
  }
  .analytics-panel h3 {
    position: relative;
    font-family: var(--display);
    font-size: 28px;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
  }
  .analytics-panel p {
    position: relative;
    color: var(--muted);
    font-size: 15px;
  }
  .chart-stack {
    position: relative;
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 26px;
    align-items: center;
    margin-top: 34px;
  }
  .pie-chart {
    --p1: 0deg;
    --p2: 0deg;
    --p3: 0deg;
    width: 188px;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
      conic-gradient(from -90deg,
        #5cc0ff 0deg var(--p1),
        #33d3a6 var(--p1) var(--p2),
        #f2c94c var(--p2) var(--p3),
        rgba(15, 35, 65, 0.1) var(--p3) 360deg);
    display: grid;
    place-items: center;
    box-shadow: inset 0 0 34px rgba(15, 35, 65, 0.15), 0 22px 48px -22px rgba(var(--accent-bright-rgb), 0.62);
    transition: --p1 1.2s ease, --p2 1.2s ease, --p3 1.2s ease;
  }
  .pie-chart::after {
    content: "60%";
    width: 92px;
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--display);
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border-strong);
  }
  .has-anim .pie-chart.in-view,
  .pie-chart.in-view {
    --p1: 216deg;
    --p2: 306deg;
    --p3: 342deg;
  }
  .chart-legend {
    display: grid;
    gap: 13px;
  }
  .legend-row {
    display: grid;
    grid-template-columns: 12px 1fr auto;
    gap: 10px;
    align-items: center;
    color: var(--muted);
    font-size: 14px;
  }
  .legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--dot);
    box-shadow: 0 0 14px var(--dot);
  }
  .bar-chart {
    position: relative;
    display: grid;
    gap: 16px;
    margin-top: 30px;
  }
  .bar-row {
    display: grid;
    grid-template-columns: 92px 1fr 46px;
    gap: 12px;
    align-items: center;
    font-size: 13px;
    color: var(--muted);
  }
  .bar-track {
    height: 12px;
    border-radius: 100px;
    background: rgba(15, 35, 65, 0.08);
    overflow: hidden;
  }
  .bar-fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--sky-bright), #33d3a6);
    box-shadow: 0 0 18px rgba(var(--accent-bright-rgb), 0.58);
    transition: width 1.1s cubic-bezier(0.2, 0.7, 0.3, 1);
  }
  .bar-chart.in-view .bar-fill {
    width: var(--w);
  }
  /* ── Business impact (full-width) ── */
  .impact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 34px;
  }
  .impact-grid .chart-stack,
  .impact-grid .bar-chart {
    margin-top: 0;
  }

  /* ── Engagement models ── */
  .engage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 34px;
  }
  .engage-card {
    padding: 22px 20px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(15, 35, 65, 0.03);
    transition: border-color 0.3s, transform 0.3s, background 0.3s;
  }
  .engage-card:hover {
    transform: translateY(-4px);
    border-color: var(--sky-bright);
    background: rgba(var(--accent-rgb), 0.08);
  }
  .engage-card .idx {
    display: block;
    font-family: var(--display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--sky-bright);
    margin-bottom: 10px;
  }
  .engage-card h4 {
    font-family: var(--display);
    font-size: 17px;
    margin-bottom: 6px;
  }
  .engage-card p {
    font-size: 14px;
    color: var(--muted);
  }

  /* ── Why choose us ── */
  .why-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
  }
  .why-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .why-item {
    display: flex;
    gap: 18px;
    padding: 22px 22px;
    border-radius: 14px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.04), transparent);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: slide-in 0.8s ease-out backwards;
  }

  .why-item:nth-child(1) { animation: slide-in 0.8s ease-out 0.1s both; }
  .why-item:nth-child(2) { animation: blur-in 0.8s ease-out 0.2s both; }
  .why-item:nth-child(3) { animation: zoom-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both; }
  .why-item:nth-child(4) { animation: elastic 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both; }

  .why-item:hover {
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.12), rgba(var(--accent-bright-rgb), 0.04));
    border-color: var(--sky-bright);
    transform: translateX(8px);
    box-shadow: 0 8px 24px -6px rgba(var(--accent-rgb), 0.2);
  }
  .why-item .ck {
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.2), rgba(31, 116, 181, 0.1));
    border: 1px solid var(--border-strong);
    transition: all 0.3s ease;
    animation: spin-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .why-item:hover .ck {
    transform: scale(1.15) rotate(12deg);
    box-shadow: 0 8px 16px -4px rgba(var(--accent-bright-rgb), 0.5);
    animation: spin-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .why-item .ck svg {
    width: 19px;
    height: 19px;
    stroke: var(--sky-bright);
    fill: none;
    stroke-width: 2.2;
    transition: all 0.3s ease;
    animation: pulse-border 2s ease-in-out infinite;
  }

  .why-item:hover .ck svg {
    filter: drop-shadow(0 0 6px rgba(var(--accent-bright-rgb), 0.7));
    animation: rainbow-glow 3s ease-in-out infinite;
  }

  .why-item h4 {
    font-family: var(--display);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 4px;
    transition: color 0.3s ease;
    animation: fadeInLeft 0.8s ease-out;
  }

  .why-item:hover h4 {
    color: var(--sky-bright);
  }

  .why-item p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
    transition: color 0.3s ease;
    animation: fadeInLeft 0.8s ease-out 0.1s both;
  }

  .why-item:hover p {
    color: var(--text);
  }

  .why-panel {
    position: relative;
    border-radius: 22px;
    padding: 40px 36px;
    background: linear-gradient(165deg, rgba(31, 116, 181, 0.16), rgba(255, 255, 255, 0.6));
    border: 1px solid var(--border-strong);
    overflow: hidden;
    animation: flip-in 0.9s cubic-bezier(0.2, 0.7, 0.3, 1);
    transition: all 0.4s ease;
  }

  .why-panel:hover {
    transform: translateY(-6px);
    border-color: var(--sky-bright);
    box-shadow: 0 16px 48px -10px rgba(var(--accent-rgb), 0.3);
  }

  .why-panel .panel-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    right: -80px;
    bottom: -100px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.3), transparent 65%);
    filter: blur(10px);
    animation: morph 6s ease-in-out infinite;
  }
  .why-panel .pq {
    font-family: var(--display);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.01em;
    position: relative;
    animation: blur-in 0.8s ease-out;
  }
  .why-panel .pq span {
    color: var(--sky-bright);
    text-shadow: 0 0 20px rgba(var(--accent-bright-rgb), 0.3);
    animation: rainbow-glow 4s ease-in-out infinite;
  }
  .why-panel .panel-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 36px;
    position: relative;
  }
  .why-panel .panel-stats .num {
    font-family: var(--display);
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--sky-bright) 0%, var(--sky) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: bounce-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  }

  .why-panel .panel-stats div:nth-child(1) .num { animation-delay: 0.2s; }
  .why-panel .panel-stats div:nth-child(2) .num { animation-delay: 0.3s; }
  .why-panel .panel-stats div:nth-child(3) .num { animation-delay: 0.4s; }
  .why-panel .panel-stats div:nth-child(4) .num { animation-delay: 0.5s; }

  .why-panel .panel-stats .lbl {
    font-size: 13.5px;
    color: var(--muted);
    margin-top: 2px;
    transition: color 0.3s ease;
    animation: fadeInUp 0.8s ease-out backwards;
  }

  .why-panel .panel-stats div:nth-child(1) .lbl { animation-delay: 0.25s; }
  .why-panel .panel-stats div:nth-child(2) .lbl { animation-delay: 0.35s; }
  .why-panel .panel-stats div:nth-child(3) .lbl { animation-delay: 0.45s; }
  .why-panel .panel-stats div:nth-child(4) .lbl { animation-delay: 0.55s; }

  /* ── Process ── */
  .process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .step {
    position: relative;
    padding: 30px 26px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.06), rgba(31, 116, 181, 0.03));
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: fadeInUp 0.8s ease-out backwards;
    overflow: hidden;
  }

  .step:nth-child(1) { animation: flip-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both; }
  .step:nth-child(2) { animation: blur-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both; }
  .step:nth-child(3) { animation: zoom-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both; }
  .step:nth-child(4) { animation: elastic 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both; }

  .step::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(var(--accent-bright-rgb), 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .step:hover {
    transform: translateY(-8px) rotateX(2deg);
    border-color: var(--sky-bright);
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.12), rgba(31, 116, 181, 0.06));
    box-shadow: 0 16px 40px -10px rgba(var(--accent-rgb), 0.25), inset 0 0 20px rgba(var(--accent-rgb), 0.06);
  }

  .step:hover::before {
    opacity: 1;
    animation: pulse-border 2s ease-in-out infinite;
  }

  .step .sn {
    font-family: var(--display);
    font-size: 14px;
    font-weight: 600;
    color: var(--sky-bright);
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    animation: wave 2.5s ease-in-out infinite;
  }

  .step:hover .sn {
    text-shadow: 0 0 12px rgba(var(--accent-bright-rgb), 0.5);
    animation: wave 1s ease-in-out infinite;
  }

  .step .line {
    height: 1px;
    background: linear-gradient(90deg, var(--border), transparent);
    margin: 16px 0 18px;
    position: relative;
    transition: all 0.3s ease;
    animation: sweep 0.8s ease-out;
  }

  .step:hover .line {
    background: linear-gradient(90deg, var(--sky-bright), transparent);
  }

  .step .line::after {
    content: "";
    position: absolute;
    left: 0;
    top: -3px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sky-bright);
    box-shadow: 0 0 10px 1px rgba(var(--accent-bright-rgb), 0.7);
    animation: glow-pulse 2s ease-in-out infinite;
  }

  .step h4 {
    font-family: var(--display);
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 9px;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, var(--text), var(--sky-bright));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
    animation: fade-in 0.8s ease-out;
  }

  .step:hover h4 {
    background: linear-gradient(45deg, var(--sky-bright), var(--sky), var(--text));
    -webkit-background-clip: text;
    background-clip: text;
    animation: rainbow-glow 3s ease-in-out infinite;
  }

  .step p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
    transition: color 0.3s ease;
    animation: fadeInUp 0.8s ease-out 0.1s both;
  }

  .step:hover p {
    color: var(--text);
  }

  /* ── Pricing ── */
  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
  }

  .pricing-card {
    position: relative;
    border-radius: 22px;
    padding: 48px 36px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(238, 243, 249, 0.7));
    border: 1.5px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: fadeInUp 0.8s ease-out backwards;
    overflow: hidden;
  }

  .pricing-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(var(--accent-bright-rgb), 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .pricing-card:nth-child(1) { animation-delay: 0.1s; }
  .pricing-card:nth-child(2) { animation-delay: 0.2s; }
  .pricing-card:nth-child(3) { animation-delay: 0.3s; }

  .pricing-card.is-featured {
    background: linear-gradient(160deg, rgba(31, 116, 181, 0.25), rgba(255, 255, 255, 0.5));
    border-color: var(--sky-bright);
    transform: scale(1.04);
    box-shadow: 0 16px 48px -10px rgba(var(--accent-rgb), 0.35);
  }

  .pricing-card:not(.is-featured):hover {
    transform: translateY(-6px);
    border-color: var(--sky-bright);
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.08), rgba(238, 243, 249, 0.9));
    box-shadow: 0 12px 40px -8px rgba(var(--accent-rgb), 0.2);
  }

  .pricing-card:hover::before {
    opacity: 1;
    animation: pulse-border 2s ease-in-out infinite;
  }

  .pricing-card .pricing-badge {
    display: inline-block;
    align-self: flex-start;
    font-family: var(--display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--sky), var(--sky-bright));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 16px;
    animation: bounce-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .pricing-card.is-featured .pricing-badge {
    background: linear-gradient(135deg, var(--sky-bright), #0f8fe0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    box-shadow: 0 0 16px rgba(var(--accent-bright-rgb), 0.4);
    animation: glow-pulse 2s ease-in-out infinite;
  }

  .pricing-card .pricing-title {
    font-family: var(--display);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--text);
    margin-bottom: 12px;
    animation: blur-in 0.8s ease-out 0.1s both;
  }

  .pricing-card .pricing-price {
    font-family: var(--display);
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text) 0%, var(--sky-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 8px 0 4px 0;
    animation: fadeInUp 0.8s ease-out 0.2s both;
  }

  .pricing-card.is-featured .pricing-price {
    background: linear-gradient(135deg, var(--sky-bright) 0%, var(--sky) 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }

  .pricing-card .pricing-period {
    font-size: 15px;
    color: var(--muted-2);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
  }

  .pricing-card .pricing-desc {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 28px;
    flex-grow: 1;
    animation: blur-in 0.8s ease-out 0.25s both;
  }

  .pricing-card .pricing-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--body);
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    border-radius: 11px;
    padding: 14px 24px;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    animation: slide-in 0.6s ease-out 0.35s both;
  }

  .pricing-card .pricing-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
  }

  .pricing-card .pricing-cta:hover::before {
    transform: translateX(100%);
  }

  .pricing-card.is-featured .pricing-cta {
    background: linear-gradient(135deg, var(--sky) 0%, var(--blue) 50%, #1a5a8f 100%);
    color: #fff;
    box-shadow: 0 8px 26px -10px rgba(var(--accent-rgb), 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }

  .pricing-card.is-featured .pricing-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 42px -8px rgba(var(--accent-rgb), 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }

  .pricing-card:not(.is-featured) .pricing-cta {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(var(--accent-rgb), 0.04));
    color: var(--text);
    border: 1.5px solid var(--border);
  }

  .pricing-card:not(.is-featured) .pricing-cta:hover {
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.15), rgba(var(--accent-bright-rgb), 0.08));
    border-color: var(--sky-bright);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px -8px rgba(var(--accent-rgb), 0.3);
    color: var(--sky-bright);
  }

  .pricing-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
  }

  .pricing-features .feature {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 14.5px;
    color: var(--muted);
    animation: fadeInLeft 0.6s ease-out backwards;
    transition: all 0.3s ease;
  }

  .pricing-features .feature:nth-child(1) { animation-delay: 0.4s; }
  .pricing-features .feature:nth-child(2) { animation-delay: 0.45s; }
  .pricing-features .feature:nth-child(3) { animation-delay: 0.5s; }
  .pricing-features .feature:nth-child(4) { animation-delay: 0.55s; }
  .pricing-features .feature:nth-child(5) { animation-delay: 0.6s; }

  .pricing-features .feature:hover {
    color: var(--text);
    transform: translateX(4px);
  }

  .pricing-features .feature svg {
    width: 16px;
    height: 16px;
    stroke: var(--sky-bright);
    fill: none;
    stroke-width: 2.4;
    flex: none;
    margin-top: 2px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 3px rgba(var(--accent-bright-rgb), 0.3));
  }

  .pricing-features .feature:hover svg {
    filter: drop-shadow(0 0 6px rgba(var(--accent-bright-rgb), 0.6));
    transform: scale(1.15);
  }

  /* ── CTA / Contact ── */
  .cta-block {
    padding: 40px 0 110px;
  }
  .cta-card {
    position: relative;
    border-radius: 28px;
    padding: 64px 56px;
    background: linear-gradient(160deg, rgba(31, 116, 181, 0.22), rgba(255, 255, 255, 0.7));
    border: 1px solid var(--border-strong);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
    animation: elastic 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: all 0.4s ease;
  }

  .cta-card:hover {
    transform: translateY(-4px) rotateZ(1deg);
    border-color: var(--sky-bright);
    box-shadow: 0 24px 48px -12px rgba(var(--accent-rgb), 0.25);
  }

  .cta-card .glow-a {
    position: absolute;
    width: 420px;
    height: 420px;
    left: -120px;
    top: -160px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.3), transparent 62%);
    filter: blur(14px);
    pointer-events: none;
    animation: morph 8s ease-in-out infinite;
  }
  .cta-left h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.06;
    letter-spacing: -0.025em;
    text-wrap: balance;
    position: relative;
    background: linear-gradient(135deg, var(--text) 0%, var(--sky-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: fadeInUp 0.8s ease-out;
  }
  .cta-left p {
    color: var(--muted);
    font-size: 18px;
    margin-top: 18px;
    max-width: 40ch;
    position: relative;
    animation: blur-in 0.8s ease-out 0.1s both;
  }
  .cta-left .points {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-top: 26px;
    position: relative;
  }
  .cta-left .points div {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 15px;
    color: var(--text);
    animation: fadeInLeft 0.6s ease-out backwards;
    transition: all 0.3s ease;
  }

  .cta-left .points div:nth-child(1) { animation: slide-in 0.6s ease-out 0.2s both; }
  .cta-left .points div:nth-child(2) { animation: slide-in 0.6s ease-out 0.3s both; }
  .cta-left .points div:nth-child(3) { animation: slide-in 0.6s ease-out 0.4s both; }

  .cta-left .points div:hover {
    transform: translateX(6px);
    color: var(--sky-bright);
    animation: wave 1s ease-in-out;
  }

  .cta-left .points svg {
    width: 17px;
    height: 17px;
    stroke: var(--sky-bright);
    fill: none;
    stroke-width: 2.4;
    flex: none;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 4px rgba(var(--accent-bright-rgb), 0.3));
    animation: spin-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .cta-left .points div:hover svg {
    filter: drop-shadow(0 0 8px rgba(var(--accent-bright-rgb), 0.6));
    transform: scale(1.2) rotate(8deg);
    animation: rainbow-glow 2s ease-in-out infinite;
  }

  form.quote {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(238, 243, 249, 0.75));
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    backdrop-filter: blur(6px);
    animation: zoom-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: all 0.3s ease;
  }

  form.quote:hover {
    border-color: var(--sky-bright);
    box-shadow: 0 8px 32px -8px rgba(var(--accent-rgb), 0.25);
    transform: translateY(-2px);
  }

  form.quote .row {
    display: flex;
    gap: 12px;
  }
  form.quote .field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 7px;
    animation: fadeInUp 0.8s ease-out backwards;
  }

  form.quote .field:nth-child(1) { animation-delay: 0.2s; }
  form.quote .field:nth-child(2) { animation-delay: 0.3s; }

  form.quote label {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.01em;
    transition: color 0.3s ease;
  }
  form.quote input,
  form.quote select,
  form.quote textarea {
    font-family: var(--body);
    font-size: 15px;
    color: var(--text);
    background: linear-gradient(135deg, rgba(15, 35, 65, 0.035), rgba(var(--accent-rgb), 0.05));
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    outline: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 100%;
  }
  form.quote textarea {
    resize: vertical;
    min-height: 76px;
  }
  form.quote input::placeholder,
  form.quote textarea::placeholder {
    color: var(--muted-2);
  }
  form.quote input:focus,
  form.quote select:focus,
  form.quote textarea:focus {
    border-color: var(--sky-bright);
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.12), rgba(var(--accent-bright-rgb), 0.06));
    box-shadow: 0 0 24px -6px rgba(var(--accent-rgb), 0.3), inset 0 0 12px rgba(var(--accent-rgb), 0.08);
    transform: translateY(-2px);
    animation: pulse-border 2s ease-in-out infinite;
  }
  form.quote select {
    appearance: none;
    cursor: pointer;
  }
  form.quote .btn-primary {
    margin-top: 4px;
    justify-content: center;
    padding: 14px;
  }
  .form-note {
    font-size: 12.5px;
    color: var(--muted-2);
    text-align: center;
    transition: color 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
  }

  /* ── Footer ── */
  footer {
    border-top: 1px solid var(--border);
    padding: 56px 0 40px;
    position: relative;
    z-index: 1;
    animation: slide-down 1s ease-out;
  }
  .foot-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 44px;
    border-bottom: 1px solid var(--border);
  }
  .foot-brand .brand {
    margin-bottom: 18px;
    transition: all 0.3s ease;
    animation: flip-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .foot-brand .brand:hover {
    transform: scale(1.05) rotateZ(-2deg);
  }
  .foot-brand p {
    color: var(--muted);
    font-size: 15px;
    max-width: 34ch;
    line-height: 1.6;
    transition: color 0.3s ease;
    animation: fade-in 0.8s ease-out 0.1s both;
  }
  .foot-brand:hover p {
    color: var(--text);
  }
  .foot-col h5 {
    font-family: var(--display);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: linear-gradient(135deg, var(--sky), var(--sky-bright));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 18px;
    animation: fadeInUp 0.8s ease-out;
  }
  .foot-col a {
    display: block;
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 12px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    padding-left: 0;
    animation: slide-in 0.6s ease-out backwards;
  }

  .foot-col:nth-child(2) a:nth-child(n+2) { animation-delay: 0.1s; }
  .foot-col:nth-child(2) a:nth-child(n+3) { animation-delay: 0.15s; }
  .foot-col:nth-child(2) a:nth-child(n+4) { animation-delay: 0.2s; }

  .foot-col a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--sky-bright), var(--sky));
    transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .foot-col a:hover {
    color: var(--sky-bright);
    transform: translateX(4px);
  }

  .foot-col a:hover::before {
    width: 100%;
  }

  .foot-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    flex-wrap: wrap;
    gap: 14px;
  }
  .foot-bottom p {
    color: var(--muted-2);
    font-size: 14px;
    transition: color 0.3s ease;
    animation: fade-in 0.8s ease-out;
  }
  .foot-bottom p:hover {
    color: var(--muted);
  }
  .foot-social {
    display: flex;
    gap: 10px;
    animation: fadeInUp 0.8s ease-out;
  }
  .foot-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1), rgba(31, 116, 181, 0.05));
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: spin-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  }

  .foot-social a:nth-child(1) { animation-delay: 0.1s; }
  .foot-social a:nth-child(2) { animation-delay: 0.15s; }
  .foot-social a:nth-child(3) { animation-delay: 0.2s; }

  .foot-social a:hover {
    border-color: var(--sky-bright);
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent-bright-rgb), 0.1));
    transform: translateY(-6px) scale(1.15) rotateY(10deg);
    box-shadow: 0 12px 28px -6px rgba(var(--accent-rgb), 0.4);
    animation: rainbow-glow 2s ease-in-out infinite;
  }
  .foot-social svg {
    width: 18px;
    height: 18px;
    fill: var(--muted);
    transition: all 0.3s ease;
  }
  .foot-social a:hover svg {
    fill: var(--sky-bright);
    filter: drop-shadow(0 0 6px rgba(var(--accent-bright-rgb), 0.5));
    transform: scale(1.2) rotate(8deg);
  }

  /* ── Advanced Animations ── */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(32px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fade-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-32px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeInLeft {
    from {
      opacity: 0;
      transform: translateX(-32px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes fadeInRight {
    from {
      opacity: 0;
      transform: translateX(32px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes scaleIn {
    from {
      opacity: 0;
      transform: scale(0.88);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  @keyframes rotateIn {
    from {
      opacity: 0;
      transform: rotate(-8deg) scale(0.92);
    }
    to {
      opacity: 1;
      transform: rotate(0) scale(1);
    }
  }

  @keyframes shimmer {
    0% {
      background-position: -1000px 0;
    }
    100% {
      background-position: 1000px 0;
    }
  }

  @keyframes glow-pulse {
    0%, 100% {
      filter: drop-shadow(0 0 8px rgba(var(--accent-bright-rgb), 0.4));
    }
    50% {
      filter: drop-shadow(0 0 16px rgba(var(--accent-bright-rgb), 0.8));
    }
  }

  @keyframes float {
    0%, 100% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-16px);
    }
  }

  @keyframes slide-in {
    from {
      transform: translateX(-100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }

  @keyframes gradient-shift {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

  @keyframes bounce-in {
    0% {
      opacity: 0;
      transform: translateY(32px) scale(0.92);
    }
    50% {
      transform: scale(1.02);
    }
    100% {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  @keyframes sweep {
    from {
      clip-path: inset(0 100% 0 0);
    }
    to {
      clip-path: inset(0 0 0 0);
    }
  }

  @keyframes pulse-border {
    0%, 100% {
      border-color: var(--border);
      box-shadow: 0 0 0 0 rgba(var(--accent-bright-rgb), 0);
    }
    50% {
      border-color: var(--sky-bright);
      box-shadow: 0 0 0 8px rgba(var(--accent-bright-rgb), 0);
    }
  }

  @keyframes zoom-in {
    from {
      opacity: 0;
      transform: scale(0.7) rotateZ(-5deg);
    }
    to {
      opacity: 1;
      transform: scale(1) rotateZ(0deg);
    }
  }

  @keyframes flip-in {
    from {
      opacity: 0;
      transform: perspective(400px) rotateY(90deg);
    }
    to {
      opacity: 1;
      transform: perspective(400px) rotateY(0deg);
    }
  }

  @keyframes wave {
    0%, 100% {
      transform: translateY(0);
    }
    25% {
      transform: translateY(-10px);
    }
    50% {
      transform: translateY(0);
    }
    75% {
      transform: translateY(-5px);
    }
  }

  @keyframes spin-in {
    from {
      opacity: 0;
      transform: rotate(-180deg) scale(0.8);
    }
    to {
      opacity: 1;
      transform: rotate(0) scale(1);
    }
  }

  @keyframes blur-in {
    from {
      opacity: 0;
      filter: blur(10px);
    }
    to {
      opacity: 1;
      filter: blur(0);
    }
  }

  @keyframes slide-down {
    from {
      opacity: 0;
      transform: translateY(-100%);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes elastic {
    0% {
      opacity: 0;
      transform: scale(0) translateY(40px);
    }
    50% {
      opacity: 1;
      transform: scale(1.1);
    }
    100% {
      opacity: 1;
      transform: scale(1) translateY(0);
    }
  }

  @keyframes rainbow-glow {
    0% {
      filter: drop-shadow(0 0 8px rgba(var(--accent-rgb), 0.6));
    }
    25% {
      filter: drop-shadow(0 0 12px rgba(var(--accent-bright-rgb), 0.8));
    }
    50% {
      filter: drop-shadow(0 0 16px rgba(var(--accent-rgb), 0.7));
    }
    75% {
      filter: drop-shadow(0 0 12px rgba(var(--accent-bright-rgb), 0.8));
    }
    100% {
      filter: drop-shadow(0 0 8px rgba(var(--accent-rgb), 0.6));
    }
  }

  @keyframes morph {
    0%, 100% {
      border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
      border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
  }

  /* ── Unique Hero Animations ── */
  @keyframes liquid-flow {
    0% {
      opacity: 0;
      transform: translateY(20px) skewY(-2deg);
      letter-spacing: 0.1em;
    }
    50% {
      letter-spacing: -0.025em;
    }
    100% {
      opacity: 1;
      transform: translateY(0) skewY(0);
      letter-spacing: -0.025em;
    }
  }

  @keyframes glitch-shimmer {
    0% {
      opacity: 0;
      text-shadow: 3px 0 0 rgba(var(--accent-bright-rgb), 0.5), -3px 0 0 rgba(var(--accent-rgb), 0.5);
      transform: translateX(-4px);
    }
    50% {
      text-shadow: -3px 0 0 rgba(var(--accent-bright-rgb), 0.3), 3px 0 0 rgba(var(--accent-rgb), 0.3);
      transform: translateX(2px);
    }
    100% {
      opacity: 1;
      text-shadow: 0 0 0 transparent;
      transform: translateX(0);
    }
  }

  @keyframes orbit-pulse {
    0% {
      opacity: 0;
      transform: scale(0.6) rotateY(45deg);
    }
    50% {
      transform: scale(1.08) rotateY(-5deg);
    }
    100% {
      opacity: 1;
      transform: scale(1) rotateY(0);
    }
  }

  @keyframes crystal-bounce {
    0% {
      opacity: 0;
      transform: translateY(30px) scale(0.8) rotateZ(-8deg);
      filter: blur(8px);
    }
    60% {
      transform: translateY(-8px) scale(1.05) rotateZ(2deg);
    }
    100% {
      opacity: 1;
      transform: translateY(0) scale(1) rotateZ(0);
      filter: blur(0);
    }
  }

  @keyframes aurora-wave {
    0% {
      opacity: 0;
      transform: translateX(-40px) skewX(10deg);
      background-position: 0% center;
    }
    50% {
      background-position: 100% center;
    }
    100% {
      opacity: 1;
      transform: translateX(0) skewX(0);
      background-position: 50% center;
    }
  }

  @keyframes code-rain {
    0% {
      opacity: 0;
      transform: translateY(-20px);
      clip-path: inset(0 0 100% 0);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
      clip-path: inset(0 0 0 0);
    }
  }

  @keyframes tech-unfold {
    0% {
      opacity: 0;
      transform: scale(0.5) perspective(800px) rotateX(90deg);
    }
    50% {
      transform: scale(1.02) perspective(800px) rotateX(-10deg);
    }
    100% {
      opacity: 1;
      transform: scale(1) perspective(800px) rotateX(0);
    }
  }

  @keyframes data-flow {
    0% {
      opacity: 0;
      transform: translateY(16px);
      background-size: 200% 100%;
      background-position: 100% 0;
    }
    100% {
      opacity: 1;
      transform: translateY(0);
      background-position: 0 0;
    }
  }

  @keyframes industry-scan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
  }

  @keyframes stagger-fade {
    0% {
      opacity: 0;
      transform: translateY(12px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ── Reveal animation (progressive enhancement) ──
     Base state is VISIBLE. Hiding only happens once JS adds .has-anim,
     so content can never get stuck invisible if JS/observer fails. */
  .has-anim .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.3, 1);
  }

  .has-anim .reveal.in {
    opacity: 1;
    transform: none;
  }

  @media (prefers-reduced-motion: reduce) {
    .has-anim .reveal,
    * {
      opacity: 1 !important;
      transform: none !important;
      animation: none !important;
      transition: none !important;
    }
    html {
      scroll-behavior: auto;
    }
  }

  /* ── Mobile Navigation ── */
  .nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: rgba(15,35,65,0.05);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    z-index: 60;
    transition: all 0.3s ease;
    flex-shrink: 0;
  }
  .nav-toggle:hover {
    background: rgba(var(--accent-rgb), 0.12);
    border-color: var(--sky-bright);
  }
  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
    transform-origin: center;
  }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu {
    position: fixed;
    top: 0; right: 0;
    width: min(300px, 84vw);
    height: 100dvh;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid var(--border-strong);
    z-index: 100;
    padding: 76px 28px 36px;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
    pointer-events: none;
  }
  .mobile-menu.is-open { transform: translateX(0); pointer-events: all; }

  .mobile-menu-close {
    position: absolute;
    top: 18px; right: 18px;
    width: 40px; height: 40px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: rgba(15,35,65,0.05);
    display: grid; place-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .mobile-menu-close:hover { border-color: var(--sky-bright); background: rgba(var(--accent-rgb), 0.1); }
  .mobile-menu-close svg { width: 17px; height: 17px; stroke: var(--muted); fill: none; transition: stroke 0.3s; }
  .mobile-menu-close:hover svg { stroke: var(--sky-bright); }

  .mobile-nav { display: flex; flex-direction: column; flex: 1; }
  .mobile-nav a {
    font-family: var(--display);
    font-size: 20px;
    font-weight: 600;
    color: var(--muted);
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.25s ease;
    letter-spacing: -0.01em;
  }
  .mobile-nav a::after {
    content: "→";
    font-size: 15px;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.25s ease;
  }
  .mobile-nav a:hover { color: var(--sky-bright); padding-left: 6px; }
  .mobile-nav a:hover::after { opacity: 1; transform: translateX(0); }

  .mobile-menu-cta { margin-top: 28px; justify-content: center; width: 100%; }

  .mobile-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .mobile-overlay.is-open { opacity: 1; pointer-events: all; }

  /* ── Industries new layout ── */
  .ind-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 20px;
    align-items: stretch;
    min-height: 600px;
  }
  .ind-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .ind-tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 18px 18px 14px;
    border-radius: 16px;
    border: 1.5px solid var(--border);
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.04), rgba(255,255,255,0.7));
    cursor: pointer;
    text-align: left;
    transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
    overflow: hidden;
    font-family: var(--body);
    flex: 1;
  }
  .ind-tab::before {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 3px; height: 100%;
    background: linear-gradient(180deg, var(--sky-bright), var(--sky));
    border-radius: 0 2px 2px 0;
    opacity: 0;
    transform: scaleY(0);
    transition: opacity 0.3s, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  }
  .ind-tab.is-active::before { opacity: 1; transform: scaleY(1); }
  .ind-tab.is-active {
    border-color: rgba(var(--accent-bright-rgb), 0.4);
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.14), rgba(31,116,181,0.08));
    box-shadow: 0 8px 32px -8px rgba(var(--accent-rgb), 0.25), inset 0 0 20px rgba(var(--accent-rgb), 0.06);
  }
  .ind-tab:hover:not(.is-active) {
    border-color: rgba(var(--accent-bright-rgb), 0.22);
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.08), rgba(255,255,255,0.85));
    transform: translateX(4px);
  }
  .ind-tab-icon {
    flex: none;
    width: 44px; height: 44px;
    border-radius: 12px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.18), rgba(31,116,181,0.08));
    border: 1px solid var(--border-strong);
    transition: all 0.3s ease;
  }
  .ind-tab.is-active .ind-tab-icon {
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.35), rgba(31,116,181,0.2));
    border-color: rgba(var(--accent-bright-rgb), 0.5);
    box-shadow: 0 0 20px rgba(var(--accent-bright-rgb), 0.2);
  }
  .ind-tab-icon svg { width: 22px; height: 22px; stroke: var(--muted); transition: stroke 0.3s; }
  .ind-tab.is-active .ind-tab-icon svg,
  .ind-tab:hover .ind-tab-icon svg { stroke: var(--sky-bright); }
  .ind-tab-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
  .ind-tab-num {
    font-family: var(--display); font-size: 11px; font-weight: 600;
    letter-spacing: 0.14em; color: var(--muted-2); transition: color 0.3s;
  }
  .ind-tab.is-active .ind-tab-num { color: var(--sky-bright); }
  .ind-tab-text strong {
    font-family: var(--display); font-size: 17px; font-weight: 600;
    color: var(--text); letter-spacing: -0.01em; transition: color 0.3s;
  }
  .ind-tab.is-active .ind-tab-text strong { color: var(--sky-bright); }
  .ind-tab-text span { font-size: 13px; color: var(--muted-2); transition: color 0.3s; }
  .ind-tab.is-active .ind-tab-text span,
  .ind-tab:hover .ind-tab-text span { color: var(--muted); }
  .ind-tab-arrow {
    flex: none; width: 26px; height: 26px;
    display: grid; place-items: center;
    opacity: 0; transform: translateX(-8px);
    transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  }
  .ind-tab.is-active .ind-tab-arrow,
  .ind-tab:hover .ind-tab-arrow { opacity: 1; transform: translateX(0); }
  .ind-tab-arrow svg { width: 16px; height: 16px; stroke: var(--sky-bright); }
  .ind-panel {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    min-height: 600px;
    isolation: isolate;
  }
  .ind-panel-bg {
    position: absolute; inset: 0; z-index: -2;
    background-image: url('assets/sk-livestock-ss1.webp');
    background-size: cover; background-position: center;
    transition: transform 0.6s ease;
  }
  .ind-panel:hover .ind-panel-bg { transform: scale(1.03); }
  .ind-panel::before {
    content: "";
    position: absolute; inset: 0; z-index: -1;
    background:
      linear-gradient(135deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.35) 45%, rgba(255,255,255,0.15) 100%),
      linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.9) 72%);
  }
  .ind-panel::after {
    content: "";
    position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(ellipse at 72% 20%, rgba(var(--accent-rgb), 0.14), transparent 55%);
  }
  .ind-panel-content {
    position: relative; z-index: 2;
    padding: 48px 44px 40px;
    display: flex; flex-direction: column;
    height: 100%; justify-content: flex-end;
    min-height: 600px;
  }
  .ind-panel-kicker {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--display); font-size: 12px; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--sky-bright); padding: 6px 13px;
    border-radius: 100px; border: 1px solid rgba(var(--accent-bright-rgb), 0.3);
    background: rgba(255,255,255,0.85); width: fit-content; margin-bottom: 16px;
    backdrop-filter: blur(8px);
  }
  .ind-panel-kicker::before {
    content: "";
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--sky-bright);
    box-shadow: 0 0 8px rgba(var(--accent-bright-rgb), 0.8);
    animation: glow-pulse 2s ease-in-out infinite;
  }
  .ind-panel h3 {
    font-family: var(--display);
    font-size: clamp(24px, 2.6vw, 36px);
    font-weight: 700; line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 14px; max-width: 18ch;
  }
  .ind-panel p {
    color: rgba(16,30,52,0.82);
    font-size: 15.5px; line-height: 1.65;
    max-width: 54ch; margin-bottom: 22px;
  }
  .ind-panel-points {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 8px; margin-bottom: 22px;
  }
  .ind-panel-points span {
    display: flex; align-items: center; gap: 8px;
    font-size: 13.5px; color: var(--text);
    padding: 10px 13px; border-radius: 10px;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(var(--accent-bright-rgb), 0.15);
    backdrop-filter: blur(8px); transition: all 0.3s ease;
  }
  .ind-panel-points span::before {
    content: "";
    width: 6px; height: 6px; border-radius: 50%; flex: none;
    background: var(--sky-bright);
    box-shadow: 0 0 8px rgba(var(--accent-bright-rgb), 0.7);
  }
  .ind-panel-points span:hover {
    border-color: rgba(var(--accent-bright-rgb), 0.4);
    background: rgba(var(--accent-rgb), 0.12);
  }
  .ind-panel-stats {
    display: flex; gap: 0;
    margin-bottom: 26px;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(var(--accent-bright-rgb), 0.15);
    border-radius: 14px;
    backdrop-filter: blur(12px);
    overflow: hidden;
  }
  .ind-panel-stat {
    flex: 1; padding: 16px 20px;
    border-right: 1px solid rgba(var(--accent-bright-rgb), 0.1);
  }
  .ind-panel-stat:last-child { border-right: none; }
  .ind-panel-stat strong {
    font-family: var(--display); font-size: 24px;
    font-weight: 700; letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--sky-bright), var(--sky));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    display: block;
  }
  .ind-panel-stat span { font-size: 12px; color: var(--muted); margin-top: 1px; display: block; }
  .ind-panel-cta { width: fit-content; }
  .ind-floating-badges {
    position: absolute; top: 24px; right: 24px;
    display: flex; flex-direction: column; gap: 8px; z-index: 3;
  }
  .ind-badge {
    font-size: 12px; font-weight: 600; color: var(--sky-bright);
    padding: 6px 13px; border-radius: 100px;
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(var(--accent-bright-rgb), 0.28);
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
    text-align: right; display: block;
  }
  .ind-badge:nth-child(2) { animation-delay: 0.4s; }
  .ind-badge:nth-child(3) { animation-delay: 0.8s; }
  .ind-panel-content.switching { animation: ind-switch 0.38s ease-out; }
  @keyframes ind-switch {
    0% { opacity: 0.45; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
  }

  /* ── Responsive ── */

  /* ─ Tablet ≤940px ─ */
  @media (max-width: 940px) {
    .ind-layout { grid-template-columns: 1fr; }
    .ind-tabs { display: grid; grid-template-columns: repeat(2, 1fr); }
    .ind-tab { flex-direction: column; align-items: flex-start; padding: 16px; gap: 10px; }
    .ind-tab::before { width: 100%; height: 3px; top: 0; left: 0; transform: scaleX(0); }
    .ind-tab.is-active::before { transform: scaleX(1); }
    .ind-tab-arrow { display: none; }
    .ind-panel, .ind-panel-content { min-height: 520px; }
    .impact-grid { grid-template-columns: 1fr; gap: 28px; }
    .engage-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: 1fr; gap: 36px; }
    .process { grid-template-columns: repeat(2, 1fr); }
    .cta-card { grid-template-columns: 1fr; padding: 44px 32px; }
    .foot-top { grid-template-columns: 1fr 1fr; row-gap: 36px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
  }

  /* ─ Mobile ≤768px ─ */
  @media (max-width: 768px) {
    .nav-links { display: none; }
    .nav > .btn { display: none; }
    .nav-toggle { display: flex; }
    section.block { padding: 60px 0; }
    .hero { min-height: 580px; padding: 80px 0 64px; }
    .hero-video video { opacity: 0.5; }
    h1.hero-title { font-size: clamp(36px, 8vw, 52px); max-width: none; }
    .hero-sub { font-size: 16px; margin-top: 18px; max-width: none; }
    .hero-cta { gap: 12px; margin-top: 28px; }
    .hero-meta { gap: 20px; margin-top: 36px; }
    .hero-meta .divider { display: none; }
    .hero-meta .stat .num { font-size: 26px; }
    .hero-logo { width: 46px; height: 46px; }
    .services-grid { grid-template-columns: 1fr; }
    .svc-card { padding: 26px 22px; }
    .ind-tabs { grid-template-columns: 1fr 1fr; }
    .ind-panel, .ind-panel-content { min-height: 460px; }
    .ind-panel-content { padding: 24px 22px 28px; }
    .ind-panel h3 { font-size: clamp(20px, 5vw, 28px); max-width: none; }
    .ind-panel p { font-size: 14.5px; margin-bottom: 16px; }
    .ind-panel-points { grid-template-columns: 1fr; gap: 7px; margin-bottom: 16px; }
    .ind-panel-points span { font-size: 13px; padding: 9px 11px; }
    .ind-panel-stats { flex-wrap: wrap; }
    .ind-panel-stat { min-width: 33%; padding: 12px 14px; }
    .ind-panel-stat strong { font-size: 20px; }
    .ind-floating-badges { display: none; }
    .chart-stack { grid-template-columns: 1fr; }
    .pie-chart { width: min(188px, 72vw); margin: 0 auto; }
    .why-item { padding: 18px 16px; }
    .why-panel { padding: 28px 24px; }
    .why-panel .pq { font-size: 19px; }
    .why-panel .panel-stats .num { font-size: 28px; }
    .step { padding: 24px 20px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card { padding: 36px 28px; }
    .pricing-card.is-featured { transform: scale(1); }
    .pricing-card .pricing-price { font-size: 38px; }
    .pricing-card .pricing-title { font-size: 20px; }
    .cta-card { padding: 36px 24px; }
    .cta-left h2 { font-size: clamp(24px, 6vw, 36px); }
    form.quote { padding: 24px 20px; }
    form.quote .row { flex-direction: column; }
  }

  /* ─ Small mobile ≤520px ─ */
  @media (max-width: 520px) {
    .wrap { padding: 0 18px; }
    .nav { height: 64px; }
    section.block { padding: 48px 0; }
    .hero { min-height: 520px; padding: 64px 0 56px; }
    h1.hero-title { font-size: clamp(28px, 9.5vw, 40px); }
    .hero-sub { font-size: 15px; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .hero-meta { gap: 12px; margin-top: 28px; }
    .hero-meta .stat .num { font-size: 22px; }
    .hero-meta .stat .lbl { font-size: 12px; }
    .eyebrow { font-size: 11px; padding: 6px 11px; gap: 7px; }
    .ind-tabs { grid-template-columns: 1fr; gap: 8px; }
    .ind-tab { flex-direction: row; align-items: center; padding: 14px 16px; gap: 12px; }
    .ind-tab::before { width: 3px; height: 100%; top: 0; left: 0; transform: scaleY(0); }
    .ind-tab.is-active::before { transform: scaleY(1); }
    .ind-tab-icon { width: 38px; height: 38px; }
    .ind-tab-text strong { font-size: 15px; }
    .ind-tab-text span { font-size: 12px; }
    .ind-panel, .ind-panel-content { min-height: 400px; }
    .ind-panel-content { padding: 20px 18px 24px; }
    .ind-panel h3 { font-size: clamp(18px, 6vw, 24px); }
    .ind-panel p { display: none; }
    .ind-panel-stats { display: grid; grid-template-columns: repeat(3, 1fr); flex-wrap: unset; }
    .ind-panel-stat { min-width: unset; padding: 10px; }
    .ind-panel-stat strong { font-size: 17px; }
    .ind-panel-stat span { font-size: 11px; }
    .ind-panel-cta { width: 100%; justify-content: center; }
    .analytics-panel { padding: 22px 18px; }
    .engage-grid { grid-template-columns: 1fr; }
    .bar-row { grid-template-columns: 72px 1fr 36px; gap: 8px; font-size: 12px; }
    .why-panel .panel-stats { grid-template-columns: 1fr 1fr; gap: 14px; }
    .why-panel .panel-stats .num { font-size: 26px; }
    .why-panel .pq { font-size: 17px; }
    .process { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card { padding: 32px 24px; }
    .pricing-card .pricing-price { font-size: 32px; }
    .pricing-features .feature { font-size: 13.5px; gap: 8px; }
    .cta-card { padding: 28px 18px; border-radius: 20px; }
    .cta-left h2 { font-size: 24px; }
    .cta-left p { font-size: 15px; margin-top: 12px; }
    .foot-top { grid-template-columns: 1fr; row-gap: 24px; }
    .foot-brand { grid-column: auto; }
    .foot-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
    .foot-social { align-self: center; }
    .foot-col h5 { margin-bottom: 12px; }
  }

  /* ─ Extra small ≤380px ─ */
  @media (max-width: 380px) {
    .wrap { padding: 0 14px; }
    .nav { height: 60px; }
    h1.hero-title { font-size: 26px; }
    .hero-sub { font-size: 14px; }
    .sec-title { font-size: clamp(22px, 7.5vw, 30px); }
    .sec-desc { font-size: 15px; }
    .btn { font-size: 14px; padding: 11px 18px; }
    .svc-card { padding: 20px 16px; }
    .svc-card h3 { font-size: 20px; }
    .ind-panel-stat strong { font-size: 15px; }
    .ind-panel-stat span { font-size: 10px; }
    .why-panel .panel-stats .num { font-size: 22px; }
    .pricing-card { padding: 24px 18px; }
    .pricing-card .pricing-price { font-size: 28px; }
    .pricing-card .pricing-title { font-size: 18px; }
    .pricing-features .feature { font-size: 13px; }
    .cta-left h2 { font-size: 22px; }
    form.quote input, form.quote select, form.quote textarea { font-size: 14px; padding: 10px 12px; }
    .foot-col a { font-size: 13.5px; }
  }

  /* ── Portfolio grid (YouTube-style cards) ── */
  .port-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
    font-size: 17px;
  }
  .port-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  .port-card {
    border-radius: 18px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1), border-color 0.35s, box-shadow 0.35s;
  }
  .port-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: 0 24px 52px -18px rgba(var(--accent-rgb), 0.32);
  }
  .port-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: var(--surface-2);
    overflow: hidden;
  }
  .port-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
  }
  .port-thumb:hover img { transform: scale(1.06); }
  .port-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .port-play svg {
    width: 56px;
    height: 56px;
    padding: 14px;
    border-radius: 50%;
    background: rgba(16, 30, 52, 0.55);
    color: #fff;
    backdrop-filter: blur(4px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s;
  }
  .port-thumb:hover .port-play svg {
    transform: scale(1.12);
    background: var(--sky-bright);
  }
  .port-type-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(16, 30, 52, 0.72);
    color: #fff;
  }
  .port-meta { padding: 18px 20px 20px; }
  .port-meta h3 {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 6px;
  }
  .port-meta p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .port-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
  }
  .port-dl {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--blue);
    background: var(--surface-2);
    transition: all 0.25s ease;
  }
  .port-dl:hover {
    border-color: var(--sky-bright);
    background: rgba(var(--accent-rgb), 0.1);
    transform: translateY(-1px);
  }
  .port-dl svg { width: 14px; height: 14px; flex-shrink: 0; }

  /* ── Portfolio modal ── */
  .port-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  .port-modal.is-open { display: flex; }
  .port-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 16, 30, 0.72);
    backdrop-filter: blur(6px);
  }
  .port-modal-box {
    position: relative;
    z-index: 1;
    width: min(100%, 900px);
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg);
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 40px 80px -20px rgba(8, 16, 30, 0.5);
  }
  .port-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: rgba(16, 30, 52, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .port-modal-close svg { width: 18px; height: 18px; }
  .port-modal-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0b1220;
  }
  .port-modal-media video,
  .port-modal-media iframe,
  .port-modal-media img {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: contain;
  }
  .port-modal-info { padding: 22px 26px 26px; }
  .port-modal-info h3 { font-family: var(--display); font-size: 22px; font-weight: 700; margin-bottom: 8px; }
  .port-modal-info p { font-size: 15px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
  .port-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; }

  @media (max-width: 920px) {
    .port-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  }
  @media (max-width: 640px) {
    .port-grid { grid-template-columns: 1fr; }
    .port-modal { padding: 0; }
    .port-modal-box { width: 100%; max-height: 100vh; height: 100%; border-radius: 0; }
  }

  /* ── Blog listing cards ── */
  .blog-card {
    display: block;
    border-radius: 18px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1), border-color 0.35s, box-shadow 0.35s;
  }
  .blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: 0 24px 52px -18px rgba(var(--accent-rgb), 0.32);
  }
  .blog-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--surface-2);
  }
  .blog-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
  }
  .blog-card:hover .blog-card-thumb img { transform: scale(1.06); }
  .blog-card-body { padding: 18px 20px 20px; }
  .blog-card-body h3 {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
  }
  .blog-card-body p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px;
  }
  .blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12.5px;
    color: var(--muted-2);
  }
  .blog-card-read {
    color: var(--blue);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }
  .blog-card-read .arrow { transition: transform 0.25s; }
  .blog-card:hover .blog-card-read .arrow { transform: translateX(3px); }

  /* ── Testimonials ── */
  .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .testimonial-card {
    padding: 30px 28px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1), border-color 0.35s, box-shadow 0.35s;
  }
  .testimonial-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: 0 24px 52px -18px rgba(var(--accent-rgb), 0.32);
  }
  .testimonial-quote-mark {
    font-family: var(--display);
    font-size: 42px;
    line-height: 1;
    color: var(--sky-bright);
    opacity: 0.5;
    margin-bottom: 6px;
  }
  .testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 14px;
  }
  .testimonial-stars svg {
    width: 16px;
    height: 16px;
    fill: var(--sky-bright);
  }
  .testimonial-quote {
    font-size: 15.5px;
    color: var(--text);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 22px;
  }
  .testimonial-person {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--surface-2);
    flex-shrink: 0;
  }
  .testimonial-avatar-fallback {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sky), var(--sky-bright));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--display);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
  }
  .testimonial-person-info strong {
    display: block;
    font-size: 14.5px;
    color: var(--text);
  }
  .testimonial-person-info span {
    display: block;
    font-size: 13px;
    color: var(--muted);
  }
  @media (max-width: 940px) {
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 640px) {
    .testimonial-grid { grid-template-columns: 1fr; }
  }
