/* ════════════════════════════════════════════
   App Deve STUDIO — Premium Edition
   React + Three.js + GSAP
   ════════════════════════════════════════════ */

:root {
  --bg: #050510;
  --bg2: #0a0a1e;
  --surface: rgba(255, 255, 255, 0.025);
  --surface2: rgba(255, 255, 255, 0.04);
  --txt: #eeeef8;
  --muted: #ffffff;
  --border: rgba(255, 255, 255, 0.06);
  --accent: #5b4cfa;
  --cyan: #0ae8f0;
  --pink: #f059b8;
  --green: #0adf8c;
  --orange: #ff8c42;
  --r: 20px;
  --speed: 0.35s;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  background: var(--bg);
  color: var(--txt);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: rgba(91, 76, 250, 0.35);
  color: #fff;
}

/* ── Canvas ── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

/* ── Noise Overlay ── */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

#root {
  position: relative;
  z-index: 2;
}

/* ── Cursor ── */
.cursor-glow {
  pointer-events: none;
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 76, 250, 0.08), transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 3;
  transition: opacity 0.4s;
}

.cursor-dot {
  pointer-events: none;
  position: fixed;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  z-index: 9999;
  box-shadow: 0 0 12px var(--accent);
  transition: width 0.2s, height 0.2s;
}

/* ══════════════════════
   PRELOADER
   ══════════════════════ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 2rem;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.preloader-logo {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.4rem, 6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.preloader-logo em {
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.preloader-count {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 15vw, 5rem);
  font-weight: 800;
  color: var(--muted);
}

.preloader-bar {
  width: min(240px, 80vw);
  height: 2px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}

.preloader-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  transform-origin: left;
  animation: preloaderFill 2.2s ease-in-out forwards;
}

@keyframes preloaderFill {
  from {
    transform: scaleX(0)
  }

  to {
    transform: scaleX(1)
  }
}

/* ══════════════════════
   NAV
   ══════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  transition: background var(--speed), backdrop-filter var(--speed);
}

.nav.filled .nav-inner {
  background: rgba(5, 5, 16, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1rem, 4.5vw, 1.3rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav-logo em {
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.nav-links {
  display: flex;
  gap: 0.2rem;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 99px;
  transition: color var(--speed), background var(--speed);
}

.nav-links a:hover {
  color: var(--txt);
  background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
  color: var(--txt) !important;
  background: var(--accent) !important;
  font-weight: 700 !important;
  padding: 0.55rem 1.3rem !important;
  border: none !important;
  cursor: pointer;
}

.nav-cta:hover {
  box-shadow: 0 8px 30px rgba(91, 76, 250, 0.4) !important;
}

.nav-cta span {
  display: inline-block;
  transition: transform var(--speed);
  margin-left: 0.3rem;
}

.nav-cta:hover span {
  transform: translateX(3px);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.55rem 0.6rem;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--txt);
  border-radius: 2px;
  transition: all var(--speed);
}

.burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

.mobile-nav {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: rgba(5, 5, 16, 0.98);
  backdrop-filter: blur(24px);
  z-index: 800;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  gap: 0.25rem;
  border-bottom: 1px solid var(--border);
  transform: translateY(-120%);
  transition: transform var(--speed);
}

.mobile-nav.open {
  transform: translateY(0);
}

.mob-link {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.25s;
}

.mob-link:hover {
  color: var(--txt);
  background: rgba(255, 255, 255, 0.05);
}

.mob-cta {
  margin-top: 0.5rem;
  background: var(--accent);
  color: #fff !important;
  text-align: center;
  font-weight: 700;
}

/* ══════════════════════
   HERO
   ══════════════════════ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  padding-top: 80px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 3rem 0 5rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 99px;
  padding: 0.45rem 1.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(12px);
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.hero-marquee-inline {
  overflow: hidden;
  display: flex;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green), 0 0 20px rgba(10, 223, 140, 0.3);
  animation: blink 2s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0.25
  }
}

.hero-title {
  margin-bottom: 2.5rem;
  perspective: 600px;
}

.title-line-wrap {
  overflow: hidden;
  line-height: 1;
}

.title-line {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 8.5vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  will-change: transform, opacity;
}

.accent-text {
  background: linear-gradient(90deg, var(--accent), var(--cyan), var(--pink));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 6s linear infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%
  }

  50% {
    background-position: 100% 50%
  }

  100% {
    background-position: 0% 50%
  }
}

.dot-accent {
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: var(--muted);
  max-width: 40ch;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.br-desk {
  display: none;
}

@media(min-width:900px) {
  .br-desk {
    display: block;
  }
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.95rem 2rem;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  transition: all var(--speed);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 60%);
  border-radius: 99px;
  opacity: 0;
  transition: opacity var(--speed);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  box-shadow: 0 15px 50px rgba(91, 76, 250, 0.5), 0 0 0 1px rgba(91, 76, 250, 0.3);
}

.btn-primary--large {
  font-size: 1.05rem;
  padding: 1.1rem 2.5rem;
}

.btn-text-inner {
  position: relative;
  z-index: 1;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  transition: transform var(--speed);
  position: relative;
  z-index: 1;
}

.btn-primary:hover .btn-icon {
  transform: translate(2px, -2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--txt);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.95rem 2rem;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  cursor: pointer;
  transition: all var(--speed);
  text-decoration: none;
  font-family: inherit;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.5)
  }

  50% {
    opacity: 1;
    transform: scaleY(1)
  }
}

/* ══════════════════════
   MARQUEE
   ══════════════════════ */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
  overflow: hidden;
  background: var(--surface);
}

