@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap');

:root {
  --bg-dark: #02040d;
  --bg-card: rgba(8, 14, 32, 0.65);
  --bg-card-hover: rgba(14, 24, 52, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-cyan: rgba(56, 189, 248, 0.35);
  --cyan-accent: #38bdf8;
  --blue-accent: #3b82f6;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Seltop-style Neon Grid Squares Overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(56, 189, 248, 0.065) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(56, 189, 248, 0.065) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 1;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Sora', sans-serif;
  letter-spacing: -0.02em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #38bdf8, #3b82f6);
  border-radius: 3px;
}

/* Seltop Animated Ambient Glow Orbs Behind Layers */
.ambient-glow-1 {
  position: fixed;
  top: 8%;
  left: 20%;
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(56, 189, 248, 0.02) 55%, transparent 70%);
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  animation: float-glow 14s ease-in-out infinite alternate;
}

.ambient-glow-2 {
  position: fixed;
  top: 48%;
  right: 10%;
  width: 650px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.02) 55%, transparent 70%);
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
  animation: float-glow 18s ease-in-out infinite alternate-reverse;
}

.ambient-glow-3 {
  position: fixed;
  bottom: 12%;
  left: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  animation: float-glow 16s ease-in-out infinite alternate;
}

@keyframes float-glow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(45px, 35px) scale(1.1); }
  100% { transform: translate(-35px, -30px) scale(0.95); }
}

/* Glass Navigation */
.glass-nav {
  background: rgba(2, 4, 13, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.glass-nav.scrolled {
  background: rgba(2, 4, 13, 0.96);
  border-bottom-color: rgba(56, 189, 248, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* Brand Monogram Logo */
.brand-monogram {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(59, 130, 246, 0.1) 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--cyan-accent);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
  transition: all 0.25s ease;
}

.brand-monogram:hover {
  transform: scale(1.05);
  border-color: var(--cyan-accent);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.5);
}

/* Action Buttons & Magnetic Hall System */
.magnetic-btn {
  position: relative;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 0.22s cubic-bezier(0.18, 0.9, 0.32, 1.2), box-shadow 0.3s ease;
  user-select: none;
}

.magnetic-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 0.22s cubic-bezier(0.18, 0.9, 0.32, 1.2);
  pointer-events: none;
}

.btn-primary {
  background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 100%);
  color: #02040d;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.35), 0 0 40px rgba(56, 189, 248, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  animation: btn-aura-pulse 4s ease-in-out infinite alternate;
}

@keyframes btn-aura-pulse {
  0% {
    box-shadow: 0 4px 18px rgba(56, 189, 248, 0.32), 0 0 35px rgba(56, 189, 248, 0.12);
  }
  100% {
    box-shadow: 0 6px 28px rgba(56, 189, 248, 0.55), 0 0 55px rgba(56, 189, 248, 0.32);
  }
}

