/*
Theme Name: SlashDev Agency
Description: Premium dark agency theme with purple glassmorphism, scroll animations, and marquee effects.
Version: 2.0
Author: SlashDev Technologies
*/

/* ─── VARIABLES ─── */
:root {
  --bg:           #060608;
  --bg2:          #0d0d12;
  --bg3:          #111118;
  --purple:       #c000ff;
  --purpleD:      #8800b3;
  --purpleGlow:   rgba(192,0,255,0.18);
  --purpleFaint:  rgba(192,0,255,0.06);
  --white:        #ffffff;
  --off:          #e8e0f0;
  --gray:         #8a8a9a;
  --gray2:        #b0a8c0;
  --border:       rgba(255,255,255,0.07);
  --borderP:      rgba(192,0,255,0.22);
  --glass:        rgba(255,255,255,0.035);
  --serif:        'Playfair Display', Georgia, serif;
  --sans:         'Inter', sans-serif;
  --ease:         cubic-bezier(0.25,0.46,0.45,0.94);
  --easeOut:      cubic-bezier(0.16,1,0.3,1);
  --radius:       20px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--off);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

/* ─── CURSOR ─── */
#sd-cursor-dot, #sd-cursor-ring {
  position: fixed; border-radius: 50%;
  pointer-events: none; z-index: 9999;
}
#sd-cursor-dot {
  width: 8px; height: 8px;
  background: var(--purple);
  top: 0; left: 0;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 12px var(--purple);
}
#sd-cursor-ring {
  width: 42px; height: 42px;
  border: 1.5px solid rgba(192,0,255,0.38);
  top: 0; left: 0;
  transform: translate(-50%,-50%);
  transition: width .35s, height .35s, border-color .35s;
}
#sd-cursor-ring.big { width: 62px; height: 62px; border-color: var(--purple); }

/* ─── LOADER ─── */
#sd-loader {
  position: fixed; inset: 0;
  background: var(--bg); z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 22px;
  transition: opacity .9s ease;
}
#sd-loader.hide { opacity: 0; pointer-events: none; }
.sd-ld-logo { font-family: var(--serif); font-size: 2rem; color: var(--white); letter-spacing: -.02em; }
.sd-ld-logo span { color: var(--purple); }
.sd-ld-bar { width: 180px; height: 1px; background: rgba(255,255,255,.06); position: relative; overflow: hidden; }
.sd-ld-bar::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
  animation: ldSweep 1.5s ease forwards;
}
@keyframes ldSweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.sd-ld-pct { font-size: .7rem; letter-spacing: .18em; color: var(--gray); text-transform: uppercase; }

/* ─── PROGRESS ─── */
#sd-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--purpleD), var(--purple));
  z-index: 1001; transition: width .1s linear;
  box-shadow: 0 0 8px var(--purple);
}

