:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #8b5cf6;
  --accent: #06b6d4;
  --accent2: #ec4899;
  --success: #22c55e;
  --warning: #f59e0b;
  --bg-dark: #0a0a1a;
  --bg-darker: #050510;
  --bg-card: rgba(30, 41, 59, 0.7);
  --bg-card-solid: #1e293b;
  --bg-card-hover: rgba(51, 65, 85, 0.8);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-accent: linear-gradient(135deg, var(--primary), var(--accent));
  --gradient-warm: linear-gradient(135deg, #f59e0b, #ec4899);
  --gradient-cool: linear-gradient(135deg, #06b6d4, #3b82f6);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.4);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Material Icon Base */
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'liga';
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-60px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes rotateIn {
  from { opacity: 0; transform: rotate(-10deg) scale(0.9); }
  to { opacity: 1; transform: rotate(0) scale(1); }
}

@keyframes slideInBounce {
  0% { opacity: 0; transform: translateY(100px); }
  60% { transform: translateY(-10px); }
  80% { transform: translateY(5px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.3); }
  50% { box-shadow: 0 0 40px rgba(99, 102, 241, 0.6); }
}

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

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-15px) rotate(2deg); }
  66% { transform: translateY(-5px) rotate(-2deg); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

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

@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  0%, 100% { border-color: transparent; }
  50% { border-color: var(--primary); }
}

@keyframes ripple {
  0% { transform: scale(0); opacity: 0.5; }
  100% { transform: scale(4); opacity: 0; }
}

@keyframes morphBlob {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  50% { border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%; }
  75% { border-radius: 60% 40% 60% 40% / 60% 40% 30% 70%; }
}

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

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

@keyframes iconRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes borderGlow {
  0%, 100% { border-color: rgba(99, 102, 241, 0.3); }
  50% { border-color: rgba(99, 102, 241, 0.8); }
}

/* Animation Classes */
.fade-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.rotate-in {
  opacity: 0;
  transform: rotate(-10deg) scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.rotate-in.visible {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.bounce-in {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55), transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bounce-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(10, 10, 26, 0.95);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(99, 102, 241, 0.3);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.02);
}

.logo img {
  height: 45px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.3));
  transition: var(--transition);
}

.logo:hover img {
  filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5));
}

.nav-links {
  display: flex;
  gap: 35px;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

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

.nav-links a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 50%;
  transition: var(--transition);
  transform: translate(-50%, -50%);
  z-index: -1;
}

.nav-links a:hover::before {
  width: 120%;
  height: 300%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 3px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ========== HERO SECTION ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg-darker);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
  animation: gradientShift 15s ease infinite;
  background-size: 200% 200%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  animation: fadeInLeft 1s ease forwards;
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
  letter-spacing: -0.02em;
}

.hero-text h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

.hero-text .tagline {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 15px;
  padding: 8px 16px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 30px;
  animation: fadeInDown 0.8s ease forwards;
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 35px;
  max-width: 520px;
  line-height: 1.8;
}

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

.btn {
  padding: 16px 36px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-bounce);
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: width 0.6s, height 0.6s;
  transform: translate(-50%, -50%);
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(99, 102, 241, 0.5);
}

.btn-secondary:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--primary);
  transform: translateY(-4px);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease forwards;
}

/* Animated Background Blobs */
.blob {
  position: absolute;
  filter: blur(60px);
  opacity: 0.6;
  animation: morphBlob 8s ease-in-out infinite;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--gradient);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  bottom: -50px;
  right: -50px;
  animation-delay: 2s;
}

.blob-3 {
  width: 200px;
  height: 200px;
  background: var(--gradient-warm);
  top: 50%;
  right: 10%;
  animation-delay: 4s;
}

/* Phone Mockup */
.phone-mockup {
  position: relative;
  width: 300px;
  height: 600px;
  background: linear-gradient(145deg, #2a2a4a, #1a1a2e);
  border-radius: 45px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(99, 102, 241, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 30px;
  background: #0a0a1a;
  border-radius: 0 0 20px 20px;
  z-index: 10;
}

.phone-mockup::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #1a1a2e;
  border-radius: 50%;
  z-index: 11;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--gradient);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  position: relative;
}

