  :root{
    --bg: #0a0614;
    --bg-2: #120a24;
    --panel: rgba(255,255,255,0.055);
    --panel-border: rgba(255,255,255,0.12);
    --purple: #7b2ff7;
    --purple-2: #5b0fc9;
    --magenta: #ff2ec4;
    --violet: #b967ff;
    --text: #f3eeff;
    --muted: #a898c4;
    --muted-2: #7a6a95;
    --glow: 0 0 60px rgba(255,46,196,0.25);
    --cyan: #4de3ff;
    --cyan-2: #8ef1ff;
  }

  *{ margin:0; padding:0; box-sizing:border-box; }
  html{ scroll-behavior:smooth; overflow-x: hidden; max-width: 100%; }

  body{
    background: radial-gradient(ellipse 120% 80% at 50% -10%, #23103f 0%, var(--bg) 45%), var(--bg);
    color: var(--text);
    font-family: 'Manrope', sans-serif;
    overflow-x: hidden;
    position: relative;
  }

  ::selection{ background: var(--magenta); color: #fff; }

  h1,h2,h3,h4{
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
  }

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

  .eyebrow{
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--violet);
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .eyebrow::before{
    content:'';
    width: 26px; height: 1px;
    background: linear-gradient(90deg, var(--magenta), transparent);
  }

  /* ---------- background hex field ---------- */
  .hexfield{
    position: fixed; inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
    background-image:
      linear-gradient(30deg, rgba(123,47,247,0.05) 12%, transparent 12.5%, transparent 87%, rgba(123,47,247,0.05) 87.5%, rgba(123,47,247,0.05)),
      linear-gradient(150deg, rgba(123,47,247,0.05) 12%, transparent 12.5%, transparent 87%, rgba(123,47,247,0.05) 87.5%, rgba(123,47,247,0.05)),
      linear-gradient(30deg, rgba(123,47,247,0.05) 12%, transparent 12.5%, transparent 87%, rgba(123,47,247,0.05) 87.5%, rgba(123,47,247,0.05)),
      linear-gradient(150deg, rgba(123,47,247,0.05) 12%, transparent 12.5%, transparent 87%, rgba(123,47,247,0.05) 87.5%, rgba(123,47,247,0.05));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 0%, transparent 70%);
  }

  .glow-orb{
    position: fixed; border-radius: 50%;
    filter: blur(90px);
    z-index: 0; pointer-events: none;
  }
  .glow-orb.a{ width: 500px; height: 500px; top: -150px; left: -150px; background: rgba(123,47,247,0.35); }
  .glow-orb.b{ width: 450px; height: 450px; bottom: -100px; right: -100px; background: rgba(255,46,196,0.22); }

  /* ---------- nav ---------- */
  nav{
    position: fixed; top: 16px; left: 50%;
    transform: translateX(-50%);
    width: min(860px, 92vw);
    z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 10px 8px 16px;
    border-radius: 100px;
    background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03) 40%, rgba(18,10,32,0.5));
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow:
      0 16px 40px rgba(0,0,0,0.4),
      0 2px 0 rgba(255,255,255,0.12) inset,
      0 -1px 0 rgba(255,255,255,0.04) inset;
    transition: padding 0.35s ease, top 0.35s ease, box-shadow 0.35s ease, width 0.35s ease;
  }
  nav::before{
    content:'';
    position:absolute; inset:0;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 30%);
    pointer-events:none;
  }
  nav.scrolled{
    top: 10px;
    padding: 6px 8px 6px 14px;
    box-shadow:
      0 14px 34px rgba(0,0,0,0.48),
      0 2px 0 rgba(255,255,255,0.14) inset;
  }

  .brand{ display:flex; align-items:center; gap: 9px; cursor: pointer; user-select:none; }
  .brand img{
    width: 32px; height: 32px;
    filter: drop-shadow(0 0 12px rgba(255,46,196,0.5));
    transition: transform 0.5s cubic-bezier(.2,.9,.3,1.3);
  }
  .brand:hover img{ transform: rotate(18deg) scale(1.08); }
  .brand .word{
    font-family:'Unbounded', sans-serif;
    font-weight: 800; font-size: 0.9rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }
  .brand .word span{ color: var(--magenta); }

  .navlinks{
    position: relative;
    display:flex; gap: 2px; align-items:center;
    padding: 4px;
    border-radius: 100px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    box-shadow: 0 1px 0 rgba(255,255,255,0.07) inset;
  }
  .navlinks a{
    position: relative;
    z-index: 2;
    font-size: 0.8rem; font-weight: 600;
    padding: 8px 15px;
    color: var(--muted);
    border-radius: 100px;
    white-space: nowrap;
    transition: color 0.35s ease;
  }
  .navlinks a:hover{ color: #fff; }
  .navlinks a.active{ color: #fff; }
  .navlinks a.nav-link--secondary{ display: none; }

  .nav-cta{
    flex-shrink: 0;
    font-size: 0.8rem; font-weight: 700;
    padding: 10px 20px;
    border-radius: 100px;
    color: #fff;
    background: linear-gradient(135deg, var(--purple), var(--magenta));
    box-shadow: 0 6px 20px rgba(255,46,196,0.35), 0 1px 0 rgba(255,255,255,0.3) inset;
    white-space: nowrap;
    transition: transform 0.3s cubic-bezier(.2,.9,.3,1.3), box-shadow 0.3s ease;
  }
  .nav-cta:hover{ transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 26px rgba(255,46,196,0.5), 0 1px 0 rgba(255,255,255,0.3) inset; }

  /* iOS-style glass bubble that glides behind the hovered/active tab */
  .nav-bubble{
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 0;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--purple), var(--magenta));
    box-shadow:
      0 4px 18px rgba(255,46,196,0.45),
      0 1px 1px rgba(255,255,255,0.4) inset,
      0 -6px 10px rgba(0,0,0,0.18) inset;
    backdrop-filter: blur(6px) saturate(160%);
    -webkit-backdrop-filter: blur(6px) saturate(160%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition:
      transform 0.5s cubic-bezier(.34,1.56,.64,1),
      width 0.5s cubic-bezier(.34,1.56,.64,1),
      height 0.5s cubic-bezier(.34,1.56,.64,1),
      opacity 0.25s ease;
  }
  .nav-bubble.is-ready{ opacity: 1; }
  .nav-bubble::after{
    content:'';
    position:absolute; inset:0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0) 55%);
    mix-blend-mode: overlay;
  }

  .burger{ display:none; flex-direction:column; gap:5px; cursor:pointer; z-index:200; }
  .burger span{ width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

  /* ---------- sections generic ---------- */
  section{ position: relative; z-index: 1; padding: 150px 5% 110px; }
  .container{ max-width: 1180px; margin: 0 auto; }
  .section-head{ max-width: 640px; margin-bottom: 64px; }
  .section-head h2{ font-size: clamp(2rem, 4vw, 3rem); margin-top: 14px; }
  .section-head p{ color: var(--muted); margin-top: 16px; font-size: 1.05rem; line-height: 1.7; }

  /* ---------- glass panel base ---------- */
  .glass{
    background: var(--panel);
    border: 1px solid var(--panel-border);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-radius: 20px;
  }

  /* ---------- HOME / HERO ---------- */
  #home{
    min-height: 100vh;
    display: flex; align-items: center;
    padding-top: 120px;
    perspective: 1400px;
  }
  .hero-grid{
    display: grid; grid-template-columns: 1.15fr 0.85fr;
    gap: 40px; align-items: center; width: 100%;
  }
  .hero-copy h1{
    font-size: clamp(2.6rem, 5.4vw, 4.4rem);
    margin: 20px 0 22px;
  }
  .hero-copy h1 .grad{
    background: linear-gradient(100deg, var(--violet), var(--magenta) 55%, #ff8ce0);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .hero-copy p{ color: var(--muted); font-size: 1.12rem; max-width: 500px; line-height: 1.75; margin-bottom: 34px; }

  .btn-row{ display:flex; gap: 16px; flex-wrap: wrap; }
  .btn{
    display: inline-flex; align-items: center; gap: 8px;
    padding: 15px 30px; border-radius: 100px;
    font-weight: 700; font-size: 0.92rem;
    cursor: pointer; border: none;
    transition: transform 0.35s cubic-bezier(.2,.9,.3,1.3), box-shadow 0.35s ease;
  }
  .btn-primary{
    background: linear-gradient(135deg, var(--purple), var(--magenta));
    color: #fff;
    box-shadow: 0 10px 30px rgba(123,47,247,0.4);
  }
  .btn-primary:hover{ transform: translateY(-4px) scale(1.03); box-shadow: 0 16px 40px rgba(255,46,196,0.5); }
  .btn-ghost{
    background: rgba(255,255,255,0.06);
    color: var(--text);
    border: 1px solid var(--panel-border);
  }
  .btn-ghost:hover{ background: rgba(255,255,255,0.12); transform: translateY(-4px); }

  .stat-row{ display:flex; gap: 40px; margin-top: 56px; }
  .stat b{ font-family:'Unbounded',sans-serif; font-size: 1.7rem; display:block; background: linear-gradient(120deg,var(--violet),var(--magenta)); -webkit-background-clip:text; background-clip:text; color:transparent; }
  .stat span{ font-size: 0.78rem; color: var(--muted-2); letter-spacing: 0.05em; text-transform: uppercase; }

  /* hero hex stage */
  .hero-stage{ position: relative; height: 480px; transform-style: preserve-3d; }
  .hero-hex-wrap{
    position: absolute; inset: 0;
    display:flex; align-items:center; justify-content:center;
    transform-style: preserve-3d;
    animation: floatY 6s ease-in-out infinite;
  }
  .hero-hex-wrap img{
    width: 340px; filter: drop-shadow(0 0 50px rgba(255,46,196,0.45)) drop-shadow(0 0 100px rgba(123,47,247,0.35));
    transition: transform 0.15s ease-out;
  }
  @keyframes floatY{ 0%,100%{ transform: translateY(0px); } 50%{ transform: translateY(-18px); } }

  .ring{
    position:absolute; border-radius:50%;
    border: 1px solid rgba(185,103,255,0.25);
  }
  .ring.r1{ width: 380px; height: 380px; top: 50%; left: 50%; margin: -190px 0 0 -190px; animation: spin 24s linear infinite; }
  .ring.r2{ width: 460px; height: 460px; top: 50%; left: 50%; margin: -230px 0 0 -230px; border-style: dashed; opacity:0.4; animation: spin 40s linear infinite reverse; }
  @keyframes spin{ to{ transform: rotate(360deg); } }

  .spark{ position:absolute; width:6px; height:6px; border-radius:50%; background: var(--magenta); box-shadow: 0 0 12px 3px rgba(255,46,196,0.8); }

  .scroll-cue{
    position:absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
    display:flex; flex-direction:column; align-items:center; gap:8px;
    font-size: 0.7rem; letter-spacing:0.2em; color: var(--muted-2); text-transform:uppercase;
  }
  .scroll-cue .line{ width:1px; height: 34px; background: linear-gradient(var(--magenta), transparent); animation: pulse 2s ease-in-out infinite; }
  @keyframes pulse{ 0%,100%{ opacity: 0.3; } 50%{ opacity: 1; } }

  /* ---------- ABOUT ---------- */
  .about-grid{ display:grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items:center; }
  .about-visual{
    position: relative; aspect-ratio: 1/1; max-width: 420px;
    display:flex; align-items:center; justify-content:center;
  }
  .about-hex-stage{
    position: relative; width: 100%; height: 100%;
    display:flex; align-items:center; justify-content:center;
    transform-style: preserve-3d;
  }
  .hexagon{
    position: relative;
    width: 100%; height: 100%;
    display:flex; align-items:center; justify-content:center;
    transform-style: preserve-3d;
    animation: floatY 6s ease-in-out infinite;
    will-change: transform;
  }
  .hexagon img{
    position:relative; z-index:1; width: 62%;
    filter: drop-shadow(0 0 50px rgba(255,46,196,0.45)) drop-shadow(0 0 100px rgba(123,47,247,0.35));
    transition: transform 0.15s ease-out;
  }
  .hex-scanline{
    position:absolute; left:6%; right:6%; height:2px; top:0;
    background: linear-gradient(90deg, transparent, var(--cyan-2), transparent);
    opacity:0.55; filter: drop-shadow(0 0 6px var(--cyan));
    animation: hexScan 3.2s ease-in-out infinite;
    pointer-events:none; z-index:2;
  }
  @keyframes hexScan{ 0%{ top:8%; opacity:0; } 12%{ opacity:.6; } 50%{ top:88%; opacity:.6; } 62%{ opacity:0; } 100%{ top:88%; opacity:0; } }

  /* ================= ABOUT CINEMATIC INTRO ================= */
  .about-grid{ position:relative; }
  .about-visual{ opacity:0; }
  #about.play .about-visual{ animation: visualSettleIn 1s cubic-bezier(.22,1,.36,1) .1s both; }
  @keyframes visualSettleIn{
    0%{ opacity:0; transform: translateY(26px) scale(.85); }
    55%{ opacity:1; transform: translateY(-8px) scale(1.04); }
    78%{ transform: translateY(3px) scale(.99); }
    100%{ opacity:1; transform: translateY(0) scale(1); }
  }

  /* ---- shiny slash text reveal ---- */
  .slash-line{ position:relative; display:block; overflow:hidden; }
  .slash-inner{ display:block; clip-path: inset(0 100% 0 0); }
  #about.play .slash-line .slash-inner{
    animation: slashReveal var(--sl-dur,1.6s) cubic-bezier(.16,1,.3,1) var(--sl-delay,0s) both;
  }
  @keyframes slashReveal{
    0%{ clip-path: inset(0 100% 0 0); text-shadow: none; }
    45%{ text-shadow: 0 0 16px rgba(185,103,255,.85), 0 0 32px rgba(255,46,196,.5); }
    100%{ clip-path: inset(0 0 0 0); text-shadow: 0 0 0 rgba(0,0,0,0); }
  }
  .slash-blade{
    position:absolute; top:-60%; left:-6%; width:9%; height:220%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.9) 45%, rgba(185,103,255,.6) 62%, transparent);
    filter: blur(3px); mix-blend-mode: screen; opacity:0; pointer-events:none;
    transform: translateX(-20%) skewX(-18deg);
  }
  #about.play .slash-line .slash-blade{
    animation: slashBlade var(--sl-dur,1.6s) cubic-bezier(.16,1,.3,1) var(--sl-delay,0s) both;
  }
  @keyframes slashBlade{
    0%{ transform: translateX(-20%) skewX(-18deg); opacity:0; }
    6%{ opacity:1; }
    92%{ opacity:1; }
    100%{ transform: translateX(1150%) skewX(-18deg); opacity:0; }
  }

  .about-cards.card-pop .about-card{ opacity:0; }
  #about.play .about-cards.card-pop .about-card{ animation: cardPopIn .7s cubic-bezier(.22,1,.36,1) both; }
  #about.play .about-cards.card-pop .about-card:nth-child(1){ animation-delay: 1.75s; }
  #about.play .about-cards.card-pop .about-card:nth-child(2){ animation-delay: 1.88s; }
  #about.play .about-cards.card-pop .about-card:nth-child(3){ animation-delay: 2.01s; }
  @keyframes cardPopIn{
    0%{ opacity:0; transform: translateY(18px) scale(.92); }
    70%{ opacity:1; transform: translateY(-3px) scale(1.02); }
    100%{ opacity:1; transform: translateY(0) scale(1); }
  }

  @media (prefers-reduced-motion: reduce){
    .about-visual, .slash-inner, .about-cards.card-pop .about-card{ opacity:1 !important; animation:none !important; clip-path:none !important; transform:none !important; }
    .slash-blade{ display:none !important; }
  }

  /* ================= OUR STORY — futuristic panel ================= */
  .cyber-panel{
    position: relative; overflow: hidden;
    padding: 56px 44px; border-radius: 26px;
    background: linear-gradient(165deg, rgba(255,255,255,0.045), rgba(77,227,255,0.03));
    border: 1px solid rgba(77,227,255,0.18);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.02) inset, 0 30px 80px rgba(0,0,0,0.35);
  }
  .cyber-grid-bg{
    position:absolute; inset:0; z-index:0; pointer-events:none;
    background-image:
      linear-gradient(rgba(77,227,255,0.09) 1px, transparent 1px),
      linear-gradient(90deg, rgba(77,227,255,0.09) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, black 0%, transparent 75%);
    animation: gridDrift 16s linear infinite;
    opacity:0.7;
  }
  @keyframes gridDrift{ 0%{ background-position: 0 0, 0 0; } 100%{ background-position: 42px 42px, 42px 42px; } }
  .cyber-corner{
    position:absolute; width:34px; height:34px; z-index:1; pointer-events:none;
    border: 2px solid rgba(77,227,255,0.55);
    filter: drop-shadow(0 0 6px rgba(77,227,255,0.5));
  }
  .cyber-corner.tl{ top:14px; left:14px; border-right:none; border-bottom:none; border-radius:6px 0 0 0; }
  .cyber-corner.tr{ top:14px; right:14px; border-left:none; border-bottom:none; border-radius:0 6px 0 0; }
  .cyber-corner.bl{ bottom:14px; left:14px; border-right:none; border-top:none; border-radius:0 0 0 6px; }
  .cyber-corner.br{ bottom:14px; right:14px; border-left:none; border-top:none; border-radius:0 0 6px 0; }
  .cyber-particles{ position:absolute; inset:0; z-index:0; pointer-events:none; }
  .cyber-particles span{
    position:absolute; width:4px; height:4px; border-radius:50%;
    background: var(--cyan-2); box-shadow: 0 0 10px 3px rgba(77,227,255,0.6);
    animation: cyberFloat 5s ease-in-out infinite;
    animation-delay: var(--pd, 0s);
    opacity:0.7;
  }
  @keyframes cyberFloat{ 0%,100%{ transform: translateY(0); opacity:0.3; } 50%{ transform: translateY(-16px); opacity:0.9; } }

  .about-story .eyebrow, .about-story h2, .about-story p{ position:relative; z-index:2; }
  .about-story h2{
    background: linear-gradient(100deg, var(--text) 40%, var(--cyan-2) 60%, var(--text) 80%);
    -webkit-background-clip:text; background-clip:text; color:transparent;
    background-size: 220% auto;
  }

  .industry-tags{
    position:relative; z-index:2;
    display:flex; flex-wrap:wrap; justify-content:center; gap:10px;
    margin-top: 30px;
  }
  .industry-tag{
    font-family:'Manrope',sans-serif; font-size:0.78rem; font-weight:600; letter-spacing:0.03em;
    padding: 9px 18px; border-radius: 999px; color: var(--cyan-2);
    background: rgba(77,227,255,0.06);
    border: 1px solid rgba(77,227,255,0.28);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    opacity:0; transform: translateY(10px);
  }
  .about-story.reveal.in .industry-tag{
    animation: tagFadeUp .6s ease both;
    animation-delay: calc(var(--td,0s) + .1s);
  }
  @keyframes tagFadeUp{ from{ opacity:0; transform: translateY(10px); } to{ opacity:1; transform: translateY(0); } }
  .industry-tag:hover{
    background: rgba(77,227,255,0.14);
    border-color: rgba(77,227,255,0.6);
    box-shadow: 0 0 20px rgba(77,227,255,0.35);
    transform: translateY(-3px);
  }

  .about-copy h2{ font-size: clamp(2rem,4vw,2.9rem); margin: 14px 0 20px; }
  .about-copy p{ color: var(--muted); line-height: 1.8; margin-bottom: 16px; font-size: 1.03rem; }

  .about-cards{ display:grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 36px; }
  .about-card{
    position: relative; overflow: hidden;
    padding: 22px 20px; text-align:left;
    transform-style: preserve-3d;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }
  .about-card::before{
    content:''; position:absolute; inset:0; border-radius:inherit; opacity:0; pointer-events:none;
    background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,46,196,0.28), transparent 55%);
    transition: opacity 0.3s ease;
  }
  .about-card:hover::before{ opacity:1; }
  .about-card:hover{ box-shadow: 0 20px 40px rgba(123,47,247,0.25); border-color: rgba(255,46,196,0.4); }
  .about-card b{ position:relative; font-family:'Unbounded',sans-serif; font-size: 1.5rem; display:block; margin-bottom: 6px; color: var(--magenta); }
  .about-card span{ position:relative; font-size: 0.82rem; color: var(--muted); }
  .about-cards .about-card:nth-child(1){ transition-delay: 0s; }
  .about-cards .about-card:nth-child(2){ transition-delay: 0.08s; }
  .about-cards .about-card:nth-child(3){ transition-delay: 0.16s; }

  /* ---------- PORTFOLIO ---------- */
  .port-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .port-card{
    position: relative; overflow: hidden;
    padding: 0; height: 320px;
    display:block; text-decoration:none; color:inherit;
    transform-style: preserve-3d;
    transition: transform 0.12s ease-out, box-shadow 0.3s ease;
    cursor: pointer;
  }
  .port-card:hover{ box-shadow: 0 25px 60px rgba(255,46,196,0.25); }
  .port-thumb{
    position:absolute; inset:0;
    background: linear-gradient(150deg, var(--tone1,#5b0fc9), var(--tone2,#ff2ec4));
    opacity: 0.85;
    transition: transform 0.5s ease;
  }
  .port-card:hover .port-thumb{ transform: scale(1.12) rotate(2deg); }
  .port-overlay{
    position:absolute; inset:0;
    background: linear-gradient(0deg, rgba(6,3,14,0.92) 10%, rgba(6,3,14,0.15) 65%);
    display:flex; flex-direction:column; justify-content:flex-end;
    padding: 26px;
  }
  .port-tag{
    align-self:flex-start;
    font-size: 0.68rem; font-weight:700; letter-spacing:0.14em; text-transform:uppercase;
    padding: 5px 12px; border-radius: 100px;
    background: rgba(255,255,255,0.14); backdrop-filter: blur(6px);
    margin-bottom: 12px;
  }
  .port-overlay h3{ font-size: 1.25rem; margin-bottom: 6px; }
  .port-overlay p{ font-size: 0.85rem; color: var(--muted); }
  .case-view-link{
    display:inline-flex; align-items:center; gap:6px;
    margin-top: 12px; font-size: 0.78rem; font-weight:700;
    color: #fff; opacity:0; transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .port-card:hover .case-view-link{ opacity:1; transform: translateY(0); }
  .port-hexmark{
    position:absolute; top: 20px; right: 20px; width: 34px; height: 34px;
    opacity: 0.85; filter: drop-shadow(0 0 10px rgba(255,255,255,0.4));
    transition: transform 0.35s ease;
  }
  .port-card:hover .port-hexmark{ transform: rotate(90deg); }
  .port-logo-wrap{
    position:absolute; inset:0;
    display:flex; align-items:center; justify-content:center;
    padding: 0 0 88px;
    transition: transform 0.4s ease;
  }
  .port-card:hover .port-logo-wrap{ transform: translateY(-6px) scale(1.03); }
  .port-logo-plate{
    background:#000; border-radius: 0;
    padding: 22px 28px;
    display:flex; align-items:center; justify-content:center;
    width: 100%; height: 100%;
  }
  .port-logo-plate img{ max-width: 100%; max-height: 100%; object-fit: contain; display:block; }

  /* ---------- SERVICES ---------- */
  .serv-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .serv-card{
    padding: 34px 28px;
    transform-style: preserve-3d;
    transition: transform 0.12s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative; overflow:hidden;
  }
  .serv-card::before{
    content:''; position:absolute; inset:0;
    background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,46,196,0.16), transparent 60%);
    opacity:0; transition: opacity 0.3s ease;
  }
  .serv-card:hover::before{ opacity:1; }
  .serv-card:hover{ border-color: rgba(255,46,196,0.4); box-shadow: 0 20px 45px rgba(123,47,247,0.28); }
  .serv-icon{
    width: 56px; height: 56px; margin-bottom: 22px;
    clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
    background: linear-gradient(135deg, var(--purple), var(--magenta));
    box-shadow:
      inset -6px -6px 12px rgba(0,0,0,0.4),
      inset 5px 5px 10px rgba(255,255,255,0.22),
      0 10px 22px -8px rgba(224,20,255,0.55);
    display:flex; align-items:center; justify-content:center;
    font-size: 1.3rem;
    transition: transform 0.4s cubic-bezier(.2,.9,.3,1.3);
  }
  .serv-card:hover .serv-icon{ transform: rotate(30deg) scale(1.1); }
  .serv-card h3{ font-size: 1.15rem; margin-bottom: 12px; }
  .serv-card p{ color: var(--muted); font-size: 0.92rem; line-height: 1.7; }
  .serv-num{ position:absolute; top: 22px; right: 26px; font-family:'Unbounded',sans-serif; font-size:0.75rem; color: var(--muted-2); }

  /* ---------- PRELOADER ---------- */
  #preloader{
    position: fixed; inset: 0; z-index: 999;
    background: var(--bg);
    display:flex; align-items:center; justify-content:center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
  }
  #preloader.hide{ opacity: 0; visibility: hidden; pointer-events:none; }
  #preloader img{
    width: 70px; animation: spin 1.6s linear infinite, floatY 2.4s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(255,46,196,0.55));
  }

  /* ---------- BACK TO TOP ---------- */
  #backToTop{
    position: fixed; bottom: 28px; right: 28px; z-index: 90;
    width: 48px; height: 48px; border-radius: 50%;
    display:flex; align-items:center; justify-content:center;
    background: linear-gradient(135deg, var(--purple), var(--magenta));
    box-shadow: 0 10px 26px rgba(255,46,196,0.35);
    cursor:pointer; color:#fff; font-size: 1.1rem;
    opacity:0; visibility:hidden; transform: translateY(14px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
  }
  #backToTop.show{ opacity:1; visibility:visible; transform: translateY(0); }
  #backToTop:hover{ transform: translateY(-4px); }

  /* ---------- CURSOR GLOW (desktop only) ---------- */
  .cursor-glow{
    position: fixed; width: 380px; height: 380px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,46,196,0.10), transparent 70%);
    pointer-events: none; z-index: 2; transform: translate(-50%,-50%);
    transition: opacity 0.3s ease; opacity: 0;
  }
  @media (min-width: 981px){ .cursor-glow.active{ opacity: 1; } }

  /* ---------- PROCESS: 3D HOLOGRAPHIC FUNNEL ---------- */
  .funnel-showcase{ margin-top: 56px; display:flex; flex-direction:column; align-items:center; gap: 22px; }

  .funnel-stage{
    position: relative; overflow: hidden; width: 100%;
    border-radius: 28px; border: 1px solid var(--panel-border);
    background: radial-gradient(ellipse 90% 70% at 50% 18%, #1c0e38 0%, #060309 72%);
    box-shadow: 0 40px 100px -30px rgba(0,0,0,0.7), inset 0 0 90px rgba(123,47,247,0.10);
    padding: 60px 20px 44px;
  }
  .funnel-grid-bg{
    position:absolute; inset:0; z-index:0; pointer-events:none;
    background-image:
      repeating-linear-gradient(0deg, rgba(185,103,255,0.08) 0 1px, transparent 1px 46px),
      repeating-linear-gradient(90deg, rgba(185,103,255,0.08) 0 1px, transparent 1px 46px);
    -webkit-mask-image: radial-gradient(ellipse at 50% 32%, #000 0%, transparent 72%);
    mask-image: radial-gradient(ellipse at 50% 32%, #000 0%, transparent 72%);
    animation: gridDrift 16s linear infinite;
  }
  @keyframes gridDrift{ from{ background-position: 0 0, 0 0; } to{ background-position: 0 46px, 46px 0; } }
  .funnel-ambient{
    position:absolute; inset:0; z-index:0; pointer-events:none;
    background:
      radial-gradient(circle at 22% 14%, rgba(255,46,196,0.18), transparent 45%),
      radial-gradient(circle at 80% 82%, rgba(123,47,247,0.2), transparent 50%);
    animation: ambientPulse 7s ease-in-out infinite;
  }
  @keyframes ambientPulse{ 0%,100%{ opacity:0.7; } 50%{ opacity:1; } }

  .funnel-scene{
    position: relative; z-index: 2; margin: 0 auto;
    width: 100%; max-width: 460px; height: 540px;
    perspective: 1600px;
  }
  .funnel-tilt{ width:100%; height:100%; transform-style: preserve-3d; transform: rotateX(9deg); }
  .funnel-spin{ width:100%; height:100%; transform-style: preserve-3d; animation: funnelSpin 26s linear infinite; }
  @keyframes funnelSpin{ from{ transform: rotateY(0deg); } to{ transform: rotateY(360deg); } }
  .funnel-shape{ width:100%; height:100%; overflow: visible; filter: drop-shadow(0 0 26px rgba(185,103,255,0.4)); }

  .funnel-edge-line{ fill:none; stroke: rgba(255,255,255,0.16); stroke-width: 1; }
  .funnel-row-shape{
    fill: url(#funnelGrad); fill-opacity: 0.6;
    stroke: rgba(255,255,255,0.55); stroke-width: 1.4;
    filter: url(#neonGlow);
    transform-box: fill-box; transform-origin: 50% 50%;
    animation: funnelLayerBuild 18s ease-in-out infinite backwards;
    animation-delay: calc(var(--i) * 2s);
  }
  @keyframes funnelLayerBuild{
    0%{ opacity:0; transform: scaleY(0.25) translateY(-10px); }
    6%{ opacity:1; transform: scaleY(1) translateY(0); }
    90%{ opacity:1; transform: scaleY(1) translateY(0); }
    96%{ opacity:0.35; transform: scaleY(0.85) translateY(-6px); }
    100%{ opacity:0; transform: scaleY(0.25) translateY(-10px); }
  }
  .funnel-pulse-dot{ fill:#fff; filter: url(#neonGlow); opacity:0.9; }

  .funnel-particles{ position:absolute; inset:0; z-index:1; width:100%; height:100%; pointer-events:none; }

  .funnel-labels{ position:absolute; inset:0; z-index:3; pointer-events:none; }
  .funnel-label{
    position:absolute; left:50%; transform: translate(-50%,-50%);
    font-family:'Unbounded',sans-serif; font-size:0.76rem; font-weight:600;
    letter-spacing:0.04em; color:#fff; text-transform:uppercase; white-space:nowrap;
    animation: neonTextPulse 3s ease-in-out infinite, labelFloat 5s ease-in-out infinite;
    animation-delay: calc(var(--i) * 2s), calc(var(--i) * 0.3s);
  }
  @keyframes neonTextPulse{
    0%,100%{ text-shadow: 0 0 8px rgba(255,46,196,0.7), 0 0 18px rgba(123,47,247,0.5); opacity:0.85; }
    50%{ text-shadow: 0 0 15px rgba(255,46,196,1), 0 0 32px rgba(185,103,255,0.9); opacity:1; }
  }
  @keyframes labelFloat{
    0%,100%{ transform: translate(-50%,-50%) translateY(0); }
    50%{ transform: translate(-50%,-50%) translateY(-4px); }
  }

  .funnel-caption{ color: var(--muted); font-size: 0.9rem; text-align:center; max-width: 480px; }

  @media (max-width: 720px){
    .funnel-stage{ padding: 44px 12px 34px; }
    .funnel-scene{ height: 460px; }
    .funnel-label{ font-size: 0.62rem; }
  }
  @media (prefers-reduced-motion: reduce){
    .funnel-spin{ animation: none; }
    .funnel-row-shape{ animation: none; opacity:1; transform:none; }
    .funnel-label{ animation: none; text-shadow: 0 0 10px rgba(255,46,196,0.8); }
    .funnel-grid-bg, .funnel-ambient{ animation: none; }
  }

  /* ---------- TESTIMONIALS ---------- */
  .testi-track-wrap{ overflow: hidden; position: relative; }
  .testi-track-wrap::before, .testi-track-wrap::after{
    content:''; position:absolute; top:0; bottom:0; width: 80px; z-index: 2; pointer-events:none;
  }
  .testi-track-wrap::before{ left:0; background: linear-gradient(90deg, var(--bg), transparent); }
  .testi-track-wrap::after{ right:0; background: linear-gradient(-90deg, var(--bg), transparent); }
  .testi-track{
    display:flex; gap: 24px; width: max-content;
    animation: testiScroll 34s linear infinite;
  }
  .testi-track-wrap:hover .testi-track{ animation-play-state: paused; }
  .testi-card{
    width: 380px; flex: 0 0 auto; padding: 30px 26px; display:flex; flex-direction:column; gap: 18px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  }
  .testi-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 20px 46px -18px rgba(224,20,255,0.5);
    border-color: var(--magenta);
  }
  @keyframes testiScroll{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
  .testi-stars{ color: var(--magenta); font-size: 0.95rem; letter-spacing: 2px; }
  .testi-quote{ color: var(--text); font-size: 0.98rem; line-height: 1.75; }
  .testi-person{ display:flex; align-items:center; gap: 14px; margin-top: auto; }
  .testi-avatar{
    width: 44px; height: 44px; border-radius: 50%; flex-shrink:0;
    display:flex; align-items:center; justify-content:center;
    font-family:'Unbounded',sans-serif; font-weight:700; font-size: 0.9rem; color:#fff;
    background: linear-gradient(135deg, var(--purple), var(--magenta));
  }
  .testi-person b{ display:block; font-size: 0.9rem; }
  .testi-person span{ font-size: 0.78rem; color: var(--muted); }

  /* ---------- FAQ ---------- */
  .faq-list{ display:flex; flex-direction:column; gap: 14px; max-width: 820px; }
  .faq-item{ overflow:hidden; }
  .faq-q{
    display:flex; align-items:center; justify-content:space-between; gap: 20px;
    padding: 22px 26px; cursor:pointer; user-select:none;
  }
  .faq-q h4{ font-family:'Unbounded',sans-serif; font-size: 0.98rem; font-weight:600; }
  .faq-icon{
    width: 28px; height: 28px; border-radius: 50%; flex-shrink:0;
    background: rgba(255,255,255,0.07); border:1px solid var(--panel-border);
    display:flex; align-items:center; justify-content:center;
    font-size: 0.9rem; transition: transform 0.35s ease, background 0.3s ease;
  }
  .faq-item.open .faq-icon{ transform: rotate(45deg); background: linear-gradient(135deg,var(--purple),var(--magenta)); border-color: transparent; }
  .faq-a{ max-height: 0; overflow:hidden; transition: max-height 0.4s ease, padding 0.4s ease; padding: 0 26px; }
  .faq-a p{ color: var(--muted); font-size: 0.92rem; line-height: 1.75; padding-bottom: 22px; }
  .faq-item.open .faq-a{ max-height: 240px; }

  /* ---------- SERVICES GRID (interactive cards) ---------- */
  .services-grid{
    display:grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
    gap: 26px;
  }
  .service-card{
    position: relative; overflow:hidden; cursor:pointer;
    padding: 32px 28px 30px; text-align:left;
    opacity: 0; transition:
      opacity 0.75s cubic-bezier(.2,.7,.3,1),
      transform 0.75s cubic-bezier(.2,.7,.3,1),
      border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  }
  .service-card[data-dir="left"]{ transform: translateX(-64px) translateY(14px); }
  .service-card[data-dir="right"]{ transform: translateX(64px) translateY(14px); }
  .service-card.in-view{ opacity: 1; transform: translateX(0) translateY(0); }
  .service-card::before{
    content:''; position:absolute; inset:0; z-index:0;
    background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,46,196,0.16), transparent 60%);
    opacity:0; transition: opacity 0.3s ease; pointer-events:none;
  }
  .service-card:hover::before{ opacity:1; }
  .service-card:hover{
    border-color: rgba(255,46,196,0.45);
    box-shadow: 0 20px 46px -18px rgba(224,20,255,0.5);
  }
  .service-card-icon{
    position: relative; z-index:1;
    width: 54px; height: 54px; border-radius: 15px;
    display:flex; align-items:center; justify-content:center;
    font-size: 1.4rem; margin-bottom: 20px;
    background: linear-gradient(135deg, var(--purple), var(--magenta));
    box-shadow: 0 10px 26px rgba(123,47,247,0.4);
    transition: transform 0.4s cubic-bezier(.2,.9,.3,1.3);
  }
  .service-card:hover .service-card-icon{ transform: rotate3d(0.4, 1, 0, 32deg) scale(1.12); }
  .service-card h3{
    position: relative; z-index:1;
    font-family:'Unbounded',sans-serif; font-size: 1.08rem; font-weight:600;
    margin-bottom: 10px;
  }
  .service-card-desc{
    position: relative; z-index:1;
    color: var(--muted); font-size: 0.9rem; line-height: 1.65; margin-bottom: 20px;
  }
  .service-card-cta{
    position: relative; z-index:1;
    display:inline-flex; align-items:center; gap: 6px;
    font-size: 0.8rem; font-weight: 700; letter-spacing: 0.03em;
    color: var(--violet);
  }
  .service-card-cta .arrow{ display:inline-block; transition: transform 0.3s ease; }
  .service-card:hover .service-card-cta .arrow{ transform: translateX(5px); }

  /* ---------- SERVICE DETAIL MODAL (glassmorphism / envelope unfold) ---------- */
  .service-modal-overlay{
    position: fixed; inset: 0; z-index: 500;
    display:flex; align-items:center; justify-content:center;
    padding: 28px;
    background: rgba(8,4,18,0.6);
    opacity: 0; visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s linear 0.4s;
    perspective: 1400px;
  }
  .service-modal-overlay.open{
    opacity: 1; visibility: visible;
    transition: opacity 0.4s ease;
  }
  .service-modal{
    position: relative; width: min(640px, 94vw);
    max-height: 86vh; overflow-y: auto;
    background: linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
    border: 1px solid var(--panel-border);
    border-radius: 26px;
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    padding: 46px 42px 40px;
    box-shadow: 0 30px 90px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04) inset;
    transform-origin: top center;
    opacity: 0;
  }
  .service-modal::before{
    content:''; position:absolute; top:0; left:0; right:0; height: 60%;
    background: linear-gradient(135deg, var(--purple), var(--magenta));
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    border-radius: 26px 26px 0 0;
    transform-origin: top; pointer-events:none; z-index:0;
    opacity: 0;
  }
  .service-modal-overlay.open .service-modal{
    animation: envelopeUnfold 0.7s cubic-bezier(.16,1,.3,1) forwards;
  }
  .service-modal-overlay.open .service-modal::before{
    animation: flapOpen 0.55s cubic-bezier(.4,0,.2,1) forwards;
    animation-delay: 0.08s;
  }
  .service-modal-overlay.closing .service-modal{
    animation: envelopeFold 0.34s cubic-bezier(.4,0,.6,1) forwards;
  }
  .service-modal-overlay.closing .service-modal::before{ display:none; }
  @keyframes envelopeUnfold{
    0%{ opacity:0; transform: rotateX(-96deg) translateY(-34px) scaleY(0.4); }
    55%{ opacity:1; }
    100%{ opacity:1; transform: rotateX(0deg) translateY(0) scaleY(1); }
  }
  @keyframes envelopeFold{
    0%{ opacity:1; transform: rotateX(0deg) translateY(0) scaleY(1); }
    100%{ opacity:0; transform: rotateX(-80deg) translateY(-22px) scaleY(0.5); }
  }
  @keyframes flapOpen{
    0%{ height:60%; opacity:0.9; }
    55%{ height:60%; opacity:0.45; }
    100%{ height:0%; opacity:0; }
  }
  .service-modal-close{
    position:absolute; top:20px; right:20px; z-index:2;
    width:38px; height:38px; border-radius:50%;
    background: rgba(255,255,255,0.08); border:1px solid var(--panel-border);
    color: var(--text); font-size:1rem; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    transition: background 0.3s ease, transform 0.4s cubic-bezier(.2,.9,.3,1.3);
  }
  .service-modal-close:hover{ background: linear-gradient(135deg, var(--purple), var(--magenta)); transform: rotate(90deg); }
  .service-modal-header{ position:relative; z-index:1; }
  .service-modal-icon{
    width:60px; height:60px; border-radius:16px; font-size:1.7rem;
    display:flex; align-items:center; justify-content:center;
    background: linear-gradient(135deg, var(--purple), var(--magenta));
    box-shadow: 0 10px 30px rgba(123,47,247,0.4);
    margin-bottom: 18px;
  }
  .service-modal-header h3{ font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin-bottom: 10px; }
  .service-modal-header p{ color: var(--muted); line-height: 1.75; font-size: 0.98rem; }
  .service-modal-label{
    position:relative; z-index:1; display:block; margin: 30px 0 14px;
    font-size: 0.72rem; font-weight:700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--violet);
  }
  .service-modal-features{
    position:relative; z-index:1;
    list-style:none; display:grid; grid-template-columns: repeat(2,1fr); gap: 10px 22px;
  }
  .service-modal-features li{
    position:relative; padding-left:18px; color: var(--text); font-size: 0.92rem; line-height:1.5;
    opacity:0; transform: translateY(10px);
    animation: featureIn 0.5s ease forwards;
  }
  .service-modal-features li::before{ content:'—'; position:absolute; left:0; color: var(--magenta); }
  @keyframes featureIn{ to{ opacity:1; transform: translateY(0); } }
  .service-modal-btn{ position:relative; z-index:1; margin-top: 32px; width:100%; justify-content:center; }
  body.modal-lock{ overflow: hidden; }
  @media (max-width: 640px){
    .service-modal-features{ grid-template-columns: 1fr; }
    .service-modal{ padding: 40px 26px 32px; }
  }
  @media (prefers-reduced-motion: reduce){
    .service-card{ transition: opacity 0.4s ease; transform: none !important; }
    .service-modal-overlay.open .service-modal,
    .service-modal-overlay.closing .service-modal{ animation: none; opacity:1; transform:none; }
    .service-modal-overlay.open .service-modal::before{ animation:none; opacity:0; }
  }

  /* ---------- FORM STATUS ---------- */
  .form-status{
    font-size: 0.85rem; margin-top: 12px; text-align:center;
    min-height: 20px; transition: color 0.3s ease;
  }
  .form-status.ok{ color: #6dffb8; }
  .form-status.err{ color: #ff6d8a; }

  /* ---------- CONTACT ---------- */
  .contact-grid{ display:grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; }
  .contact-info{ padding: 40px; display:flex; flex-direction:column; justify-content:space-between; }
  .contact-info h3{ font-size: 1.6rem; margin-bottom: 14px; }
  .contact-info p{ color: var(--muted); line-height: 1.75; margin-bottom: 26px; }
  .info-line{ display:flex; align-items:center; gap: 14px; margin-bottom: 18px; font-size: 0.95rem; }
  .info-dot{
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.06); border: 1px solid var(--panel-border);
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
    font-size: 1rem;
  }
  .social-row{ display:flex; gap: 12px; margin-top: 24px; }
  .social-row a{
    width: 42px; height: 42px; border-radius: 50%;
    display:flex; align-items:center; justify-content:center;
    background: rgba(255,255,255,0.06); border: 1px solid var(--panel-border);
    color: var(--text); transition: 0.3s ease;
  }
  .social-row a:hover{ background: linear-gradient(135deg,var(--purple),var(--magenta)); transform: translateY(-4px); }
  .social-row svg{ width: 18px; height: 18px; }

  .contact-form{ padding: 40px; }
  .form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
  .field{ display:flex; flex-direction:column; gap: 8px; }
  .field.full{ grid-column: 1/-1; }
  .field label{ font-size: 0.78rem; color: var(--muted); letter-spacing:0.04em; }
  .field input, .field textarea{
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: 13px 16px;
    color: var(--text);
    font-family: 'Manrope', sans-serif;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
  }
  .field input:focus, .field textarea:focus{ border-color: var(--magenta); background: rgba(255,255,255,0.08); }
  .field textarea{ resize: vertical; min-height: 110px; }
  .contact-form .btn-primary{ width: 100%; justify-content:center; margin-top: 6px; }

  /* ---------- FOOTER ---------- */
  footer{
    position: relative; z-index:1;
    padding: 40px 5%;
    border-top: 1px solid rgba(255,255,255,0.08);
    display:flex; align-items:center; justify-content:space-between;
    flex-wrap:wrap; gap: 16px;
    font-size: 0.82rem; color: var(--muted-2);
  }
  .footer-brand{ display:flex; align-items:center; gap:10px; }
  .footer-brand img{ width: 26px; }
  .footer-links{ display:flex; flex-wrap:wrap; gap: 4px 18px; order: 3; flex-basis:100%; justify-content:center; }
  .footer-links a{ color: var(--muted-2); transition: color 0.3s ease; }
  .footer-links a:hover{ color: var(--text); }
  .footer-social{ display:flex; gap: 10px; }
  .footer-social a{
    width: 34px; height: 34px; border-radius: 50%;
    display:flex; align-items:center; justify-content:center;
    background: rgba(255,255,255,0.06); border: 1px solid var(--panel-border);
    color: var(--text); transition: 0.3s ease;
  }
  .footer-social a:hover{ background: linear-gradient(135deg,var(--purple),var(--magenta)); transform: translateY(-4px); border-color:transparent; }
  .footer-social svg{ width: 16px; height: 16px; }

  /* reveal on scroll */
  .reveal{ opacity: 0; transform: translateY(36px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.3,1); }
  .reveal.in{ opacity: 1; transform: translateY(0); }

  /* ---------- responsive ---------- */
  @media (max-width: 980px){
    .hero-grid, .about-grid, .contact-grid{ grid-template-columns: 1fr; }
    .port-grid, .serv-grid{ grid-template-columns: repeat(2,1fr); }
    .testi-card{ width: 300px; }
    .about-cards{ grid-template-columns: repeat(3,1fr); }
    .hero-stage{ height: 320px; margin-top: 30px; }
    .navlinks{ position: fixed; top:0; right:0; height:100vh; width: 74%; max-width:320px;
      background: rgba(10,6,20,0.97); backdrop-filter: blur(20px);
      flex-direction:column; justify-content:center; align-items:flex-start; padding: 40px;
      transform: translateX(100%); transition: transform 0.4s ease; gap: 6px;
      border-left: 1px solid rgba(255,255,255,0.08);
      border-radius: 0; box-shadow: none;
    }
    .navlinks.open{ transform: translateX(0); }
    .navlinks a{ width:100%; padding: 14px 16px; font-size: 1rem; }
    .navlinks a.nav-link--secondary{ display: block; }
    .nav-cta{ display:none; }
    .brand .word{ font-size: 0.95rem; }
    nav{ width: min(560px, 94vw); padding: 6px 6px 6px 14px; }
    .burger{ display:flex; }
  }
  @media (max-width: 480px){
    nav{ width: 94vw; }
  }
  @media (max-width: 640px){
    .port-grid, .serv-grid, .process-grid{ grid-template-columns: 1fr; }
    .about-cards{ grid-template-columns: 1fr 1fr; }
    .form-row{ grid-template-columns: 1fr; }
    .stat-row{ gap: 26px; flex-wrap:wrap; }
    #backToTop{ width: 42px; height: 42px; bottom: 18px; right: 18px; }
  }

  @media (prefers-reduced-motion: reduce){
    *{ animation: none !important; transition: none !important; }
  }

  /* ---------- HOME: SECTION TEASERS ---------- */
  .teaser-head{ display:flex; align-items:flex-end; justify-content:space-between; gap: 24px; margin-bottom: 44px; flex-wrap:wrap; }
  .teaser-head .section-head{ margin-bottom:0; }
  .view-all{ display:inline-flex; align-items:center; gap:8px; font-size:0.85rem; font-weight:700; color:var(--violet); white-space:nowrap; padding-bottom: 6px; transition:color 0.25s ease; }
  .view-all:hover{ color: var(--magenta); }

  .about-teaser-grid{ display:grid; grid-template-columns: 0.8fr 1.2fr; gap:50px; align-items:center; }
  .about-teaser-visual{ position:relative; aspect-ratio:1/1; max-width:340px; display:flex; align-items:center; justify-content:center; }

  .mini-serv-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; }
  .mini-port-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; }
  .mini-testi-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; }

  .cta-banner{
    text-align:center; border-radius: 28px;
    padding: 64px 6%;
    background: linear-gradient(135deg, rgba(123,47,247,0.20), rgba(255,46,196,0.14));
    border: 1px solid rgba(255,255,255,0.1);
  }
  .cta-banner h2{ font-size:clamp(1.8rem,3.6vw,2.6rem); margin-bottom:16px; }
  .cta-banner p{ color:var(--muted); max-width:560px; margin:0 auto 30px; font-size:1.02rem; line-height:1.7; }
  .cta-banner .btn-row{ justify-content:center; }

  /* ---------- ABOUT: FULL PAGE ---------- */
  .about-story{ max-width: 820px; margin: 0 auto 70px; text-align:center; }
  .about-story .eyebrow{ justify-content:center; }
  .about-story h2{ font-size:clamp(2rem,4vw,2.8rem); margin:14px 0 22px; }
  .about-story p{ color:var(--muted); line-height:1.85; font-size:1.05rem; margin-bottom:18px; text-align:left; }

  .values-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:26px; }
  .value-card{ padding:28px 22px; transition: opacity 0.8s ease, transform 0.35s cubic-bezier(.2,.7,.3,1), box-shadow 0.3s ease, border-color 0.3s ease; }
  .value-card .v-icon{ font-size:1.7rem; margin-bottom:16px; display:block; transition: transform 0.4s cubic-bezier(.2,.7,.3,1.4); }
  .value-card:hover .v-icon{ transform: translateY(-4px) rotate(-8deg) scale(1.15); }
  .value-card:hover{ box-shadow: 0 20px 44px rgba(123,47,247,0.25); border-color: rgba(255,46,196,0.35); }
  .value-card h3{ font-size:1.02rem; margin-bottom:8px; }
  .value-card p{ font-size:0.87rem; color:var(--muted); line-height:1.65; }
  .values-grid .value-card:nth-child(1){ transition-delay: 0s; }
  .values-grid .value-card:nth-child(2){ transition-delay: 0.1s; }
  .values-grid .value-card:nth-child(3){ transition-delay: 0.2s; }
  .values-grid .value-card:nth-child(4){ transition-delay: 0.3s; }

  .about-split{ display:grid; grid-template-columns:1fr 1fr; gap:26px; margin-top:70px; }
  .about-split .glass{ padding:32px 30px; transition: opacity 0.8s ease, transform 0.35s cubic-bezier(.2,.7,.3,1), box-shadow 0.35s ease, border-color 0.35s ease; }
  .about-split .glass:hover{ transform: translateY(-6px); box-shadow: 0 22px 48px rgba(123,47,247,0.22); border-color: rgba(255,46,196,0.35); }
  .about-split h3{ font-size:1.2rem; margin-bottom:14px; }
  .about-split p{ color:var(--muted); line-height:1.75; font-size:0.95rem; }
  .about-split ul{ margin: 14px 0 0; padding-left: 20px; color:var(--muted); font-size: 0.92rem; line-height:1.9; }
  .about-split li{ transition: color 0.25s ease, transform 0.25s ease; }
  .about-split li:hover{ color: var(--text); transform: translateX(4px); }
  .about-split .glass:nth-child(2){ transition-delay: 0.12s; }

  /* ---------- CONTACT: TABS ---------- */
  .contact-tabs{ display:flex; gap:10px; margin-bottom: 26px; flex-wrap:wrap; }
  .contact-tab{ padding:12px 24px; border-radius:100px; font-size:0.85rem; font-weight:700; cursor:pointer; background:rgba(255,255,255,0.05); border:1px solid var(--panel-border); color:var(--muted); transition:0.25s ease; }
  .contact-tab:hover{ color:var(--text); }
  .contact-tab.active{ background:linear-gradient(135deg,var(--purple),var(--magenta)); color:#fff; border-color:transparent; }
  .contact-panel{ display:none; }
  .contact-panel.active{ display:block; }

  /* ---------- CONTACT: STEP QUOTE FORM ---------- */
  .step-indicator{ display:flex; align-items:center; gap:0; margin-bottom:34px; }
  .step-dot{ width:34px;height:34px;border-radius:50%; display:flex;align-items:center;justify-content:center; font-family:'Unbounded',sans-serif; font-weight:700; font-size:0.82rem; background:rgba(255,255,255,0.06); border:1px solid var(--panel-border); color:var(--muted); flex-shrink:0; transition:0.3s ease;}
  .step-line{ flex:1; height:1px; background:var(--panel-border); margin:0 6px; }
  .step-dot.active{ background:linear-gradient(135deg,var(--purple),var(--magenta)); color:#fff; border-color:transparent; box-shadow: 0 0 16px rgba(255,46,196,0.4); }
  .step-dot.done{ background:rgba(255,46,196,0.22); color:#fff; border-color:rgba(255,46,196,0.5); }

  .form-step{ display:none; }
  .form-step.active{ display:block; }
  .form-step h4{ font-size:1.1rem; margin-bottom: 8px; }
  .form-step > p.step-sub{ color:var(--muted); font-size:0.88rem; margin-bottom:22px; }

  .service-options{ display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin-bottom:8px; }
  .service-check{ display:flex; align-items:center; gap:12px; padding:16px 18px; cursor:pointer; border-radius:14px; background:rgba(255,255,255,0.04); border:1px solid var(--panel-border); transition:0.25s ease; }
  .service-check:hover{ background:rgba(255,255,255,0.07); }
  .service-check input{ accent-color: var(--magenta); width:18px; height:18px; flex-shrink:0; }
  .service-check span{ font-size:0.9rem; }
  .service-check.checked{ border-color:rgba(255,46,196,0.5); background:rgba(255,46,196,0.09); }

  .step-actions{ display:flex; justify-content:space-between; align-items:center; margin-top: 28px; gap:14px; flex-wrap:wrap; }
  .btn-whatsapp{ background:#25D366; color:#062b13; box-shadow:0 10px 26px rgba(37,211,102,0.35); }
  .btn-whatsapp:hover{ transform: translateY(-4px) scale(1.03); box-shadow:0 16px 36px rgba(37,211,102,0.45); }
  .btn-link{ background:transparent; color:var(--muted); border:none; font-weight:700; cursor:pointer; font-size:0.88rem; padding:10px 4px; }
  .btn-link:hover{ color:var(--text); }

  .quote-summary{ padding: 22px 24px; margin-bottom:22px; }
  .quote-summary h4{ font-size:1rem; margin-bottom:12px; }
  .quote-summary ul{ list-style:none; padding:0; margin:0 0 6px; }
  .quote-summary li{ font-size:0.9rem; color:var(--muted); padding:4px 0; }
  .quote-summary li::before{ content:'✓ '; color:var(--magenta); font-weight:700; }
  .quote-summary .empty-note{ color: var(--muted-2); font-size:0.85rem; }

  .field-note{ font-size:0.78rem; color:var(--muted-2); margin-top:6px; }

  @media (max-width: 980px){
    .about-teaser-grid{ grid-template-columns:1fr; }
    .about-teaser-visual{ margin: 0 auto; }
    .mini-serv-grid,.mini-port-grid,.mini-testi-grid{ grid-template-columns:repeat(2,1fr); }
    .values-grid{ grid-template-columns:repeat(2,1fr); }
    .about-split{ grid-template-columns:1fr; }
    .service-options{ grid-template-columns:1fr; }
  }
  @media (max-width:640px){
    .mini-serv-grid,.mini-port-grid,.mini-testi-grid{ grid-template-columns:1fr; }
    .values-grid{ grid-template-columns:1fr; }
  }

  /* ---------- CASE STUDY / PROJECT PAGE ---------- */
  .case-back{
    display:inline-flex; align-items:center; gap:8px;
    color: var(--muted); text-decoration:none; font-size:0.9rem; font-weight:600;
    margin-bottom: 28px; transition: color 0.2s ease, transform 0.2s ease;
  }
  .case-back:hover{ color: var(--text); transform: translateX(-4px); }

  .case-hero{
    display:grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items:center;
    padding: 48px 0 20px;
  }
  .case-logo-panel{
    position:relative; padding: 50px 30px; border-radius: 26px;
    background:#000;
    display:flex; align-items:center; justify-content:center;
    overflow:hidden;
  }
  .case-logo-panel::before{
    content:''; position:absolute; inset:0;
    background: radial-gradient(circle at 30% 20%, rgba(255,46,196,0.16), transparent 60%);
  }
  .case-logo-panel img{ position:relative; max-width: 80%; max-height: 260px; object-fit:contain; }
  .case-copy .eyebrow{ margin-bottom:14px; }
  .case-copy h1{ font-size: clamp(2rem,4vw,2.9rem); margin-bottom:18px; }
  .case-copy p{ color: var(--muted); line-height:1.8; font-size:1.03rem; margin-bottom: 22px; }
  .case-tags{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom: 26px; }
  .case-tag{
    font-size:0.72rem; font-weight:700; letter-spacing:0.1em; text-transform:uppercase;
    padding:7px 14px; border-radius:100px;
    background: rgba(255,255,255,0.07); border:1px solid var(--panel-border); color: var(--text);
  }

  .case-meta-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin: 10px 0 70px; }
  .case-meta-card{ padding:22px 20px; }
  .case-meta-card span{ display:block; font-size:0.72rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--muted-2); margin-bottom:8px; }
  .case-meta-card b{ font-family:'Unbounded',sans-serif; font-size:1.02rem; line-height:1.4; color:var(--text); font-weight:600; }

  .case-section{ margin-bottom: 80px; }
  .case-section .section-head{ margin-bottom: 40px; }

  .case-menu-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:26px; }
  .case-menu-grid .glass{ padding:14px; border-radius:22px; }
  .case-menu-grid img{ width:100%; border-radius:14px; display:block; }

  .case-post-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
  .case-post-grid .glass{ padding:12px; border-radius:20px; }
  .case-post-grid img{ width:100%; border-radius:12px; display:block; }

  .case-browser{
    border-radius: 18px; overflow:hidden; background:#000;
    border:1px solid var(--panel-border);
    margin-bottom: 26px;
  }
  .case-browser-bar{
    display:flex; align-items:center; gap:7px;
    padding: 12px 16px; background: rgba(255,255,255,0.04);
    border-bottom: 1px solid var(--panel-border);
  }
  .case-browser-bar span{ width:10px; height:10px; border-radius:50%; background: rgba(255,255,255,0.18); }
  .case-browser-bar span:nth-child(1){ background:#ff5f57; }
  .case-browser-bar span:nth-child(2){ background:#febc2e; }
  .case-browser-bar span:nth-child(3){ background:#28c840; }
  .case-browser img{ width:100%; display:block; }

  .case-cta{
    text-align:center; padding: 56px 30px; border-radius: 26px;
    background: linear-gradient(135deg, rgba(123,47,247,0.18), rgba(255,46,196,0.14));
    border:1px solid var(--panel-border);
  }
  .case-cta h3{ font-size: clamp(1.5rem,3vw,2.1rem); margin-bottom:14px; }
  .case-cta p{ color:var(--muted); margin-bottom:26px; max-width:520px; margin-left:auto; margin-right:auto; }

  @media (max-width: 980px){
    .case-hero{ grid-template-columns:1fr; }
    .case-meta-grid{ grid-template-columns:repeat(2,1fr); }
    .case-menu-grid{ grid-template-columns:1fr; }
    .case-post-grid{ grid-template-columns:repeat(2,1fr); }
  }

/* =====================================================================
   HOME PAGE REDESIGN (below hero) — "hp-" prefixed classes
   ===================================================================== */

/* ---------- shared decorative primitives ---------- */
.hp-float-shape{ position:absolute; pointer-events:none; z-index:0; opacity:0.5; }
.hp-float-shape.blob{ border-radius:50%; filter: blur(70px); animation: hpDrift 14s ease-in-out infinite; }
.hp-float-shape.hex{
  width:70px; height:80px;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  border: 1px solid rgba(185,103,255,0.28);
  animation: hpSpinDrift 22s linear infinite;
}
.hp-float-shape.ring{
  border-radius:50%; border:1px solid rgba(77,227,255,0.22);
  animation: hpDrift 10s ease-in-out infinite;
}
.hp-float-shape.dot{
  width:6px; height:6px; border-radius:50%;
  background: var(--magenta); box-shadow: 0 0 14px 4px rgba(255,46,196,0.55);
  animation: hpDrift 6s ease-in-out infinite;
}
@keyframes hpDrift{
  0%,100%{ transform: translate(0,0); }
  50%{ transform: translate(14px,-22px); }
}
@keyframes hpSpinDrift{
  0%{ transform: rotate(0deg) translateY(0); }
  50%{ transform: rotate(180deg) translateY(-16px); }
  100%{ transform: rotate(360deg) translateY(0); }
}

.hp-grid-overlay{
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image:
    linear-gradient(rgba(185,103,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185,103,255,0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 0%, transparent 78%);
  animation: gridDrift 18s linear infinite;
  opacity:0.8;
}

.hp-scanline{
  position:absolute; left:4%; right:4%; height:1.5px; top:0; z-index:1; pointer-events:none;
  background: linear-gradient(90deg, transparent, var(--cyan-2), transparent);
  opacity:0.5; filter: drop-shadow(0 0 6px var(--cyan));
  animation: hexScan 4.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce){
  .hp-float-shape, .hp-grid-overlay, .hp-scanline{ animation:none !important; }
}

/* ---------- capability marquee strip ---------- */
.hp-marquee-section{
  padding: 34px 0 !important;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  position: relative;
}
.hp-marquee-fade{ position:absolute; top:0; bottom:0; width:120px; z-index:2; pointer-events:none; }
.hp-marquee-fade.left{ left:0; background: linear-gradient(90deg, var(--bg), transparent); }
.hp-marquee-fade.right{ right:0; background: linear-gradient(-90deg, var(--bg), transparent); }
.hp-marquee-track{
  display:flex; align-items:center; gap: 34px; width: max-content;
  animation: hpMarquee 30s linear infinite;
  white-space: nowrap;
}
.hp-marquee-track span{
  font-family:'Unbounded', sans-serif; font-size: 0.85rem; font-weight:600;
  letter-spacing: 0.06em; color: var(--muted);
  display:inline-flex; align-items:center; gap:34px;
}
.hp-marquee-track .hp-dot{ color: var(--magenta); font-size: 0.6rem; }
@keyframes hpMarquee{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

/* ---------- About Preview upgrade ---------- */
#about-teaser{ position:relative; overflow:hidden; }
.hp-about-panel{ position:relative; overflow:hidden; padding: 54px 5%; }
.hp-about-grid{ position:relative; z-index:2; display:grid; grid-template-columns: 0.85fr 1.15fr; gap:56px; align-items:center; }
.hp-about-visual{ position:relative; aspect-ratio:1/1; max-width:340px; margin:0 auto; display:flex; align-items:center; justify-content:center; }
.hp-badge{
  position:absolute; z-index:3; display:flex; align-items:center; gap:8px;
  padding: 10px 16px; border-radius: 100px; font-size:0.78rem; font-weight:700;
  background: rgba(12,7,22,0.75); border:1px solid var(--panel-border);
  backdrop-filter: blur(12px); box-shadow: 0 10px 26px rgba(0,0,0,0.4);
  animation: floatY 5s ease-in-out infinite;
  white-space:nowrap;
}
.hp-badge.b1{ top: 6%; left: -8%; animation-delay: 0.2s; }
.hp-badge.b2{ bottom: 12%; right: -10%; animation-delay: 1s; }
.hp-badge.b3{ bottom: -4%; left: 6%; animation-delay: 1.8s; }

.hp-value-row{ display:flex; flex-wrap:wrap; gap:12px; margin: 26px 0 30px; }
.hp-value-chip{
  display:flex; align-items:center; gap:9px; padding: 10px 16px 10px 12px; border-radius: 100px;
  background: rgba(255,255,255,0.05); border:1px solid var(--panel-border);
  font-size: 0.83rem; font-weight:600; color: var(--text);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.hp-value-chip:hover{ border-color: rgba(255,46,196,0.45); background: rgba(255,46,196,0.08); transform: translateY(-3px); }
.hp-value-chip .ic{ font-size:1rem; }

.hp-about-foot{ display:flex; align-items:center; gap:28px; flex-wrap:wrap; margin-top: 8px; }
.hp-mini-stat{ display:flex; flex-direction:column; }
.hp-mini-stat b{ font-family:'Unbounded',sans-serif; font-size:1.3rem; background: linear-gradient(120deg,var(--violet),var(--magenta)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hp-mini-stat span{ font-size:0.72rem; color:var(--muted-2); text-transform:uppercase; letter-spacing:0.05em; }

/* ---------- Services Preview upgrade ---------- */
#services-teaser{ position:relative; }
.hp-serv-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap:22px; position:relative; z-index:1; }
.serv-card--cta{
  display:flex; flex-direction:column; justify-content:center;
  border: 1.5px dashed rgba(185,103,255,0.4); background: rgba(255,255,255,0.02);
  text-decoration:none; color:inherit;
}
.serv-card--cta:hover{ border-color: rgba(255,46,196,0.6); border-style: solid; }
.serv-card--cta .serv-cta-arrow{
  width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,0.06); border:1px solid var(--panel-border);
  margin-bottom:18px; font-size:1.2rem; transition: transform 0.35s cubic-bezier(.2,.9,.3,1.3), background 0.3s ease;
}
.serv-card--cta:hover .serv-cta-arrow{ transform: rotate(45deg) scale(1.1); background: linear-gradient(135deg,var(--purple),var(--magenta)); }

/* ---------- Portfolio horizontal slider ---------- */
#work-teaser{ position:relative; overflow:hidden; padding-bottom: 90px !important; }
.hp-port-slider-wrap{ position:relative; z-index:1; }
.hp-port-slider{
  display:flex; gap: 26px; overflow-x:auto; scroll-snap-type: x proximity;
  padding: 10px 5% 20px; margin: 0 -5%;
  cursor: grab; user-select:none;
  scrollbar-width:none; -ms-overflow-style:none;
}
.hp-port-slider::-webkit-scrollbar{ display:none; }
.hp-port-slider.dragging{ cursor:grabbing; scroll-snap-type:none; }
.hp-port-card{
  flex: 0 0 340px; height: 400px; scroll-snap-align:start;
  position:relative; isolation:isolate;
}
.hp-port-card::after{
  content:''; position:absolute; inset:-1.5px; z-index:-1; border-radius: 22px;
  background: linear-gradient(135deg, var(--tone1,#5b0fc9), var(--tone2,#ff2ec4));
  opacity:0; transition: opacity 0.4s ease;
  filter: blur(2px);
}
.hp-port-card:hover::after{ opacity:0.85; }
.hp-port-card .port-card{ height:100%; border-radius:20px; }
.hp-port-card .port-card:hover{ transform: translateY(-8px) scale(1.015); }

.hp-port-controls{ display:flex; align-items:center; justify-content:center; gap:20px; margin-top: 10px; }
.hp-port-arrow{
  width:46px; height:46px; border-radius:50%; flex-shrink:0;
  background: rgba(255,255,255,0.06); border:1px solid var(--panel-border);
  color:var(--text); font-size:1.2rem; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition: 0.25s ease;
}
.hp-port-arrow:hover{ background: linear-gradient(135deg,var(--purple),var(--magenta)); border-color:transparent; transform: translateY(-3px); }
.hp-port-progress{ width: 220px; height:3px; border-radius:100px; background: rgba(255,255,255,0.08); overflow:hidden; }
.hp-port-progress-bar{ height:100%; width:20%; border-radius:100px; background: linear-gradient(90deg,var(--purple),var(--magenta)); transition: width 0.15s ease; }

/* ---------- Process timeline preview ---------- */
#process-teaser{ position:relative; overflow:hidden; }
.hp-timeline{ position:relative; display:grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 10px; z-index:1; }
.hp-timeline::before{
  content:''; position:absolute; top: 34px; left: 8%; right: 8%; height:1px;
  background: linear-gradient(90deg, transparent, rgba(185,103,255,0.5) 15%, rgba(255,46,196,0.5) 85%, transparent);
}
.hp-timeline-node{ position:relative; text-align:center; padding: 0 12px; }
.hp-timeline-num{
  width: 68px; height:68px; margin: 0 auto 22px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-family:'Unbounded',sans-serif; font-weight:700; font-size:1.15rem;
  background: radial-gradient(circle at 35% 30%, #241238, #0c0716);
  border: 1px solid rgba(185,103,255,0.4);
  box-shadow: 0 0 0 6px rgba(123,47,247,0.06), 0 12px 30px rgba(0,0,0,0.4);
  position:relative; z-index:1;
  transition: transform 0.35s cubic-bezier(.2,.9,.3,1.3), box-shadow 0.35s ease, border-color 0.35s ease;
}
.hp-timeline-node:hover .hp-timeline-num{
  transform: scale(1.1);
  border-color: var(--magenta);
  box-shadow: 0 0 0 8px rgba(255,46,196,0.12), 0 0 30px rgba(255,46,196,0.4);
}
.hp-timeline-node h4{ font-size:1rem; margin-bottom:8px; }
.hp-timeline-node p{ font-size:0.85rem; color:var(--muted); line-height:1.6; }

/* ---------- Client stats band ---------- */
#stats-teaser{ position:relative; overflow:hidden; padding-top: 90px !important; padding-bottom: 90px !important; }
.hp-stats-panel{ position:relative; overflow:hidden; padding: 54px 5%; }
.hp-stats-grid{ position:relative; z-index:1; display:grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.hp-stat-card{ text-align:center; padding: 20px 10px; }
.hp-stat-ic{ font-size:1.6rem; margin-bottom:14px; display:block; }
.hp-stat-card b{
  display:block; font-family:'Unbounded',sans-serif; font-size: 2.1rem;
  background: linear-gradient(120deg,var(--violet),var(--magenta));
  -webkit-background-clip:text; background-clip:text; color:transparent;
  margin-bottom: 6px;
}
.hp-stat-card span{ font-size:0.78rem; color:var(--muted-2); text-transform:uppercase; letter-spacing:0.06em; }

/* ---------- Testimonials decoration ---------- */
#testimonials-teaser{ position:relative; overflow:hidden; }
.hp-quote-glyph{
  position:absolute; top: -10px; left: 50%; transform: translateX(-50%);
  font-family:'Unbounded',sans-serif; font-size: 220px; line-height:1; color: rgba(123,47,247,0.06);
  z-index:0; pointer-events:none !important; user-select:none;
}

/* keep real content painted above any preceding absolute-positioned decoration */
#services-teaser .container,
#work-teaser .container,
#work-teaser .hp-port-slider-wrap,
#process-teaser .container,
#testimonials-teaser .container{
  position:relative; z-index:1;
}

/* ---------- FAQ preview ---------- */
#faq-teaser .faq-list{ max-width: none; }

/* ---------- Final CTA upgrade ---------- */
#contact-teaser{ position:relative; overflow:hidden; }
.hp-cta-panel{ position:relative; overflow:hidden; }
.hp-trust-row{ display:flex; justify-content:center; flex-wrap:wrap; gap: 26px; margin-top: 30px; position:relative; z-index:1; }
.hp-trust-item{ display:flex; align-items:center; gap:8px; font-size:0.82rem; color:var(--muted); }
.hp-trust-item .ic{ font-size:0.95rem; }

/* ---------- section entrance stagger helpers ---------- */
.hp-stagger > *{ transition-delay: calc(var(--i, 0) * 0.09s); }

.hp-serv-grid .serv-card:nth-child(1){ transition-delay: 0s; }
.hp-serv-grid .serv-card:nth-child(2){ transition-delay: 0.08s; }
.hp-serv-grid .serv-card:nth-child(3){ transition-delay: 0.16s; }
.hp-serv-grid .serv-card:nth-child(4){ transition-delay: 0.24s; }

.hp-timeline.reveal .hp-timeline-node{ opacity:0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.3,1); }
.hp-timeline.reveal.in .hp-timeline-node{ opacity:1; transform: translateY(0); }
.hp-timeline.reveal.in .hp-timeline-node:nth-child(1){ transition-delay: 0s; }
.hp-timeline.reveal.in .hp-timeline-node:nth-child(2){ transition-delay: 0.12s; }
.hp-timeline.reveal.in .hp-timeline-node:nth-child(3){ transition-delay: 0.24s; }
.hp-timeline.reveal.in .hp-timeline-node:nth-child(4){ transition-delay: 0.36s; }

.hp-stats-grid .hp-stat-card{ opacity:0; transform: translateY(20px) scale(0.94); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.2,.7,.3,1); }
.hp-stats-panel.reveal.in .hp-stat-card{ opacity:1; transform: translateY(0) scale(1); }
.hp-stats-panel.reveal.in .hp-stat-card:nth-child(1){ transition-delay: 0s; }
.hp-stats-panel.reveal.in .hp-stat-card:nth-child(2){ transition-delay: 0.1s; }
.hp-stats-panel.reveal.in .hp-stat-card:nth-child(3){ transition-delay: 0.2s; }
.hp-stats-panel.reveal.in .hp-stat-card:nth-child(4){ transition-delay: 0.3s; }

.faq-list.reveal .faq-item{ opacity:0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.2,.7,.3,1); }
.faq-list.reveal.in .faq-item{ opacity:1; transform: translateY(0); }
.faq-list.reveal.in .faq-item:nth-child(1){ transition-delay: 0s; }
.faq-list.reveal.in .faq-item:nth-child(2){ transition-delay: 0.08s; }
.faq-list.reveal.in .faq-item:nth-child(3){ transition-delay: 0.16s; }
.faq-list.reveal.in .faq-item:nth-child(4){ transition-delay: 0.24s; }

.hp-port-card{ opacity:0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.3,1); }
.hp-port-slider-wrap.reveal.in .hp-port-card{ opacity:1; transform: translateY(0); }
.hp-port-slider-wrap.reveal.in .hp-port-card:nth-child(1){ transition-delay: 0s; }
.hp-port-slider-wrap.reveal.in .hp-port-card:nth-child(2){ transition-delay: 0.08s; }
.hp-port-slider-wrap.reveal.in .hp-port-card:nth-child(3){ transition-delay: 0.16s; }
.hp-port-slider-wrap.reveal.in .hp-port-card:nth-child(4){ transition-delay: 0.24s; }
.hp-port-slider-wrap.reveal.in .hp-port-card:nth-child(5){ transition-delay: 0.32s; }

/* ---------- responsive ---------- */
@media (max-width: 980px){
  .hp-about-grid{ grid-template-columns:1fr; }
  .hp-about-visual{ margin: 0 auto 20px; }
  .hp-badge{ display:none; }
  .hp-serv-grid{ grid-template-columns: repeat(2,1fr); }
  .hp-timeline{ grid-template-columns: repeat(2,1fr); row-gap: 40px; }
  .hp-timeline::before{ display:none; }
  .hp-stats-grid{ grid-template-columns: repeat(2,1fr); row-gap: 28px; }
  .hp-port-card{ flex-basis: 300px; height: 370px; }
}
@media (max-width: 640px){
  .hp-serv-grid{ grid-template-columns: 1fr; }
  .hp-timeline{ grid-template-columns: 1fr; }
  .hp-stats-grid{ grid-template-columns: 1fr 1fr; }
  .hp-port-card{ flex-basis: 78vw; height: 340px; }
  .hp-marquee-track span{ font-size:0.75rem; gap:20px; }
  .hp-quote-glyph{ font-size:120px; }
}

/* =====================================================================
   MOBILE RESPONSIVE POLISH (added)
   Tightens spacing, fixes remaining fixed-width/overflow spots, and
   makes every grid degrade cleanly down to small phones.
   ===================================================================== */

/* ---------- tablet / small laptop ---------- */
@media (max-width: 860px){
  section{ padding: 130px 6% 90px; }
  .section-head{ margin-bottom: 48px; }
  .hero-stage{ height: 300px; }
  .hero-hex-wrap img{ width: min(300px, 62vw); }
  .about-visual{ max-width: 320px; margin: 0 auto 12px; }
  .about-teaser-visual{ max-width: 280px; margin: 0 auto; }
  .case-hero{ padding: 36px 0 16px; }
  .case-logo-panel{ padding: 34px 22px; }
  .cyber-panel{ padding: 40px 26px; }
  .funnel-scene{ max-width: 380px; }
}

/* ---------- phones ---------- */
@media (max-width: 640px){
  section{ padding: 120px 6% 70px; }
  .section-head{ margin-bottom: 36px; }
  .section-head h2{ font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .section-head p{ font-size: 0.98rem; }

  /* nav */
  .brand .word{ font-size: 0.82rem; }
  .brand img{ width: 28px; height: 28px; }
  nav{ padding: 6px 6px 6px 12px; }

  /* hero */
  #home{ padding-top: 100px; min-height: auto; padding-bottom: 40px; }
  .hero-copy h1{ font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .hero-copy p{ font-size: 1rem; max-width: 100%; }
  .hero-stage{ height: 240px; margin-top: 20px; }
  .hero-hex-wrap img{ width: min(230px, 58vw); }
  .ring.r1{ width: 240px; height: 240px; margin: -120px 0 0 -120px; }
  .ring.r2{ width: 300px; height: 300px; margin: -150px 0 0 -150px; }
  .stat-row{ gap: 22px; margin-top: 38px; }
  .stat b{ font-size: 1.4rem; }
  .btn{ padding: 13px 24px; font-size: 0.88rem; }

  /* about */
  .about-visual{ max-width: 260px; margin: 0 auto 12px; }
  .about-teaser-visual{ max-width: 220px; margin: 0 auto; }
  .about-cards{ grid-template-columns: 1fr 1fr; gap: 14px; }
  .about-split{ margin-top: 44px; }
  .about-split .glass{ padding: 26px 22px; }
  .cyber-panel{ padding: 32px 18px; border-radius: 20px; }
  .industry-tags{ gap: 8px; }
  .industry-tag{ font-size: 0.72rem; padding: 8px 14px; }

  /* portfolio / services cards */
  .port-card{ height: 260px; }
  .serv-card, .service-card{ padding: 26px 22px; }

  /* process funnel */
  .funnel-stage{ padding: 34px 10px 26px; border-radius: 20px; }
  .funnel-scene{ max-width: 300px; height: 380px; }
  .funnel-label{ font-size: 0.56rem; }
  .funnel-caption{ font-size: 0.85rem; }
  .step-indicator{ margin-bottom: 24px; }
  .step-dot{ width: 28px; height: 28px; font-size: 0.72rem; }

  /* testimonials */
  .testi-card{ width: 84vw; padding: 24px 20px; }
  .testi-track-wrap::before, .testi-track-wrap::after{ width: 36px; }

  /* faq */
  .faq-q{ padding: 18px 18px; }
  .faq-q h4{ font-size: 0.9rem; }
  .faq-a{ padding: 0 18px; }

  /* contact */
  .contact-info, .contact-form{ padding: 26px 20px; }
  .contact-info h3{ font-size: 1.35rem; }
  .contact-tabs{ gap: 8px; }
  .contact-tab{ padding: 10px 18px; font-size: 0.8rem; }
  .service-options{ grid-template-columns: 1fr; }

  /* case study pages */
  .case-copy h1{ font-size: clamp(1.7rem, 8vw, 2.3rem); }
  .case-logo-panel{ padding: 28px 18px; border-radius: 20px; }
  .case-logo-panel img{ max-height: 180px; }
  .case-meta-grid{ grid-template-columns: 1fr 1fr; gap: 12px; }
  .case-meta-card{ padding: 16px 14px; }
  .case-post-grid{ grid-template-columns: 1fr 1fr; gap: 14px; }
  .case-cta{ padding: 40px 20px; }

  /* footer */
  footer{ flex-direction: column; text-align: center; padding: 32px 6%; }
  .footer-brand{ justify-content: center; }
  .footer-links{ order: 2; }
  .footer-social{ order: 3; }

  /* cta banner */
  .cta-banner{ padding: 44px 6%; border-radius: 22px; }

  /* home teasers */
  .hp-stats-panel{ padding: 40px 5%; }
  .hp-timeline-num{ width: 56px; height: 56px; }
}

/* ---------- small phones ---------- */
@media (max-width: 420px){
  .navlinks{ width: 84%; }
  .hero-copy h1{ font-size: clamp(1.9rem, 9.5vw, 2.4rem); }
  .btn-row{ gap: 12px; }
  .btn{ width: 100%; justify-content: center; }
  .about-cards{ grid-template-columns: 1fr; }
  .case-meta-grid{ grid-template-columns: 1fr; }
  .case-post-grid{ grid-template-columns: 1fr; }
  .testi-card{ width: 88vw; }
  .stat-row{ gap: 16px 24px; }
  .footer-links{ gap: 4px 12px; font-size: 0.78rem; }
}

/* ---------- prevent any residual horizontal scroll ---------- */
img, svg{ max-width: 100%; height: auto; }
.case-logo-panel img, .port-logo-plate img{ height: auto; }
