/* ========================================
   INDEX.CSS - Homepage Specific Styles
   ======================================== */

/* Custom Cursor */
body {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><circle cx="10" cy="10" r="8" fill="%230061FF" opacity="0.3"/></svg>') 10 10, auto;
}

a, button {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><circle cx="12" cy="12" r="10" fill="%2360EFFF" opacity="0.5"/></svg>') 12 12, pointer;
}

/* ========================================
   ANIMATED BACKGROUND PARTICLES
   ======================================== */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  opacity: 0.3;
  animation: float-particle 15s infinite ease-in-out;
}

@keyframes float-particle {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  25% {
    transform: translate(100px, -100px) scale(1.5);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50px, -200px) scale(1);
    opacity: 0.2;
  }
  75% {
    transform: translate(-150px, -100px) scale(1.3);
    opacity: 0.4;
  }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 120px 40px 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  animation: float 25s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.08) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { 
    transform: translate(0, 0) rotate(0deg) scale(1); 
  }
  25% { 
    transform: translate(50px, -50px) rotate(5deg) scale(1.1); 
  }
  50% { 
    transform: translate(100px, -100px) rotate(10deg) scale(0.9); 
  }
  75% { 
    transform: translate(30px, -30px) rotate(-5deg) scale(1.05); 
  }
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: fadeInLeft 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 20px;
  animation: slideInLeft 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
  transition: all 0.3s ease;
}

.hero-badge:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow);
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
}

.hero-content h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
  display: inline-block;
}

@keyframes gradientShift {
  0%, 100% { 
    background-position: 0% 50%; 
    transform: scale(1);
  }
  50% { 
    background-position: 100% 50%; 
    transform: scale(1.02);
  }
}

.hero-content p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 600px;
  animation: fadeInUp 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s both;
}

.hero-image {
  position: relative;
  animation: fadeInRight 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.image-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 350px;
  margin: 0 auto;
}

.image-container:hover {
  transform: scale(1.05) translateY(-10px) rotate(2deg);
  box-shadow: 0 30px 60px -15px rgba(99, 102, 241, 0.4);
}

.image-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 97, 255, 0.3), rgba(96, 239, 255, 0.3));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.image-container:hover::before {
  opacity: 1;
}

.hero-image img {
  width: 100%;
  display: block;
  position: relative;
  transition: transform 0.6s ease;
}

.image-container:hover img {
  transform: scale(1.1);
}

/* ========================================
   STATS SECTION - LIQUID GLASS DESIGN
   ======================================== */
.stats-section {
  padding: 40px 40px 60px;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(236, 72, 153, 0.15) 0%, transparent 50%);
  animation: liquid-flow 10s ease-in-out infinite;
  z-index: 0;
}

@keyframes liquid-flow {
  0%, 100% {
    transform: translateX(0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translateX(20px) scale(1.1);
    opacity: 0.8;
  }
}

.stats-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, transparent 0%, rgba(99, 102, 241, 0.03) 50%, transparent 100%);
  animation: liquid-wave 8s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes liquid-wave {
  0% {
    transform: translateY(0) scaleY(1);
  }
  100% {
    transform: translateY(-10px) scaleY(1.05);
  }
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}

.stat-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 8px 32px rgba(99, 102, 241, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(0, 97, 255, 0.2) 40%,
    rgba(96, 239, 255, 0.2) 60%,
    transparent 100%
  );
  opacity: 0;
  transition: all 0.6s ease;
  z-index: 0;
  animation: liquid-shimmer 4s ease-in-out infinite;
}

@keyframes liquid-shimmer {
  0%, 100% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  50% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(0, 97, 255, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

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

.stat-card:hover::before {
  opacity: 0.8;
}

.stat-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.stat-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 
    0 20px 40px rgba(99, 102, 241, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border-color: rgba(0, 97, 255, 0.4);
}

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

.stat-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 4px 8px rgba(0, 97, 255, 0.2));
}

.stat-card:hover .stat-icon {
  transform: scale(1.3) rotate(10deg);
  filter: drop-shadow(0 8px 16px rgba(0, 97, 255, 0.4));
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--accent) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  line-height: 1;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 4px rgba(0, 97, 255, 0.2));
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 4px;
}

.stat-sublabel {
  font-size: 0.8rem;
  color: var(--text-lighter);
  font-weight: 500;
}

/* ========================================
   FEATURED APPLICATIONS SECTION
   ======================================== */
.projects {
  padding: 120px 40px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.projects::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--primary), transparent);
  opacity: 0.5;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(0, 97, 255, 0.15), rgba(96, 239, 255, 0.1));
  border: 1px solid rgba(0, 97, 255, 0.3);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: tagFloat 3s ease-in-out infinite;
}