/* ─── GLASS CARD BASE ─── */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 40px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.06);
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--easeOut), transform .9s var(--easeOut);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ─── LAYOUT ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ─── TYPOGRAPHY ─── */
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .67rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 14px;
}
.section-tag::before, .section-tag::after {
  content: ''; display: block; width: 18px; height: 1px;
  background: var(--purple); opacity: .5;
}
.section-heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 500; line-height: 1.06;
  color: var(--white); letter-spacing: -.025em;
}
.section-heading em { font-style: italic; color: var(--purple); text-shadow: 0 0 40px rgba(192,0,255,.3); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 100px;
  font-size: .875rem; font-weight: 600;
  transition: all .35s var(--ease); cursor: none; white-space: nowrap;
}
.btn-primary {
  background: var(--purple); color: var(--white);
  box-shadow: 0 0 24px rgba(192,0,255,.28);
}
.btn-primary:hover { background: #d400ff; transform: translateY(-2px); box-shadow: 0 0 44px rgba(192,0,255,.48); }
.btn-secondary {
  background: var(--glass); color: var(--off);
  border: 1px solid var(--border); backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: rgba(255,255,255,.07); border-color: var(--borderP); color: var(--white); }

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 24px 0;
  transition: all .5s var(--ease);
}
.site-header.scrolled {
  background: rgba(6,6,8,0.82);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-icon svg { width: 34px; height: 34px; }
.nav-logo-text { font-family: var(--sans); font-size: 1.25rem; font-weight: 700; color: var(--white); letter-spacing: -.02em; }
.nav-logo-text span { color: var(--purple); }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: .85rem; color: var(--gray2);
  transition: color .3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px; background: var(--purple);
  transition: width .3s; box-shadow: 0 0 6px var(--purple);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 130px 0 80px;
}
.hero-bg-glow {
  position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(192,0,255,.11) 0%, transparent 65%);
  pointer-events: none; animation: glowPulse 9s ease-in-out infinite;
}
.hero-bg-glow2 {
  position: absolute; bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(192,0,255,.06) 0%, transparent 60%);
  pointer-events: none; animation: glowPulse 12s ease-in-out infinite reverse;
}
@keyframes glowPulse { 0%,100%{opacity:.8;transform:scale(1)} 50%{opacity:1;transform:scale(1.1)} }
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  pointer-events: none;
}
.hero-content { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(192,0,255,.08); border: 1px solid rgba(192,0,255,.25);
  border-radius: 100px; padding: 7px 16px; font-size: .72rem;
  color: rgba(192,0,255,.9); letter-spacing: .08em; margin-bottom: 22px;
  backdrop-filter: blur(8px); animation: fadeUp .7s .2s both;
}
.hero-pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--purple); animation: pdot 1.8s infinite; box-shadow: 0 0 6px var(--purple); }
@keyframes pdot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.5)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:translateY(0)} }
.hero-title {
  font-family: var(--serif); font-size: clamp(3rem, 5.5vw, 5rem);
  line-height: 1.04; font-weight: 500; color: var(--white);
  letter-spacing: -.03em; margin-bottom: 20px; animation: fadeUp .9s .3s both;
}
.hero-title em { font-style: italic; color: var(--purple); text-shadow: 0 0 40px rgba(192,0,255,.4); }
.hero-desc { font-size: 1.05rem; color: var(--gray2); line-height: 1.75; max-width: 440px; margin-bottom: 32px; animation: fadeUp .9s .4s both; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; animation: fadeUp .9s .5s both; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); animation: fadeUp .9s .6s both; }
.hero-avatars { display: flex; }
.hero-avatars img { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -8px; object-fit: cover; }
.hero-avatars img:first-child { margin-left: 0; }
.hero-trust-text { font-size: .8rem; color: var(--gray); line-height: 1.5; }
.hero-trust-text strong { color: var(--white); display: block; font-size: .88rem; }

/* Floating cards */
.hero-visual { position: relative; height: 480px; }
.float-card {
  position: absolute; padding: 22px 24px;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.float-card.fc1 { top: 40px; right: 0; width: 260px; animation: floatA 4.5s ease-in-out infinite; }
.float-card.fc2 { bottom: 80px; left: 0; width: 180px; animation: floatB 5.5s ease-in-out infinite .5s; }
.float-card.fc3 { top: 10px; left: 20px; width: 175px; animation: floatC 3.8s ease-in-out infinite 1s; }
@keyframes floatA { 0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(-16px) rotate(.5deg)} }
@keyframes floatB { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes floatC { 0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(-9px) rotate(-.3deg)} }
.fc-label { font-size: .62rem; text-transform: uppercase; letter-spacing: .14em; color: var(--purple); margin-bottom: 10px; opacity: .8; }
.fc-stars { display: flex; gap: 2px; margin-bottom: 6px; }
.fc-stars span { color: #f59e0b; font-size: .9rem; }
.fc-big { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--white); line-height: 1; }
.fc-accent { color: var(--purple); }
.fc-sub { font-size: .72rem; color: var(--gray); margin-top: 4px; }
.fc-glow-line { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--purple), transparent); opacity: .5; border-radius: 0 0 20px 20px; }