.phone-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(0,0,0,0.2) 100%);
}

.phone-screen .app-icon {
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}

.phone-screen .app-icon:hover {
  transform: scale(1.1) rotate(5deg);
}

.phone-screen .app-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.phone-screen .app-rating {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(30, 41, 59, 0.9);
  backdrop-filter: blur(15px);
  padding: 16px 24px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
  border: 1px solid rgba(99, 102, 241, 0.2);
  animation: float 4s ease-in-out infinite;
}

.floating-badge.downloads {
  top: 15%;
  right: -30px;
}

.floating-badge.rating {
  bottom: 15%;
  left: -30px;
  animation-delay: 2s;
}

.floating-badge .badge-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.floating-badge .badge-icon .material-icons {
  font-size: 24px;
}

.floating-badge .badge-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.floating-badge .badge-value {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-primary);
}

/* ========== STATS SECTION ========== */
.stats {
  padding: 70px 0;
  background: linear-gradient(180deg, var(--bg-card-solid) 0%, var(--bg-darker) 100%);
  position: relative;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.stats::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 30px 20px;
  border-radius: 16px;
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: var(--transition);
}

.stat-item:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-5px);
}

.stat-item .material-icons {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 15px;
  display: block;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 10px;
}

/* ========== SECTION STYLES ========== */
.section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary);
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.section-badge .material-icons {
  font-size: 18px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========== SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  padding: 45px 35px;
  border-radius: 20px;
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top left, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(99, 102, 241, 0.15);
}

.service-card:hover::before {
  transform: scaleX(1);
}

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

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
  transition: var(--transition-bounce);
}

.service-icon .material-icons {
  font-size: 32px;
  color: white;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ========== PORTFOLIO ========== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.app-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: var(--transition);
  position: relative;
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
  pointer-events: none;
}

.app-card:hover {
  transform: translateY(-12px);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.4),
    0 0 50px rgba(99, 102, 241, 0.15);
}

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

.app-preview {
  height: 200px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  position: relative;
  overflow: hidden;
}

.app-preview::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  animation: shimmer 3s linear infinite;
}

.app-preview .material-icons {
  font-size: 70px;
  color: white;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 15px rgba(0,0,0,0.3));
  transition: var(--transition);
}

.app-card:hover .app-preview .material-icons {
  transform: scale(1.15) rotate(5deg);
}

.app-info {
  padding: 28px;
  position: relative;
  z-index: 2;
}

.app-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.app-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 18px;
  line-height: 1.6;
}

.app-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 18px;
}

.app-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.app-stat .material-icons {
  font-size: 18px;
  color: var(--warning);
}

.app-stat.downloads .material-icons {
  color: var(--accent);
}