.marquee-track {
  display: inline-flex;
  gap: 1.5rem;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.marquee-item {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.marquee-sep {
  color: var(--accent);
  opacity: 0.5;
  font-size: 0.6rem;
}

@keyframes marquee {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-33.33%)
  }
}

/* ══════════════════════
   STATS
   ══════════════════════ */
.stats-section {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-block {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s;
}

.stat-block:hover {
  border-color: rgba(91, 76, 250, 0.25);
  transform: translateY(-4px);
}

.stat-value {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--txt), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ══════════════════════
   SECTION COMMON
   ══════════════════════ */
.section-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.section-header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.7rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 50ch;
}

/* ══════════════════════
   PORTFOLIO
   ══════════════════════ */
.portfolio {
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media(max-width:1080px) {
  .apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:640px) {
  .apps-grid {
    grid-template-columns: 1fr;
  }
}

/* ── App Card ── */
.app-card {
  position: relative;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: border-color 0.4s;
  will-change: transform;
  transform-style: preserve-3d;
  cursor: pointer;
}

.app-card:hover {
  border-color: rgba(91, 76, 250, 0.3);
}

.card-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, var(--card-color, var(--accent)), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  transform: translate(-50%, -50%);
  z-index: 0;
  filter: blur(40px);
}

.card-visual {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 40%);
  pointer-events: none;
}

/* Phone Mockup Wrapper */
.phone-mockup {
  width: 130px;
  height: 260px;
  background: var(--bg);
  border-radius: 20px;
  border: 4px solid #1c1c1e;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  transform: translateY(20px);
  z-index: 2;
  transition: transform 0.4s ease;
}

.card-visual:hover .phone-mockup {
  transform: translateY(10px);
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 12px;
  background: #1c1c1e;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  z-index: 10;
}

.phone-slider {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.phone-slider-item {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 4px;
  z-index: 10;
}

.phone-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.phone-dot.active {
  background: #fff;
  width: 10px;
  border-radius: 4px;
}

.card-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.card-emoji {
  font-size: 3.5rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

.card-placeholder-text {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.3);
  padding: 0.3rem 0.8rem;
  border-radius: 99px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 99px;
  z-index: 2;
}

.card-rating {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 99px;
  backdrop-filter: blur(10px);
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-info {
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  gap: 0.5rem;
}

.card-category {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 99px;
  border: 1px solid;
}

.card-downloads {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
}

.card-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
}

.card-tagline {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.card-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.card-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.store-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--txt);
  transition: all 0.25s;
}