/* Scroll hint */
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--gray); font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; z-index: 2; }
.hint-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--purple), transparent); animation: lineDown 2s ease-in-out infinite; }
@keyframes lineDown { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ══════════════════════════════════════════
   LOGO MARQUEE
══════════════════════════════════════════ */
.logos-bar { padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; background: var(--bg2); position: relative; }
.logos-bar::before, .logos-bar::after { content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 1; pointer-events: none; }
.logos-bar::before { left: 0; background: linear-gradient(90deg, var(--bg2), transparent); }
.logos-bar::after { right: 0; background: linear-gradient(270deg, var(--bg2), transparent); }
.logos-track { display: flex; gap: 52px; animation: mqFwd 24s linear infinite; white-space: nowrap; align-items: center; }
@keyframes mqFwd { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@keyframes mqRev { 0%{transform:translateX(-50%)} 100%{transform:translateX(0)} }
.logo-word { font-size: .82rem; font-weight: 600; letter-spacing: .1em; color: rgba(255,255,255,.2); flex-shrink: 0; text-transform: uppercase; }

/* ══════════════════════════════════════════
   GALLERY STRIPS
══════════════════════════════════════════ */
.gallery-section { padding: 48px 0; overflow: hidden; }
.gallery-row { display: flex; gap: 14px; }
.gallery-row.fwd { animation: mqFwd 42s linear infinite; }
.gallery-row.rev { animation: mqRev 52s linear infinite; margin-top: 14px; }
.gallery-img { width: 270px; height: 180px; object-fit: cover; border-radius: 16px; flex-shrink: 0; filter: grayscale(.3) brightness(.85); transition: filter .5s, transform .5s; border: 1px solid var(--border); }
.gallery-img:hover { filter: grayscale(0) brightness(1); transform: scale(1.04); }

/* ══════════════════════════════════════════
   COMPARISON
══════════════════════════════════════════ */
#comparison { padding: 110px 0; background: var(--bg2); position: relative; overflow: hidden; }
#comparison::before { content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 600px; height: 400px; background: radial-gradient(ellipse, rgba(192,0,255,.06) 0%, transparent 70%); pointer-events: none; }
.cmp-header { text-align: center; margin-bottom: 64px; }
.cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 840px; margin: 0 auto; }
.cmp-card { padding: 36px; }
.cmp-card.featured { border-color: var(--borderP) !important; background: rgba(192,0,255,.04) !important; }
.cmp-card-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gray); margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.cmp-card.featured .cmp-card-title { color: var(--purple); }
.cmp-list { display: flex; flex-direction: column; gap: 13px; }
.cmp-item { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--gray2); }
.cmp-x { color: #f87171; } .cmp-v { color: #4ade80; }
.cmp-trust-row { max-width: 840px; margin: 18px auto 0; padding: 26px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cmp-trust-row.glass-card { border-color: var(--borderP) !important; }
.cmp-avatars { display: flex; align-items: center; gap: 12px; }
.cmp-avatars img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--bg); object-fit: cover; margin-left: -9px; }
.cmp-avatars img:first-child { margin-left: 0; }
.cmp-trust-text strong { color: var(--white); font-size: .9rem; display: block; margin-bottom: 2px; }
.cmp-trust-text { font-size: .82rem; color: var(--gray2); }

/* ══════════════════════════════════════════
   STATS
══════════════════════════════════════════ */
#stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg2); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item { text-align: center; padding: 52px 24px; border-right: 1px solid var(--border); transition: background .3s; position: relative; overflow: hidden; }
.stat-item:last-child { border-right: none; }
.stat-item::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 100%, rgba(192,0,255,.07) 0%, transparent 60%); opacity: 0; transition: opacity .4s; }
.stat-item:hover::after { opacity: 1; }
.stat-num { font-family: var(--serif); font-size: 3.2rem; font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 8px; }
.stat-num .stat-unit { font-size: 2.4rem; color: var(--purple); }
.stat-label { font-size: .82rem; color: var(--gray); }