.btn-shimmer {
  position: absolute;
  top: -50%;
  left: -120%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  animation: btn-shimmer-pass 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes btn-shimmer-pass {
  0%, 35% {
    left: -120%;
  }
  65%, 100% {
    left: 200%;
  }
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(56, 189, 248, 0.65), 0 0 65px rgba(56, 189, 248, 0.45);
  color: #000;
}

.btn-secondary {
  background: rgba(8, 14, 32, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-secondary:hover {
  background: rgba(14, 24, 52, 0.88);
  border-color: rgba(56, 189, 248, 0.55);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(56, 189, 248, 0.25);
}

/* Language Switcher */
.lang-pill {
  padding: 0.25rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

.lang-pill:hover {
  color: #fff;
}

.lang-pill.active {
  color: #02040d;
  background: var(--cyan-accent);
}

/* Single-Word Minimalist Portfolio Tabs */
.tab-btn {
  padding: 0.65rem 1.6rem;
  border-radius: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  background: rgba(8, 14, 32, 0.65);
  border: 1px solid var(--border-color);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}

.tab-btn:hover {
  color: #fff;
  border-color: rgba(56, 189, 248, 0.3);
}

.tab-btn.active {
  color: #fff;
  background: rgba(56, 189, 248, 0.14);
  border-color: var(--cyan-accent);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.25);
}

/* Pure Artwork Portfolio Cards (Zero Text Underneath) */
.portfolio-card {
  position: relative;
  border-radius: 0.875rem;
  overflow: hidden;
  background: rgba(6, 10, 24, 0.8);
  border: 1px solid var(--border-color);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.portfolio-card:hover {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 16px 36px -10px rgba(56, 189, 248, 0.3);
  transform: translateY(-4px);
}

.portfolio-card img {
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.portfolio-card:hover img {
  transform: scale(1.04);
}

/* 2560x423 Panoramic Banners */
.banner-panoramic-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(6, 10, 24, 0.8);
  border: 1px solid var(--border-color);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  width: 100%;
}

.banner-panoramic-card:hover {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 20px 45px -10px rgba(56, 189, 248, 0.28);
  transform: translateY(-3px);
}

.banner-aspect-ratio {
  aspect-ratio: 2560 / 423;
  min-height: 140px;
}

@media (max-width: 640px) {
  .banner-aspect-ratio {
    aspect-ratio: 16 / 5;
    min-height: 110px;
  }
}

/* Portfolio Wrapper with Smooth Fluid Expansion */
.portfolio-wrapper {
  position: relative;
  overflow: hidden;
  transition: max-height 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Premium Progressive Motion-Blur & Eased Scrim Overlay */
.portfolio-shader {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0.5rem;
  z-index: 25;
  transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

@media (max-width: 640px) {
  .portfolio-shader {
    height: 90px;
    padding-bottom: 0.5rem;
  }
}

/* Layer 1: Eased Progressive Motion-Blur Falloff (Zero hard line, smooth optical falloff) */
.portfolio-shader::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.2) 40%,
    #000000 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.2) 40%,
    #000000 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Layer 2: Silky Multi-Stop Eased Darkness Scrim */
.portfolio-shader::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(2, 4, 13, 0) 0%,
    rgba(2, 4, 13, 0.6) 50%,
    #02040d 100%
  );
  pointer-events: none;
  z-index: 2;
}

.portfolio-shader > * {
  position: relative;
  z-index: 10;
}

.portfolio-shader.expanded {
  position: relative;
  height: auto;
  margin-top: 2.5rem;
  padding-top: 0;
  padding-bottom: 2.5rem;
  background: transparent;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-shader.expanded::before,
.portfolio-shader.expanded::after {
  display: none;
}

/* Sleek Compact Telegram Teaser Strip (Uzunchoq ixcham tabcha) */
.portfolio-teaser-strip {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(2, 6, 23, 0.95) 100%);
  border: 1px solid rgba(6, 182, 212, 0.28);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.08);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.portfolio-teaser-strip:hover {
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 0 35px rgba(6, 182, 212, 0.18);
}

/* Magnetic Horizontal Carousel for Logos / Avatars with Peek & Soft Blur */
.logos-carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.75rem 0;
}

.logos-shadow-left {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 105px;
  background: linear-gradient(
    to right,
    rgba(2, 6, 23, 0.9) 0%,
    rgba(2, 6, 23, 0.65) 25%,
    rgba(2, 6, 23, 0.35) 55%,
    rgba(2, 6, 23, 0.1) 80%,
    transparent 100%
  );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.logos-shadow-right {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 120px;
  background: linear-gradient(
    to left,
    rgba(2, 6, 23, 0.9) 0%,
    rgba(2, 6, 23, 0.65) 25%,
    rgba(2, 6, 23, 0.35) 55%,
    rgba(2, 6, 23, 0.1) 80%,
    transparent 100%
  );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: 10;
  opacity: 1;
  transition: opacity 0.35s ease;
}

@media (max-width: 640px) {
  .logos-shadow-left {
    width: 60px;
  }
  .logos-shadow-right {
    width: 70px;
  }
}

.logos-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* 3.25 items visible on desktop: 3 full cards + ~25% peek of card 4 */
.logo-slide-item {
  flex: 0 0 calc((100% - 3.75rem) / 3.25);
  max-width: calc((100% - 3.75rem) / 3.25);
  aspect-ratio: 1 / 1;
}

@media (max-width: 1024px) {
  .logo-slide-item {
    flex: 0 0 calc((100% - 2.5rem) / 2.25);
    max-width: calc((100% - 2.5rem) / 2.25);
  }
}

@media (max-width: 640px) {
  .logo-slide-item {
    flex: 0 0 calc(100% - 3.5rem);
    max-width: calc(100% - 3.5rem);
  }
}

.carousel-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(8, 14, 32, 0.85);
  border: 1px solid var(--border-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.carousel-nav-btn:hover {
  background: rgba(14, 24, 52, 0.95);
  border-color: var(--cyan-accent);
  color: var(--cyan-accent);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
  transform: scale(1.08);
}

/* Interactive Before / After Slider */
.ba-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-cyan);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75);
  user-select: none;
  touch-action: none;
}

.ba-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ba-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  clip-path: inset(0 50% 0 0);
  will-change: clip-path;
}