.store-link:hover {
  background: var(--txt);
  color: var(--bg);
  border-color: var(--txt);
}

.store-link--play {
  color: var(--green);
  border-color: rgba(10, 223, 140, 0.2);
}

.store-link--play:hover {
  background: var(--green);
  color: var(--bg);
  border-color: var(--green);
}

/* ══════════════════════
   SERVICES
   ══════════════════════ */
.services {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media(max-width:980px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:640px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }
}

.svc-card {
  background: #0f1015;
  /* Fixed solid background for neon effect */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, box-shadow 0.4s;
  --mx: 50%;
  --my: 50%;
  --svc-color: var(--accent);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform-style: preserve-3d;
  z-index: 1;
}

.svc-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: conic-gradient(transparent, var(--svc-color), transparent 25%);
  transform: translate(-50%, -50%) rotate(0deg);
  animation: rotate-neon 4s linear infinite;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
  pointer-events: none;
}

.svc-card::after {
  content: '';
  position: absolute;
  inset: 1px;
  /* This creates the 1px border area */
  background: #0f1015;
  border-radius: 23px;
  z-index: -1;
  transition: background 0.4s;
}

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

.svc-card:hover {
  background: transparent;
  border-color: transparent;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 20px rgba(var(--svc-color-rgb), 0.2);
}

@keyframes rotate-neon {
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.svc-watermark {
  position: absolute;
  top: -10%;
  right: -5%;
  font-size: 10rem;
  font-weight: 900;
  font-family: 'Syne', sans-serif;
  color: var(--svc-color);
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.05em;
  transition: opacity 0.4s, transform 0.4s;
}

.svc-card:hover .svc-watermark {
  opacity: 0.08;
  transform: scale(1.1) rotate(-5deg);
}

.svc-featured {
  grid-column: span 2;
  grid-row: span 2;
  padding: 3.5rem;
}

.svc-wide {
  grid-column: span 2;
}

@media(max-width:980px) {

  .svc-featured,
  .svc-wide {
    grid-column: span 1;
    grid-row: auto;
    padding: 2.5rem;
  }
}

.svc-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--svc-color), transparent 70%);
  left: var(--mx);
  top: var(--my);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  mix-blend-mode: screen;
  filter: blur(50px);
  z-index: 0;
}

.svc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.svc-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border: 1px solid;
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.svc-num-tag {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  opacity: 0.4;
  letter-spacing: 0.05em;
}

.svc-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
  letter-spacing: -0.01em;
}

.svc-featured .svc-title {
  font-size: 1.8rem;
}

.svc-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
}

.svc-featured .svc-desc {
  font-size: 1.05rem;
  max-width: 90%;
}

.svc-tag {
  margin-top: auto;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 99px;
  border: 1px solid;
  position: relative;
  z-index: 1;
}

.svc-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  opacity: 0.4;
  transition: opacity 0.4s;
}

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

/* ══════════════════════
   TESTIMONIALS
   ══════════════════════ */
.testimonials {
  padding: clamp(5rem, 10vw, 9rem) 0;
  overflow: hidden;
}

.testi-marquee {
  width: 100%;
  position: relative;
  display: flex;
  padding: 2rem 0;
}

.testi-track {
  display: flex;
  gap: 1.5rem;
  will-change: transform;
}

.testi-card {
  flex: 0 0 400px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.2rem;
  transition: border-color 0.3s, transform 0.3s;
}

@media(max-width:640px) {
  .testi-card {
    flex: 0 0 320px;
  }
}

.testi-card:hover {
  border-color: rgba(91, 76, 250, 0.25);
}

