/* ----------------------------------------------------
   DxG Studio - Premium Portfolio Design System (Vanilla CSS)
   ---------------------------------------------------- */

:root {
  /* Colors */
  --bg-dark-deep: #03030c;
  --bg-dark-mid: #070718;
  --bg-dark-card: rgba(13, 11, 28, 0.45);
  --bg-dark-glass: rgba(10, 8, 22, 0.65);
  
  --accent-cyan: #00f2fe;
  --accent-cyan-glow: rgba(0, 242, 254, 0.4);
  --accent-purple: #7f00ff;
  --accent-purple-glow: rgba(127, 0, 255, 0.4);
  --accent-magenta: #ec008c;
  --accent-magenta-glow: rgba(236, 0, 140, 0.4);
  --accent-blue: #4facfe;
  
  --text-white: #ffffff;
  --text-muted: #8d8fa3;
  --text-dim: #5c5d70;
  
  --border-glass: rgba(255, 255, 255, 0.06);
  --border-glow-cyan: rgba(0, 242, 254, 0.2);
  --border-glow-purple: rgba(127, 0, 255, 0.2);
  
  /* Fonts */
  --font-primary: 'Outfit', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-dark-deep);
  color: var(--text-white);
  font-family: var(--font-secondary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark-deep);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  border: 2px solid var(--bg-dark-deep);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-purple);
}

/* ----------------------------------------------------
   Background Glowing Orbs
   ---------------------------------------------------- */
.glowing-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
  animation: floatOrb 25s infinite alternate ease-in-out;
}

.orb-1 {
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, var(--accent-purple-glow) 0%, rgba(0,0,0,0) 70%);
  top: -10vw;
  right: -10vw;
}

.orb-2 {
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, var(--accent-cyan-glow) 0%, rgba(0,0,0,0) 70%);
  top: 35vh;
  left: -15vw;
  animation-delay: -5s;
}

.orb-3 {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(236, 0, 140, 0.15) 0%, rgba(0,0,0,0) 70%);
  bottom: 10vh;
  right: -10vw;
  animation-delay: -10s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(5%, 8%) scale(1.1);
  }
  100% {
    transform: translate(-3%, -5%) scale(0.95);
  }
}

/* ----------------------------------------------------
   Typography & Global Components
   ---------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

.section-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px 24px;
  position: relative;
  z-index: 2;
}

.section-tag {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  display: inline-block;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-white) 30%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 48px;
}

.center-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
  color: var(--text-white);
  box-shadow: 0 4px 20px rgba(127, 0, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(127, 0, 255, 0.55), 0 0 15px var(--accent-cyan-glow);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-white);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.btn-secondary:active {
  transform: translateY(-1px);
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

/* ----------------------------------------------------
   Header & Navigation
   ---------------------------------------------------- */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

#main-header.scrolled {
  background-color: var(--bg-dark-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 70px;
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 0.9;
  font-family: var(--font-primary);
  font-weight: 800;
  cursor: pointer;
}

.logo-dxg {
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--text-white) 0%, var(--accent-cyan) 50%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
  text-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

.logo-studio {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.32em;
  padding-left: 2px;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--text-white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--text-white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-appstore-header {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-glass);
  padding: 8px 16px;
  border-radius: 9px;
  font-size: 0.85rem;
  color: var(--text-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-appstore-header:hover {
  background: var(--text-white);
  color: var(--bg-dark-deep);
  border-color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.25);
}

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  padding: 4px;
}

.hamburger-menu .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Hamburger active animation */
.hamburger-menu.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ----------------------------------------------------
   Hero Section
   ---------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding-top: 120px;
  padding-bottom: 120px;
}

.hero-content {
  z-index: 10;
}