.ba-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--cyan-accent);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.8), 0 0 6px rgba(56, 189, 248, 0.9);
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
  will-change: left;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #02040d;
  border: 2px solid var(--cyan-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: ew-resize;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.7);
  transition: transform 0.15s ease;
  will-change: left;
}

.ba-handle:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Dedicated Elongated Dock Shelf Layer (Sharhlardan ajralib turuvchi uzun layer) */
.workflow-dock-shelf {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 1.6rem 2.5rem;
  border-radius: 2.25rem;
  background: linear-gradient(180deg, rgba(8, 15, 34, 0.88) 0%, rgba(3, 7, 18, 0.96) 100%);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.85),
              0 0 40px -8px rgba(56, 189, 248, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.workflow-dock-shelf::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.7), transparent);
  pointer-events: none;
}

/* Expanding Software Dock (Dynamic Expanding Capsule with Hall Effect & Blur) */
.tool-dock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 0.25rem 0;
}

@media (max-width: 768px) {
  .workflow-dock-shelf {
    padding: 1.25rem 1.25rem;
    border-radius: 1.75rem;
  }
  .tool-dock {
    gap: 1.25rem;
  }
}

.tool-dock-pill {
  position: relative;
  height: 72px;
  width: 72px;
  min-width: 72px;
  border-radius: 1.35rem;
  background: rgba(8, 14, 32, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  overflow: hidden;
  transition: width 0.42s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease,
              background 0.35s ease,
              transform 0.25s cubic-bezier(0.18, 0.9, 0.32, 1.2);
  user-select: none;
  white-space: nowrap;
}

.tool-dock-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(220px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(56, 189, 248, 0.22), transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.tool-dock-pill:hover {
  width: 320px;
  border-color: rgba(56, 189, 248, 0.75);
  background: rgba(10, 22, 52, 0.96);
  box-shadow: 0 14px 40px -4px rgba(56, 189, 248, 0.45), 0 0 30px rgba(56, 189, 248, 0.25);
  transform: translateY(-3px) scale(1.02);
  z-index: 15;
}

.tool-dock-pill:hover::before {
  opacity: 1;
}

.tool-dock-inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0;
  position: relative;
  z-index: 2;
}

.tool-icon-wrapper {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 1.35rem 0 0 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.18, 0.9, 0.32, 1.2);
}

.tool-dock-pill:hover .tool-icon-wrapper {
  transform: scale(1.03);
}

.tool-icon-wrapper img,
.tool-icon-wrapper svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tool-info-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 1.25rem 0 0.85rem;
  opacity: 0;
  transform: translateX(14px);
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1) 0.08s,
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
  pointer-events: none;
  min-width: 0;
}