/* ══════════════════════════════════════════
   SERVICES
══════════════════════════════════════════ */
#services { padding: 110px 0; }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; gap: 24px; flex-wrap: wrap; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.service-card { padding: 32px; transition: all .45s var(--ease); position: relative; overflow: hidden; cursor: none; }
.service-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(192,0,255,.1) 0%, transparent 55%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.service-card:hover { border-color: var(--borderP) !important; transform: translateY(-6px); box-shadow: 0 16px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(192,0,255,.15), inset 0 1px 0 rgba(255,255,255,.09) !important; }
.service-card:hover::before { opacity: 1; }
.service-icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(192,0,255,.1); border: 1px solid rgba(192,0,255,.2); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 22px; transition: all .4s; }
.service-card:hover .service-icon { background: rgba(192,0,255,.2); border-color: rgba(192,0,255,.4); box-shadow: 0 0 22px rgba(192,0,255,.22); }
.service-title { font-family: var(--serif); font-size: 1.25rem; color: var(--white); margin-bottom: 12px; }
.service-desc { font-size: .87rem; color: var(--gray); line-height: 1.76; margin-bottom: 22px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.service-tag { padding: 4px 12px; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 100px; font-size: .7rem; color: var(--gray2); transition: all .3s; }
.service-card:hover .service-tag { border-color: rgba(192,0,255,.25); color: rgba(192,0,255,.85); background: rgba(192,0,255,.06); }

/* ══════════════════════════════════════════
   TECH MARQUEE
══════════════════════════════════════════ */
.tech-bar { padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; background: var(--bg2); position: relative; }
.tech-bar::before, .tech-bar::after { content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 1; pointer-events: none; }
.tech-bar::before { left: 0; background: linear-gradient(90deg, var(--bg2), transparent); }
.tech-bar::after { right: 0; background: linear-gradient(270deg, var(--bg2), transparent); }
.tech-track { display: flex; gap: 32px; animation: mqFwd 30s linear infinite; align-items: center; }
.tech-name { font-size: .8rem; font-weight: 500; letter-spacing: .06em; color: var(--gray); flex-shrink: 0; }
.tech-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--purple); opacity: .35; flex-shrink: 0; }

/* ══════════════════════════════════════════
   PROJECTS
══════════════════════════════════════════ */
#projects { padding: 110px 0; }
.projects-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; gap: 24px; flex-wrap: wrap; }
.projects-slider-wrap { overflow: hidden; border-radius: 24px; }
.projects-track { display: flex; gap: 18px; transition: transform .6s var(--easeOut); }
.project-card { min-width: calc(50% - 9px); border-radius: 22px; overflow: hidden; flex-shrink: 0; transition: all .45s var(--ease); }
.project-card:hover { transform: translateY(-6px); box-shadow: 0 24px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(192,0,255,.15); }
.project-img-wrap { height: 280px; overflow: hidden; position: relative; }
.project-img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.project-card:hover .project-img { transform: scale(1.07); }
.project-img-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 30%, rgba(6,6,8,.9)); }
.project-body { padding: 22px 26px 26px; background: rgba(255,255,255,.025); border-top: 1px solid rgba(255,255,255,.06); }
.project-meta { display: flex; gap: 18px; margin-bottom: 12px; }
.project-meta-item { font-size: .7rem; color: var(--gray); }
.project-meta-item strong { display: block; color: var(--gray2); margin-bottom: 1px; font-weight: 500; }
.project-title { font-family: var(--serif); font-size: 1.4rem; color: var(--white); margin-bottom: 8px; }
.project-desc { font-size: .85rem; color: var(--gray); line-height: 1.7; margin-bottom: 18px; }
.project-link { display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; color: var(--purple); transition: gap .3s; }
.project-link:hover { gap: 12px; }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 32px; }
.slider-btn { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: none; font-size: 1rem; color: var(--off); transition: all .3s; }
.slider-btn:hover { border-color: var(--borderP) !important; color: var(--purple); box-shadow: 0 0 20px rgba(192,0,255,.15); }
.slider-dots { display: flex; gap: 7px; align-items: center; }
.slider-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gray); transition: all .35s; cursor: none; }
.slider-dot.active { background: var(--purple); width: 20px; border-radius: 3px; box-shadow: 0 0 8px var(--purple); }

