/* ============================================================
   Krishna Kumar P — Portfolio 2026
   Fixed: all-device responsive · animation initial states
   Breakpoints: 1280 · 1024 · 768 · 640 · 480 · 375
   ============================================================ */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --primary:       #00E5FF;
  --secondary:     #8B5CF6;
  --accent:        #00FFB2;
  --bg:            #050816;
  --bg-2:          #080d20;
  --bg-3:          #0d1430;
  --surface:       #111828;
  --glass:         rgba(13,20,48,.65);
  --glass-border:  rgba(0,229,255,.13);
  --line:          rgba(0,229,255,.10);
  --text:          #f0f4ff;
  --muted:         #7a8bb5;
  --white:         #ffffff;
  --radius:        16px;
  --radius-lg:     24px;
  --ease:          cubic-bezier(.16,1,.3,1);
  --maxw:          1280px;
  --nav-h:         72px;         /* used for scroll-padding-top */
  --font:          'Inter', system-ui, sans-serif;
  --display:       'Space Grotesk', 'Inter', sans-serif;
  --mono:          'JetBrains Mono', monospace;
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; min-width: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.is-locked { overflow: hidden; }

img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--primary); color: #000; }

/* ============================================================
   UTILITIES
   ============================================================ */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius);
}

/* reveal-up: CSS initial state for elements animated by GSAP .to() */
.reveal-up { opacity: 0; transform: translateY(30px); }

/* ============================================================
   PARTICLES CANVAS
   ============================================================ */
.particles-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; opacity: .55;
}
main, header, footer, .marquee { position: relative; z-index: 2; }

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  z-index: 9999; box-shadow: 0 0 10px rgba(0,229,255,.55);
  transition: width .04s linear;
}

/* ============================================================
   CUSTOM CURSOR  (desktop pointer-device only)
   ============================================================ */
.cursor, .cursor-dot { display: none; pointer-events: none; }

@media (hover: hover) and (pointer: fine) {
  .cursor {
    position: fixed; top: 0; left: 0; z-index: 9998;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1.5px solid var(--primary);
    display: flex; align-items: center; justify-content: center;
    mix-blend-mode: difference;
    transition: width .3s var(--ease), height .3s var(--ease), background .3s, border-color .3s;
  }
  .cursor-dot {
    position: fixed; top: 0; left: 0; z-index: 9999;
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--primary); display: block;
  }
  .cursor.is-hover { width: 60px; height: 60px; background: rgba(0,229,255,.07); border-color: var(--accent); }
  .cursor.is-view  { width: 76px; height: 76px; background: var(--primary); }
  .cursor.is-view::after { content: 'VIEW'; color: #000; font: 700 10px/1 var(--mono); letter-spacing: .1em; }
  * { cursor: none !important; }
}

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 9997; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__inner  { text-align: center; width: min(80vw, 360px); }
.preloader__logo {
  width: 62px; height: 62px; border-radius: 16px; margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: #000;
  box-shadow: 0 0 40px rgba(0,229,255,.35);
}
.preloader__name {
  font-family: var(--display); font-weight: 700; letter-spacing: .28em;
  font-size: clamp(.72rem, 2.5vw, .95rem); color: var(--primary);
  margin-bottom: 1.6rem; text-transform: uppercase;
}
.preloader__bar { height: 2px; background: rgba(255,255,255,.07); border-radius: 2px; overflow: hidden; }
.preloader__bar span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--secondary), var(--primary), var(--accent));
}
.preloader__pct { margin-top: .7rem; font: 400 .78rem/1 var(--mono); color: var(--muted); }

/* ============================================================
   STICKY WHATSAPP BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 900; box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.whatsapp-float svg { width: 26px; height: 26px; }
.whatsapp-float:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,.5); }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem clamp(1rem, 4vw, 3rem); height: var(--nav-h);
  transition: background .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5,8,22,.88);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border-bottom-color: var(--line);
}
.nav__logo {
  display: flex; align-items: center; gap: .65rem;
  font-family: var(--display); font-weight: 700; font-size: .98rem; flex-shrink: 0;
}
.nav__logo-mark {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: grid; place-items: center;
  font-weight: 800; color: #000; font-size: .88rem;
  box-shadow: 0 0 18px rgba(0,229,255,.22);
}
.nav__logo-text  { letter-spacing: .01em; white-space: nowrap; }
.nav__logo-dot   { color: var(--primary); }

.nav__links {
  display: flex; align-items: center; gap: clamp(.7rem, 1.8vw, 1.8rem);
}
.nav__links a {
  font-size: .88rem; color: var(--muted);
  transition: color .3s; position: relative; letter-spacing: .01em; white-space: nowrap;
}
.nav__links a:not(.nav__cta)::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1px; background: var(--primary); transition: width .3s var(--ease);
}
.nav__links a:not(.nav__cta):hover { color: var(--text); }
.nav__links a:not(.nav__cta):hover::after { width: 100%; }

.nav__cta {
  display: flex; align-items: center; gap: .45rem;
  padding: .5rem 1.1rem; border-radius: 100px; font-weight: 600; font-size: .86rem;
  background: linear-gradient(135deg, rgba(0,229,255,.1), rgba(139,92,246,.1));
  border: 1px solid rgba(0,229,255,.28); color: var(--primary) !important;
  transition: background .3s, border-color .3s, box-shadow .3s;
  white-space: nowrap;
}
.nav__cta:hover {
  background: linear-gradient(135deg, rgba(0,229,255,.18), rgba(139,92,246,.18));
  box-shadow: 0 0 18px rgba(0,229,255,.18);
}
.nav__cta-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0;
  animation: dotPulse 2s infinite;
}
@keyframes dotPulse { 0%,100%{opacity:1;} 50%{opacity:.25;} }

.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 8px; z-index: 850; flex-shrink: 0;
}
.nav__burger span {
  display: block; width: 24px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform .35s var(--ease), opacity .3s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.7rem; border-radius: 100px; border: none;
  font: 600 .93rem/1 var(--font); letter-spacing: .01em;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s, border-color .3s;
  will-change: transform; white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; box-shadow: 0 6px 28px -6px rgba(0,229,255,.38);
}
.btn--primary:hover { box-shadow: 0 10px 36px -6px rgba(0,229,255,.55); transform: translateY(-2px); }
.btn--ghost {
  border: 1px solid var(--glass-border); background: transparent; color: var(--text);
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--full { width: 100%; }
.btn__arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(2.8rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem);
}
.section__head {
  margin-bottom: clamp(1.8rem, 4vw, 2.8rem);
  /* GSAP sets opacity:0 via gsap.set() before animation; this just prevents any flash */
}
.section__tag {
  display: inline-block; font: 600 .78rem/1 var(--mono);
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--primary); margin-bottom: .9rem;
}
.section__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.75rem, 4.5vw, 3.4rem);
  line-height: 1.12; letter-spacing: -.02em; color: var(--white);
}
.section__desc {
  margin-top: .85rem; color: var(--muted);
  font-size: clamp(.88rem, 1.4vw, 1.05rem); max-width: 50ch; line-height: 1.75;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: 1fr .88fr;
  align-items: center; gap: clamp(2rem, 4vw, 4rem);
  padding: calc(var(--nav-h) + 2rem) clamp(1rem, 4vw, 3rem) 4rem;
  max-width: var(--maxw); margin: 0 auto;
}

/* badge */
.hero__badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem .95rem; border-radius: 100px;
  background: rgba(0,255,178,.07); border: 1px solid rgba(0,255,178,.22);
  font: 600 .8rem/1 var(--font); color: var(--accent);
  margin-bottom: 1.6rem; letter-spacing: .01em;
}
.hero__badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0;
  animation: glowPulse 2.2s infinite;
}
@keyframes glowPulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,255,178,.5); }
  70%  { box-shadow: 0 0 0 7px rgba(0,255,178,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,255,178,0); }
}

/* title */
.hero__title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 6.6rem);
  line-height: .96; letter-spacing: -.03em; margin-bottom: 1.2rem; color: var(--white);
}
.hero__title-line  { display: block; overflow: hidden; }
.hero__title-word  { display: inline-block; transform: translateY(112%); }
.hero__title-accent {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero__sub {
  font-size: clamp(.8rem, 1.3vw, 1rem); color: var(--muted);
  font-weight: 500; letter-spacing: .02em; margin-bottom: .85rem;
  line-height: 1.7;
}
.hero__desc {
  font-size: clamp(.95rem, 1.5vw, 1.15rem); color: var(--text);
  max-width: 34rem; line-height: 1.75; margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.4rem; }

.hero__stats {
  list-style: none; display: flex; flex-wrap: wrap;
  gap: clamp(1.2rem, 3.5vw, 2.8rem); margin-bottom: 1.8rem;
}
.hero__stats li  { display: flex; flex-direction: column; }
.hero__stats strong {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem); line-height: 1; color: var(--white);
  background: linear-gradient(135deg, var(--white), var(--primary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero__stats span {
  font: 500 .72rem/1.3 var(--mono); color: var(--muted);
  margin-top: .35rem; text-transform: uppercase; letter-spacing: .08em;
}

.hero__trust { display: flex; flex-wrap: wrap; gap: .45rem; }
.trust-badge {
  font: 500 .75rem/1 var(--font); padding: .42rem .75rem;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: 100px; color: var(--muted);
  transition: border-color .3s, color .3s;
}
.trust-badge:hover { border-color: var(--primary); color: var(--primary); }

/* hero visual */
.hero__visual { display: grid; place-items: center; }
.hero__card-wrap { position: relative; perspective: 1400px; }
.hero__card {
  position: relative; width: min(100%, 430px); aspect-ratio: 3/4;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.9), 0 0 50px -10px rgba(0,229,255,.1);
  transform-style: preserve-3d; will-change: transform;
}
.hero__card img { width: 100%; height: 100%; object-fit: cover; }
.hero__card-glow {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,229,255,.1), rgba(139,92,246,.08), transparent);
  mix-blend-mode: screen; pointer-events: none;
}
.hero__card-badge {
  position: absolute; bottom: 14px; left: 14px;
  display: flex; align-items: center; gap: .45rem;
  background: rgba(5,8,22,.8); backdrop-filter: blur(8px);
  border: 1px solid rgba(0,255,178,.28); padding: .45rem .8rem;
  border-radius: 100px; font: 600 .76rem/1 var(--font); color: var(--accent);
}
.hero__card-badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: glowPulse 2s infinite;
}