.tool-dock-pill:hover .tool-info-content {
  opacity: 1;
  transform: translateX(0);
}

.tool-name {
  font-size: 0.95rem;
  font-weight: 800;
  font-family: 'Sora', sans-serif;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.tool-desc {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--cyan-accent);
  margin-top: 0.25rem;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

/* Glass Panels */
.glass-box {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.glass-box:hover {
  background: var(--bg-card-hover);
  border-color: rgba(56, 189, 248, 0.3);
}

/* Stat Cards: 3D Perspective Tilt & Dynamic Cursor Spotlight */
.stat-card {
  position: relative;
  background: rgba(8, 14, 32, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.15rem;
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: transform;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  user-select: none;
}

.stat-card:hover {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 16px 36px -8px rgba(56, 189, 248, 0.28), 0 0 25px rgba(56, 189, 248, 0.12);
}

.stat-spotlight {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(280px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(56, 189, 248, 0.18), transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.stat-card:hover .stat-spotlight {
  opacity: 1;
}

.stat-card.settled {
  animation: stat-card-bloom 0.9s ease-out forwards;
}

@keyframes stat-card-bloom {
  0% {
    border-color: rgba(56, 189, 248, 0.9);
    box-shadow: 0 0 35px rgba(56, 189, 248, 0.5), inset 0 0 20px rgba(56, 189, 248, 0.2);
  }
  100% {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  }
}

/* Kinetic Rolling Digit Ticker (Odometer / Reel) */
.stat-ticker-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
  height: 1.25em;
  line-height: 1.25em;
  position: relative;
  vertical-align: middle;
}

.ticker-col {
  display: inline-block;
  height: 1.25em;
  line-height: 1.25em;
  overflow: hidden;
  vertical-align: top;
  position: relative;
}

.ticker-track {
  display: flex;
  flex-direction: column;
  transform: translateY(0%);
  will-change: transform;
}

.ticker-num {
  height: 1.25em;
  line-height: 1.25em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  user-select: none;
  font-family: inherit;
}

.ticker-suffix {
  display: inline-block;
  height: 1.25em;
  line-height: 1.25em;
  vertical-align: top;
  margin-left: 2px;
}

/* Elongated Interactive Service Strip Cards (Uzunchoq format & Ambient Glow) */
.service-strip-card {
  position: relative;
  background: linear-gradient(135deg, rgba(8, 14, 32, 0.82) 0%, rgba(6, 11, 28, 0.88) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: 1.15rem;
  overflow: hidden;
  transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  user-select: none;
}

.service-strip-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(56, 189, 248, 0.15), transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.service-strip-card:hover {
  transform: translateY(-2px) scale(1.008);
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 12px 32px -6px rgba(56, 189, 248, 0.25), 0 0 25px rgba(56, 189, 248, 0.14), inset 0 0 20px rgba(56, 189, 248, 0.05);
}

.service-strip-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 0.85rem;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.1);
}

.service-strip-card:hover .service-icon-box {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25) 0%, rgba(59, 130, 246, 0.2) 100%);
  border-color: var(--cyan-accent);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.4);
  transform: scale(1.06);
}

.service-action-pill {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-strip-card:hover .service-action-pill {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.22);
  color: var(--cyan-accent);
}

/* Featured Service Top Card */
.service-featured-card {
  background: linear-gradient(135deg, rgba(8, 20, 48, 0.9) 0%, rgba(5, 12, 32, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 10px 30px -10px rgba(56, 189, 248, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.service-featured-card:hover {
  transform: translateY(-2px) scale(1.005);
  border-color: rgba(56, 189, 248, 0.8);
  box-shadow: 0 16px 40px -8px rgba(56, 189, 248, 0.35), 0 0 35px rgba(56, 189, 248, 0.2), inset 0 0 24px rgba(56, 189, 248, 0.08);
}

.service-featured-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(37, 99, 235, 0.2) 100%);
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

.service-featured-card:hover .service-featured-icon {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.35) 0%, rgba(37, 99, 235, 0.3) 100%);
  border-color: var(--cyan-accent);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.5);
  transform: scale(1.06);
}

