﻿/* =============================================
   PENTOOLS STUDIO — v6 CINEMATIC REDESIGN (polished)
   ============================================= */
:root {
  /* Palette */
  --bg:        #02060C;
  --bg2:       #040A12;
  --surface:   #070E18;
  --surface2:  #0A1220;

  /* ★ MAIN ACCENT — Electric Cyan ★ */
  --pu:        #06B6D4;  /* Cyan-500 */
  --pu-d:      #0369A1;  /* Sky-700  */
  --pu-l:      #38BDF8;  /* Sky-300  */
  --pu-p:      #7DD3FC;  /* Sky-200  */

  /* Service section accents — each unique */
  --web-c:     #06B6D4;  /* cyan  (changed with theme) */
  --web-bg:    #020A0D;
  --vid-c:     #10B981;  /* emerald */
  --vid-bg:    #040D08;
  --eco-c:     #F59E0B;  /* amber */
  --eco-bg:    #0D0907;
  --app-c:     #818CF8;  /* indigo */
  --app-bg:    #07080F;
  --seo-c:     #EC4899;  /* pink */
  --seo-bg:    #0D0608;
  --des-c:     #A855F7;  /* violet */
  --des-bg:    #0A0710;
  --pho-c:     #EF4444;  /* red */
  --pho-bg:    #0D0606;

  --green-wa:  #25D366;
  --text:      #F0F9FF;
  --text-m:    rgba(240,249,255,0.6);
  --text-d:    rgba(240,249,255,0.3);
  --glass:     rgba(6,182,212,0.05);
  --glass-b:   rgba(6,182,212,0.12);
  --grad:      linear-gradient(135deg,#06B6D4,#0369A1);
  --grad-t:    linear-gradient(135deg,#7DD3FC,#06B6D4);

  --ease:      cubic-bezier(0.22,0.61,0.36,1);
  --spring:    cubic-bezier(0.34,1.56,0.64,1);
  --nav-h:     70px;

  --fh:       'Syne', 'Space Grotesk', sans-serif;
  --fb:       'DM Sans', sans-serif;
  --fg:       'Space Grotesk', sans-serif;
  --fi:       'Playfair Display', serif;
}

/* ===== RESET ===== */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--fb); font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
button { cursor: none; font-family: inherit; border: none; }

/* ===== THREE.JS CANVAS ===== */
#bg-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.4; }

/* ===== LOADER ===== */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: #050509;
  display: flex; align-items: center; justify-content: center;
  transition: clip-path 0.8s var(--ease);
  clip-path: inset(0 0 0 0);
}
#loader.out {
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
}
.ld-inner { text-align: center; width: 320px; }
.ld-top-bar {
  display: flex; justify-content: space-between;
  font-family: var(--fg); font-size: 0.65rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-d); margin-bottom: 36px;
}
.ld-brand { color: var(--pu-l); }
.ld-center { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-bottom: 28px; }
.ld-circle-wrap {
  position: relative; width: 120px; height: 120px;
  display: flex; align-items: center; justify-content: center;
}
.ld-ring-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
#ld-ring-arc { transition: stroke-dashoffset 0.1s linear; }
.ld-pct {
  font-family: var(--fh); font-size: 1.6rem; font-weight: 800;
  background: var(--grad-t); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  position: relative; z-index: 1;
}
.ld-letters { display: flex; gap: 2px; }
.ld-letters span {
  font-family: var(--fh); font-size: 1.1rem; font-weight: 800;
  background: var(--grad-t); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.4s, transform 0.4s;
}
.ld-letters span.vin { opacity: 1; transform: none; }
.ld-tagline {
  font-family: var(--fb); font-size: 0.72rem; letter-spacing: 2px;
  color: var(--text-d); text-transform: uppercase; margin-bottom: 18px;
  opacity: 0; transition: opacity 0.6s 0.5s;
}
.ld-tagline.in { opacity: 1; }
.ld-bar-wrap { width: 100%; height: 1px; background: rgba(6,182,212,0.12); border-radius: 1px; overflow: hidden; }
.ld-bar { height: 100%; width: 0; background: var(--grad); transition: width 0.1s linear; }

/* ===== CURSOR ===== */
#cur-dot {
  position: fixed; width: 5px; height: 5px; border-radius: 50%;
  background: var(--pu); pointer-events: none; z-index: 9990;
  transform: translate(-50%,-50%);
}
#cur-ring {
  position: fixed; width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(6,182,212,0.4); pointer-events: none; z-index: 9989;
  transform: translate(-50%,-50%);
  transition: width .25s var(--ease), height .25s var(--ease), border-color .2s;
  display: flex; align-items: center; justify-content: center;
}
#cur-text { font-size: 0rem; transition: font-size 0.2s; font-family: var(--fg); font-weight: 700; color: #fff; white-space: nowrap; }

/* ===== NAV ===== */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  height: var(--nav-h); display: flex; align-items: center;
  padding: 0 clamp(20px,4vw,52px); gap: 0;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}
#nav.scrolled {
  background: rgba(5,5,9,0.92);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(6,182,212,0.1);
}

/* Logo */
.nav-logo {
  display: flex; align-items: center; gap: 0;
  white-space: nowrap; flex-shrink: 0;
}
.nl-pen {
  font-family: var(--fh); font-size: 1.02rem; font-weight: 800;
  background: var(--grad-t); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: -0.5px;
}
.nl-studio {
  font-family: var(--fg); font-size: 1.02rem; font-weight: 600;
  color: rgba(242,240,255,0.5); letter-spacing: -0.2px;
  margin-left: 5px;
}

/* Center nav */
.nav-center {
  display: flex; align-items: center; gap: 6px;
  margin: 0 auto; /* center in flex row */
}
.nav-center .nl {
  font-family: var(--fg); font-size: 0.84rem; font-weight: 500;
  padding: 6px 12px; position: relative; display: inline-block;
  overflow: hidden;
}
.nav-center .nl-inner {
  display: flex; flex-direction: column;
  height: 1.2em; overflow: hidden;
  transition: transform 0.32s var(--ease);
}
.nav-center .nl-inner span:first-child { color: var(--text-m); display: block; }
.nav-center .nl-inner span:last-child { color: var(--pu-p); display: block; }
.nav-center .nl:hover .nl-inner { transform: translateY(-1.2em); }
.nav-center .nl.active .nl-inner span:first-child { color: var(--pu-p); }
.nl-sep { color: rgba(6,182,212,0.3); font-size: 0.5rem; align-self: center; }

/* Nav right */
.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-social-icon {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(6,182,212,0.05); border: 1px solid rgba(6,182,212,0.1);
  color: var(--text-m);
  transition: all 0.2s;
}
.nav-social-icon svg { width: 15px; height: 15px; }
.nav-social-icon:hover { color: var(--text); background: rgba(6,182,212,0.12); border-color: rgba(6,182,212,0.25); transform: translateY(-2px); }
.nav-wa-cta {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--fg); font-size: 0.78rem; font-weight: 700;
  color: #fff; background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.25);
  padding: 8px 16px; border-radius: 8px; white-space: nowrap;
  transition: all 0.2s var(--spring);
}
.nav-wa-cta:hover { background: rgba(37,211,102,0.22); border-color: rgba(37,211,102,0.5); transform: translateY(-2px); }
.nwc-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-wa); animation: nwd 2s ease-in-out infinite; }
@keyframes nwd { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.7)} }
.nav-ham {
  display: none; flex-direction: column; gap: 5px;
  width: 34px; height: 34px; padding: 7px; background: none;
  border: 1px solid rgba(6,182,212,0.12); border-radius: 8px;
}
.nav-ham span {
  display: block; width: 100%; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transform-origin: center; transition: transform 0.3s var(--ease), opacity 0.25s, width 0.25s;
}
.nav-ham.open span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav-ham.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-ham.open span:nth-child(3) { transform: translateY(-3.25px) rotate(-45deg); }