/* floating tech icons */
.float-icon {
  position: absolute; display: flex; align-items: center; gap: .45rem;
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px); padding: .55rem .85rem; border-radius: 12px;
  font: 600 .75rem/1 var(--font); color: var(--text);
  box-shadow: 0 6px 28px -6px rgba(0,0,0,.5);
  animation: floatAnim 5s ease-in-out infinite;
  white-space: nowrap;
}
.float-icon img { width: 22px; height: 22px; object-fit: contain; }
.float-icon--1 { top: 6%;  right: -9%; animation-delay: 0s; }
.float-icon--2 { top: 22%; left: -11%; animation-delay: -1s; }
.float-icon--3 { bottom: 30%; right: -11%; animation-delay: -2s; }
.float-icon--4 { bottom: 12%; left: -9%; animation-delay: -3s; }
.float-icon--5 { top: 48%; right: -13%; animation-delay: -1.5s; }
.float-icon--6 { top: 66%; left: -13%; animation-delay: -2.5s; }
@keyframes floatAnim {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-11px); }
}

/* scroll hint */
.hero__scroll-hint {
  position: absolute; bottom: 2rem; left: clamp(1rem, 4vw, 3rem);
  display: flex; align-items: center; gap: .7rem;
  font: 500 .72rem/1 var(--mono); text-transform: uppercase;
  letter-spacing: .18em; color: var(--muted); opacity: .65;
}
.hero__scroll-mouse {
  width: 20px; height: 32px; border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 10px; display: flex; justify-content: center; padding-top: 5px;
}
.hero__scroll-wheel {
  width: 3px; height: 6px; background: var(--primary); border-radius: 3px;
  animation: wheelAnim 2s var(--ease) infinite;
}
@keyframes wheelAnim {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(9px); opacity: 0; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(0,229,255,.02); padding: 1.1rem 0;
}
.marquee__track {
  display: flex; gap: 2.2rem; white-space: nowrap;
  width: max-content; animation: marqueeRun 36s linear infinite;
}
.marquee__track span {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.7rem); color: var(--text); opacity: .7;
}
.marquee__sep { color: var(--primary); font-style: normal; opacity: .45; }
@keyframes marqueeRun { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: start;
}
.about__image-wrap { display: flex; flex-direction: column; gap: 1rem; }

.flip-card { width: 100%; max-width: 380px; aspect-ratio: 4/5; perspective: 1400px; }
.flip-card__inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d; transition: transform .9s var(--ease);
}
.flip-card:hover .flip-card__inner,
.flip-card.is-flipped .flip-card__inner { transform: rotateY(180deg); }
.flip-card__face {
  position: absolute; inset: 0; border-radius: var(--radius-lg); overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 28px 56px -20px rgba(0,0,0,.8);
}
.flip-card__face img { width: 100%; height: 100%; object-fit: cover; }
.flip-card__back { transform: rotateY(180deg); }
.flip-card__frame {
  position: absolute; inset: 11px; border: 1px solid rgba(0,229,255,.18);
  border-radius: 14px; pointer-events: none;
}
.flip-card__hint {
  position: absolute; bottom: 11px; right: 11px;
  font: 500 .7rem/1 var(--mono); color: var(--primary);
  background: rgba(5,8,22,.7); padding: .38rem .65rem;
  border-radius: 100px; border: 1px solid var(--line); backdrop-filter: blur(4px);
}
.flip-card:hover .flip-card__hint { opacity: 0; }
.flip-card__back-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.6rem;
  background: linear-gradient(to top, rgba(5,8,22,.95) 20%, transparent 70%);
}
.flip-card__kicker { font: 600 .75rem/1 var(--mono); color: var(--primary); margin-bottom: .55rem; }
.flip-card__back-overlay h3 { font-family: var(--display); font-size: 1.4rem; color: var(--white); margin-bottom: .35rem; }
.flip-card__back-overlay p  { color: var(--muted); font-size: .88rem; margin-bottom: .9rem; }
.flip-card__tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.flip-card__tags span {
  font: 600 .7rem/1 var(--mono); padding: .35rem .65rem;
  border: 1px solid rgba(0,229,255,.22); border-radius: 100px; color: var(--primary);
}

/* about stat cards */
.about__stat-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; max-width: 380px;
}
.about__stat { text-align: center; padding: 1.1rem; }
.about__stat strong {
  display: block; font-family: var(--display); font-weight: 800; font-size: 1.9rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.about__stat span { font: 500 .75rem/1.3 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

.about__lead { font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 600; line-height: 1.5; margin-bottom: 1rem; color: var(--white); }
.about__lead strong { color: var(--primary); }
.about__body { color: var(--muted); margin-bottom: 1.6rem; line-height: 1.8; }
.about__body strong { color: var(--text); font-weight: 600; }

.about__info { list-style: none; display: grid; gap: .85rem; margin-bottom: 2rem; }
.about__info li { display: flex; align-items: flex-start; gap: .85rem; }
.about__info-icon {
  font-size: 1rem; flex-shrink: 0; width: 36px; height: 36px;
  background: var(--glass); border: 1px solid var(--line);
  border-radius: 10px; display: grid; place-items: center;
}
.about__info li div  { display: flex; flex-direction: column; gap: .18rem; }
.about__info strong  { font-weight: 600; color: var(--text); font-size: .88rem; }
.about__info span    { color: var(--muted); font-size: .84rem; }

/* timeline */
.timeline { position: relative; padding-left: 1.6rem; margin-bottom: 2rem; }
.timeline::before {
  content: ''; position: absolute; left: 4px; top: 4px; bottom: 4px;
  width: 1px; background: linear-gradient(to bottom, var(--primary), rgba(0,229,255,0));
}
.timeline__item { position: relative; padding: 0 0 2rem 1.3rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute; left: calc(-1.6rem + .5px); top: 4px;
  width: 10px; height: 10px; border-radius: 50%; background: var(--primary);
  border: 2px solid var(--bg); box-shadow: 0 0 0 3px rgba(0,229,255,.18);
}
.timeline__date { font: 600 .74rem/1 var(--mono); color: var(--primary); text-transform: uppercase; letter-spacing: .07em; }
.timeline__content h4 {
  font-family: var(--display); font-size: clamp(.95rem, 1.8vw, 1.2rem);
  font-weight: 700; color: var(--white); margin: .45rem 0 .2rem;
}
.timeline__org  { font-weight: 600; color: var(--text); font-size: .88rem; margin-bottom: .45rem; }
.timeline__desc { color: var(--muted); font-size: .86rem; max-width: 52ch; line-height: 1.72; margin-bottom: .7rem; }
.timeline__tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.timeline__tags span {
  font: 600 .7rem/1 var(--mono); padding: .32rem .6rem;
  border: 1px solid var(--line); border-radius: 100px; color: var(--muted);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: 1.1rem;
}
.service-card {
  position: relative; overflow: hidden; padding: 1.8rem 1.6rem 2.2rem;
  transition: border-color .4s, transform .5s var(--ease), box-shadow .4s;
  transform-style: preserve-3d;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(160px 160px at var(--mx,50%) var(--my,-20%), rgba(0,229,255,.07), transparent 70%);
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.service-card:hover { border-color: rgba(0,229,255,.28); box-shadow: 0 16px 50px -18px rgba(0,229,255,.12); transform: translateY(-3px); }
.service-card:hover::before { opacity: 1; }
.service-card__icon {
  width: 50px; height: 50px; border-radius: 13px; flex-shrink: 0;
  background: rgba(0,229,255,.07); border: 1px solid rgba(0,229,255,.18);
  display: grid; place-items: center; margin-bottom: 1.2rem;
  transition: transform .4s var(--ease), background .3s;
}
.service-card__icon svg { width: 22px; height: 22px; color: var(--primary); }
.service-card:hover .service-card__icon { transform: rotate(-7deg) scale(1.08); background: rgba(0,229,255,.13); }
.service-card h3 { font-family: var(--display); font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: .6rem; }
.service-card p  { color: var(--muted); font-size: .88rem; line-height: 1.7; margin-bottom: 1.1rem; }
.service-card__tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.service-card__tags span {
  font: 600 .7rem/1 var(--mono); padding: .32rem .6rem;
  background: rgba(0,229,255,.06); border: 1px solid rgba(0,229,255,.13);
  border-radius: 100px; color: var(--muted);
}
.service-card__number {
  position: absolute; top: 1.2rem; right: 1.4rem;
  font: 700 .82rem/1 var(--mono); color: rgba(255,255,255,.1);
  transition: color .3s;
}
.service-card:hover .service-card__number { color: var(--primary); }
.service-card__arrow {
  position: absolute; bottom: 1.4rem; right: 1.6rem;
  font-size: .95rem; color: var(--primary); opacity: 0;
  transform: translateX(-6px); transition: opacity .3s, transform .3s var(--ease);
}
.service-card:hover .service-card__arrow { opacity: 1; transform: translateX(0); }
.service-card--featured { border-color: rgba(0,229,255,.22); }
.service-card__badge {
  position: absolute; top: 1.2rem; right: 1.2rem;
  font: 700 .68rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  padding: .28rem .6rem; border-radius: 100px;
  background: linear-gradient(135deg, var(--primary), var(--accent)); color: #000;
}

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(170px, 100%), 1fr));
  gap: .9rem;
}
.industry-card {
  padding: 1.5rem 1.2rem; text-align: center;
  transition: border-color .4s, transform .4s var(--ease), box-shadow .3s;
}
.industry-card:hover { border-color: rgba(0,255,178,.28); transform: translateY(-3px); box-shadow: 0 10px 34px -10px rgba(0,255,178,.1); }
.industry-card__icon { font-size: 2.2rem; display: block; margin-bottom: .75rem; }
.industry-card h4 { font-family: var(--display); font-weight: 700; font-size: .95rem; color: var(--white); margin-bottom: .35rem; }
.industry-card p  { font-size: .8rem; color: var(--muted); line-height: 1.6; }