/* ══════════════════════════════════════════
   PROCESS — NEW TIMELINE LAYOUT
══════════════════════════════════════════ */
#process { padding: 130px 0 140px; position: relative; overflow: hidden; background: var(--bg); }
.proc-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(192,0,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(192,0,255,.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black, transparent);
  pointer-events: none;
}
#process::before { content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 800px; height: 600px; background: radial-gradient(ellipse, rgba(192,0,255,.07) 0%, transparent 65%); pointer-events: none; }
.proc-header { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 80px; }
.proc-title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 500; color: var(--white); letter-spacing: -.025em; line-height: 1.06; margin-top: 12px; }
.proc-title em { font-style: italic; color: var(--purple); }
.proc-desc { font-size: 1rem; color: var(--gray2); line-height: 1.8; margin-bottom: 28px; }
.proc-arrow { display: inline-block; transition: transform .3s; }
.btn-primary:hover .proc-arrow { transform: translateX(5px); }

/* Vertical timeline */
.proc-steps-wrap { display: flex; flex-direction: column; position: relative; }
.proc-steps-wrap::before {
  content: ''; position: absolute;
  left: 24px; top: 52px; bottom: 52px; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(192,0,255,.35) 10%, rgba(192,0,255,.35) 90%, transparent);
  pointer-events: none;
}
.proc-step-row { display: grid; grid-template-columns: 50px 1fr; gap: 0; align-items: start; }
.proc-num-col { display: flex; flex-direction: column; align-items: center; padding-top: 24px; position: relative; z-index: 2; }
.proc-circle {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(192,0,255,.08); border: 1.5px solid rgba(192,0,255,.3);
  font-family: var(--serif); font-size: 1rem; color: var(--purple);
  flex-shrink: 0; transition: all .4s; backdrop-filter: blur(10px);
}
.proc-step-row:hover .proc-circle { background: rgba(192,0,255,.2); border-color: var(--purple); box-shadow: 0 0 24px rgba(192,0,255,.4), 0 0 0 8px rgba(192,0,255,.06); transform: scale(1.1); }
.proc-card {
  margin: 10px 0 20px 22px; padding: 28px 32px;
  position: relative; overflow: hidden; transition: all .45s;
}
.proc-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(192,0,255,.09) 0%, transparent 55%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.proc-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--purple), transparent); opacity: 0; transition: opacity .4s; }
.proc-step-row:hover .proc-card { border-color: rgba(192,0,255,.25) !important; transform: translateY(-3px); box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(192,0,255,.12), inset 0 1px 0 rgba(255,255,255,.09) !important; }
.proc-step-row:hover .proc-card::before { opacity: 1; }
.proc-step-row:hover .proc-card::after { opacity: .7; }
.proc-card-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.proc-phase { font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; color: var(--purple); margin-bottom: 8px; opacity: .85; }
.proc-step-title { font-family: var(--serif); font-size: 1.3rem; color: var(--white); margin-bottom: 10px; line-height: 1.22; transition: color .3s; }
.proc-step-row:hover .proc-step-title { color: rgba(230,200,255,.95); }
.proc-step-desc { font-size: .87rem; color: var(--gray2); line-height: 1.76; }
.proc-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.proc-tool { padding: 4px 12px; background: rgba(192,0,255,.07); border: 1px solid rgba(192,0,255,.18); border-radius: 100px; font-size: .7rem; color: rgba(192,0,255,.85); transition: all .3s; }
.proc-step-row:hover .proc-tool { background: rgba(192,0,255,.14); border-color: rgba(192,0,255,.38); color: rgba(220,160,255,.95); }
.proc-icon { width: 70px; height: 70px; border-radius: 16px; background: rgba(192,0,255,.08); border: 1px solid rgba(192,0,255,.16); display: flex; align-items: center; justify-content: center; font-size: 1.9rem; flex-shrink: 0; transition: all .4s; backdrop-filter: blur(10px); }
.proc-step-row:hover .proc-icon { background: rgba(192,0,255,.16); border-color: rgba(192,0,255,.38); transform: scale(1.07) rotate(4deg); box-shadow: 0 0 28px rgba(192,0,255,.2); }
.proc-stats-bar { margin-top: 60px; display: grid; grid-template-columns: repeat(4,1fr); overflow: hidden; }
.proc-stat { padding: 32px 24px; text-align: center; border-right: 1px solid var(--border); transition: background .3s; position: relative; }
.proc-stat:last-child { border-right: none; }
.proc-stat::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 100%, rgba(192,0,255,.07) 0%, transparent 65%); opacity: 0; transition: opacity .35s; }
.proc-stat:hover::before { opacity: 1; }
.proc-stat-num { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 8px; }
.proc-stat-unit { color: var(--purple); font-size: 1.8rem; }
.proc-stat-label { font-size: .8rem; color: var(--gray); }