.section-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes tagFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.section-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text) 0%, var(--primary) 50%, var(--accent) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientText 6s ease infinite;
}

@keyframes gradientText {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Apps Grid - Project Cards Layout */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Project Card Styles */
.project-card {
  position: relative;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  will-change: transform, opacity;
}

.project-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.project-card:nth-child(1) { transition-delay: 0.1s; }
.project-card:nth-child(2) { transition-delay: 0.2s; }
.project-card:nth-child(3) { transition-delay: 0.3s; }

/* Card Glow Effect */
.project-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary));
  background-size: 400% 400%;
  border-radius: 30px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
  animation: gradientRotate 4s ease infinite;
}

@keyframes gradientRotate {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

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

.project-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 30px 60px rgba(0, 97, 255, 0.2),
    0 0 0 1px rgba(0, 97, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Card Inner Container */
.project-card-inner {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-radius: 27px;
  overflow: hidden;
}

/* Card Image/Icon Area */
.project-image {
  position: relative;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(0, 97, 255, 0.1) 0%,
    rgba(96, 239, 255, 0.05) 100%
  );
  overflow: hidden;
}

.project-image::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(0, 97, 255, 0.15) 0%,
    transparent 50%
  );
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

/* App Icon Styling */
.app-icon-large {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  z-index: 2;
}

.app-icon-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .app-icon-large {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 
    0 25px 50px rgba(0, 97, 255, 0.4),
    0 0 0 1px rgba(0, 97, 255, 0.3);
}

.project-card:hover .app-icon-large img {
  transform: scale(1.1);
}

/* Floating Elements Around Icon */
.icon-decoration {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 97, 255, 0.2), rgba(96, 239, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.icon-decoration:nth-child(2) {
  top: 20px;
  right: 30px;
  width: 40px;
  height: 40px;
  transform: rotate(15deg);
}

.icon-decoration:nth-child(3) {
  bottom: 25px;
  left: 25px;
  width: 50px;
  height: 50px;
  transform: rotate(-10deg);
}

.project-card:hover .icon-decoration {
  opacity: 1;
}

.project-card:hover .icon-decoration:nth-child(2) {
  transform: rotate(25deg) translateY(-10px);
}

.project-card:hover .icon-decoration:nth-child(3) {
  transform: rotate(-20deg) translateX(-10px);
}

/* Card Content */
.project-content {
  padding: 28px 32px 32px;
}

.project-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.project-title .rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
}

.project-title .rating svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.project-description {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tech Tags */
.project-tech {
  margin-bottom: 24px;
}

.project-tech h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-lighter);
  margin-bottom: 12px;
  font-weight: 600;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  padding: 6px 14px;
  background: rgba(0, 97, 255, 0.08);
  border: 1px solid rgba(0, 97, 255, 0.15);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary);
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: rgba(0, 97, 255, 0.15);
  border-color: rgba(0, 97, 255, 0.3);
  transform: translateY(-2px);
}

/* Project Links */
.project-links {
  display: flex;
  gap: 12px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.project-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-link:hover::before {
  opacity: 1;
}

.project-link span,
.project-link svg {
  position: relative;
  z-index: 1;
}

.project-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 97, 255, 0.4);
}

.project-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.view-details-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.view-details-btn:hover {
  background: var(--bg-secondary);
  border-color: var(--primary);
}

.view-details-btn::before {
  display: none;
}

/* ========================================
   APP STORE STYLE MODAL
   ======================================== */
.app-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  z-index: 10000;
  overflow-y: auto;
}

.app-modal.active {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  animation: modalFadeIn 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.app-modal-content {
  background: linear-gradient(
    180deg,
    var(--bg) 0%,
    var(--bg-secondary) 100%
  );
  border-radius: 32px;
  max-width: 1100px;
  width: 100%;
  position: relative;
  animation: modalSlideUp 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 
    0 50px 100px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(80px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: fixed;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10002;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg) scale(1.1);
}

/* Modal Header */
.modal-header {
  padding: 40px 48px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 97, 255, 0.1) 0%,
    rgba(96, 239, 255, 0.05) 100%
  );
  z-index: 0;
}

.modal-app-icon {
  width: 140px;
  height: 140px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.modal-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-app-info {
  flex: 1;
  position: relative;
  z-index: 1;
}

.modal-app-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.modal-app-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

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

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.4s ease;
  border: none;
  cursor: pointer;
}

.app-store-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 97, 255, 0.4);
}

.app-store-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* App Metadata */
.app-metadata {
  padding: 32px 48px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.metadata-item {
  text-align: center;
  padding: 16px 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
}

.metadata-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-3px);
}