/* ============================================================
   PROJECTS
   ============================================================ */
.work__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: 1.3rem;
}
.project-card {
  overflow: hidden;
  transition: border-color .4s, transform .5s var(--ease), box-shadow .4s;
  transform-style: preserve-3d;
}
.project-card:hover { border-color: rgba(0,229,255,.28); transform: translateY(-5px); box-shadow: 0 20px 55px -18px rgba(0,0,0,.7), 0 0 26px -10px rgba(0,229,255,.1); }
.project-card__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem 1.5rem .75rem;
}
.project-card__num { font: 800 1.7rem/1 var(--display); color: rgba(255,255,255,.07); transition: color .3s; }
.project-card:hover .project-card__num { color: var(--primary); }
.project-card__badges { display: flex; gap: .35rem; flex-wrap: wrap; }
.project-card__badge {
  font: 600 .7rem/1 var(--mono); padding: .32rem .62rem;
  border: 1px solid var(--glass-border); border-radius: 100px; color: var(--muted);
}
.project-card__badge--live { border-color: rgba(0,255,178,.28); color: var(--accent); }
.project-card__image {
  position: relative; overflow: hidden; height: 190px;
  margin: 0 1.1rem; border-radius: var(--radius); border: 1px solid var(--line);
}
.project-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.project-card:hover .project-card__image img { transform: scale(1.05); }
.project-card__overlay {
  position: absolute; inset: 0; background: rgba(5,8,22,.86);
  backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .4s;
}
.project-card:hover .project-card__overlay { opacity: 1; }
.project-card__overlay-btns { display: flex; gap: .7rem; flex-wrap: wrap; justify-content: center; padding: 1rem; }
.project-card__btn {
  font: 600 .8rem/1 var(--font); padding: .55rem 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; border-radius: 100px;
  transition: transform .2s;
}
.project-card__btn:hover { transform: scale(1.04); }
.project-card__btn--outline { background: transparent; border: 1px solid rgba(255,255,255,.28); color: var(--text); }
.project-card__btn--outline:hover { border-color: var(--primary); color: var(--primary); }
.project-card__body { padding: 1.1rem 1.5rem 1.5rem; }
.project-card__body h3 { font-family: var(--display); font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: .45rem; }
.project-card__tagline { color: var(--muted); font-size: .86rem; line-height: 1.65; margin-bottom: 1rem; }
.project-card__meta { display: grid; gap: .45rem; margin-bottom: 1rem; }
.project-card__meta-item { display: flex; align-items: baseline; gap: .55rem; font-size: .83rem; flex-wrap: wrap; }
.project-card__meta-label {
  font: 600 .7rem/1 var(--mono); color: var(--primary);
  text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; flex-shrink: 0;
}
.project-card__result { color: var(--accent); font-weight: 600; }
.project-card__tech { display: flex; flex-wrap: wrap; gap: .35rem; }
.project-card__tech span {
  font: 600 .7rem/1 var(--mono); padding: .32rem .62rem;
  background: rgba(139,92,246,.07); border: 1px solid rgba(139,92,246,.18);
  border-radius: 100px; color: var(--muted);
}

/* ============================================================
   LIVE PRODUCTS SECTION
   ============================================================ */
.live-builds__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 1.4rem;
}

/* card */
.lb-card {
  overflow: hidden;
  transition: border-color .4s, transform .45s var(--ease), box-shadow .4s;
  display: flex; flex-direction: column;
}
.lb-card:hover { border-color: rgba(0,229,255,.3); transform: translateY(-5px); box-shadow: 0 22px 55px -18px rgba(0,0,0,.7), 0 0 28px -10px rgba(0,229,255,.1); }