/* ══════════════════════════════════════════
   PRICING
══════════════════════════════════════════ */
#pricing { padding: 110px 0; background: var(--bg2); }
.pricing-header { text-align: center; margin-bottom: 52px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; max-width: 960px; margin: 0 auto; }
.pricing-card { padding: 34px; transition: all .45s var(--ease); position: relative; overflow: hidden; cursor: none; }
.pricing-card.popular { border-color: var(--borderP) !important; background: rgba(192,0,255,.04) !important; }
.pricing-card.popular::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--purple), transparent); }
.pricing-card:hover { transform: translateY(-8px); box-shadow: 0 24px 80px rgba(0,0,0,.5); }
.pricing-badge { position: absolute; top: 16px; right: 16px; background: var(--purple); color: var(--white); padding: 3px 11px; border-radius: 100px; font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 0 16px rgba(192,0,255,.4); }
.pricing-tier { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--purple); margin-bottom: 12px; }
.pricing-price { font-family: var(--serif); font-size: 2.8rem; font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 6px; }
.pricing-price sup { font-size: 1.2rem; vertical-align: super; margin-right: 2px; }
.pricing-price sub { font-size: .85rem; font-family: var(--sans); font-weight: 400; color: var(--gray); }
.pricing-desc { font-size: .83rem; color: var(--gray); margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--border); line-height: 1.65; }
.pricing-feats { display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; }
.pricing-feat { display: flex; align-items: center; gap: 9px; font-size: .86rem; color: var(--gray2); }
.feat-check { color: #4ade80; font-size: .82rem; }
.pricing-ent { max-width: 960px; margin: 18px auto 0; padding: 28px 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; transition: border-color .3s; }
.pricing-ent:hover { border-color: var(--borderP) !important; }
.pricing-ent h3 { font-family: var(--serif); font-size: 1.35rem; color: var(--white); margin-bottom: 5px; }
.pricing-ent p { font-size: .85rem; color: var(--gray); }

/* ══════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════ */
#testimonials { padding: 110px 0; background: var(--bg2); overflow: hidden; }
.testimonials-header { text-align: center; margin-bottom: 52px; }
.test-band { overflow: hidden; position: relative; }
.test-band::before, .test-band::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1; pointer-events: none; }
.test-band::before { left: 0; background: linear-gradient(90deg, var(--bg2), transparent); }
.test-band::after { right: 0; background: linear-gradient(270deg, var(--bg2), transparent); }
.test-track { display: flex; gap: 16px; }
.test-track.fwd { animation: mqFwd 42s linear infinite; }
.test-track.rev { animation: mqRev 48s linear infinite; margin-top: 16px; }
.test-card { min-width: 320px; max-width: 320px; padding: 24px; flex-shrink: 0; transition: all .4s; }
.test-card:hover { border-color: var(--borderP) !important; transform: translateY(-4px); }
.test-stars { display: flex; gap: 2px; margin-bottom: 12px; }
.test-stars span { color: #f59e0b; font-size: .82rem; }
.test-text { font-size: .88rem; color: var(--gray2); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.test-author { display: flex; align-items: center; gap: 11px; }
.test-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(192,0,255,.2); }
.test-name { font-size: .85rem; font-weight: 600; color: var(--white); }
.test-role { font-size: .74rem; color: var(--gray); }

/* ══════════════════════════════════════════
   TEAM CTA
══════════════════════════════════════════ */
#team-cta { padding: 110px 0; }
.tcta-box { padding: 68px 52px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; overflow: hidden; }
.tcta-box::before { content: ''; position: absolute; right: -100px; top: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(192,0,255,.08) 0%, transparent 70%); pointer-events: none; }
.tcta-sub { font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: var(--purple); margin-bottom: 14px; }
.tcta-title { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--white); margin-bottom: 16px; line-height: 1.18; }
.tcta-desc { font-size: .93rem; color: var(--gray); line-height: 1.75; margin-bottom: 28px; }
.tcta-note { font-size: .75rem; color: var(--gray); margin-top: 12px; }
.team-feed { overflow: hidden; max-height: 300px; mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent); }
.team-feed-inner { display: flex; flex-direction: column; gap: 10px; animation: teamScroll 14s linear infinite; }
@keyframes teamScroll { 0%{transform:translateY(0)} 100%{transform:translateY(-50%)} }
.team-member { display: flex; align-items: center; gap: 13px; padding: 13px 16px; transition: border-color .3s; border-radius: 14px; }
.team-member:hover { border-color: var(--borderP) !important; }
.team-member img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(192,0,255,.2); }
.team-member-name { font-size: .88rem; color: var(--white); font-weight: 500; }
.team-member-role { font-size: .75rem; color: var(--gray); }