.hero-title {
  font-size: clamp(3.2rem, 6vw, 5.2rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-white) 20%, var(--accent-cyan) 60%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 40px rgba(0, 242, 254, 0.05);
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 500;
  color: var(--text-white);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-description {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 580px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* iPhone Visual Mockup Style */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 550px;
  z-index: 5;
}

.phone-mockup-container {
  position: relative;
  width: 280px;
  height: 560px;
}

/* Neon Rings */
.neon-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.ring-1 {
  width: 440px;
  height: 440px;
  border: 1.5px dashed rgba(0, 242, 254, 0.15);
  box-shadow: inset 0 0 30px rgba(0, 242, 254, 0.03), 0 0 30px rgba(0, 242, 254, 0.03);
  animation: spinRing 40s linear infinite;
}

.ring-2 {
  width: 360px;
  height: 360px;
  border: 1px solid rgba(127, 0, 255, 0.15);
  box-shadow: inset 0 0 20px rgba(127, 0, 255, 0.03);
  animation: spinRingInverse 30s linear infinite;
}

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

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

/* Floating App Elements */
.floating-element {
  position: absolute;
  z-index: 15;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.floating-inner {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  position: relative;
  transition: var(--transition-smooth);
}

.floating-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.01));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Floating animation keyframes */
@keyframes floatY1 {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes floatY2 {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(-4deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes floatY3 {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.float-lock {
  top: 90px;
  left: -65px;
  animation: floatY1 6s ease-in-out infinite;
}
.float-lock .floating-inner {
  background: radial-gradient(circle at 30% 20%, #4c22ff 0%, #150073 100%);
  border: 1px solid rgba(76, 34, 255, 0.4);
  box-shadow: 0 10px 25px rgba(76, 34, 255, 0.35);
}

.float-chat {
  top: 120px;
  right: -55px;
  animation: floatY2 7s ease-in-out infinite;
  animation-delay: -1s;
}
.float-chat .floating-inner {
  background: radial-gradient(circle at 30% 20%, #b200ff 0%, #46006c 100%);
  border: 1px solid rgba(178, 0, 255, 0.4);
  box-shadow: 0 10px 25px rgba(178, 0, 255, 0.35);
}

.float-paw {
  bottom: 160px;
  left: -75px;
  animation: floatY3 5.5s ease-in-out infinite;
  animation-delay: -2s;
}
.float-paw .floating-inner {
  background: radial-gradient(circle at 30% 20%, #00f2fe 0%, #005a73 100%);
  border: 1px solid rgba(0, 242, 254, 0.4);
  box-shadow: 0 10px 25px rgba(0, 242, 254, 0.35);
}

.float-controller {
  bottom: 220px;
  right: -65px;
  animation: floatY1 8s ease-in-out infinite;
  animation-delay: -3s;
}
.float-controller .floating-inner {
  background: radial-gradient(circle at 30% 20%, #ff007f 0%, #6e0037 100%);
  border: 1px solid rgba(255, 0, 127, 0.4);
  box-shadow: 0 10px 25px rgba(255, 0, 127, 0.35);
}

.float-candy {
  bottom: 70px;
  right: -10px;
  animation: floatY2 6.5s ease-in-out infinite;
  animation-delay: -4s;
}
.float-candy .floating-inner {
  background: radial-gradient(circle at 30% 20%, #ffa500 0%, #7d3c00 100%);
  border: 1px solid rgba(255, 165, 0, 0.4);
  box-shadow: 0 10px 25px rgba(255, 165, 0, 0.35);
}

.floating-element:hover .floating-inner {
  transform: scale(1.15) translateY(-5px);
  filter: brightness(1.2);
}

/* Tooltip style on hover */
.floating-element::before {
  content: attr(data-app);
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background: var(--bg-dark-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  padding: 4px 8px;
  border-radius: 6px;
  font-family: var(--font-primary);
  font-size: 0.7rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.floating-element:hover::before {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* iPhone Styling */
.iphone-body {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 44px;
  background: #111122;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8),
              inset 0 0 15px rgba(255, 255, 255, 0.05),
              0 0 40px rgba(127, 0, 255, 0.15);
  padding: 8px;
  z-index: 10;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.iphone-body::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 44px;
  border: 3.5px solid #2d2b3d;
  pointer-events: none;
}

.screen-border {
  width: 100%;
  height: 100%;
  border-radius: 38px;
  background: #05050f;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.dynamic-island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background-color: #000000;
  border-radius: 20px;
  z-index: 100;
}

.phone-screen {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-content {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 30%, #120b33 0%, #03030c 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 60px 20px 40px 20px;
  position: relative;
  overflow: hidden;
}

.phone-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 5;
}

.phone-logo-img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.4));
  animation: pulseLogo 4s infinite ease-in-out;
}

@keyframes pulseLogo {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.3)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 18px rgba(127, 0, 255, 0.6)); }
}

.phone-logo-text {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  background: linear-gradient(135deg, var(--text-white), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.phone-glow {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127,0,255,0.45) 0%, rgba(0,0,0,0) 70%);
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(10px);
  z-index: 2;
  pointer-events: none;
  animation: pulseGlow 8s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.9; }
}

.mini-app-slides {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 5;
}

.mini-slide {
  display: none;
  align-items: center;
  gap: 12px;
  animation: fadeInSlide 0.5s forwards ease-in-out;
}

.mini-slide.active {
  display: flex;
}

.mini-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.m-mordor {
  background: radial-gradient(circle, #b200ff 0%, #46006c 100%);
  border: 1px solid rgba(178, 0, 255, 0.4);
}
.m-vault {
  background: radial-gradient(circle, #4c22ff 0%, #150073 100%);
  border: 1px solid rgba(76, 34, 255, 0.4);
}
.m-candy {
  background: radial-gradient(circle, #ffa500 0%, #7d3c00 100%);
  border: 1px solid rgba(255, 165, 0, 0.4);
}

.mini-text {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-white);
}

@keyframes fadeInSlide {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.phone-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: linear-gradient(115deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 35%);
  transform: translate(-10%, -50%) rotate(-35deg);
  pointer-events: none;
  z-index: 50;
}

/* ----------------------------------------------------
   Featured Apps Section
   ---------------------------------------------------- */
.apps-section {
  background-color: var(--bg-dark-deep);
  position: relative;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 20px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.carousel-btn:hover {
  background: var(--text-white);
  color: var(--bg-dark-deep);
  transform: scale(1.05);
}

.carousel-btn:active {
  transform: scale(0.95);
}

.btn-view-all {
  background: transparent;
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.2);
  padding: 10px 18px;
  font-size: 0.85rem;
  margin-left: 12px;
}

.btn-view-all:hover {
  background: rgba(0, 242, 254, 0.08);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.15);
}

/* Carousel Track & Cards */
.apps-carousel-container {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px 4px 30px 4px;
  scroll-behavior: smooth;
  /* Hide scrollbar for clean carousel */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
}

.apps-carousel-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.apps-carousel-track {
  display: flex;
  gap: 24px;
  width: max-content;
}

.app-card {
  width: 320px;
  background: var(--bg-dark-card);
  border-radius: 24px;
  position: relative;
  z-index: 10;
  transition: var(--transition-smooth);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  display: flex;
}

.app-card-inner {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0) 100%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 2;
  border-radius: 24px;
}

.app-icon-wrapper {
  position: relative;
  width: 76px;
  height: 76px;
  margin-bottom: 24px;
}

.app-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  position: relative;
  z-index: 3;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.app-icon-glow {
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  background: inherit;
  filter: blur(12px);
  opacity: 0;
  z-index: 1;
  transition: var(--transition-smooth);
}

/* Card App Details */
.app-category {
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-block;
  margin-bottom: 8px;
}

.app-name {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--text-white);
  height: 52px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.app-description {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 28px;
  height: 68px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.btn-appcard {
  width: 100%;
  background: rgba(255,255,255,0.03);
  color: var(--text-white);
  border: 1px solid var(--border-glass);
  padding: 12px;
  border-radius: 12px;
  font-size: 0.88rem;
}

.btn-appcard:hover {
  background: var(--text-white);
  color: var(--bg-dark-deep);
  border-color: var(--text-white);
}

/* Card Glow Border Hover State */
.card-border-glow {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 1.5px solid transparent;
  pointer-events: none;
  z-index: 5;
  transition: var(--transition-smooth);
}

.app-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Category-based Custom Hover Shadows */
.app-card:hover .app-icon-glow {
  opacity: 0.65;
}

.app-card:nth-child(3n+1):hover {
  box-shadow: 0 15px 35px rgba(127, 0, 255, 0.15), 0 0 10px rgba(127, 0, 255, 0.05);
}
.app-card:nth-child(3n+1):hover .card-border-glow {
  border-color: var(--border-glow-purple);
}
.app-card:nth-child(3n+1) .app-icon-glow {
  background: var(--accent-purple);
}

.app-card:nth-child(3n+2):hover {
  box-shadow: 0 15px 35px rgba(0, 242, 254, 0.15), 0 0 10px rgba(0, 242, 254, 0.05);
}
.app-card:nth-child(3n+2):hover .card-border-glow {
  border-color: var(--border-glow-cyan);
}
.app-card:nth-child(3n+2) .app-icon-glow {
  background: var(--accent-cyan);
}

.app-card:nth-child(3n+3):hover {
  box-shadow: 0 15px 35px rgba(236, 0, 140, 0.15), 0 0 10px rgba(236, 0, 140, 0.05);
}
.app-card:nth-child(3n+3):hover .card-border-glow {
  border-color: rgba(236, 0, 140, 0.2);
}
.app-card:nth-child(3n+3) .app-icon-glow {
  background: var(--accent-magenta);
}

/* ----------------------------------------------------
   About Section
   ---------------------------------------------------- */
.about-section {
  background-color: var(--bg-dark-mid);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.about-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.btn-about {
  padding: 12px 24px;
}

.about-features-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-feature-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 24px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition-smooth);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.about-feature-card:nth-child(2) .feature-icon-box {
  color: var(--accent-purple);
}

.about-feature-card:nth-child(3) .feature-icon-box {
  color: var(--accent-magenta);
}

.feature-text h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-white);
}

.feature-text p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.about-feature-card:hover {
  transform: translateX(10px);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(13, 11, 28, 0.7);
}

.about-feature-card:hover .feature-icon-box {
  background: var(--text-white);
  color: var(--bg-dark-deep) !important;
  transform: scale(1.05);
}

/* ----------------------------------------------------
   Services Section
   ---------------------------------------------------- */
.services-section {
  background-color: var(--bg-dark-deep);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  z-index: 1;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-white);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Neon Glow Effect on Service Hover */
.service-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(100px circle at 0px 0px, var(--accent-cyan-glow) 0%, rgba(0,0,0,0) 70%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.service-card:hover .service-icon {
  background: var(--accent-cyan);
  color: var(--bg-dark-deep);
  transform: scale(1.05);
  box-shadow: 0 0 15px var(--accent-cyan-glow);
}

.service-card:nth-child(even):hover .service-icon {
  background: var(--accent-purple);
  color: var(--text-white);
  box-shadow: 0 0 15px var(--accent-purple-glow);
}

/* ----------------------------------------------------
   Stats Section
   ---------------------------------------------------- */
.stats-section {
  background-color: var(--bg-dark-mid);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition-smooth);
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pink-neon {
  background: rgba(236, 0, 140, 0.08);
  color: var(--accent-magenta);
  border: 1px solid rgba(236, 0, 140, 0.2);
}

.blue-neon {
  background: rgba(79, 172, 254, 0.08);
  color: var(--accent-blue);
  border: 1px solid rgba(79, 172, 254, 0.2);
}

.purple-neon {
  background: rgba(127, 0, 255, 0.08);
  color: var(--accent-purple);
  border: 1px solid rgba(127, 0, 255, 0.2);
}

.cyan-neon {
  background: rgba(0, 242, 254, 0.08);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.stat-number-wrapper {
  margin-bottom: 8px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-number {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-left: 2px;
}

.stat-title-large {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.stat-title-text {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.12);
}

/* ----------------------------------------------------
   Call To Action (CTA) Section
   ---------------------------------------------------- */
.cta-section {
  background-color: var(--bg-dark-deep);
}

.cta-container {
  padding-top: 60px;
  padding-bottom: 60px;
}

.cta-container::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.3), rgba(127, 0, 255, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.cta-container {
  background: radial-gradient(circle at 80% 50%, rgba(127, 0, 255, 0.12) 0%, rgba(0,0,0,0) 80%),
              linear-gradient(135deg, rgba(7, 7, 24, 0.8) 0%, rgba(3, 3, 12, 0.95) 100%);
  border: 1px solid var(--border-glass);
  border-radius: 28px;
  padding: 56px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 0, 255, 0.1) 0%, rgba(0,0,0,0) 70%);
  bottom: -150px;
  right: -50px;
  z-index: 1;
}

.cta-content {
  max-width: 620px;
  z-index: 2;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}

.cta-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.cta-action {
  z-index: 2;
  flex-shrink: 0;
}

.btn-cta {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ----------------------------------------------------
   Contact Section
   ---------------------------------------------------- */
.contact-section {
  background-color: var(--bg-dark-mid);
  border-top: 1px solid var(--border-glass);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  margin-top: 20px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  transition: var(--transition-smooth);
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.info-card:nth-child(2) .info-icon {
  color: var(--accent-purple);
}

.info-card:nth-child(3) .info-icon {
  color: var(--accent-magenta);
}

.info-card:nth-child(4) .info-icon {
  color: var(--accent-blue);
}

.info-details span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-details h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-white);
  margin-top: 2px;
}

.contact-link {
  transition: var(--transition-fast);
}

.contact-link:hover {
  color: var(--accent-cyan);
  text-decoration: underline;
}

.info-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(13, 11, 28, 0.7);
}

.info-card:hover .info-icon {
  background: var(--text-white);
  color: var(--bg-dark-deep) !important;
}

/* Contact Form */
.contact-form-container {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(15px);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.contact-form {
  position: relative;
  z-index: 5;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.form-group-row .form-group {
  margin-bottom: 0;
}

.form-group label {
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-white);
}

.form-group input,
.form-group textarea {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--text-white);
  padding: 14px 18px;
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-group textarea {
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.2);
  background: rgba(0, 0, 0, 0.5);
}

.form-group.error input,
.form-group.error textarea {
  border-color: var(--accent-magenta);
  box-shadow: 0 0 10px rgba(236, 0, 140, 0.15);
}

.error-msg {
  font-size: 0.8rem;
  color: var(--accent-magenta);
  margin-top: 4px;
  display: none;
}

.form-group.error .error-msg {
  display: block;
}

.btn-submit {
  width: 100%;
  padding: 14px 28px;
}

/* Success Message Container */
.success-message {
  position: absolute;
  inset: 0;
  background: #090816;
  z-index: 10;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  border-radius: 24px;
  animation: slideUpSuccess 0.4s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.success-message.active {
  display: flex;
}

.success-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 20px var(--accent-cyan-glow);
}

.success-message h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.success-message p {
  color: var(--text-muted);
  max-width: 360px;
  font-size: 0.95rem;
}

@keyframes slideUpSuccess {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ----------------------------------------------------
   Footer
   ---------------------------------------------------- */
#main-footer {
  background-color: var(--bg-dark-deep);
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 60px 0;
  position: relative;
  z-index: 20;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  padding-top: 0;
  padding-bottom: 0;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.brand-copy {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-links-col h4 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-white);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links-col a:hover {
  color: var(--accent-cyan);
}

.footer-email {
  font-size: 0.95rem;
  color: var(--text-white);
  font-weight: 500;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.social-links a:hover {
  background: var(--text-white);
  color: var(--bg-dark-deep);
  transform: translateY(-3px);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-dark-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
  box-shadow: 0 0 15px var(--accent-purple-glow);
  transform: translateY(-3px);
}

.back-to-top:active {
  transform: translateY(0);
}

/* ----------------------------------------------------
   Responsive Media Queries
   ---------------------------------------------------- */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 80px;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .section-container {
    padding: 70px 20px;
  }
  
  .hamburger-menu {
    display: flex;
  }
  
  /* Mobile Menu Overlay */
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: #03030cf0;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 999;
    padding: 40px;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-glass);
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }
  
  .nav-menu ul {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }
  
  .nav-link {
    font-size: 1.25rem;
  }
  
  .header-actions .btn-appstore-header {
    display: none; /* Hide on mobile to avoid cramming */
  }
  
  .cta-container {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .form-group-row .form-group {
    margin-bottom: 24px;
  }
  
  .contact-form-container {
    padding: 28px 20px;
  }
  
  .footer-links-group {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .carousel-controls {
    width: 100%;
    justify-content: flex-end;
    margin-top: 12px;
  }
  
  .phone-mockup-container {
    width: 260px;
    height: 520px;
  }
  
  .floating-inner {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }
  
  .float-lock { left: -45px; }
  .float-chat { right: -35px; }
  .float-paw { left: -50px; }
  .float-controller { right: -45px; }
}

/* Scroll reveal keyframes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Background Particles Canvas */
#bg-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* 3D Parallax Styles */
#hero-visual-container {
  perspective: 1200px;
}
#phone-3d-wrapper {
  transform-style: preserve-3d;
  will-change: transform;
}