/* ===== MOBILE MENU ===== */
.mob-menu {
  position: fixed; inset: 0; z-index: 790;
  background: rgba(5,5,9,0.98);
  backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 0;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
  visibility: hidden;
}
.mob-menu.open { transform: none; visibility: visible; }
.mm-close {
  position: absolute; top: 24px; right: 24px;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.06); color: var(--text-m);
  font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s var(--spring);
}
.mm-close:hover { background: rgba(239,68,68,0.15); color: #f87171; transform: scale(1.1) rotate(90deg); }
.mm-nav { display: flex; flex-direction: column; gap: 4px; width: 100%; max-width: 400px; padding: 0 40px; }
.mm-link {
  display: flex; align-items: baseline; gap: 20px;
  padding: 16px 0; border-bottom: 1px solid rgba(6,182,212,0.07);
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.mob-menu.open .mm-link { opacity: 1; transform: none; }
.mob-menu.open .mm-link:nth-child(1) { transition-delay: 0.1s; }
.mob-menu.open .mm-link:nth-child(2) { transition-delay: 0.17s; }
.mob-menu.open .mm-link:nth-child(3) { transition-delay: 0.24s; }
.mob-menu.open .mm-link:nth-child(4) { transition-delay: 0.31s; }
.mm-n { font-family: var(--fg); font-size: 0.62rem; font-weight: 700; color: var(--pu); letter-spacing: 2px; }
.mm-t { font-family: var(--fh); font-size: 2.6rem; font-weight: 800; letter-spacing: -1.5px; color: var(--text); line-height: 1; transition: color 0.2s; }
.mm-link:hover .mm-t { color: var(--pu-p); }
.mm-social {
  display: flex; gap: 24px; margin-top: 36px;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.4s 0.4s var(--ease), transform 0.4s 0.4s var(--ease);
}
.mob-menu.open .mm-social { opacity: 1; transform: none; }
.mm-social a { font-family: var(--fg); font-size: 0.78rem; font-weight: 700; color: var(--text-d); letter-spacing: 1px; transition: color 0.2s; }
.mm-social a:hover { color: var(--pu-p); }
.mm-meta {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-family: var(--fb); font-size: 0.68rem; color: var(--text-d); letter-spacing: 1px; white-space: nowrap;
}

/* ===== HERO ===== */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh; display: flex; flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(109,40,217,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 5% 90%, rgba(124,58,237,0.12) 0%, transparent 45%),
    linear-gradient(175deg, #07070E 0%, #0B081C 55%, #050509 100%);
}

/* Noise */
.hero-noise {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
/* Orbs */
.hero-grad-orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(90px); z-index: 0; }
.hero-grad-orb.o1 { width: 700px; height: 700px; top: -200px; right: -150px; background: rgba(109,40,217,0.18); animation: orb-float 12s ease-in-out infinite; }
.hero-grad-orb.o2 { width: 500px; height: 500px; bottom: -150px; left: -100px; background: rgba(124,58,237,0.12); animation: orb-float 16s ease-in-out 3s infinite; }
.hero-grad-orb.o3 { width: 300px; height: 300px; top: 40%; left: 30%; background: rgba(6,182,212,0.07); animation: orb-float 10s ease-in-out 6s infinite; }
@keyframes orb-float { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(20px,-30px) scale(1.05)} }

/* Hero inner 2-col layout */
.hero-inner {
  position: relative; z-index: 1;
  flex: 1; display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px,4vw,60px);
  max-width: 1380px; margin: 0 auto; width: 100%;
  padding: calc(var(--nav-h) + 48px) clamp(24px,5vw,72px) 60px;
  align-items: center;
}

/* Badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fg); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-d); background: rgba(6,182,212,0.06);
  border: 1px solid rgba(6,182,212,0.14);
  padding: 8px 14px; border-radius: 99px;
  margin-bottom: 22px; width: fit-content;
  opacity: 0; transform: translateY(-8px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.hero-badge.in { opacity: 1; transform: none; }
.hb-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: nwd 2s ease-in-out infinite; }

/* H1 */
.hero-h1 {
  font-family: var(--fh); font-weight: 800;
  font-size: clamp(2.8rem, 6vw, 6.5rem);
  line-height: 0.94; letter-spacing: -2.5px;
  margin-bottom: 24px;
}
.hh-line { display: block; overflow: hidden; }
.hh-word {
  display: inline-block;
  opacity: 0; transform: translateY(110%);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.hh-word.in { opacity: 1; transform: none; }
#hw0 { transition-delay: 0.05s; }
#hw1 { transition-delay: 0.15s; }
#hw2 { transition-delay: 0.25s; }
#hw3 { transition-delay: 0.35s; }
.hh-outline {
  color: transparent;
  -webkit-text-stroke: 2px rgba(196,181,253,0.25);
}
.hh-fill { background: var(--grad-t); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hh-outline-alt {
  color: transparent;
  -webkit-text-stroke: 2px rgba(6,182,212,0.35);
}
.hh-fill-alt { background: linear-gradient(135deg,#38BDF8,#06B6D4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hero-desc {
  font-family: var(--fb); font-size: clamp(0.92rem,1.3vw,1.05rem); color: var(--text-m);
  line-height: 1.8; margin-bottom: 28px; max-width: 440px;
  opacity: 0; transform: translateY(14px);
  transition: opacity .7s .5s var(--ease), transform .7s .5s var(--ease);
}
.hero-desc.in { opacity: 1; transform: none; }

/* CTAs */
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px;
  opacity: 0; transform: translateY(10px);
  transition: opacity .7s .65s var(--ease), transform .7s .65s var(--ease); }
.hero-ctas.in { opacity: 1; transform: none; }
.hcta-main {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--fg); font-size: 0.9rem; font-weight: 700;
  color: #fff; background: var(--grad);
  padding: 14px 28px; border-radius: 10px;
  box-shadow: 0 4px 24px rgba(6,182,212,0.38);
  transition: transform .3s var(--spring), box-shadow .3s, gap .2s;
}
.hcta-main svg { width: 16px; height: 16px; transition: transform .3s; }
.hcta-main:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(6,182,212,0.55); gap: 14px; }
.hcta-main:hover svg { transform: translateY(3px); }
.hcta-ghost {
  display: inline-flex; align-items: center;
  font-family: var(--fg); font-size: 0.9rem; font-weight: 600;
  color: var(--pu-p); padding: 14px 22px; border-radius: 10px;
  border: 1px solid rgba(6,182,212,0.2); background: rgba(6,182,212,0.04);
  transition: all .25s var(--spring);
}
.hcta-ghost:hover { background: rgba(6,182,212,0.1); border-color: rgba(6,182,212,0.38); transform: translateY(-2px); }

/* Stats */
.hero-stats { display: flex; align-items: center; flex-wrap: wrap; gap: 0;
  opacity: 0; transform: translateY(8px);
  transition: opacity .7s .8s var(--ease), transform .7s .8s var(--ease);
}
.hero-stats.in { opacity: 1; transform: none; }
.hst { display: flex; flex-direction: column; align-items: flex-start; padding: 0 18px; }
.hst:first-child { padding-left: 0; }
.hst-row { display: flex; align-items: baseline; gap: 2px; }
.hst-n {
  font-family: var(--fh); font-size: 1.8rem; font-weight: 800;
  background: var(--grad-t); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1;
}
.hst-sfx { font-family: var(--fh); font-size: 1.1rem; font-weight: 800; color: var(--pu-l); }
.hst-l { font-family: var(--fb); font-size: 0.62rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-d); margin-top: 3px; }
.hst-div { width: 1px; height: 28px; background: rgba(6,182,212,0.14); flex-shrink: 0; }