/* ══════════════════════════════════════════
   INDUSTRIES
══════════════════════════════════════════ */
#industries { padding: 72px 0; border-top: 1px solid var(--border); overflow: hidden; }
.industries-header { text-align: center; margin-bottom: 36px; }
.ind-band { overflow: hidden; }
.ind-track { display: flex; gap: 10px; animation: mqFwd 20s linear infinite; padding: 4px 0; }
.ind-pill { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; font-size: .82rem; color: var(--gray2); white-space: nowrap; flex-shrink: 0; transition: all .3s; border-radius: 100px; cursor: none; }
.ind-pill:hover { border-color: var(--borderP) !important; color: var(--purple); background: rgba(192,0,255,.06) !important; }
.ind-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--purple); opacity: .4; }

/* ══════════════════════════════════════════
   BLOG
══════════════════════════════════════════ */
#blog { padding: 110px 0; background: var(--bg2); }
.blog-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; gap: 24px; flex-wrap: wrap; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.blog-card { display: block; border-radius: 20px; overflow: hidden; transition: all .45s var(--ease); }
.blog-card:hover { transform: translateY(-6px); border-color: var(--borderP) !important; box-shadow: 0 16px 60px rgba(0,0,0,.5); }
.blog-img-wrap { height: 200px; overflow: hidden; }
.blog-img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); filter: brightness(.85); }
.blog-card:hover .blog-img { transform: scale(1.07); filter: brightness(1); }
.blog-content { padding: 22px; }
.blog-cat { display: inline-block; font-size: .62rem; text-transform: uppercase; letter-spacing: .14em; color: var(--purple); background: rgba(192,0,255,.08); border: 1px solid rgba(192,0,255,.2); padding: 3px 10px; border-radius: 100px; margin-bottom: 12px; }
.blog-title { font-family: var(--serif); font-size: 1.08rem; color: var(--white); line-height: 1.42; margin-bottom: 10px; transition: color .3s; }
.blog-card:hover .blog-title { color: rgba(192,0,255,.9); }
.blog-meta { display: flex; align-items: center; gap: 8px; font-size: .75rem; color: var(--gray); margin-top: 14px; }
.blog-meta img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }

/* ══════════════════════════════════════════
   FAQ
══════════════════════════════════════════ */
#faq { padding: 110px 0; }
.faq-header { text-align: center; margin-bottom: 52px; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border-radius: 14px; overflow: hidden; transition: border-color .3s; }
.faq-item.open { border-color: var(--borderP) !important; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; text-align: left; cursor: none; font-size: .93rem; color: var(--off); font-weight: 500; transition: color .3s; background: none; border: none; font-family: var(--sans); }
.faq-question:hover { color: var(--white); }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.05); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .45s, background .3s, color .3s; font-size: .9rem; color: var(--gray); }
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(192,0,255,.12); color: var(--purple); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-item.open .faq-answer { max-height: 220px; }
.faq-answer-text { padding: 0 24px 22px; font-size: .88rem; color: var(--gray2); line-height: 1.75; }
.faq-cta-row { max-width: 760px; margin: 40px auto 0; padding: 26px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.faq-cta-row.glass-card { border-color: var(--borderP) !important; }
.faq-cta-left { display: flex; align-items: center; gap: 14px; }
.faq-cta-avs { display: flex; }
.faq-cta-avs img { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--bg); object-fit: cover; margin-left: -8px; }
.faq-cta-avs img:first-child { margin-left: 0; }
.faq-cta-info h4 { font-size: .9rem; color: var(--white); margin-bottom: 2px; }
.faq-cta-info p { font-size: .78rem; color: var(--gray); }