.store-badges {
  display: flex;
  gap: 12px;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.store-badge .material-icons {
  font-size: 18px;
}

.store-badge:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

/* ========== ABOUT SECTION ========== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-main {
  width: 100%;
  height: 450px;
  background: var(--gradient);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.about-image-main::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%);
  animation: shimmer 4s linear infinite;
}

.about-image-main .material-icons {
  font-size: 120px;
  color: white;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

.about-text h2 {
  font-size: 2.4rem;
  margin-bottom: 25px;
  letter-spacing: -0.02em;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 1.05rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 35px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(99, 102, 241, 0.05);
  border-radius: 12px;
  transition: var(--transition);
}

.about-feature:hover {
  background: rgba(99, 102, 241, 0.1);
  transform: translateX(5px);
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-feature-icon .material-icons {
  font-size: 22px;
  color: white;
}

/* ========== TEAM SECTION ========== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
}

.team-card {
  text-align: center;
  padding: 35px 25px;
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-10px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.team-avatar {
  width: 130px;
  height: 130px;
  background: var(--gradient);
  border-radius: 50%;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.3);
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.team-avatar::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
  animation: shimmer 3s linear infinite;
}

.team-avatar .material-icons {
  font-size: 55px;
  color: white;
  position: relative;
  z-index: 1;
}

.team-card:hover .team-avatar {
  transform: scale(1.1);
}

.team-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.team-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ========== CONTACT SECTION ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.contact-info h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 35px;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  background: rgba(99, 102, 241, 0.05);
  border-radius: 14px;
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: var(--transition);
}

.contact-item:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateX(8px);
}

.contact-icon {
  width: 55px;
  height: 55px;
  background: var(--gradient);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon .material-icons {
  font-size: 26px;
  color: white;
}

.contact-item-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 35px;
}

.social-link {
  width: 50px;
  height: 50px;
  background: var(--bg-card);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-bounce);
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.social-link .material-icons {
  font-size: 24px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--gradient);
  border-color: transparent;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.social-link:hover .material-icons {
  color: white;
}

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  padding: 45px;
  border-radius: 24px;
  border: 1px solid rgba(99, 102, 241, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group label .material-icons {
  font-size: 18px;
  color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px 20px;
  background: rgba(10, 10, 26, 0.6);
  border: 2px solid rgba(99, 102, 241, 0.15);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
  background: rgba(10, 10, 26, 0.8);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

/* ========== NEWSLETTER ========== */
.newsletter {
  padding: 100px 0;
  background: var(--gradient);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.newsletter h2 {
  font-size: 2.4rem;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.newsletter p {
  margin-bottom: 35px;
  opacity: 0.9;
  font-size: 1.15rem;
  position: relative;
  z-index: 1;
}

.newsletter-form {
  display: flex;
  max-width: 520px;
  margin: 0 auto;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.newsletter-form input {
  flex: 1;
  padding: 18px 24px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.newsletter-form input:focus {
  outline: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.newsletter-form button {
  padding: 18px 35px;
  background: var(--bg-dark);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-bounce);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.newsletter-form button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-card-solid);
  padding: 70px 0 35px;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 45px;
  margin-bottom: 45px;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 18px;
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 1.05rem;
  margin-bottom: 22px;
  color: var(--text-primary);
  font-weight: 700;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  color: var(--text-secondary);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a .material-icons {
  font-size: 18px;
  color: var(--primary);
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-links a:hover .material-icons {
  opacity: 1;
  transform: translateX(0);
}

.footer-bottom {
  padding-top: 35px;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 25px;
}

.footer-bottom-links a {
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ========== PAGE HERO ========== */
.page-hero {
  padding: 160px 0 100px;
  text-align: center;
  background: var(--bg-darker);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.2) 0%, transparent 50%);
  animation: gradientShift 10s ease infinite;
  background-size: 200% 200%;
}

.page-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}

.page-hero p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
}

/* ========== LEGAL CONTENT ========== */
.legal-content {
  max-width: 850px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.6rem;
  margin: 35px 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-content h2 .material-icons {
  color: var(--primary);
  font-size: 28px;
}

.legal-content h3 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
}

.legal-content p {
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.8;
}

.legal-content ul {
  margin-bottom: 18px;
  padding-left: 25px;
}

.legal-content ul li {
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.legal-content ul li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gradient);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

/* ========== DOWNLOAD COUNTER ========== */
.download-counter {
  text-align: center;
  padding: 60px 40px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  margin: 50px 0;
  border: 1px solid rgba(99, 102, 241, 0.1);
  position: relative;
  overflow: hidden;
}

.download-counter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

.download-counter .material-icons {
  font-size: 60px;
  color: var(--primary);
  margin-bottom: 20px;
  display: block;
  position: relative;
  z-index: 1;
  animation: iconBounce 2s ease-in-out infinite;
}

.counter-number {
  font-size: 5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
  line-height: 1;
}

.counter-label {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-top: 15px;
  position: relative;
  z-index: 1;
}

/* ========== SUCCESS MESSAGE ========== */
.success-message {
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #22c55e;
  padding: 18px 24px;
  border-radius: 12px;
  margin-top: 18px;
  font-weight: 500;
}

.success-message .material-icons {
  font-size: 24px;
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p {
    margin: 0 auto 35px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

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

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

  .about-content {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 26, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    gap: 30px;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    font-size: 1.3rem;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-text h1 {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

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

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }

  .section {
    padding: 80px 0;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2.2rem;
  }

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

  .counter-number {
    font-size: 3rem;
  }
}