.testi-stars {
  color: #fbbf24;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  letter-spacing: 2px;
}

.testi-quote {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
}

.testi-author span {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ══════════════════════
   CTA
   ══════════════════════ */
.cta-section {
  padding: clamp(6rem, 12vw, 12rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
}

.cta-orb-1 {
  width: 600px;
  height: 600px;
  background: rgba(91, 76, 250, 0.15);
  top: -20%;
  left: 10%;
}

.cta-orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(10, 232, 240, 0.08);
  bottom: -10%;
  right: 15%;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
  margin-top: 1rem;
}

.cta-note {
  margin-top: 1.2rem;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

/* ══════════════════════
   FOOTER
   ══════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem clamp(1.5rem, 5vw, 4rem);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-link-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.8rem;
  padding: 0;
  cursor: pointer;
  transition: color 0.3s;
}

.footer-link-btn:hover {
  color: var(--accent);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
}

@media(max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-links {
    justify-content: center;
  }
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 2rem;
}

.modal-content {
  background: #111;
  border: 1px solid var(--border);
  border-radius: 24px;
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
  animation: modal-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
}

.modal-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
}

.modal-close:hover {
  color: #fff;
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  line-height: 1.6;
}

.legal-text h4 {
  color: var(--accent);
  margin: 1.5rem 0 0.5rem;
}

.legal-text p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ══════════════════════
   RESPONSIVE
   ══════════════════════ */
@media(max-width:768px) {
  .nav-links {
    display: none;
  }

  .burger {
    display: flex;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .fixed-socials {
    bottom: 20px;
    top: auto;
    right: 20px;
    left: auto;
    flex-direction: row;
    transform: translateY(0) translateX(30px);
  }

  .fixed-socials.visible {
    transform: translateY(0) translateX(0);
  }

  .social-float-btn {
    width: 48px;
    height: 48px;
  }
}

@media(max-width:580px) {
  .hero-content {
    text-align: left;
    padding-top: clamp(40px, 12vh, 100px);
  }

  .hero-desc {
    font-size: 0.9rem;
    max-width: 100%;
    margin-bottom: 2rem;
    line-height: 1.5;
  }

  .hero-btns {
    width: 100%;
    flex-direction: column;
    gap: 0.8rem;
  }

  .hero-btns .btn-primary,
  .hero-btns .btn-outline {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    font-size: 0.9rem;
  }

  .stats-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section-inner {
    padding: 0 1rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .app-card {
    padding: 1rem;
  }

  .card-info {
    padding: 1.2rem 0.5rem;
  }

  .card-title {
    font-size: 1.3rem;
  }

  .cta-btns {
    width: 100%;
    flex-direction: column;
    gap: 1rem;
  }

  .cta-btns .btn-primary {
    width: 100%;
    justify-content: center;
  }
}

/* Global Fix to prevent horizontal shifting */
html,
body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  -webkit-overflow-scrolling: touch;
}

#root {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.section-inner,
.navbar,
.footer {
  box-sizing: border-box;
}

/* ════════════════════════════════════════════
   SOCIAL BUTTONS (Absolute, scrolls with page)
   ════════════════════════════════════════════ */
.fixed-socials {
  position: fixed;
  top: 50%;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 100;
  opacity: 0;
  transform: translateY(-50%) translateX(30px);
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fixed-socials.visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  pointer-events: all;
}

.social-float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(10, 10, 30, 0.6);
  border: 1px solid rgba(10, 232, 240, 0.3);
  color: #0ae8f0;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.social-float-btn:hover {
  background: rgba(10, 232, 240, 0.1);
  border-color: #0ae8f0;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(10, 232, 240, 0.4);
}

@media(max-width: 768px) {
  .fixed-socials {
    top: 50%;
    right: 15px;
    gap: 12px;
  }

  .social-float-btn {
    width: 44px;
    height: 44px;
    padding: 8px;
    /* scale svgs down a bit indirectly */
  }
}