/* ===== HERO RIGHT — SERVICES GRID ===== */
.hero-right {
  opacity: 0; transform: translateX(36px) scale(0.96);
  transition: opacity .9s .3s var(--ease), transform .9s .3s var(--ease);
}
.hero-right.in { opacity: 1; transform: none; }
.hsg-label {
  font-family: var(--fg); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--text-d);
  margin-bottom: 14px;
}
.hsg-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.hsg-card {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px; padding: 16px 10px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center; cursor: pointer;
  transition: background .25s, border-color .25s, transform .3s var(--spring), box-shadow .25s;
}
.hsg-card:hover {
  background: rgba(var(--cc-rgb, 6,182,212), 0.08);
  border-color: rgba(var(--cc-rgb, 6,182,212), 0.25);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.hsgc-icon { font-size: 1.4rem; line-height: 1; }
.hsgc-name { font-family: var(--fg); font-size: 0.62rem; font-weight: 600; color: var(--text-m); line-height: 1.3; }
.hsg-cta { border-color: rgba(6,182,212,0.2) !important; background: rgba(6,182,212,0.04) !important; }
.hsg-cta .hsgc-name { color: var(--pu-p) !important; }
.hsg-card:hover .hsgc-name { color: var(--text); }

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 96px; left: clamp(24px,5vw,72px);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  font-family: var(--fg); font-size: 0.6rem; letter-spacing: 3px; text-transform: uppercase; color: var(--text-d);
  animation: scroll-bob 3s ease-in-out infinite; z-index: 1;
}
.hs-line { width: 1px; height: 44px; background: linear-gradient(to bottom, transparent, var(--pu)); }
@keyframes scroll-bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* Ticker */
.hero-ticker-wrap {
  position: relative; z-index: 1; overflow: hidden;
  border-top: 1px solid rgba(6,182,212,0.07);
  padding: 12px 0;
  mask-image: linear-gradient(90deg,transparent,black 7%,black 93%,transparent);
  -webkit-mask-image: linear-gradient(90deg,transparent,black 7%,black 93%,transparent);
}
.hero-ticker {
  display: flex; gap: 0; width: max-content;
  animation: ticker-run 48s linear infinite;
}
.hero-ticker span {
  font-family: var(--fb); font-size: 0.72rem; font-weight: 500; color: var(--text-d);
  padding: 0 14px; white-space: nowrap;
  transition: color 0.2s;
}
.hero-ticker span:hover { color: var(--pu-p); }
.tk-dot { color: var(--pu) !important; font-size: 0.4rem !important; align-self: center; padding: 0 3px !important; }
@keyframes ticker-run { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ===== SERVICE PANELS ===== */
.services-showcase { position: relative; z-index: 1; }
.service-panel {
  position: relative; overflow: hidden; min-height: 100vh;
  display: flex; align-items: center;
}

/* Unique backgrounds per service */
.sp-web   { background: linear-gradient(155deg,#08060F 0%,#0E0A22 50%,#07060D 100%); }
.sp-video { background: linear-gradient(155deg,#040C08 0%,#071510 50%,#030806 100%); }
.sp-ecom  { background: linear-gradient(155deg,#0D0907 0%,#1A1007 50%,#080706 100%); }
.sp-app   { background: linear-gradient(155deg,#050A14 0%,#0A1228 50%,#050810 100%); }
.sp-seo   { background: linear-gradient(155deg,#0D0608 0%,#18070E 50%,#0A0506 100%); }
.sp-design { background: linear-gradient(155deg,#0A0710 0%,#140A1E 50%,#07060D 100%); }
.sp-photo { background: linear-gradient(155deg,#0D0606 0%,#1A0808 50%,#0A0505 100%); }

/* Top accent line per section */
.service-panel::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; z-index: 5;
  opacity: 0; transition: opacity .8s;
}
.service-panel.active::before { opacity: 1; }
.sp-web::before   { background: linear-gradient(90deg,transparent 5%,rgba(6,182,212,0.7) 40%,rgba(196,181,253,1) 50%,rgba(6,182,212,0.7) 60%,transparent 95%); }
.sp-video::before { background: linear-gradient(90deg,transparent 5%,rgba(16,185,129,0.7) 40%,rgba(52,211,153,1) 50%,rgba(16,185,129,0.7) 60%,transparent 95%); }
.sp-ecom::before  { background: linear-gradient(90deg,transparent 5%,rgba(245,158,11,0.7) 40%,rgba(251,191,36,1) 50%,rgba(245,158,11,0.7) 60%,transparent 95%); }
.sp-app::before   { background: linear-gradient(90deg,transparent 5%,rgba(59,130,246,0.7) 40%,rgba(96,165,250,1) 50%,rgba(59,130,246,0.7) 60%,transparent 95%); }
.sp-seo::before   { background: linear-gradient(90deg,transparent 5%,rgba(236,72,153,0.7) 40%,rgba(249,168,212,1) 50%,rgba(236,72,153,0.7) 60%,transparent 95%); }
.sp-design::before{ background: linear-gradient(90deg,transparent 5%,rgba(168,85,247,0.7) 40%,rgba(232,121,249,1) 50%,rgba(168,85,247,0.7) 60%,transparent 95%); }
.sp-photo::before { background: linear-gradient(90deg,transparent 5%,rgba(239,68,68,0.7) 40%,rgba(252,165,165,1) 50%,rgba(239,68,68,0.7) 60%,transparent 95%); }

/* Glow orb per section */
.sp-glow {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(120px); opacity: 0; transition: opacity 1.2s var(--ease);
  z-index: 0;
}
.service-panel.active .sp-glow { opacity: 1; }
.sp-glow-web   { width: 600px; height: 600px; top: -100px; right: -100px; background: radial-gradient(circle,rgba(6,182,212,0.15),transparent 70%); }
.sp-glow-video { width: 600px; height: 600px; bottom: -100px; left: -100px; background: radial-gradient(circle,rgba(16,185,129,0.12),transparent 70%); }
.sp-glow-ecom  { width: 600px; height: 600px; top: -100px; right: -100px; background: radial-gradient(circle,rgba(245,158,11,0.12),transparent 70%); }
.sp-glow-app   { width: 600px; height: 600px; bottom: -100px; left: -100px; background: radial-gradient(circle,rgba(59,130,246,0.12),transparent 70%); }
.sp-glow-seo   { width: 600px; height: 600px; top: -100px; right: -100px; background: radial-gradient(circle,rgba(236,72,153,0.12),transparent 70%); }
.sp-glow-design{ width: 600px; height: 600px; bottom: -100px; left: -100px; background: radial-gradient(circle,rgba(168,85,247,0.14),transparent 70%); }
.sp-glow-photo { width: 600px; height: 600px; top: -100px; right: -100px; background: radial-gradient(circle,rgba(239,68,68,0.12),transparent 70%); }

/* BG canvas */
.sp-bg-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

/* Big bg number */
.sp-bg-num {
  position: absolute; bottom: -0.08em; left: clamp(20px,4vw,60px);
  font-family: var(--fh); font-size: clamp(8rem,20vw,18rem); font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.04);
  user-select: none; pointer-events: none; z-index: 1; letter-spacing: -6px;
  transition: -webkit-text-stroke-color .5s;
}
.service-panel.active .sp-bg-num { -webkit-text-stroke-color: rgba(255,255,255,0.07); }

/* Counter pill */
.sp-counter {
  font-family: var(--fg); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--text-d);
  margin-bottom: 16px;
}

/* Inner layout */
.sp-inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto; width: 100%;
  padding: 80px clamp(24px,5vw,72px);
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: clamp(28px,5vw,72px);
}
.sp-inner-alt .sp-content { order: 2; }
.sp-inner-alt .sp-visual { order: 1; }

/* Content animation */
.sp-content {
  opacity: 0; transform: translateX(-44px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.sp-inner-alt .sp-content { transform: translateX(44px); }
.service-panel.active .sp-content { opacity: 1; transform: none; }

/* Titles per section color */
.sp-web   .sp-title em { background: linear-gradient(135deg,#7DD3FC,#06B6D4); -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text; }
.sp-video .sp-title em { background: linear-gradient(135deg,#6EE7B7,#10B981); -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text; }
.sp-ecom  .sp-title em { background: linear-gradient(135deg,#FCD34D,#F59E0B); -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text; }
.sp-app   .sp-title em { background: linear-gradient(135deg,#93C5FD,#3B82F6); -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text; }
.sp-seo   .sp-title em { background: linear-gradient(135deg,#F9A8D4,#EC4899); -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text; }
.sp-design .sp-title em{ background: linear-gradient(135deg,#E879F9,#A855F7); -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text; }
.sp-photo .sp-title em { background: linear-gradient(135deg,#FCA5A5,#EF4444); -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text; }

.sp-title {
  font-family: var(--fh); font-weight: 800;
  font-size: clamp(2.2rem,3.6vw,3.6rem);
  line-height: 1.06; letter-spacing: -2px; margin-bottom: 20px;
}
.sp-title em { font-style: italic; font-family: var(--fi); display: block; }

.sp-overview { font-family: var(--fb); font-size: 0.95rem; color: var(--text-m); line-height: 1.8; margin-bottom: 22px; max-width: 420px; }

.sp-feats { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }
.sp-feats li { display: flex; align-items: center; gap: 10px; font-family: var(--fb); font-size: 0.87rem; color: var(--text-m); }
.sp-feats li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; flex-shrink: 0; }
.sp-web   .sp-feats li::before { background: var(--web-c); }
.sp-video .sp-feats li::before { background: var(--vid-c); }
.sp-ecom  .sp-feats li::before { background: var(--eco-c); }
.sp-app   .sp-feats li::before { background: var(--app-c); }
.sp-seo   .sp-feats li::before { background: var(--seo-c); }
.sp-design .sp-feats li::before { background: var(--des-c); }
.sp-photo .sp-feats li::before { background: var(--pho-c); }

/* Explore button — colored per section */
.sp-explore {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--fg); font-size: 0.84rem; font-weight: 700;
  color: #fff; padding: 13px 24px; border-radius: 9px;
  transition: transform .3s var(--spring), box-shadow .3s, gap .2s;
}
.sp-explore svg { width: 16px; height: 16px; transition: transform .2s; }
.sp-explore:hover { gap: 16px; transform: translateY(-2px); }
.sp-explore:hover svg { transform: translateX(3px); }
.sp-web   .sp-explore { background: linear-gradient(135deg,#06B6D4,#0369A1); box-shadow: 0 4px 18px rgba(6,182,212,0.4); }
.sp-video .sp-explore { background: linear-gradient(135deg,#10B981,#059669); box-shadow: 0 4px 18px rgba(16,185,129,0.4); }
.sp-ecom  .sp-explore { background: linear-gradient(135deg,#F59E0B,#D97706); box-shadow: 0 4px 18px rgba(245,158,11,0.4); }
.sp-app   .sp-explore { background: linear-gradient(135deg,#3B82F6,#2563EB); box-shadow: 0 4px 18px rgba(59,130,246,0.4); }
.sp-seo   .sp-explore { background: linear-gradient(135deg,#EC4899,#BE185D); box-shadow: 0 4px 18px rgba(236,72,153,0.4); }
.sp-design .sp-explore{ background: linear-gradient(135deg,#A855F7,#0284C7); box-shadow: 0 4px 18px rgba(168,85,247,0.4); }
.sp-photo .sp-explore { background: linear-gradient(135deg,#EF4444,#B91C1C); box-shadow: 0 4px 18px rgba(239,68,68,0.4); }

/* Visual side */
.sp-visual {
  opacity: 0; transform: translateX(44px) scale(0.95);
  transition: opacity .9s .1s var(--ease), transform .9s .1s var(--ease);
  display: flex; align-items: center; justify-content: center;
}
.sp-inner-alt .sp-visual { transform: translateX(-44px) scale(0.95); }
.service-panel.active .sp-visual { opacity: 1; transform: none; }

/* ===== VISUAL: BROWSER ===== */
.vis-browser { width: 440px; max-width: 100%; background: #0D0D1C; border-radius: 14px; border: 1px solid rgba(6,182,212,0.2); box-shadow: 0 0 0 1px rgba(6,182,212,0.05), 0 28px 80px rgba(0,0,0,0.7), 0 0 60px rgba(6,182,212,0.08); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 13px; background: #090914; border-bottom: 1px solid rgba(6,182,212,0.1); }
.b-dot { width: 10px; height: 10px; border-radius: 50%; }
.b-dot.r{background:#ff5f57;} .b-dot.y{background:#febc2e;} .b-dot.g{background:#28c840;}
.b-url { flex: 1; background: rgba(255,255,255,0.04); border-radius: 5px; padding: 4px 11px; font-size: 0.7rem; color: var(--text-d); text-align: center; font-family: monospace; }
.browser-body { padding: 13px; display: flex; flex-direction: column; gap: 9px; }
.code-lines { display: flex; flex-direction: column; gap: 3px; font-family: 'Courier New', monospace; font-size: 0.72rem; }
.cl { color: var(--text-d); opacity: 0; transform: translateX(-7px); transition: opacity .4s, transform .4s; }
.cl.vis { opacity: 1; transform: none; }
.cl.ind { padding-left: 18px; }
.kw{color:#c678dd;} .fn{color:#61afef;} .str{color:#98c379;} .cm{color:#5c6370;}
.browser-preview { background: rgba(6,182,212,0.03); border: 1px solid rgba(6,182,212,0.08); border-radius: 7px; padding: 9px; }
.bp-nav { height: 5px; background: rgba(6,182,212,0.15); border-radius: 3px; margin-bottom: 7px; }
.bp-hero { height: 44px; background: linear-gradient(135deg,rgba(6,182,212,0.16),rgba(124,58,237,0.08)); border-radius: 5px; margin-bottom: 7px; padding: 7px; display: flex; align-items: center; gap: 6px; }
.bp-h-text { flex: 1; height: 6px; background: rgba(255,255,255,0.15); border-radius: 3px; }
.bp-h-btn { width: 34px; height: 11px; background: var(--pu); border-radius: 3px; }
.bp-cards { display: flex; gap: 5px; }
.bp-card { flex: 1; height: 34px; background: rgba(6,182,212,0.06); border: 1px solid rgba(6,182,212,0.09); border-radius: 5px; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s; }
.bp-card.vis { opacity: 1; transform: none; }

/* ===== VISUAL: STORE ===== */
.vis-store { width: 410px; max-width: 100%; background: #0D0D1A; border-radius: 14px; border: 1px solid rgba(245,158,11,0.18); box-shadow: 0 28px 80px rgba(0,0,0,0.6), 0 0 40px rgba(245,158,11,0.05); overflow: hidden; }
.store-header { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; background: #090910; border-bottom: 1px solid rgba(245,158,11,0.1); }
.sh-logo { width: 68px; height: 6px; background: rgba(245,158,11,0.35); border-radius: 3px; }
.sh-cart { position: relative; color: var(--text-m); }
.cart-badge { position: absolute; top: -7px; right: -9px; background: var(--eco-c); color: #fff; font-size: 0.58rem; font-weight: 800; width: 14px; height: 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1.5px solid #090910; transition: transform .3s var(--spring); }
.store-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; padding: 11px; }
.store-product { background: rgba(255,255,255,0.02); border: 1px solid rgba(245,158,11,0.07); border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 5px; opacity: 0; transform: translateY(16px) scale(0.94); transition: opacity .5s, transform .5s; }
.store-product.vis { opacity: 1; transform: none; }
.sp1.vis{transition-delay:0s} .sp2.vis{transition-delay:.1s} .sp3.vis{transition-delay:.2s}
.prod-img { width: 100%; aspect-ratio: 1; border-radius: 5px; }
.pi1{background:linear-gradient(135deg,#4a1d96,#2d1260);} .pi2{background:linear-gradient(135deg,#1e3a5f,#0a1628);} .pi3{background:linear-gradient(135deg,#1a3a2a,#0a1a14);}
.prod-name { height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; }
.prod-price { font-size: 0.67rem; font-weight: 700; color: var(--eco-c); }
.prod-btn { font-size: 0.58rem; font-weight: 700; background: linear-gradient(135deg,#F59E0B,#D97706); color: #fff; border-radius: 5px; padding: 5px; transition: transform .2s var(--spring); border: none; cursor: pointer; }
.prod-btn:hover { transform: scale(1.05); }
.checkout-bar { margin: 5px 11px 11px; background: linear-gradient(135deg,#F59E0B,#D97706); border-radius: 8px; padding: 10px; text-align: center; font-size: 0.78rem; font-weight: 800; color: #fff; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.checkout-bar.vis { opacity: 1; transform: none; }

/* ===== VISUAL: PHONE ===== */
.vis-phone { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px; }
.phone-frame { width: 240px; height: 490px; background: #060811; border-radius: 36px; border: 2px solid rgba(59,130,246,0.32); box-shadow: 0 0 0 5px rgba(59,130,246,0.05), 0 28px 80px rgba(0,0,0,0.75), 0 0 60px rgba(59,130,246,0.14); position: relative; overflow: hidden; z-index: 2; transform: translateY(48px) scale(0.88); opacity: 0; transition: transform 1s var(--spring), opacity .8s var(--ease); }
.service-panel.active .phone-frame { transform: none; opacity: 1; }
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 84px; height: 20px; background: #060811; border-radius: 10px; z-index: 10; }
.phone-screen { position: absolute; inset: 0; overflow: hidden; }
.app-screen { position: absolute; inset: 0; background: #0E0E1E; padding: 52px 14px 16px; opacity: 0; transition: opacity .5s; }
.app-screen.active { opacity: 1; }
.app-header { margin-bottom: 13px; }
.ah-greeting { font-size: 0.67rem; color: var(--text-d); font-family: var(--fb); }
.ah-name { font-size: 0.92rem; font-weight: 700; font-family: var(--fh); }
.app-stat-row { display: flex; gap: 7px; margin-bottom: 13px; }
.asr-card { flex: 1; border-radius: 8px; padding: 8px; font-size: 0.58rem; color: rgba(255,255,255,0.5); }
.asr-card.blue { background: linear-gradient(135deg,rgba(59,130,246,0.28),rgba(37,99,235,0.15)); border: 1px solid rgba(59,130,246,0.18); }
.asr-card.indigo { background: linear-gradient(135deg,rgba(99,102,241,0.28),rgba(79,70,229,0.15)); border: 1px solid rgba(99,102,241,0.18); }
.asr-val { font-size: 0.92rem; font-weight: 800; color: var(--text); font-family: var(--fh); margin-bottom: 1px; }
.app-chart { display: flex; align-items: flex-end; gap: 5px; height: 74px; }
.ac-bar { flex: 1; background: linear-gradient(to top,#2563EB,#60A5FA); border-radius: 3px 3px 0 0; transform: scaleY(0); transform-origin: bottom; transition: transform .8s var(--spring); }
.service-panel.active .ac-bar { transform: scaleY(1); }
.ac-bar:nth-child(1){transition-delay:.1s} .ac-bar:nth-child(2){transition-delay:.18s} .ac-bar:nth-child(3){transition-delay:.26s} .ac-bar:nth-child(4){transition-delay:.34s} .ac-bar:nth-child(5){transition-delay:.42s} .ac-bar:nth-child(6){transition-delay:.5s} .ac-bar:nth-child(7){transition-delay:.58s}
.app-list { padding-top: 3px; }
.al-title { font-size: 0.72rem; font-weight: 700; font-family: var(--fh); margin-bottom: 9px; }
.al-item { display: flex; align-items: center; gap: 6px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 0.6rem; line-height: 1.4; }
.ali-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--app-c); flex-shrink: 0; }
.ali-text { flex: 1; color: var(--text-m); font-family: var(--fb); }
.ali-text b { color: var(--text); }
.ali-amt { font-weight: 700; font-size: 0.65rem; font-family: var(--fb); }
.ali-amt.green{color:#4ade80;} .ali-amt.yellow{color:#fbbf24;}
.phone-glow-blue { width: 150px; height: 60px; background: radial-gradient(ellipse,rgba(59,130,246,0.28),transparent 70%); pointer-events: none; }

/* ===== VISUAL: SEO ===== */
.vis-seo { width: 430px; max-width: 100%; }
.serp-box { background: #0D0D1A; border-radius: 12px; border: 1px solid rgba(236,72,153,0.15); box-shadow: 0 28px 80px rgba(0,0,0,0.6); overflow: hidden; margin-bottom: 12px; }
.serp-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: #090910; border-bottom: 1px solid rgba(236,72,153,0.08); }
.serp-icon { font-size: 0.9rem; }
.serp-query { font-size: 0.76rem; color: var(--text-m); font-family: var(--fb); }
.serp-results { padding: 6px; display: flex; flex-direction: column; gap: 2px; }
.serp-result { padding: 8px 10px; border-radius: 6px; }
.sr-ads { background: rgba(236,72,153,0.05); border: 1px solid rgba(236,72,153,0.1); margin-bottom: 2px; }
.sr-ad-badge { font-size: 0.57rem; font-weight: 800; color: var(--seo-c); border: 1px solid var(--seo-c); border-radius: 3px; padding: 1px 4px; margin-right: 4px; }
.sr-pos{font-size:0.67rem;margin-bottom:1px;} .sr-url{font-size:0.67rem;color:#4ade80;margin-bottom:1px;}
.sr-title{font-size:0.78rem;font-weight:600;color:#7ab4f5;margin-bottom:1px;font-family:var(--fb);}
.sr-desc{font-size:0.67rem;color:var(--text-d);font-family:var(--fb);}
.sr1{background:rgba(236,72,153,0.06);border:1px solid rgba(236,72,153,0.16);}
.sr2,.sr3{opacity:0.45;}
.metrics-row { display: flex; gap: 8px; }
.metric-pill {
  flex: 1; display: flex; align-items: center; gap: 5px;
  background: rgba(236,72,153,0.06); border: 1px solid rgba(236,72,153,0.16);
  border-radius: 8px; padding: 8px 10px; font-size: 0.7rem; color: var(--text-m); font-family: var(--fb);
  opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s;
}
.metric-pill.vis { opacity: 1; transform: none; }
.metric-pill b { color: var(--seo-c); font-weight: 800; }

/* ===== VISUAL: DESIGN ===== */
.vis-design { display: flex; flex-direction: column; align-items: center; gap: 20px; width: 360px; max-width: 100%; }
.logo-build { display: flex; align-items: center; justify-content: center; }
.logo-svg { filter: drop-shadow(0 0 20px rgba(168,85,247,0.35)); }
.logo-path { opacity: 0; transition: opacity .6s; }
.lp1 { stroke-dasharray: 503; stroke-dashoffset: 503; transition: stroke-dashoffset 1.2s var(--ease) !important; opacity: 1 !important; }
.service-panel.active .lp1 { stroke-dashoffset: 0; }
.service-panel.active .lp2 { opacity: 1; transition-delay: .3s; }
.service-panel.active .lp3 { opacity: 1; transition-delay: .6s; }
.service-panel.active .lp4 { opacity: 1; transition-delay: .9s; }
.color-palette { display: flex; gap: 7px; opacity: 0; transition: opacity .6s .8s; }
.service-panel.active .color-palette { opacity: 1; }
.cp-swatch { width: 32px; height: 32px; border-radius: 50%; box-shadow: 0 3px 10px rgba(0,0,0,0.4); transform: scale(0); transition: transform .4s var(--spring); }
.service-panel.active .cp-swatch:nth-child(1){transition-delay:.8s;transform:scale(1)}
.service-panel.active .cp-swatch:nth-child(2){transition-delay:.9s;transform:scale(1)}
.service-panel.active .cp-swatch:nth-child(3){transition-delay:1s;transform:scale(1)}
.service-panel.active .cp-swatch:nth-child(4){transition-delay:1.1s;transform:scale(1)}
.service-panel.active .cp-swatch:nth-child(5){transition-delay:1.2s;transform:scale(1)}
.typeface-row { display: flex; align-items: center; gap: 16px; background: rgba(168,85,247,0.07); border: 1px solid rgba(168,85,247,0.13); border-radius: 10px; padding: 13px 20px; width: 100%; opacity: 0; transform: translateY(8px); transition: opacity .6s 1.2s, transform .6s 1.2s; }
.service-panel.active .typeface-row { opacity: 1; transform: none; }
.tf-big { font-size: 2.6rem; font-weight: 800; color: var(--des-c); line-height: 1; font-family: var(--fh); }
.tf-name { font-size: 0.85rem; font-weight: 700; margin-bottom: 4px; font-family: var(--fh); }
.tf-weights { display: flex; gap: 5px; flex-wrap: wrap; }
.tf-weights span { font-family: var(--fb); font-size: 0.63rem; color: var(--text-d); background: rgba(255,255,255,0.04); padding: 2px 6px; border-radius: 3px; }

/* ===== VISUAL: EDITOR ===== */
.vis-editor { width: 450px; max-width: 100%; }
.editor-preview { background: #060810; border-radius: 10px 10px 0 0; border: 1px solid rgba(16,185,129,0.16); border-bottom: none; overflow: hidden; }
.ep-scene { height: 180px; position: relative; background: linear-gradient(135deg,#031a10,#07170a); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ep-grade { position: absolute; inset: 0; background: linear-gradient(135deg,rgba(16,185,129,0.1),transparent,rgba(4,120,87,0.06)); pointer-events: none; }
.ep-overlay-text { font-family: var(--fi); font-style: italic; font-size: 1.6rem; font-weight: 800; background: linear-gradient(135deg,#6EE7B7,#10B981); -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text; letter-spacing: -1px; opacity: 0; transform: scale(0.82); transition: opacity .6s, transform .6s; position: relative; z-index: 2; }
.service-panel.active .ep-overlay-text { opacity: 1; transform: none; }
.ep-controls { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #040809; border-top: 1px solid rgba(16,185,129,0.07); }
.ep-play-btn { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg,#10B981,#059669); color: #fff; font-size: 0.56rem; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: transform .2s var(--spring); border: none; }
.ep-play-btn:hover { transform: scale(1.12); }
.ep-progress-wrap { flex: 1; height: 3px; background: rgba(255,255,255,0.07); border-radius: 2px; overflow: hidden; }
.ep-progress { height: 100%; width: 0; background: linear-gradient(90deg,#10B981,#6EE7B7); border-radius: 2px; }
.ep-time { font-size: 0.63rem; color: var(--text-d); font-family: monospace; flex-shrink: 0; }
.timeline { background: #040709; border: 1px solid rgba(16,185,129,0.12); border-top: none; border-radius: 0 0 10px 10px; padding: 10px; position: relative; overflow: hidden; }
.tl-label { font-size: 0.58rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-d); margin-bottom: 6px; font-family: var(--fb); }
.tl-tracks { display: flex; flex-direction: column; gap: 4px; }
.tl-track { height: 18px; background: rgba(255,255,255,0.02); border-radius: 3px; position: relative; display: flex; align-items: center; gap: 3px; padding: 0 3px; overflow: hidden; }
.tl-clip { height: 12px; border-radius: 2px; opacity: 0; transform: scaleX(0); transform-origin: left; transition: opacity .4s, transform .5s var(--ease); }
.service-panel.active .tl-clip { opacity: 1; transform: scaleX(1); }
.clip-v { background: linear-gradient(90deg,rgba(16,185,129,0.65),rgba(5,150,105,0.45)); border: 1px solid rgba(16,185,129,0.28); }
.clip-a { background: linear-gradient(90deg,rgba(37,211,102,0.45),rgba(22,163,74,0.28)); border: 1px solid rgba(37,211,102,0.18); }
.clip-t { background: linear-gradient(90deg,rgba(251,191,36,0.45),rgba(245,158,11,0.28)); border: 1px solid rgba(251,191,36,0.18); }
.clip1{width:35%;transition-delay:.2s} .clip2{width:28%;transition-delay:.35s} .clip3{width:25%;transition-delay:.5s}
.clip4{width:55%;transition-delay:.3s} .clip5{width:30%;transition-delay:.5s} .clip6{width:45%;transition-delay:.4s}
.tl-playhead { position: absolute; top:0; bottom:0; width:2px; background:#ef4444; left:4px; transition: left 3s linear; }
.service-panel.active .tl-playhead { left: 90%; }
.effect-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ec { font-size: 0.65rem; font-weight: 700; font-family: var(--fb); background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.2); color: #34d399; padding: 4px 10px; border-radius: 99px; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.service-panel.active .ec { opacity: 1; transform: none; }
#ec1{transition-delay:.5s} #ec2{transition-delay:.65s} #ec3{transition-delay:.8s} #ec4{transition-delay:.95s}
.ec-green { color: #34d399; }

/* ===== VISUAL: CAMERA ===== */
.vis-camera { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.camera-body { background: linear-gradient(145deg,#1a1a2e,#0f0f1d); border-radius: 16px; padding: 20px 28px; border: 1.5px solid rgba(239,68,68,0.16); box-shadow: 0 18px 56px rgba(0,0,0,0.7), 0 0 30px rgba(239,68,68,0.07); display: flex; align-items: center; gap: 20px; opacity: 0; transform: scale(0.88) translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--spring); }
.service-panel.active .camera-body { opacity: 1; transform: none; }
.camera-lens { width: 90px; height: 90px; position: relative; display: flex; align-items: center; justify-content: center; }
.lens-outer { width: 90px; height: 90px; border-radius: 50%; background: linear-gradient(145deg,#1a1230,#0a0a15); border: 2px solid rgba(239,68,68,0.25); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 16px rgba(239,68,68,0.14); }
.lens-mid { width: 68px; height: 68px; border-radius: 50%; background: linear-gradient(145deg,#0d0920,#070710); border: 1px solid rgba(239,68,68,0.15); display: flex; align-items: center; justify-content: center; }
.lens-inner { width: 48px; height: 48px; border-radius: 50%; background: radial-gradient(circle,#1a0a30,#050510); border: 1px solid rgba(239,68,68,0.2); display: flex; align-items: center; justify-content: center; }
.lens-core { width: 24px; height: 24px; border-radius: 50%; background: radial-gradient(circle at 35% 35%,rgba(252,165,165,0.5),rgba(239,68,68,0.25),#0a0a15); animation: lens-breathe 3s ease-in-out infinite; }
@keyframes lens-breathe { 0%,100%{box-shadow:0 0 6px rgba(239,68,68,0.3)} 50%{box-shadow:0 0 16px rgba(239,68,68,0.65)} }
.lens-shine { position: absolute; top: 10px; left: 12px; width: 16px; height: 8px; border-radius: 8px; background: rgba(255,255,255,0.12); transform: rotate(-30deg); }
.camera-top { display: flex; flex-direction: column; gap: 10px; }
.shutter-btn { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(145deg,#d1d5db,#9ca3af); border: 3px solid rgba(255,255,255,0.08); box-shadow: 0 4px 10px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.15); cursor: pointer; transition: transform .1s, box-shadow .1s; }
.shutter-btn:active,.shutter-btn.clicked { transform: scale(0.88); }
.photo-burst { display: flex; align-items: center; justify-content: center; position: relative; width: 300px; height: 140px; }
.pb-photo { position: absolute; width: 90px; height: 116px; border-radius: 6px; border: 2px solid rgba(255,255,255,0.08); display: flex; align-items: flex-end; padding: 6px; opacity: 0; box-shadow: 0 6px 20px rgba(0,0,0,0.6); transition: opacity .6s var(--ease), transform .8s var(--spring); }
.service-panel.active .pb-photo { opacity: 1; }
.service-panel.active .pb1 { transition-delay:.3s; transform: rotate(-12deg) translateX(-80px); }
.service-panel.active .pb2 { transition-delay:.5s; transform: rotate(0deg) translateY(-10px); }
.service-panel.active .pb3 { transition-delay:.7s; transform: rotate(12deg) translateX(80px); }
.pb-caption { font-family: var(--fb); font-size: 0.56rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.65); }
.shutter-flash { position: fixed; inset: 0; z-index: 9996; background: white; pointer-events: none; opacity: 0; transition: opacity .06s; }
.shutter-flash.flash { opacity: 0.6; }

/* ===== SERVICE MODALS ===== */
.svc-modal {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center; padding: 16px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .4s var(--ease), visibility .4s;
}
.svc-modal.open { opacity: 1; visibility: visible; pointer-events: all; }
.svc-bd { position: absolute; inset: 0; background: rgba(3,3,8,0.82); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }

/* Modal panel — fixed height, no overflow */
.svc-panel {
  position: relative; z-index: 1;
  width: 100%; max-width: 1040px;
  height: min(88vh,720px);
  background: #0A0A16;
  border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 40px 120px rgba(0,0,0,0.8);
  transform: translateX(60px) scale(0.97);
  transition: transform .5s var(--spring);
}
.svc-modal.open .svc-panel { transform: none; }
.svc-modal.closing .svc-panel { transform: translateX(60px) scale(0.97); transition: transform .35s var(--ease); }

/* Color blasting background effect per modal */
.modal-blast {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; border-radius: 20px;
  opacity: 0; transition: opacity .6s var(--ease);
}
.svc-modal.open .modal-blast { opacity: 1; }
.modal-blast-web  { background: radial-gradient(ellipse at 15% 50%, rgba(6,182,212,0.12) 0%, transparent 60%); }
.modal-blast-video{ background: radial-gradient(ellipse at 15% 50%, rgba(16,185,129,0.10) 0%, transparent 60%); }
.modal-blast-ecom { background: radial-gradient(ellipse at 15% 50%, rgba(245,158,11,0.10) 0%, transparent 60%); }
.modal-blast-app  { background: radial-gradient(ellipse at 15% 50%, rgba(59,130,246,0.10) 0%, transparent 60%); }
.modal-blast-seo  { background: radial-gradient(ellipse at 15% 50%, rgba(236,72,153,0.10) 0%, transparent 60%); }
.modal-blast-design{background: radial-gradient(ellipse at 15% 50%, rgba(168,85,247,0.11) 0%, transparent 60%); }
.modal-blast-photo{ background: radial-gradient(ellipse at 15% 50%, rgba(239,68,68,0.10) 0%, transparent 60%); }

.svc-close { position: absolute; top: 16px; right: 16px; z-index: 20; width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07); color: var(--text-m); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; transition: all .2s var(--spring); }
.svc-close:hover { background: rgba(239,68,68,0.14); color: #f87171; transform: scale(1.1) rotate(90deg); }

.svc-layout {
  display: grid; grid-template-columns: 5fr 7fr;
  height: 100%; position: relative; z-index: 1;
}

/* Visual left panel */
.svc-vis {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px 24px; gap: 20px;
}
.sv-web   { background: radial-gradient(circle at 40% 40%,rgba(6,182,212,0.22),rgba(23,13,62,0.9) 55%,#07060F 100%); }
.sv-video { background: radial-gradient(circle at 40% 40%,rgba(16,185,129,0.18),rgba(10,30,20,0.9) 55%,#040D08 100%); }
.sv-ecom  { background: radial-gradient(circle at 40% 40%,rgba(245,158,11,0.18),rgba(30,20,10,0.9) 55%,#0D0907 100%); }
.sv-app   { background: radial-gradient(circle at 40% 40%,rgba(59,130,246,0.18),rgba(10,20,35,0.9) 55%,#060A12 100%); }
.sv-seo   { background: radial-gradient(circle at 40% 40%,rgba(236,72,153,0.18),rgba(30,10,18,0.9) 55%,#0D0608 100%); }
.sv-design{ background: radial-gradient(circle at 40% 40%,rgba(168,85,247,0.2),rgba(20,10,30,0.9) 55%,#0A0710 100%); }
.sv-photo { background: radial-gradient(circle at 40% 40%,rgba(239,68,68,0.18),rgba(30,10,10,0.9) 55%,#0D0606 100%); }

.sv-bg-num { position: absolute; bottom: -20px; right: -10px; font-family: var(--fh); font-size: 7rem; font-weight: 800; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.05); line-height: 1; user-select: none; pointer-events: none; }
.sv-icon-wrap { position: relative; z-index: 1; width: 110px; height: 110px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 22px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 36px rgba(0,0,0,0.4); animation: icon-pulse 3s ease-in-out infinite; }
@keyframes icon-pulse { 0%,100%{box-shadow:0 0 36px rgba(0,0,0,0.4)} 50%{box-shadow:0 0 52px rgba(255,255,255,0.05)} }
.sv-tags,.sv-tags-green,.sv-tags-amber,.sv-tags-blue,.sv-tags-pink,.sv-tags-purple,.sv-tags-red { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.sv-tags span,.sv-tags-green span,.sv-tags-amber span,.sv-tags-blue span,.sv-tags-pink span,.sv-tags-purple span,.sv-tags-red span { font-family: var(--fb); font-size: 0.65rem; font-weight: 600; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.09); color: rgba(255,255,255,0.6); padding: 4px 9px; border-radius: 5px; }
.sv-steps,.sv-steps-green,.sv-steps-amber,.sv-steps-blue,.sv-steps-pink,.sv-steps-purple,.sv-steps-red { position: relative; z-index: 1; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; justify-content: center; }
.svs-item { display: flex; flex-direction: column; align-items: center; gap: 2px; font-family: var(--fb); font-size: 0.58rem; color: rgba(255,255,255,0.35); }
.svs-item span { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.09); display: flex; align-items: center; justify-content: center; font-size: 0.58rem; font-weight: 700; }
.svs-item.act { color: rgba(255,255,255,0.9); }
.svs-item.act span { background: rgba(6,182,212,0.4); border-color: transparent; color: #fff; }
.svs-item.act2 span { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); color: #fff; }
.sv-steps-green .svs-item.act span { background: rgba(16,185,129,0.4); }
.sv-steps-amber .svs-item.act span  { background: rgba(245,158,11,0.4); }
.sv-steps-blue .svs-item.act span   { background: rgba(59,130,246,0.4); }
.sv-steps-pink .svs-item.act span   { background: rgba(236,72,153,0.4); }
.sv-steps-purple .svs-item.act span { background: rgba(168,85,247,0.4); }
.sv-steps-red .svs-item.act span    { background: rgba(239,68,68,0.4); }
.svs-arr { color: rgba(255,255,255,0.2); font-size: 0.75rem; }

/* Modal body */
.svc-body {
  padding: 32px 36px 28px; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.08) transparent;
  display: flex; flex-direction: column; gap: 0;
}
.svc-body::-webkit-scrollbar { width: 3px; }
.svc-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 2px; }
.sb-eye { font-family: var(--fg); font-size: 0.63rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px; }
.modal-web-theme .sb-eye   { color: var(--web-c); }
.modal-video-theme .sb-eye { color: var(--vid-c); }
.modal-ecom-theme .sb-eye  { color: var(--eco-c); }
.modal-app-theme .sb-eye   { color: var(--app-c); }
.modal-seo-theme .sb-eye   { color: var(--seo-c); }
.modal-design-theme .sb-eye{ color: var(--des-c); }
.modal-photo-theme .sb-eye { color: var(--pho-c); }
.sb-title { font-family: var(--fh); font-weight: 800; font-size: clamp(1.4rem,2.4vw,1.9rem); line-height: 1.12; letter-spacing: -0.8px; margin-bottom: 14px; }
.sb-title em { font-style: italic; font-family: var(--fi); }
.modal-web-theme .sb-title em { background: linear-gradient(135deg,#7DD3FC,#06B6D4); -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text; }
.modal-video-theme .sb-title em { background: linear-gradient(135deg,#6EE7B7,#10B981); -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text; }
.modal-ecom-theme .sb-title em  { background: linear-gradient(135deg,#FCD34D,#F59E0B); -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text; }
.modal-app-theme .sb-title em   { background: linear-gradient(135deg,#93C5FD,#3B82F6); -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text; }
.modal-seo-theme .sb-title em   { background: linear-gradient(135deg,#F9A8D4,#EC4899); -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text; }
.modal-design-theme .sb-title em{ background: linear-gradient(135deg,#E879F9,#A855F7); -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text; }
.modal-photo-theme .sb-title em { background: linear-gradient(135deg,#FCA5A5,#EF4444); -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text; }
.sb-overview { font-family: var(--fb); font-size: 0.88rem; color: var(--text-m); line-height: 1.75; margin-bottom: 20px; }
.sb-section { margin-bottom: 18px; }
.sb-section h3 { font-family: var(--fg); font-size: 0.65rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-d); margin-bottom: 10px; }
.sb-types { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.sbt { font-family: var(--fb); font-size: 0.72rem; color: var(--text-m); background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 7px; padding: 8px 10px; transition: background .2s, color .2s; }
.sbt:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.sb-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sbc { display: flex; align-items: flex-start; gap: 7px; font-family: var(--fb); font-size: 0.8rem; color: var(--text-m); line-height: 1.5; padding: 7px 10px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 7px; }
.sbc::before { content: '✓'; font-weight: 800; flex-shrink: 0; }
.modal-web-theme .sbc::before   { color: var(--web-c); }
.modal-video-theme .sbc::before { color: var(--vid-c); }
.modal-ecom-theme .sbc::before  { color: var(--eco-c); }
.modal-app-theme .sbc::before   { color: var(--app-c); }
.modal-seo-theme .sbc::before   { color: var(--seo-c); }
.modal-design-theme .sbc::before{ color: var(--des-c); }
.modal-photo-theme .sbc::before { color: var(--pho-c); }
.sb-steps-list { display: flex; flex-direction: column; gap: 7px; }
.sbsl { display: flex; align-items: flex-start; gap: 12px; padding: 9px 12px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; }
.sbsl > span { font-family: var(--fg); font-size: 0.6rem; font-weight: 800; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.modal-web-theme .sbsl > span   { background: rgba(6,182,212,0.15); color: var(--web-c); }
.modal-video-theme .sbsl > span { background: rgba(16,185,129,0.15); color: var(--vid-c); }
.modal-ecom-theme .sbsl > span  { background: rgba(245,158,11,0.15); color: var(--eco-c); }
.modal-app-theme .sbsl > span   { background: rgba(59,130,246,0.15); color: var(--app-c); }
.modal-seo-theme .sbsl > span   { background: rgba(236,72,153,0.15); color: var(--seo-c); }
.modal-design-theme .sbsl > span{ background: rgba(168,85,247,0.15); color: var(--des-c); }
.modal-photo-theme .sbsl > span { background: rgba(239,68,68,0.15); color: var(--pho-c); }
.sbsl > div b { font-family: var(--fb); font-size: 0.82rem; font-weight: 700; color: var(--text); display: block; margin-bottom: 1px; }
.sbsl > div p { font-family: var(--fb); font-size: 0.74rem; color: var(--text-d); line-height: 1.4; }
.sb-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.06); }

/* Per-service colored CTA buttons (not green WhatsApp) */
.sb-wa { display: inline-flex; align-items: center; gap: 9px; font-family: var(--fg); font-size: 0.87rem; font-weight: 700; color: #fff; padding: 12px 26px; border-radius: 9px; transition: transform .3s var(--spring), box-shadow .3s; }
.sb-wa:hover { transform: translateY(-2px); }
.sb-wa-web   { background: linear-gradient(135deg,#06B6D4,#0369A1); box-shadow: 0 4px 18px rgba(6,182,212,0.38); }
.sb-wa-web:hover { box-shadow: 0 8px 30px rgba(6,182,212,0.55); }
.sb-wa-video { background: linear-gradient(135deg,#10B981,#059669); box-shadow: 0 4px 18px rgba(16,185,129,0.38); }
.sb-wa-video:hover { box-shadow: 0 8px 30px rgba(16,185,129,0.55); }
.sb-wa-ecom  { background: linear-gradient(135deg,#F59E0B,#D97706); box-shadow: 0 4px 18px rgba(245,158,11,0.38); }
.sb-wa-ecom:hover { box-shadow: 0 8px 30px rgba(245,158,11,0.55); }
.sb-wa-app   { background: linear-gradient(135deg,#3B82F6,#2563EB); box-shadow: 0 4px 18px rgba(59,130,246,0.38); }
.sb-wa-app:hover { box-shadow: 0 8px 30px rgba(59,130,246,0.55); }
.sb-wa-seo   { background: linear-gradient(135deg,#EC4899,#BE185D); box-shadow: 0 4px 18px rgba(236,72,153,0.38); }
.sb-wa-seo:hover { box-shadow: 0 8px 30px rgba(236,72,153,0.55); }
.sb-wa-design{ background: linear-gradient(135deg,#A855F7,#0284C7); box-shadow: 0 4px 18px rgba(168,85,247,0.38); }
.sb-wa-design:hover { box-shadow: 0 8px 30px rgba(168,85,247,0.55); }
.sb-wa-photo { background: linear-gradient(135deg,#EF4444,#B91C1C); box-shadow: 0 4px 18px rgba(239,68,68,0.38); }
.sb-wa-photo:hover { box-shadow: 0 8px 30px rgba(239,68,68,0.55); }

/* ===== CONTACT ===== */
.contact-sec {
  position: relative; z-index: 1;
  min-height: 80vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 100px clamp(24px,5vw,72px);
  background: linear-gradient(155deg,#060A1C 0%,#0A0F2C 45%,#050709 100%);
  border-top: 1px solid rgba(6,182,212,0.07); overflow: hidden;
}
.cs-bg-text { position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%); font-family: var(--fh); font-size: clamp(5rem,15vw,15rem); font-weight: 800; letter-spacing: -5px; color: transparent; -webkit-text-stroke: 1px rgba(6,182,212,0.04); white-space: nowrap; pointer-events: none; user-select: none; }
.cs-inner { position: relative; z-index: 1; max-width: 640px; }
.cs-eye { font-family: var(--fg); font-size: 0.68rem; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--pu-l); margin-bottom: 18px; display: block; }
.cs-title { font-family: var(--fh); font-size: clamp(2.4rem,6vw,5rem); font-weight: 800; line-height: 1.04; letter-spacing: -2.5px; margin-bottom: 16px; }
.cs-title em { font-style: italic; font-family: var(--fi); background: var(--grad-t); -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text; }
.cs-sub { font-family: var(--fb); font-size: 1rem; color: var(--text-m); margin-bottom: 34px; }
.wa-big-btn { display: inline-flex; align-items: center; gap: 12px; background: var(--green-wa); color: #fff; font-family: var(--fg); font-size: 1rem; font-weight: 800; padding: 18px 44px; border-radius: 12px; box-shadow: 0 6px 36px rgba(37,211,102,0.35); transition: transform .3s var(--spring), box-shadow .3s; margin-bottom: 22px; }
.wa-big-btn:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 14px 52px rgba(37,211,102,0.5); }
.cs-or { font-family: var(--fb); font-size: 0.85rem; color: var(--text-d); margin-bottom: 10px; }
.cs-or a { color: var(--pu-p); border-bottom: 1px solid rgba(196,181,253,0.25); transition: color .2s; }
.cs-or a:hover { color: var(--text); }
.cs-loc { font-family: var(--fb); font-size: 0.82rem; color: var(--text-d); }

/* ===== FOOTER ===== */
.site-footer { position: relative; z-index: 1; background: #03030A; border-top: 1px solid rgba(6,182,212,0.08); }
.sf-container { max-width: 1280px; margin: 0 auto; padding: 0 clamp(24px,5vw,72px); }
.sf-top { display: flex; gap: clamp(32px,5vw,72px); padding: 64px 0 52px; flex-wrap: wrap; }
.sf-brand { flex: 0 0 auto; max-width: 320px; }
.sfb-logo { line-height: 0.9; margin-bottom: 22px; }
.sfbl-pen { display: block; font-family: var(--fh); font-size: clamp(3rem,7vw,7rem); font-weight: 800; letter-spacing: -4px; background: var(--grad-t); -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text; }
.sfbl-studio { display: block; font-family: var(--fh); font-size: clamp(3rem,7vw,7rem); font-weight: 800; letter-spacing: -4px; color: transparent; -webkit-text-stroke: 1.5px rgba(196,181,253,0.2); }
.sfb-tagline { font-family: var(--fh); font-size: 1.1rem; font-weight: 700; color: var(--text-m); line-height: 1.4; margin-bottom: 22px; }
.sfb-cta { display: inline-flex; font-family: var(--fg); font-size: 0.82rem; font-weight: 700; color: var(--pu-p); border-bottom: 1px solid rgba(196,181,253,0.25); transition: color .2s, border-color .2s; }
.sfb-cta:hover { color: var(--text); border-color: rgba(242,240,255,0.4); }
.sf-links { flex: 1; display: grid; grid-template-columns: repeat(3,1fr); gap: 36px; }
.sfl-col h4 { font-family: var(--fg); font-size: 0.65rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-d); margin-bottom: 16px; }
.sfl-col a, .sfl-col span { display: block; font-family: var(--fb); font-size: 0.86rem; color: var(--text-d); margin-bottom: 10px; line-height: 1.4; transition: color .2s, transform .2s; transform-origin: left; }
.sfl-col a:hover { color: var(--pu-p); transform: translateX(5px); }
.sf-divider { height: 1px; background: rgba(255,255,255,0.04); }
.sf-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 20px 0; font-family: var(--fb); font-size: 0.78rem; color: var(--text-d); }
.sfb-soc { display: flex; gap: 16px; }
.sfb-soc a { font-family: var(--fg); font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; color: var(--text-d); transition: color .2s; }
.sfb-soc a:hover { color: var(--pu-p); }

/* ===== WHATSAPP POPUP ===== */
.wa-popup {
  position: fixed; bottom: 96px; right: 26px; z-index: 910;
  width: 320px; background: #fff; border-radius: 16px;
  box-shadow: 0 12px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,0,0,0.06);
  overflow: hidden;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(16px) scale(0.94); transform-origin: bottom right;
  transition: opacity .35s var(--ease), visibility .35s, transform .35s var(--spring);
}
.wa-popup.open { opacity: 1; visibility: visible; pointer-events: all; transform: none; }
.wap-header { display: flex; align-items: center; gap: 10px; padding: 14px 15px; background: #075E54; }
.wap-avatar { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.12); border: 2px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-family: var(--fh); font-size: 1.15rem; font-weight: 800; color: #fff; flex-shrink: 0; position: relative; }
.wap-avatar::after { content:''; position: absolute; bottom: 0; right: 0; width: 10px; height: 10px; border-radius: 50%; background: #4ade80; border: 2px solid #075E54; }
.wap-info { flex: 1; }
.wap-name { font-family: var(--fg); font-size: 0.92rem; font-weight: 700; color: #fff; }
.wap-status { font-family: var(--fb); font-size: 0.68rem; color: rgba(255,255,255,0.72); }
.wap-close { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.1); border: none; color: rgba(255,255,255,0.8); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .2s var(--spring); font-size: 1rem; }
.wap-close:hover { background: rgba(255,255,255,0.2); transform: scale(1.1); }
.wap-chat { background: #E5DDD5; padding: 13px 12px 10px; display: flex; flex-direction: column; gap: 9px; max-height: 220px; overflow-y: auto; scrollbar-width: thin; }
.wap-bubble { background: #fff; border-radius: 0 12px 12px 12px; padding: 10px 12px 7px; box-shadow: 0 1px 3px rgba(0,0,0,0.09); max-width: 90%; position: relative; }
.wap-bubble::before { content:''; position: absolute; top: 0; left: -6px; border-right: 7px solid #fff; border-bottom: 7px solid transparent; }
.wb-sender { font-family: var(--fb); font-size: 0.65rem; font-weight: 700; color: #128C7E; margin-bottom: 4px; }
.wap-bubble p { font-family: var(--fb); font-size: 0.84rem; color: #111; line-height: 1.5; margin-bottom: 2px; }
.wb-time { font-family: var(--fb); font-size: 0.6rem; color: #aaa; text-align: right; margin-top: 4px; }
.wap-quick-btns { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.wap-qb { background: #fff; border: 1.5px solid #25D366; color: #075E54; border-radius: 18px; padding: 7px 13px; font-family: var(--fb); font-size: 0.76rem; font-weight: 600; cursor: pointer; text-align: left; transition: all .2s var(--spring); }
.wap-qb:hover { background: #25D366; color: #fff; transform: translateX(3px); }
.wap-typed-reply { background: #DCF8C6; border-radius: 12px 0 12px 12px; padding: 8px 11px 6px; box-shadow: 0 1px 2px rgba(0,0,0,0.09); max-width: 90%; margin-left: auto; }
.wap-typed-reply p { font-family: var(--fb); font-size: 0.82rem; color: #111; }
.wap-foot { display: flex; align-items: center; gap: 6px; background: #f0f0f0; padding: 7px 9px; border-top: 1px solid rgba(0,0,0,0.06); }
.wap-input { flex: 1; border: none; outline: none; background: #fff; border-radius: 20px; padding: 8px 13px; font-family: var(--fb); font-size: 0.84rem; color: #111; box-shadow: 0 1px 2px rgba(0,0,0,0.08); }
.wap-input::placeholder { color: #aaa; }
.wap-send { width: 36px; height: 36px; border-radius: 50%; background: #128C7E; color: #fff; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .25s var(--spring), background .2s; }
.wap-send svg { width: 14px; height: 14px; }
.wap-send:hover { background: #075E54; transform: scale(1.12) rotate(10deg); }

/* ===== BACK TO TOP ===== */
.btt {
  position: fixed; bottom: 96px; right: 26px; z-index: 890;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(8,8,20,0.9); border: 1px solid rgba(6,182,212,0.25);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  color: var(--pu-p); display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s, visibility .3s, transform .3s var(--spring), background .2s, box-shadow .2s;
}
.btt svg { width: 18px; height: 18px; }
.btt.show { opacity: 1; visibility: visible; pointer-events: all; transform: none; }
.btt:hover { background: rgba(6,182,212,0.14); transform: translateY(-3px); box-shadow: 0 6px 24px rgba(6,182,212,0.28); }

/* ===== WA FLOAT ===== */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 920;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green-wa); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 22px rgba(37,211,102,0.5); cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: transform .35s var(--spring), box-shadow .3s, opacity .4s;
  animation: wa-bob 3.5s ease-in-out infinite;
}
.wa-float.show { opacity: 1; pointer-events: all; }
.wa-float.active { animation: none; transform: scale(1.05); }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 34px rgba(37,211,102,0.65); animation: none; }
.wfi { position: absolute; display: flex; align-items: center; justify-content: center; transition: transform .35s var(--spring), opacity .3s; }
.wfi-wa { transform: scale(1); opacity: 1; }
.wfi-wa svg { width: 26px; height: 26px; }
.wfi-x { transform: scale(0) rotate(-90deg); opacity: 0; font-size: 1.4rem; line-height: 1; }
.wa-float.active .wfi-wa { transform: scale(0) rotate(90deg); opacity: 0; }
.wa-float.active .wfi-x { transform: scale(1) rotate(0); opacity: 1; }
.wf-badge { position: absolute; top: -2px; right: -2px; width: 17px; height: 17px; border-radius: 50%; background: #ef4444; color: #fff; font-family: var(--fb); font-size: 0.58rem; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; transition: transform .3s var(--spring), opacity .3s; pointer-events: none; }
.wa-float.active .wf-badge { transform: scale(0); opacity: 0; }
@keyframes wa-bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--pu-d); border-radius: 2px; }
::selection { background: rgba(6,182,212,0.28); color: var(--text); }
:focus-visible { outline: 2px solid var(--pu-l); outline-offset: 3px; border-radius: 3px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero-inner { gap: 28px; }
  .hsg-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 900px) {
  .nav-center, .nav-social-icon { display: none; }
  .nav-ham { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { order: -1; transform: translateX(0) scale(0.97) !important; }
  .hsg-grid { grid-template-columns: repeat(4,1fr); }
  .sp-inner { grid-template-columns: 1fr; padding: 60px 24px; gap: 32px; }
  .sp-inner-alt .sp-content { order: 1; }
  .sp-inner-alt .sp-visual { order: 2; }
  .sp-content { transform: translateY(28px) !important; }
  .sp-visual { transform: translateY(28px) scale(0.95) !important; }
  .service-panel.active .sp-content, .service-panel.active .sp-visual { transform: none !important; }
  .vis-browser,.vis-store,.vis-seo,.vis-editor { width: 100%; max-width: 400px; margin: 0 auto; }
  .vis-design { max-width: 320px; margin: 0 auto; }
  .svc-layout { grid-template-columns: 1fr; }
  .svc-vis { display: none; }
  .sb-checks { grid-template-columns: 1fr; }
  .sb-types { grid-template-columns: repeat(2,1fr); }
  .sf-top { flex-direction: column; }
  .sfb-logo { margin-bottom: 12px; }
  .sfbl-pen,.sfbl-studio { font-size: clamp(2.5rem,10vw,4.5rem); letter-spacing: -2px; }
  .sf-links { grid-template-columns: 1fr 1fr; gap: 22px; }
}
@media (max-width: 600px) {
  .hero-h1 { font-size: clamp(2.4rem,10vw,4rem); letter-spacing: -1.5px; }
  .hsg-grid { grid-template-columns: repeat(2,1fr); }
  .hero-stats { flex-wrap: wrap; gap: 12px 0; }
  .hero-ctas { flex-direction: column; }
  .hcta-main,.hcta-ghost { justify-content: center; }
  .svc-panel { max-height: 96vh; }
  .sf-links { grid-template-columns: 1fr; }
  .wa-popup { width: calc(100vw - 32px); right: 16px; }
  .btt { bottom: 16px; right: 16px; }
  .wa-float { bottom: 16px; right: 16px; }
  .wa-popup { bottom: 86px; right: 16px; }
}

/* ===== PORTFOLIO PAGE NAV ===== */
.portfolio-page #nav {
  background: rgba(5,5,9,0.92); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(6,182,212,0.1);
}

/* ===== EXTRA POLISH ===== */
/* Hero — prevent vertical overflow */
.hero-inner { overflow: visible; }

/* Footer large wordmark — prevent overflow clip */
.sfb-logo { overflow: hidden; }
.sfbl-pen, .sfbl-studio {
  font-size: clamp(2.2rem, 8vw, 6.5rem);
  letter-spacing: -3px;
}

/* Mobile menu close button — always visible */
.mm-close {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; line-height: 1;
  transition: all .2s var(--spring);
}
.mm-close:hover { background: rgba(239,68,68,0.15); color: #f87171; transform: scale(1.1) rotate(90deg); }

/* BTT position — avoid overlap with WA float */
.btt { bottom: 90px; right: 26px; }

/* Ticker wrapping fix */
.hero-ticker span { font-size: 0.74rem; }

/* Service panel min-height on mobile */
@media (max-width: 900px) {
  .service-panel { min-height: auto; padding: 0; }
  .sp-inner { min-height: 100vh; }
}

/* Improve hero padding on very small screens */
@media (max-width: 400px) {
  .hero-inner { padding-top: calc(var(--nav-h) + 24px); }
  .hsg-grid { grid-template-columns: repeat(2,1fr); gap: 6px; }
  .hsg-card { padding: 10px 6px; }
}