/* ══════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════ */
#cta-section { padding: 110px 0; text-align: center; }
.cta-box { max-width: 760px; margin: 0 auto; padding: 80px 56px; position: relative; overflow: hidden; }
.cta-box.glass-card { border-color: rgba(192,0,255,.18) !important; background: rgba(192,0,255,.03) !important; }
.cta-box::before { content: ''; position: absolute; bottom: -100px; left: 50%; transform: translateX(-50%); width: 500px; height: 300px; background: radial-gradient(ellipse, rgba(192,0,255,.1) 0%, transparent 70%); pointer-events: none; }
.cta-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(74,222,128,.07); border: 1px solid rgba(74,222,128,.18); border-radius: 100px; padding: 5px 13px; font-size: .7rem; color: #4ade80; margin-bottom: 22px; backdrop-filter: blur(8px); }
.cta-title { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.8rem); color: var(--white); line-height: 1.06; margin-bottom: 18px; }
.cta-title em { font-style: italic; color: var(--purple); text-shadow: 0 0 40px rgba(192,0,255,.35); }
.cta-desc { font-size: .98rem; color: var(--gray); margin-bottom: 36px; line-height: 1.75; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer { padding: 72px 0 36px; border-top: 1px solid var(--border); background: var(--bg2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 52px; margin-bottom: 52px; }
.footer-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand-logo-text { font-family: var(--sans); font-size: 1.2rem; font-weight: 700; color: var(--white); }
.footer-brand-logo-text span { color: var(--purple); }
.footer-desc { font-size: .85rem; color: var(--gray); line-height: 1.7; margin-bottom: 22px; max-width: 250px; }
.footer-socials { display: flex; gap: 9px; }
.social-link { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.04); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: .75rem; color: var(--gray); transition: all .3s; }
.social-link:hover { background: rgba(192,0,255,.1); border-color: var(--borderP); color: var(--purple); transform: translateY(-3px); box-shadow: 0 0 16px rgba(192,0,255,.2); }
.footer-col-title { font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gray); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: .85rem; color: var(--gray2); transition: color .3s, transform .3s; display: inline-block; }
.footer-links a:hover { color: var(--purple); transform: translateX(4px); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--border); gap: 14px; flex-wrap: wrap; }
.footer-copy { font-size: .76rem; color: var(--gray); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: .76rem; color: var(--gray); transition: color .3s; }
.footer-legal a:hover { color: var(--purple); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-top: 1px solid var(--border); }
  .proc-header { grid-template-columns: 1fr; }
  .proc-card-inner { grid-template-columns: 1fr; }
  .proc-icon { display: none; }
  .proc-stats-bar { grid-template-columns: 1fr 1fr; }
  .proc-stat:nth-child(2) { border-right: none; }
  .proc-stat:nth-child(3), .proc-stat:nth-child(4) { border-top: 1px solid var(--border); }
  .tcta-box { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .container { padding: 0 20px; }
  .services-grid, .blog-grid, .pricing-grid, .cmp-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .proc-steps-wrap::before { left: 19px; }
  .proc-step-row { grid-template-columns: 42px 1fr; }
  .proc-circle { width: 38px; height: 38px; font-size: .85rem; }
  .proc-card { margin-left: 14px; padding: 20px; }
  .cta-box { padding: 44px 24px; }
  .tcta-box { padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .project-card { min-width: calc(90vw - 40px); }
  .proc-stats-bar { grid-template-columns: 1fr 1fr; }
}