.metadata-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.metadata-value .stars {
  color: #fbbf24;
  font-size: 1.1rem;
}

.metadata-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-lighter);
  font-weight: 600;
}

/* Screenshots Section */
.app-screenshots {
  padding: 48px;
}

.screenshots-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 32px;
}

.screenshots-gallery {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 20px 0 40px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

.screenshots-gallery::-webkit-scrollbar {
  height: 8px;
}

.screenshots-gallery::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 4px;
}

.screenshots-gallery::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 4px;
}

.screenshot-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.screenshot-item:hover {
  transform: translateY(-10px) scale(1.02);
}

.screenshot-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #667eea 0%,
    #764ba2 50%,
    #6B8DD6 100%
  );
  padding: 32px 24px;
  min-width: 320px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.screenshot-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 30% 20%,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 50%
  );
}

.screenshot-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  line-height: 1.4;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.screenshot-phone {
  position: relative;
  z-index: 1;
  max-width: 200px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.screenshot-phone img {
  width: 100%;
  display: block;
}

/* App Features Section */
.app-features {
  padding: 48px;
  border-top: 1px solid var(--border);
}

.features-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

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

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 97, 255, 0.2);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 97, 255, 0.2), rgba(96, 239, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

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

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

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
  padding: 120px 40px;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(0, 97, 255, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(96, 239, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.testimonials-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.testimonials-carousel-wrapper {
  position: relative;
  margin-top: 60px;
  padding: 20px 0 80px;
}

.testimonials-carousel {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 20px 0;
  position: relative;
}

.testimonials-carousel::-webkit-scrollbar {
  display: none;
}

.testimonial {
  flex: 0 0 calc(33.333% - 20px);
  min-width: 350px;
  padding: 40px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 8px 32px rgba(99, 102, 241, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.testimonial::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(0, 97, 255, 0.1) 40%,
    rgba(96, 239, 255, 0.1) 60%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.6s ease;
  animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  50% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.testimonial:hover::before {
  opacity: 1;
}

.testimonial:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 
    0 25px 50px rgba(99, 102, 241, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(0, 97, 255, 0.4);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 97, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.testimonial:hover .testimonial-avatar {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.5);
}

.testimonial-info {
  flex: 1;
  position: relative;
  z-index: 1;
}

.testimonial-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

.stars {
  color: #fbbf24;
  font-size: 1.3rem;
  margin-bottom: 20px;
  display: inline-block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { 
    opacity: 1; 
    transform: scale(1);
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
  }
  50% { 
    opacity: 0.9; 
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(251, 191, 36, 0.5));
  }
}

.testimonial-text {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1rem;
  position: relative;
  z-index: 1;
  font-style: italic;
}

.testimonial-quote {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 4rem;
  color: rgba(0, 97, 255, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
  z-index: 0;
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(0, 97, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.carousel-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.carousel-btn:hover {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 8px 25px rgba(0, 97, 255, 0.5);
}

.carousel-btn:active {
  transform: scale(1.05) rotate(2deg);
}

.carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: scale(0.9);
}

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

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.carousel-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-dot:hover {
  transform: scale(1.3);
  background: var(--primary);
}

.carousel-dot.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transform: scale(1.2);
  box-shadow: 0 0 0 4px rgba(0, 97, 255, 0.2);
}

.carousel-dot.active::before {
  opacity: 0.3;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */
@media (max-width: 1200px) {
  .hero-container {
    grid-template-columns: 1fr;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .apps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .testimonial {
    min-width: calc(50% - 15px);
    flex: 0 0 calc(50% - 15px);
  }

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

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 20px 40px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .image-container {
    max-width: 250px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .stats-section {
    padding: 30px 20px 40px;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-card {
    padding: 20px 16px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .projects {
    padding: 80px 20px;
  }

  .apps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-content {
    padding: 24px;
  }

  .testimonials {
    padding: 60px 20px;
  }

  .testimonials-carousel-wrapper {
    margin-top: 40px;
    padding: 10px 0 60px;
  }

  .testimonial {
    padding: 28px;
    min-width: 100%;
    flex: 0 0 calc(100% - 20px);
  }

  .testimonial-avatar {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }

  .testimonial-quote {
    font-size: 3rem;
    top: 15px;
    right: 15px;
  }

  .app-metadata {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px;
    gap: 16px;
  }

  .modal-header {
    flex-direction: column;
    padding: 32px 24px;
    text-align: center;
  }

  .modal-app-icon {
    margin: 0 auto;
  }

  .modal-app-actions {
    justify-content: center;
  }

  .app-screenshots {
    padding: 32px 20px;
  }

  .screenshot-card {
    min-width: 280px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .app-features {
    padding: 32px 24px;
  }
}