/* browser chrome */
.lb-chrome {
  display: flex; align-items: center; gap: .35rem;
  padding: .38rem .65rem; background: rgba(4,8,20,.9);
  border-bottom: 1px solid rgba(255,255,255,.06); flex-shrink: 0;
}
.lb-chrome > span { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.lb-chrome > span:nth-child(1) { background: #ff5f57; }
.lb-chrome > span:nth-child(2) { background: #febc2e; }
.lb-chrome > span:nth-child(3) { background: #28c840; }
.lb-url { font: 500 .58rem/1 var(--mono); color: rgba(255,255,255,.3); flex: 1; text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* preview screen */
.lb-preview { height: 168px; display: flex; flex-direction: column; overflow: hidden; }
.lb-screen { flex: 1; display: flex; flex-direction: column; padding: .7rem .75rem; gap: .5rem; overflow: hidden; }

/* --- TapMineVerse (dark gaming) --- */
.lb-preview--mine { background: linear-gradient(155deg, #050115 0%, #0c0228 60%, #050115 100%); }
.lb-mine-logo { font: 700 .7rem/1 var(--mono); color: #a78bfa; letter-spacing: .06em; }
.lb-crystal { font-size: 1.8rem; text-align: center; filter: drop-shadow(0 0 8px rgba(139,92,246,.7)); animation: crystal-pulse 2.4s ease-in-out infinite; }
@keyframes crystal-pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.12)} }
.lb-mine-bar-wrap { display: flex; flex-direction: column; gap: .2rem; }
.lb-mine-label { font: 500 .56rem/1 var(--mono); color: rgba(255,255,255,.45); display: flex; justify-content: space-between; }
.lb-mine-label strong { color: #a78bfa; }
.lb-mine-track { height: 5px; background: rgba(255,255,255,.06); border-radius: 100px; }
.lb-mine-fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg,#7c3aed,#a78bfa,#c4b5fd); box-shadow: 0 0 8px rgba(139,92,246,.5); }
.lb-mine-stats { display: flex; gap: .4rem; margin-top: auto; }
.lb-stat-pill { font: 600 .5rem/1 var(--mono); padding: .22rem .45rem; border-radius: 100px; background: rgba(139,92,246,.15); border: 1px solid rgba(139,92,246,.3); color: #c4b5fd; }

/* --- KrishnaQuiz (colorful quiz) --- */
.lb-preview--quiz { background: linear-gradient(155deg, #0c0520 0%, #150830 60%, #0a0318 100%); }
.lb-quiz-header { font: 700 .7rem/1 var(--mono); color: #f472b6; letter-spacing: .06em; }
.lb-quiz-q { font: 500 .6rem/1.4 var(--font); color: rgba(255,255,255,.75); padding: .35rem .5rem; background: rgba(255,255,255,.05); border-radius: 6px; border: 1px solid rgba(255,255,255,.08); }
.lb-quiz-opts { display: flex; flex-direction: column; gap: .2rem; }
.lb-opt { font: 500 .56rem/1 var(--mono); padding: .22rem .45rem; border-radius: 5px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.5); }
.lb-opt-correct { background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.3); color: #4ade80; }
.lb-quiz-foot { display: flex; gap: .5rem; margin-top: auto; }
.lb-quiz-foot span { font: 600 .5rem/1 var(--mono); color: rgba(255,255,255,.4); }

/* --- Usefull Tools (purple utility) --- */
.lb-preview--tools { background: linear-gradient(155deg, #090520 0%, #110730 60%, #070318 100%); }
.lb-tools-header { font: 700 .7rem/1 var(--mono); color: #a78bfa; letter-spacing: .06em; }
.lb-tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .25rem; flex: 1; }
.lb-tool-chip { font: 600 .48rem/1.3 var(--mono); text-align: center; padding: .25rem .2rem; background: rgba(124,58,237,.1); border: 1px solid rgba(124,58,237,.2); border-radius: 5px; color: #c4b5fd; }
.lb-tools-foot { font: 500 .5rem/1 var(--mono); color: rgba(255,255,255,.3); text-align: center; margin-top: auto; }

/* --- Daily Smart Update (clean blog) --- */
.lb-preview--blog { background: linear-gradient(155deg, #041528 0%, #061e3a 60%, #031020 100%); }
.lb-blog-header { font: 700 .7rem/1 var(--mono); color: var(--primary); letter-spacing: .06em; }
.lb-blog-list { display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.lb-article { display: flex; align-items: center; gap: .4rem; }
.lb-atag { font: 700 .46rem/1 var(--mono); padding: .18rem .38rem; border-radius: 100px; white-space: nowrap; }
.lb-atag--finance { background: rgba(16,185,129,.12); color: #10b981; }
.lb-atag--career  { background: rgba(245,158,11,.12); color: #f59e0b; }
.lb-atag--law     { background: rgba(239,68,68,.12);  color: #f87171; }
.lb-atag--edu     { background: rgba(99,102,241,.12); color: #818cf8; }
.lb-aline { flex: 1; height: 4px; background: rgba(255,255,255,.07); border-radius: 2px; }
.lb-aline--short { flex: 0 0 55%; }
.lb-blog-foot { font: 500 .5rem/1 var(--mono); color: rgba(255,255,255,.3); margin-top: auto; }

/* --- TN Exam Prep (education / institutional) --- */
.lb-preview--exam { background: linear-gradient(155deg, #030e28 0%, #051a3e 60%, #021025 100%); }
.lb-exam-header { font: 700 .7rem/1 var(--mono); color: #60a5fa; letter-spacing: .06em; }
.lb-exam-list { display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.lb-exam-row { display: flex; align-items: center; gap: .45rem; }
.lb-exam-row > span { font: 500 .52rem/1 var(--mono); color: rgba(255,255,255,.55); white-space: nowrap; width: 80px; flex-shrink: 0; }
.lb-prog-track { flex: 1; height: 5px; background: rgba(255,255,255,.06); border-radius: 100px; }
.lb-prog-fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, #2563eb, #60a5fa); box-shadow: 0 0 6px rgba(96,165,250,.4); }
.lb-exam-foot { font: 500 .5rem/1 var(--mono); color: rgba(255,255,255,.3); margin-top: auto; text-align: center; }

/* card body */
.lb-body { padding: 1.1rem 1.3rem 1.3rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.lb-meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.lb-badge { font: 700 .65rem/1 var(--mono); padding: .28rem .65rem; border-radius: 100px; text-transform: uppercase; letter-spacing: .06em; }
.lb-badge--purple { background: rgba(139,92,246,.12); border: 1px solid rgba(139,92,246,.3); color: #a78bfa; }
.lb-badge--pink   { background: rgba(244,114,182,.12); border: 1px solid rgba(244,114,182,.3); color: #f472b6; }
.lb-badge--violet { background: rgba(124,58,237,.12);  border: 1px solid rgba(124,58,237,.3);  color: #c4b5fd; }
.lb-badge--cyan   { background: rgba(0,229,255,.1);    border: 1px solid rgba(0,229,255,.25);   color: var(--primary); }
.lb-badge--green  { background: rgba(34,197,94,.1);    border: 1px solid rgba(34,197,94,.25);   color: #4ade80; }
.lb-ext-link { font: 600 .65rem/1 var(--mono); color: var(--muted); transition: color .3s; text-decoration: none; }
.lb-card:hover .lb-ext-link { color: var(--primary); }
.lb-title { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--white); letter-spacing: -.01em; }
.lb-desc { font-size: .84rem; color: var(--muted); line-height: 1.65; flex: 1; }
.lb-chips { display: flex; flex-wrap: wrap; gap: .3rem; }
.lb-chips span { font: 600 .68rem/1 var(--mono); padding: .28rem .58rem; background: rgba(0,229,255,.05); border: 1px solid rgba(0,229,255,.12); border-radius: 100px; color: var(--muted); }
.lb-cta {
  display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start;
  font: 700 .82rem/1 var(--font); padding: .6rem 1.15rem;
  background: linear-gradient(135deg, rgba(0,229,255,.12), rgba(139,92,246,.12));
  border: 1px solid rgba(0,229,255,.22); border-radius: 100px;
  color: var(--primary); text-decoration: none;
  transition: background .3s, border-color .3s, transform .2s, color .3s;
  margin-top: auto;
}
.lb-cta svg { width: 14px; height: 14px; transition: transform .3s var(--ease); flex-shrink: 0; }
.lb-cta:hover { background: linear-gradient(135deg, rgba(0,229,255,.2), rgba(139,92,246,.2)); border-color: var(--primary); transform: translateX(2px); }
.lb-cta:hover svg { transform: translateX(3px); }

/* ============================================================
   WHY HIRE ME
   ============================================================ */
.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
  gap: 1.1rem;
}
.why-card {
  padding: 1.6rem;
  transition: border-color .4s, transform .4s var(--ease), box-shadow .3s;
}
.why-card:hover { border-color: rgba(0,229,255,.22); transform: translateY(-3px); box-shadow: 0 10px 36px -10px rgba(0,229,255,.08); }
.why-card__icon { font-size: 1.9rem; display: block; margin-bottom: .9rem; }
.why-card h4 { font-family: var(--display); font-weight: 700; color: var(--white); margin-bottom: .45rem; font-size: 1rem; }
.why-card p  { color: var(--muted); font-size: .87rem; line-height: 1.7; }

/* ============================================================
   TECH STACK
   ============================================================ */
.tech__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(105px, calc(33% - .6rem)), 1fr));
  gap: .75rem; margin-bottom: 3.5rem;
}
.tech-item {
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  padding: 1.2rem .8rem; text-align: center;
  transition: border-color .4s, transform .4s var(--ease), box-shadow .3s;
}
.tech-item:hover { border-color: rgba(0,229,255,.28); transform: translateY(-3px); box-shadow: 0 8px 26px -8px rgba(0,229,255,.12); }
.tech-item img { width: 34px; height: 34px; object-fit: contain; filter: grayscale(.3); transition: filter .3s; }
.tech-item:hover img { filter: grayscale(0); }
.tech-item span { font: 600 .74rem/1 var(--font); color: var(--muted); }
.tech-item:hover span { color: var(--text); }

/* skills layout */
.skills { padding-top: 0 !important; }
.skills__layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.skills__subtitle {
  font-family: var(--display); font-size: .86rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 1.5rem;
}
.bar { margin-bottom: 1.1rem; }
.bar__top { display: flex; justify-content: space-between; font-size: .86rem; margin-bottom: .45rem; color: var(--text); }
.bar__top b { color: var(--primary); font-family: var(--mono); font-weight: 600; font-size: .8rem; }
.bar__track { height: 5px; background: rgba(255,255,255,.06); border-radius: 100px; overflow: hidden; }
.bar__track span {
  display: block; height: 100%; width: 0; border-radius: 100px;
  background: linear-gradient(90deg, var(--secondary), var(--primary), var(--accent));
  transition: width 1.4s var(--ease);
}

/* rings */
.rings__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.ring { display: flex; flex-direction: column; align-items: center; position: relative; }
.ring svg { width: clamp(90px, 12vw, 130px); height: clamp(90px, 12vw, 130px); transform: rotate(-90deg); }
.ring__bg { fill: none; stroke: rgba(255,255,255,.06); stroke-width: 8; }
.ring__fg {
  fill: none; stroke: var(--primary); stroke-width: 8; stroke-linecap: round;
  stroke-dasharray: 326.7; stroke-dashoffset: 326.7;
  transition: stroke-dashoffset 1.6s var(--ease);
  filter: drop-shadow(0 0 7px rgba(0,229,255,.45));
}
.ring__pct {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-56%);
  font-family: var(--display); font-weight: 800;
  font-size: clamp(.9rem, 2vw, 1.3rem); color: var(--white);
}
.ring__label { margin-top: .45rem; font: 600 .74rem/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* ============================================================
   PROCESS
   ============================================================ */
.process__timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}
.process__step-num {
  font: 800 2.2rem/1 var(--display); display: block; margin-bottom: .6rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.process__step-content {
  padding: 1.5rem; height: 100%;
  transition: border-color .4s, transform .4s var(--ease);
}
.process__step-content:hover { border-color: rgba(0,229,255,.28); transform: translateY(-2px); }
.process__step-icon { font-size: 1.7rem; display: block; margin-bottom: .7rem; }
.process__step-content h4 { font-family: var(--display); font-weight: 700; color: var(--white); margin-bottom: .45rem; font-size: .98rem; }
.process__step-content p  { color: var(--muted); font-size: .85rem; line-height: 1.7; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials__carousel { position: relative; overflow: hidden; margin-bottom: 1.8rem; }
.testimonial-card {
  padding: clamp(1.5rem, 4vw, 2.4rem);
  display: none; animation: fadeIn .5s var(--ease);
}
.testimonial-card.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
.testimonial-card__stars { font-size: 1.2rem; color: #fbbf24; margin-bottom: 1rem; letter-spacing: .08em; }
.testimonial-card blockquote {
  font-size: clamp(.9rem, 1.6vw, 1.1rem); color: var(--text);
  line-height: 1.8; font-style: italic; margin-bottom: 1.5rem; max-width: 65ch;
}
.testimonial-card__author { display: flex; align-items: center; gap: .9rem; }
.testimonial-card__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: grid; place-items: center; font: 700 .88rem/1 var(--display); color: #000;
}
.testimonial-card__author strong { display: block; font-weight: 700; color: var(--white); font-size: .9rem; }
.testimonial-card__author span  { font-size: .82rem; color: var(--muted); }
.testimonials__controls { display: flex; align-items: center; gap: 1.3rem; justify-content: center; }
.testimonials__btn {
  width: 42px; height: 42px; border-radius: 50%; background: var(--glass);
  border: 1px solid var(--glass-border); color: var(--text); font-size: .95rem;
  display: grid; place-items: center;
  transition: border-color .3s, color .3s;
}
.testimonials__btn:hover { border-color: var(--primary); color: var(--primary); }
.testimonials__dots { display: flex; gap: .45rem; }
.testimonials__dot {
  width: 7px; height: 7px; border-radius: 100px; background: var(--glass-border);
  border: none; transition: width .3s, background .3s;
}
.testimonials__dot.active { background: var(--primary); width: 22px; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: 1.1rem; align-items: start;
}
.pricing-card {
  padding: 1.8rem; position: relative; overflow: hidden;
  transition: border-color .4s, transform .4s var(--ease), box-shadow .3s;
}
.pricing-card:hover { border-color: rgba(0,229,255,.28); transform: translateY(-3px); }
.pricing-card--featured {
  border-color: rgba(0,229,255,.3);
  background: linear-gradient(135deg, rgba(0,229,255,.04), rgba(139,92,246,.04));
  box-shadow: 0 18px 55px -18px rgba(0,229,255,.12);
}
.pricing-card__badge {
  position: absolute; top: 1.1rem; right: 1.1rem;
  font: 700 .68rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  padding: .28rem .62rem; border-radius: 100px;
  background: linear-gradient(135deg, var(--primary), var(--accent)); color: #000;
}
.pricing-card__icon { font-size: 1.9rem; display: block; margin-bottom: .7rem; }
.pricing-card__header { margin-bottom: 1.3rem; }
.pricing-card__header h3 { font-family: var(--display); font-weight: 700; color: var(--white); margin-bottom: .7rem; font-size: 1.05rem; }
.pricing-card__price { display: flex; flex-direction: column; gap: .15rem; }
.pricing-card__from  { font: 500 .75rem/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.pricing-card__amount {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.pricing-card__features { list-style: none; display: grid; gap: .6rem; margin-bottom: 1.6rem; }
.pricing-card__features li { font-size: .87rem; color: var(--muted); display: flex; gap: .4rem; }
.pricing-card__cta { display: block; text-align: center; }

/* ============================================================
   PRICING GATE — lock / reveal system
   ============================================================ */

/* unlock banner above grid */
.price-gate-banner {
  margin-bottom: 1.6rem;
  padding: 1rem 1.4rem;
  background: linear-gradient(135deg, rgba(0,229,255,.06), rgba(139,92,246,.06));
  border: 1px solid rgba(0,229,255,.2); border-radius: var(--radius);
  transition: opacity .5s, transform .5s, max-height .5s;
  overflow: hidden;
}
.price-gate-banner.is-hidden { opacity: 0; max-height: 0; padding: 0; margin: 0; pointer-events: none; }
.pgb-inner { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.pgb-icon { width: 28px; height: 28px; color: var(--primary); flex-shrink: 0; }
.pgb-text { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: .2rem; }
.pgb-text strong { color: var(--white); font-size: .9rem; }
.pgb-text span { color: var(--muted); font-size: .82rem; }
.pgb-btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; }

/* price amount lock/reveal wrapper */
.price-reveal-wrap { position: relative; display: inline-block; }

/* blurred price (locked state) */
.price-reveal-wrap .pricing-card__amount {
  display: block;
  transition: filter .5s, opacity .5s;
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
  opacity: .6;
}

/* lock badge overlay */
.price-blur-mask {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: .3rem;
  font: 600 .72rem/1 var(--mono); color: var(--muted);
  background: rgba(5,8,22,.35); border-radius: 6px;
  backdrop-filter: blur(2px);
  transition: opacity .4s;
  cursor: pointer;
}
.price-blur-mask:hover { color: var(--primary); }

/* REVEALED state — added to .price-reveal-wrap when unlocked */
.price-reveal-wrap.is-revealed .pricing-card__amount {
  filter: blur(0); opacity: 1; pointer-events: auto; user-select: auto;
}
.price-reveal-wrap.is-revealed .price-blur-mask {
  opacity: 0; pointer-events: none;
}

/* CTA button text swap */
.pricing-card__cta.is-revealed { display: none; }
.pricing-card__cta-unlocked {
  display: none; text-align: center;
}
.pricing-card__cta-unlocked.is-visible { display: block; }

/* ============================================================
   PRICE UNLOCK MODAL
   ============================================================ */
.price-modal-overlay {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(3,5,16,.82); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity .35s;
}
.price-modal-overlay.is-open { opacity: 1; pointer-events: all; }

.price-modal {
  position: relative; width: 100%; max-width: 460px;
  background: linear-gradient(160deg, rgba(10,14,36,.98), rgba(7,10,28,.98));
  border: 1px solid rgba(0,229,255,.18); border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.8), 0 0 40px -15px rgba(0,229,255,.12);
  transform: translateY(24px) scale(.97);
  transition: transform .4s var(--ease), opacity .35s;
}
.price-modal-overlay.is-open .price-modal {
  transform: translateY(0) scale(1);
}

.price-modal__close {
  position: absolute; top: 1rem; right: 1rem;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: var(--muted); cursor: pointer; display: grid; place-items: center;
  transition: background .2s, color .2s;
}
.price-modal__close:hover { background: rgba(255,255,255,.12); color: var(--white); }
.price-modal__close svg { width: 14px; height: 14px; }

.price-modal__icon {
  width: 52px; height: 52px; border-radius: 14px; margin: 0 auto 1.2rem;
  background: linear-gradient(135deg, rgba(0,229,255,.1), rgba(139,92,246,.1));
  border: 1px solid rgba(0,229,255,.2);
  display: grid; place-items: center; color: var(--primary);
}
.price-modal__icon svg { width: 24px; height: 24px; }

.price-modal__title {
  font-family: var(--display); font-weight: 800;
  font-size: 1.4rem; color: var(--white);
  text-align: center; margin-bottom: .5rem; letter-spacing: -.02em;
}
.price-modal__sub {
  color: var(--muted); font-size: .87rem; text-align: center;
  line-height: 1.6; margin-bottom: 1.6rem;
}

.price-modal__form { display: flex; flex-direction: column; gap: .9rem; }

.pm-field { display: flex; flex-direction: column; gap: .35rem; }
.pm-field label {
  font: 600 .78rem/1 var(--mono); color: var(--text);
  text-transform: uppercase; letter-spacing: .06em; display: flex; gap: .3rem; align-items: center;
}
.pm-field label span { color: var(--primary); }
.pm-optional { color: var(--muted) !important; font-weight: 400; text-transform: none; letter-spacing: 0; }

.pm-field input,
.pm-field select {
  width: 100%; padding: .75rem 1rem;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); color: var(--white); font: .9rem/1 var(--font);
  transition: border-color .3s, box-shadow .3s;
  -webkit-appearance: none;
}
.pm-field input::placeholder { color: rgba(255,255,255,.25); }
.pm-field input:focus,
.pm-field select:focus {
  outline: none; border-color: rgba(0,229,255,.45);
  box-shadow: 0 0 0 3px rgba(0,229,255,.08);
}
.pm-field input.pm-error { border-color: rgba(239,68,68,.5); box-shadow: 0 0 0 3px rgba(239,68,68,.07); }
.pm-field select { color: rgba(255,255,255,.55); cursor: pointer; }
.pm-field select option { background: #0a0e24; color: var(--white); }

.price-modal__submit {
  width: 100%; justify-content: center; font-size: 1rem;
  padding: .85rem; margin-top: .3rem;
}
.pm-submit-label { display: flex; align-items: center; justify-content: center; gap: .5rem; }

.pm-privacy {
  text-align: center; font-size: .74rem; color: var(--muted);
  margin-top: .25rem;
}

/* success state */
.price-modal__success {
  display: none; flex-direction: column; align-items: center;
  text-align: center; gap: .8rem; padding: .5rem 0;
}
.price-modal__success.is-visible { display: flex; }
.pms-checkmark {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,255,178,.15), rgba(0,229,255,.1));
  border: 1px solid rgba(0,255,178,.3);
  display: grid; place-items: center; color: var(--accent);
}
.pms-checkmark svg { width: 26px; height: 26px; }
.price-modal__success h4 { font-family: var(--display); font-size: 1.2rem; color: var(--white); }
.price-modal__success p { color: var(--muted); font-size: .86rem; line-height: 1.6; }

/* ============================================================
   ACHIEVEMENTS  (redesigned with icons + compact layout)
   ============================================================ */
.achievements {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(0,229,255,.03), rgba(139,92,246,.03), rgba(0,255,178,.02));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.achievements::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0,229,255,.04), transparent);
  pointer-events: none;
}
.achievements__wrap {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem);
}
.achievements__head {
  text-align: center; margin-bottom: clamp(1.8rem, 4vw, 3rem);
}
.achievements__head .section__tag { display: inline-block; margin-bottom: .8rem; }
.achievements__title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--white);
  line-height: 1.12; letter-spacing: -.02em; margin-bottom: .6rem;
}
.ach-accent {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.achievements__sub { color: var(--muted); font-size: clamp(.84rem, 1.3vw, .98rem); max-width: 46ch; margin: 0 auto; }
.achievements__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.achievement-stat {
  position: relative; text-align: center;
  padding: 1.6rem 1rem;
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px); border-radius: var(--radius);
  transition: border-color .4s, transform .4s var(--ease), box-shadow .4s;
}
.achievement-stat:hover {
  border-color: rgba(0,229,255,.28); transform: translateY(-4px);
  box-shadow: 0 14px 40px -14px rgba(0,229,255,.15);
}
.ach-icon {
  width: 48px; height: 48px; border-radius: 13px; margin: 0 auto .9rem;
  background: linear-gradient(135deg, rgba(0,229,255,.1), rgba(139,92,246,.1));
  border: 1px solid rgba(0,229,255,.2);
  display: grid; place-items: center;
  color: var(--primary);
  transition: background .3s, border-color .3s, transform .4s var(--ease);
}
.achievement-stat:hover .ach-icon { transform: scale(1.1) rotate(-6deg); background: linear-gradient(135deg, rgba(0,229,255,.18), rgba(139,92,246,.18)); }
.ach-icon svg { width: 22px; height: 22px; }
.achievement-stat strong {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem); line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: .35rem;
}
.achievement-stat span {
  font: 600 .72rem/1.3 var(--mono); color: var(--muted);
  text-transform: uppercase; letter-spacing: .08em; display: block;
}

/* ============================================================
   PROJECT CARD MOCKUPS  (replaces personal photos)
   ============================================================ */
.proj-mock {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  font-family: var(--mono); overflow: hidden;
}
/* browser chrome bar */
.pm-chrome {
  display: flex; align-items: center; gap: .4rem; padding: .45rem .7rem;
  background: rgba(8,12,28,.95); border-bottom: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.pm-chrome > span {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
}
.pm-chrome > span:nth-child(1) { background: #ff5f57; }
.pm-chrome > span:nth-child(2) { background: #febc2e; }
.pm-chrome > span:nth-child(3) { background: #28c840; }
.pm-url {
  font-size: .6rem; color: rgba(255,255,255,.3); flex: 1;
  text-align: center; margin: 0 .4rem; overflow: hidden;
  white-space: nowrap; text-overflow: ellipsis;
}

/* shared body */
.pm-body { flex: 1; display: flex; min-height: 0; overflow: hidden; }
.pm-full { width: 100%; flex-direction: column; }

/* ---- sidebar ---- */
.pm-sidebar {
  width: 28px; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center;
  padding: .5rem .2rem; gap: .4rem;
  background: rgba(0,0,0,.25); border-right: 1px solid rgba(255,255,255,.05);
}
.pm-nav-icon {
  width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center;
  color: rgba(255,255,255,.2);
}
.pm-nav-icon.pm-active { color: var(--primary); background: rgba(0,229,255,.1); }
.pm-nav-icon svg { width: 11px; height: 11px; }

/* ---- main panel ---- */
.pm-main { flex: 1; display: flex; flex-direction: column; padding: .55rem .55rem .4rem; gap: .4rem; min-width: 0; }

/* KPIs */
.pm-kpi-row { display: flex; gap: .4rem; }
.pm-kpi {
  flex: 1; background: rgba(0,229,255,.05); border: 1px solid rgba(0,229,255,.1);
  border-radius: 6px; padding: .3rem .3rem;
  display: flex; flex-direction: column; align-items: center;
}
.pm-kpi span { font-size: .62rem; font-weight: 700; color: var(--primary); line-height: 1; }
.pm-kpi small { font-size: .48rem; color: var(--muted); margin-top: .1rem; }
.pm-kpi--hi { border-color: rgba(0,255,178,.18); background: rgba(0,255,178,.05); }
.pm-kpi--hi span { color: var(--accent); }

/* bar chart */
.pm-chart-bars {
  display: flex; align-items: flex-end; gap: 2px; flex: 1;
  padding: .25rem .1rem .1rem; background: rgba(0,0,0,.2); border-radius: 5px; min-height: 0;
}
.pm-chart-bars span {
  flex: 1; background: rgba(0,229,255,.25); border-radius: 2px 2px 0 0;
  height: var(--h, 50%); transition: height .6s var(--ease);
}
.pm-chart-bars span.pm-hi { background: var(--primary); box-shadow: 0 0 6px rgba(0,229,255,.4); }

/* list rows */
.pm-list-rows { display: flex; flex-direction: column; gap: .2rem; }
.pm-row { display: flex; align-items: center; gap: .3rem; }
.pm-row > div { height: 4px; flex: 1; background: rgba(255,255,255,.08); border-radius: 2px; }
.pm-row > div.pm-short { flex: 0 0 35%; }
.pm-dot-status { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.pm-green  { background: #22c55e; }
.pm-cyan   { background: var(--primary); }
.pm-yellow { background: #eab308; }

/* HEALTHCARE BG */
.pm--healthcare { background: linear-gradient(155deg, #041428 0%, #071e3d 60%, #051628 100%); }

/* ---- E-COMMERCE ---- */
.pm--ecommerce { background: linear-gradient(155deg, #150c05 0%, #1e1205 60%, #120a03 100%); }
.pm-ec-header { display: flex; align-items: center; gap: .4rem; padding: .35rem .5rem; border-bottom: 1px solid rgba(255,255,255,.06); flex-shrink: 0; }
.pm-ec-logo { width: 22px; height: 8px; background: linear-gradient(90deg,#f59e0b,#ef4444); border-radius: 2px; }
.pm-search-bar { flex: 1; height: 8px; background: rgba(255,255,255,.06); border-radius: 4px; }
.pm-cart-badge { font-size: .5rem; color: #f59e0b; background: rgba(245,158,11,.1); padding: .15rem .3rem; border-radius: 4px; }
.pm-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3rem; padding: .35rem .45rem; flex: 1; }
.pm-product { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 5px; overflow: hidden; }
.pm-product-img { height: 28px; }
.pm-product-info { display: flex; justify-content: space-between; align-items: center; padding: .2rem .3rem; }
.pm-product-info > div { width: 30px; height: 4px; background: rgba(255,255,255,.1); border-radius: 2px; }
.pm-product-info span { font-size: .46rem; color: #f59e0b; font-weight: 700; }
.pm-amber { background: linear-gradient(135deg, rgba(245,158,11,.3), rgba(234,88,12,.2)); }
.pm-orange { background: linear-gradient(135deg, rgba(234,88,12,.3), rgba(239,68,68,.2)); }
.pm-red    { background: linear-gradient(135deg, rgba(239,68,68,.3), rgba(168,85,247,.2)); }
.pm-revenue-bar { display: flex; align-items: center; gap: .4rem; padding: .25rem .5rem; border-top: 1px solid rgba(255,255,255,.05); font-size: .5rem; color: var(--muted); }
.pm-rev-track { flex: 1; height: 4px; background: rgba(255,255,255,.06); border-radius: 2px; }
.pm-rev-fill { height: 100%; background: linear-gradient(90deg,#f59e0b,#ef4444); border-radius: 2px; }
.pm-rev-pct { color: #f59e0b; font-weight: 700; }

/* ---- KANBAN / MOBILE ---- */
.pm--mobile { background: linear-gradient(155deg, #0d0820 0%, #140b2a 60%, #090618 100%); }
.pm-kanban { display: flex; gap: .3rem; padding: .4rem .45rem; flex: 1; }
.pm-column { flex: 1; display: flex; flex-direction: column; gap: .25rem; }
.pm-col-head { font-size: .46rem; font-weight: 700; letter-spacing: .06em; padding: .25rem .35rem; border-radius: 4px; display: flex; justify-content: space-between; }
.pm-col-head span { background: rgba(255,255,255,.12); border-radius: 100px; padding: 0 .3rem; }
.pm-col-todo     { background: rgba(99,102,241,.15); color: #818cf8; }
.pm-col-progress { background: rgba(245,158,11,.12); color: #fbbf24; }
.pm-col-done     { background: rgba(34,197,94,.1); color: #4ade80; }
.pm-task { height: 14px; background: rgba(255,255,255,.06); border-radius: 3px; border: 1px solid rgba(255,255,255,.07); }
.pm-task-long { height: 20px; }
.pm-task-active { background: rgba(139,92,246,.15); border-color: rgba(139,92,246,.3); }
.pm-task-done { background: rgba(34,197,94,.07); border-color: rgba(34,197,94,.15); }
.pm-progress-bar { height: 3px; background: rgba(255,255,255,.06); border-radius: 2px; }
.pm-progress-bar > div { height: 100%; background: #8b5cf6; border-radius: 2px; }

/* ---- DOCUMENT MANAGER ---- */
.pm--docmgr { background: linear-gradient(155deg, #031520 0%, #051f2e 60%, #021018 100%); }
.pm-doc-grid { display: flex; flex-direction: column; gap: .3rem; padding: .4rem .5rem; flex: 1; }
.pm-doc-card { padding: .35rem .5rem; border-radius: 6px; border: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; gap: .4rem; }
.pm-doc-dl    { background: linear-gradient(90deg, rgba(20,184,166,.08), rgba(0,0,0,0)); border-color: rgba(20,184,166,.2); }
.pm-doc-pan   { background: linear-gradient(90deg, rgba(99,102,241,.08), rgba(0,0,0,0)); border-color: rgba(99,102,241,.2); }
.pm-doc-voter { background: linear-gradient(90deg, rgba(0,229,255,.06), rgba(0,0,0,0)); border-color: rgba(0,229,255,.15); }
.pm-doc-icon  { font-size: .9rem; flex-shrink: 0; }
.pm-doc-label { font-size: .54rem; color: var(--text); font-weight: 600; flex: 1; }
.pm-doc-num   { font-size: .48rem; color: var(--muted); }
.pm-doc-badge { font-size: .44rem; padding: .12rem .3rem; border-radius: 100px; flex-shrink: 0; }
.pm-secure { color: #4ade80; background: rgba(34,197,94,.1); }
.pm-storage-bar { display: flex; align-items: center; gap: .4rem; padding: .25rem .5rem; border-top: 1px solid rgba(255,255,255,.05); font-size: .5rem; color: var(--muted); }
.pm-stor-track { flex: 1; height: 4px; background: rgba(255,255,255,.06); border-radius: 2px; }
.pm-stor-fill { height: 100%; background: linear-gradient(90deg,#14b8a6,#06b6d4); border-radius: 2px; }

/* ---- CRYPTO TRACKER ---- */
.pm--fintech { background: linear-gradient(155deg, #031510 0%, #05200f 60%, #021208 100%); }
.pm-crypto-header { display: flex; align-items: flex-start; justify-content: space-between; padding: .4rem .5rem .25rem; flex-shrink: 0; }
.pm-price-big { display: flex; flex-direction: column; gap: .15rem; }
.pm-price-val { font-size: .72rem; font-weight: 800; color: #fff; line-height: 1; }
.pm-price-change { font-size: .5rem; font-weight: 700; }
.pm-up   { color: #10b981; }
.pm-down { color: #ef4444; }
.pm-timeframe { display: flex; gap: .2rem; align-items: flex-start; }
.pm-timeframe span { font-size: .48rem; padding: .15rem .28rem; border-radius: 3px; color: var(--muted); }
.pm-tf-active { background: rgba(16,185,129,.15); color: #10b981 !important; }
.pm-line-chart { flex: 1; padding: .1rem .3rem; }
.pm-line-chart svg { width: 100%; height: 100%; }
.pm-coin-list { display: flex; flex-direction: column; gap: .2rem; padding: .25rem .5rem; border-top: 1px solid rgba(255,255,255,.05); flex-shrink: 0; }
.pm-coin { display: flex; align-items: center; gap: .35rem; }
.pm-coin-sym { width: 16px; height: 16px; border-radius: 50%; font-size: .5rem; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }
.pm-btc { background: rgba(247,147,26,.2); color: #f7931a; }
.pm-eth { background: rgba(98,126,234,.2); color: #627eea; }
.pm-coin > div { flex: 1; display: flex; flex-direction: column; gap: .1rem; }
.pm-coin > div > div { height: 3px; background: rgba(255,255,255,.07); border-radius: 1px; width: 100%; }
.pm-coin > div > small { font-size: .45rem; color: var(--muted); }
.pm-coin-price { font-size: .52rem; font-weight: 700; flex-shrink: 0; }

/* ---- CHAT APP ---- */
.pm--chat { background: linear-gradient(155deg, #080820 0%, #0e0b28 60%, #060618 100%); }
.pm-chat-sidebar {
  width: 34px; background: rgba(0,0,0,.22); border-right: 1px solid rgba(255,255,255,.05);
  display: flex; flex-direction: column; gap: .3rem; padding: .4rem .3rem;
}
.pm-room { display: flex; align-items: center; gap: .25rem; }
.pm-room > div { height: 6px; flex: 1; background: rgba(255,255,255,.07); border-radius: 2px; }
.pm-room-active > div { background: rgba(99,102,241,.35); }
.pm-online { width: 5px; height: 5px; border-radius: 50%; background: #22c55e; flex-shrink: 0; }
.pm-chat-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.pm-msg-header { display: flex; align-items: center; gap: .35rem; padding: .3rem .45rem; border-bottom: 1px solid rgba(255,255,255,.05); flex-shrink: 0; }
.pm-av { width: 13px; height: 13px; border-radius: 50%; background: linear-gradient(135deg,#6366f1,#8b5cf6); flex-shrink: 0; }
.pm-msg-header > div { flex: 1; display: flex; flex-direction: column; gap: .1rem; }
.pm-msg-header > div > div { height: 4px; width: 40px; background: rgba(255,255,255,.12); border-radius: 2px; }
.pm-msg-header > div > small { font-size: .42rem; color: #22c55e; }
.pm-latency { font-size: .44rem; color: var(--primary); background: rgba(0,229,255,.08); padding: .12rem .3rem; border-radius: 100px; flex-shrink: 0; }
.pm-msgs { flex: 1; display: flex; flex-direction: column; gap: .25rem; padding: .3rem .4rem; min-height: 0; justify-content: flex-end; }
.pm-msg { display: flex; gap: .25rem; }
.pm-msg > div { max-width: 65%; height: 12px; border-radius: 8px; }
.pm-short-msg { height: 8px !important; }
.pm-msg-other > div { background: rgba(255,255,255,.08); border-radius: 2px 8px 8px 8px; }
.pm-msg-me { justify-content: flex-end; }
.pm-msg-me > div { background: linear-gradient(135deg, rgba(99,102,241,.4), rgba(139,92,246,.4)); border-radius: 8px 2px 8px 8px; }
.pm-msg-typing { align-items: center; justify-content: flex-end; }
.pm-msg-typing span { width: 4px; height: 4px; border-radius: 50%; background: #6366f1; animation: typing .9s ease infinite; }
.pm-msg-typing span:nth-child(2) { animation-delay: .15s; }
.pm-msg-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%,60%,100%{transform:translateY(0);opacity:.4} 30%{transform:translateY(-4px);opacity:1} }
.pm-input-bar { display: flex; gap: .25rem; padding: .25rem .4rem; border-top: 1px solid rgba(255,255,255,.05); flex-shrink: 0; }
.pm-input-field { flex: 1; height: 10px; background: rgba(255,255,255,.06); border-radius: 5px; border: 1px solid rgba(255,255,255,.08); }
.pm-send-btn { width: 14px; height: 10px; background: linear-gradient(135deg,#6366f1,#8b5cf6); border-radius: 4px; }

/* ============================================================
   CERTIFICATIONS
   ============================================================ */
.certs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 1.1rem;
}
.cert-card {
  padding: 1.8rem; position: relative; overflow: hidden;
  transition: border-color .4s, transform .5s var(--ease);
  transform-style: preserve-3d;
}
.cert-card:hover { border-color: rgba(0,229,255,.28); }
.cert-card__icon   { font-size: 1.9rem; display: block; margin-bottom: .9rem; }
.cert-card h3      { font-family: var(--display); font-weight: 700; color: var(--white); margin-bottom: .35rem; font-size: 1.05rem; }
.cert-card__org    { font-weight: 600; color: var(--primary); font-size: .88rem; margin-bottom: .55rem; }
.cert-card__desc   { color: var(--muted); font-size: .83rem; line-height: 1.65; }
.cert-card__year   { position: absolute; top: 1.4rem; right: 1.6rem; font: 700 .82rem/1 var(--mono); color: var(--primary); }

/* ============================================================
   BLOG
   ============================================================ */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 1.1rem;
}
.blog-card {
  padding: 1.8rem;
  transition: border-color .4s, transform .4s var(--ease), box-shadow .3s;
}
.blog-card:hover { border-color: rgba(0,229,255,.22); transform: translateY(-3px); }
.blog-card__category { font: 700 .7rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: .8rem; display: block; }
.blog-card h4 { font-family: var(--display); font-weight: 700; color: var(--white); line-height: 1.4; margin-bottom: .7rem; font-size: 1rem; }
.blog-card p  { color: var(--muted); font-size: .86rem; line-height: 1.7; margin-bottom: 1.3rem; }
.blog-card__footer { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.blog-card__footer span { font: 500 .78rem/1 var(--mono); color: var(--muted); }
.blog-card__footer a { font: 600 .83rem/1 var(--font); color: var(--primary); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { max-width: var(--maxw); margin: 0 auto; padding: clamp(2.8rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem); }
.contact__wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.8rem, 4vw, 3.5rem); border-radius: var(--radius-lg);
}
.contact__left .section__tag { display: block; margin-bottom: .9rem; }
.contact__title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem); line-height: 1.18; letter-spacing: -.02em;
  color: var(--white); margin-bottom: .9rem;
}
.contact__title-accent {
  display: block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.contact__desc { color: var(--muted); line-height: 1.75; margin-bottom: 1.8rem; font-size: .92rem; }
.contact__channels { display: grid; gap: .7rem; margin-bottom: 1.8rem; }
.contact__channel {
  display: flex; align-items: center; gap: .9rem; padding: .85rem 1.1rem;
  background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s, background .3s;
}
.contact__channel:hover { border-color: var(--primary); background: rgba(0,229,255,.03); }
.contact__channel-icon { font-size: 1.2rem; flex-shrink: 0; }
.contact__channel div  { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.contact__channel strong { font-weight: 700; color: var(--text); font-size: .88rem; }
.contact__channel span   { color: var(--muted); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.8rem; }
.contact__trust   { display: flex; flex-wrap: wrap; gap: .45rem; }
.contact__trust-badge {
  font: 500 .76rem/1 var(--font); padding: .4rem .78rem;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  border-radius: 100px; color: var(--muted);
}

/* contact form */
.contact__form h3 { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--white); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font: 600 .8rem/1 var(--font); color: var(--muted); margin-bottom: .45rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: .75rem .95rem;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  border-radius: 10px; color: var(--text); font: 400 .92rem/1.5 var(--font);
  transition: border-color .3s, box-shadow .3s; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,229,255,.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group select option { background: var(--bg-3); color: var(--text); }
.form-group textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.form-note { margin-top: .7rem; font-size: .78rem; color: var(--muted); text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem) 1.5rem;
  max-width: var(--maxw); margin: 0 auto;
}
.footer__inner {
  display: grid; grid-template-columns: 1fr 2fr; gap: clamp(2rem, 5vw, 4rem); margin-bottom: 2.5rem;
}
.footer__logo {
  display: flex; align-items: center; gap: .65rem;
  font-family: var(--display); font-weight: 700; font-size: 1rem; margin-bottom: .9rem;
}
.footer__logo-mark {
  width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: grid; place-items: center; font-weight: 800; color: #000; font-size: .85rem;
}
.footer__brand p { color: var(--muted); font-size: .86rem; line-height: 1.7; max-width: 28ch; margin-bottom: 1.3rem; }
.footer__socials { display: flex; gap: .7rem; flex-wrap: wrap; }
.footer__socials a {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--glass); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--muted);
  transition: border-color .3s, color .3s, background .3s;
}
.footer__socials a svg { width: 17px; height: 17px; }
.footer__socials a:hover { border-color: var(--primary); color: var(--primary); background: rgba(0,229,255,.07); }
.footer__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer__col h5 {
  font-family: var(--display); font-weight: 700; font-size: .84rem;
  text-transform: uppercase; letter-spacing: .12em; color: var(--text); margin-bottom: 1rem;
}
.footer__col a { display: block; font-size: .86rem; color: var(--muted); padding: .2rem 0; transition: color .3s; }
.footer__col a:hover { color: var(--primary); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem;
  border-top: 1px solid var(--line); padding-top: 1.4rem;
  font: 400 .8rem/1.4 var(--mono); color: var(--muted);
}
.footer__top {
  background: var(--glass); border: 1px solid var(--glass-border); color: var(--muted);
  padding: .5rem .95rem; border-radius: 100px; font: 600 .8rem/1 var(--mono);
  transition: border-color .3s, color .3s;
}
.footer__top:hover { border-color: var(--primary); color: var(--primary); }

/* ============================================================
   LENIS
   ============================================================ */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ============================================================
   RESPONSIVE  —  1280px
   ============================================================ */
@media (max-width: 1280px) {
  .float-icon--2 { left: -6% !important; }
  .float-icon--4 { left: -6% !important; }
  .float-icon--6 { left: -6% !important; }
  .float-icon--1 { right: -6% !important; }
  .float-icon--3 { right: -6% !important; }
  .float-icon--5 { right: -6% !important; }
}

/* ============================================================
   RESPONSIVE  —  1024px  (iPad landscape / small desktop)
   ============================================================ */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr; min-height: auto;
    padding-top: calc(var(--nav-h) + 1.5rem);
    text-align: center; gap: 2.5rem;
  }
  .hero__visual { order: -1; }
  .hero__badge, .hero__actions, .hero__stats, .hero__trust { justify-content: center; }
  .hero__desc { margin-left: auto; margin-right: auto; }
  .hero__card { width: min(70%, 360px); }
  .float-icon { display: none; }
  .hero__scroll-hint { display: none; }

  .about__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__image-wrap { flex-direction: row; align-items: flex-start; gap: 1.5rem; max-width: 100%; }
  .about__stat-cards { max-width: 100%; flex: 1; }
  .flip-card { max-width: 240px; flex-shrink: 0; }

  .skills__layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact__wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__links { grid-template-columns: repeat(3, 1fr); }
  .process__timeline { grid-template-columns: repeat(3, 1fr); }
  .achievements__grid { grid-template-columns: repeat(3, 1fr); gap: .9rem; }
}

/* ============================================================
   RESPONSIVE  —  768px  (tablet portrait / large phone)
   ============================================================ */
@media (max-width: 768px) {
  /* Nav hamburger menu */
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(76vw, 290px);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.6rem; padding: 2rem clamp(1.2rem, 6vw, 2.2rem);
    background: rgba(5,8,22,.97); backdrop-filter: blur(24px);
    border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform .48s var(--ease); z-index: 840;
  }
  .nav__links.is-open { transform: translateX(0); box-shadow: -40px 0 80px rgba(0,0,0,.55); }
  .nav__links a { font-size: 1.08rem; }
  .nav__cta { font-size: .9rem; padding: .6rem 1.2rem; }
  .nav__burger { display: flex; }

  .about__image-wrap { flex-direction: column; }
  .flip-card { max-width: 100%; }
  .about__stat-cards { max-width: 100%; grid-template-columns: 1fr 1fr; }

  .work__grid { grid-template-columns: 1fr; }
  .live-builds__grid { grid-template-columns: 1fr; }
  .footer__links { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .contact__wrap { padding: 1.5rem; }
  .testimonial-card { padding: 1.4rem; }
}

/* ============================================================
   RESPONSIVE  —  640px  (large phones)
   ============================================================ */
@media (max-width: 640px) {
  :root { --nav-h: 64px; }

  .hero { padding-top: calc(var(--nav-h) + 1rem); }
  .hero__card { width: min(80%, 300px); }
  .hero__stats  { gap: 1.2rem 1.8rem; }

  .services__grid  { grid-template-columns: 1fr; }
  .industries__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid   { grid-template-columns: 1fr; }
  .why__grid       { grid-template-columns: 1fr; }
  .process__timeline { grid-template-columns: repeat(2, 1fr); }
  .achievements__grid { grid-template-columns: repeat(3, 1fr); gap: .8rem; }
  .certs__grid     { grid-template-columns: 1fr; }
  .blog__grid      { grid-template-columns: 1fr; }

  .tech__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: .6rem;
  }
  .tech-item { padding: 1rem .6rem; }
  .tech-item img { width: 28px; height: 28px; }
  .tech-item span { font-size: .68rem; }

  .skills__layout { gap: 2rem; }
  .rings__grid { grid-template-columns: repeat(2, 1fr); }

  .footer__links { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__brand p { max-width: 100%; }

  .testimonial-card blockquote { font-size: .9rem; }
}

/* ============================================================
   RESPONSIVE  —  480px  (phones)
   ============================================================ */
@media (max-width: 480px) {
  .hero__title { font-size: clamp(2.4rem, 9vw, 3rem); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; width: 100%; }
  .contact__actions { flex-direction: column; }
  .contact__actions .btn { width: 100%; }

  .industries__grid { grid-template-columns: repeat(2, 1fr); }
  .process__timeline { grid-template-columns: 1fr; }
  .achievements__grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }

  .tech__grid { grid-template-columns: repeat(3, 1fr); }

  .footer__links { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .contact__channel span { white-space: normal; }
}

/* ============================================================
   RESPONSIVE  —  375px  (small phones iPhone SE)
   ============================================================ */
@media (max-width: 375px) {
  .section { padding-left: .9rem; padding-right: .9rem; }
  .contact { padding-left: .9rem; padding-right: .9rem; }
  .footer  { padding-left: .9rem; padding-right: .9rem; }
  .hero    { padding-left: .9rem; padding-right: .9rem; }

  .hero__title { font-size: clamp(2rem, 10vw, 2.6rem); }
  .hero__card  { width: 85%; }
  .hero__stats  { gap: 1rem 1.4rem; }
  .hero__stats strong { font-size: 1.6rem; }

  .nav { padding-left: .9rem; padding-right: .9rem; }
  .nav__logo-text { display: none; }

  .section__title { font-size: clamp(1.6rem, 7vw, 2rem); }
  .about__stat-cards { grid-template-columns: 1fr 1fr; }
  .tech__grid { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
  .tech-item { padding: .8rem .5rem; }

  .contact__wrap { padding: 1.2rem; gap: 1.8rem; }
  .pricing-card { padding: 1.5rem; }
  .service-card { padding: 1.5rem 1.3rem; }
}

/* ============================================================
   GLOBAL OVERFLOW SAFETY
   ============================================================ */
html, body { overflow-x: hidden !important; max-width: 100% !important; }
img, svg, video, canvas, iframe { max-width: 100%; }
.marquee { overflow: hidden !important; }
.marquee__track { width: max-content !important; max-width: none !important; }

/* ============================================================
   REDUCE MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal-up { opacity: 1 !important; transform: none !important; }
  .hero__title-word { transform: none !important; }
}

/* ============================================================
   TOUCH FLIP CARD
   ============================================================ */
@media (hover: none) {
  .flip-card { cursor: pointer; }
  .flip-card__hint { display: none; }
  .flip-card__hint::after { content: "👆 Tap to flip"; display: block; font-size: .75rem; }
}

/* ============================================================
   CURSOR GLOW  (SaaS spotlight, desktop only)
   ============================================================ */
.cursor-glow {
  position: fixed; width: 320px; height: 320px;
  border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(0,229,255,.06) 0%, rgba(139,92,246,.04) 40%, transparent 70%);
  transform: translate3d(-9999px, -9999px, 0);
  will-change: transform;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ============================================================
   SERVICE CARD — icon base transition (GSAP adds spring)
   ============================================================ */
.service-card__icon { will-change: transform; }

/* ============================================================
   SECTION TAG  enhanced
   ============================================================ */
.section__tag {
  position: relative; display: inline-flex; align-items: center; gap: .5rem;
}
.section__tag::before {
  content: ''; display: inline-block; width: 20px; height: 1px;
  background: var(--primary); opacity: .7;
}

/* ============================================================
   PROJECT CARD  — SaaS glow border on hover
   ============================================================ */
.project-card {
  transform-style: preserve-3d;
  transition: border-color .4s, transform .5s var(--ease), box-shadow .5s;
}
.project-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(0,229,255,.06), rgba(139,92,246,.06), transparent);
  opacity: 0; transition: opacity .5s;
  pointer-events: none; z-index: 0;
}
.project-card:hover::before { opacity: 1; }

/* ============================================================
   ACHIEVEMENT STAT — color variants (nth-child)
   ============================================================ */
.achievement-stat:nth-child(1) .ach-icon { color: var(--primary); border-color: rgba(0,229,255,.25); background: rgba(0,229,255,.08); }
.achievement-stat:nth-child(2) .ach-icon { color: #a78bfa; border-color: rgba(167,139,250,.25); background: rgba(167,139,250,.08); }
.achievement-stat:nth-child(3) .ach-icon { color: var(--accent); border-color: rgba(0,255,178,.25); background: rgba(0,255,178,.08); }
.achievement-stat:nth-child(4) .ach-icon { color: #f59e0b; border-color: rgba(245,158,11,.25); background: rgba(245,158,11,.08); }
.achievement-stat:nth-child(5) .ach-icon { color: #f472b6; border-color: rgba(244,114,182,.25); background: rgba(244,114,182,.08); }

/* ============================================================
   SECTION__HEAD — children initial state (before GSAP fires)
   ============================================================ */
.section__head .section__tag,
.section__head .section__title,
.section__head .section__desc,
.achievements__head .section__tag,
.achievements__head .achievements__title,
.achievements__head .achievements__sub {
  opacity: 0;
  transform: translateY(28px);
}