/* Coming Soon Service Cards (Warm Amber / Gold accent for dark theme) */
.service-strip-soon {
  border-color: rgba(245, 158, 11, 0.22);
  background: linear-gradient(135deg, rgba(24, 18, 8, 0.78) 0%, rgba(14, 10, 5, 0.88) 100%);
}

.service-strip-soon::before {
  background: radial-gradient(350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(245, 158, 11, 0.15), transparent 70%);
}

.service-strip-soon:hover {
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 12px 32px -6px rgba(245, 158, 11, 0.22), 0 0 25px rgba(245, 158, 11, 0.12), inset 0 0 20px rgba(245, 158, 11, 0.05);
}

.service-icon-box-soon {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.28);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.12);
}

.service-strip-soon:hover .service-icon-box-soon {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(217, 119, 6, 0.2) 100%);
  border-color: #f59e0b;
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.4);
  transform: scale(1.06);
}

.service-action-pill-soon {
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-strip-soon:hover .service-action-pill-soon {
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.25);
  color: #fef3c7;
}

/* Minimalist Glowing Contact Cards (Telegram, Discord, Email) */
.contact-glow-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.15rem 1.4rem;
  background: rgba(8, 14, 32, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 1.1rem;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.contact-glow-card h4,
.contact-glow-card h5 {
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Sora', sans-serif;
  color: #fff;
  margin: 0;
  line-height: 1;
}

.contact-glow-card.telegram-card:hover {
  border-color: #229ED9;
  background: rgba(34, 158, 217, 0.12);
  box-shadow: 0 0 28px rgba(34, 158, 217, 0.4);
  transform: translateY(-3px);
}

.contact-glow-card.discord-card:hover {
  border-color: #5865F2;
  background: rgba(88, 101, 242, 0.12);
  box-shadow: 0 0 28px rgba(88, 101, 242, 0.4);
  transform: translateY(-3px);
}

.contact-glow-card.email-card:hover {
  border-color: #f97316;
  background: rgba(249, 115, 22, 0.12);
  box-shadow: 0 0 28px rgba(249, 115, 22, 0.4);
  transform: translateY(-3px);
}

.contact-icon-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.contact-glow-card:hover .contact-icon-img {
  transform: scale(1.12);
}

/* Modals */
.app-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(2, 4, 13, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.app-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.app-modal-card {
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.app-modal.active .app-modal-card {
  transform: scale(1);
}

/* Toast */
.app-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2100;
  background: #060a1c;
  border: 1px solid var(--cyan-accent);
  border-radius: 0.75rem;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.3);
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.app-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Online status pulse */
.pulse-online {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Smooth motion stats pulse */
.stat-pulse {
  transition: transform 0.4s ease, color 0.4s ease;
}

/* Reversible layer-by-layer scroll reveal */
.reveal-layer {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.reveal-layer.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   ABOUT SECTION: CLEAN MODERN GLASS CARD
   ============================================================ */
#about .glass-box {
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

/* ============================================================
   FLOATING CTA: VARIANT 2 — CYBER GLOW BREATHING
   ============================================================ */
.floating-cta-breath {
  position: relative;
  outline: none;
  animation: glowBreathing 3.2s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

@keyframes glowBreathing {
  0%, 100% {
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.35), 0 0 28px rgba(37, 99, 235, 0.2);
    transform: scale(1);
    border-color: rgba(56, 189, 248, 0.4);
  }
  50% {
    box-shadow: 0 0 35px rgba(56, 189, 248, 0.8), 0 0 60px rgba(37, 99, 235, 0.5);
    transform: scale(1.03);
    border-color: rgba(56, 189, 248, 0.9);
  }
}










