/* style.css */
/* DeepWeb - Modern Redesign v2.0 */
/* Author: DeepWeb Team | Date: 2025-09-18 */

:root {
  /* Color System */
  --black: #05060a;
  --white: #ffffff;
  --yellow: #FFD700;
  --red: #FF0055;
  --accent: #00E0FF;
  --accent-alt: #9B59B6;
  
  /* Extended Palette */
  --primary: #00E0FF;
  --secondary: #FF0055;
  --tertiary: #FFD700;
  --quaternary: #9B59B6;
  --success: #00FF77;
  
  /* Backgrounds */
  --bg-dark: #05060a;
  --bg-card: #0f1116;
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-heavy: rgba(255, 255, 255, 0.08);
  
  /* Text */
  --text-primary: #e6eef6;
  --text-secondary: #9aa0a6;
  --text-muted: #6b7280;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--quaternary));
  --gradient-accent: linear-gradient(135deg, var(--secondary), var(--tertiary), var(--primary));
  --gradient-neon: linear-gradient(90deg, var(--primary), var(--tertiary), var(--secondary), var(--quaternary));
  --gradient-dark: linear-gradient(135deg, var(--black), #0a0a1a);
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Borders */
  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 2rem;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(0, 224, 255, 0.3);
  --shadow-glow-red: 0 0 20px rgba(255, 0, 85, 0.3);
  --shadow-glow-yellow: 0 0 20px rgba(255, 215, 0, 0.3);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* =============== BASE =============== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-primary);
  background: var(--bg-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* =============== TYPOGRAPHY =============== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--space-md);
}

/* =============== PRELOADER =============== */
/* style.css - continued */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-dark);
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
  color: var(--white);
}

.preloader-inner .logo {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  text-shadow: 0 0 18px rgba(0, 224, 255, 0.4);
  margin-bottom: var(--space-lg);
}

.loader-bars {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: var(--space-lg) 0;
}

.loader-bars span {
  display: inline-block;
  width: 8px;
  height: 28px;
  background: var(--primary);
  border-radius: 6px;
  animation: bar 1s infinite;
}

.loader-bars span:nth-child(2) {
  animation-delay: 0.15s;
}

.loader-bars span:nth-child(3) {
  animation-delay: 0.3s;
}

.loader-bars span:nth-child(4) {
  animation-delay: 0.45s;
}

@keyframes bar {
  0% {
    transform: scaleY(0.4);
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
  100% {
    transform: scaleY(0.4);
    opacity: 0.4;
  }
}

.pre-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* =============== NAVIGATION =============== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(5, 6, 10, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bg-glass-heavy);
  transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(5, 6, 10, 0.95);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
}

.brand {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.4px;
  color: var(--primary);
  text-shadow: 0 0 12px rgba(0, 224, 255, 0.3);
}

.nav-links {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--border-radius);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-normal);
}

.nav-link:hover::before,
.nav-link:focus::before,
.nav-link.active::before {
  width: 100%;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--primary);
  background: var(--bg-glass);
}

.nav-link.cta {
  background: var(--gradient-primary);
  color: var(--black);
  font-weight: 700;
  box-shadow: var(--shadow-glow);
  border: none;
}

.nav-link.cta:hover,
.nav-link.cta:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 224, 255, 0.4);
}

.hamburger {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: var(--space-sm);
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* =============== HERO SECTION =============== */
.hero {
  position: relative;
  padding: var(--space-3xl) 0;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.animated-gradient-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    45deg,
    var(--black),
    #0a0a1a,
    #0f172a,
    #1e293b,
    #0f172a,
    #0a0a1a,
    var(--black)
  );
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  opacity: 0.7;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-2xl);
}

.hero-left {
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: var(--space-sm);
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
  text-shadow: 0 0 20px rgba(0, 224, 255, 0.3);
  animation: neonPulse 3s infinite alternate;
}

@keyframes neonPulse {
  from {
    text-shadow: 0 0 5px rgba(0, 224, 255, 0.3), 0 0 10px rgba(0, 224, 255, 0.2);
  }
  to {
    text-shadow: 0 0 20px rgba(0, 224, 255, 0.6), 0 0 30px rgba(0, 224, 255, 0.4), 0 0 40px rgba(0, 224, 255, 0.3);
  }
}

.hero-sub {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-tagline {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-md);
  min-height: 1.5em;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-text {
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.btn {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--border-radius);
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  position: relative;
  overflow: hidden;
}

.btn.primary {
  background: var(--gradient-primary);
  color: var(--black);
  box-shadow: var(--shadow-glow);
}

.btn.primary:hover,
.btn.primary:focus {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 224, 255, 0.4);
  animation: pulse 1.5s infinite;
}

.btn.outline {
  background: transparent;
  border: 1px solid var(--bg-glass-heavy);
  color: var(--text-primary);
}

.btn.outline:hover,
.btn.outline:focus {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.btn.small {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.9rem;
}

.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }
  100% {
    transform: scale(20, 20);
    opacity: 0;
  }
}

.hero-right {
  display: flex;
  justify-content: center;
  animation: fadeInRight 1s ease-out;
}

.device-card {
  width: 100%;
  max-width: 420px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #071019, #0f1820);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  border: 1px solid var(--bg-glass-heavy);
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform var(--transition-normal);
}

.device-card:hover {
  transform: translateY(-10px) rotate3d(1, 1, 0, 5deg);
}

.device-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-normal);
}

.device-card:hover img {
  transform: scale(1.05);
}

.device-glow {
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  mix-blend-mode: overlay;
  transition: opacity var(--transition-normal);
}

.device-card:hover .device-glow {
  opacity: 0.2;
}

/* =============== SECTIONS =============== */
.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, var(--bg-glass), transparent);
}

.section-head {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  position: relative;
  display: inline-block;
}

.section-title.neon {
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientFlow 6s ease infinite;
  text-shadow: 0 0 15px rgba(0, 224, 255, 0.4);
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.section-desc {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* =============== CARDS GRID =============== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.fancy-card-wrapper {
  perspective: 1000px;
  height: 300px;
}

.fancy-card-flip {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fancy-card-wrapper:hover .fancy-card-flip {
  transform: rotateY(180deg);
}

.fancy-card {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.fancy-card.front {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-heavy);
  box-shadow: var(--shadow-md);
}

.fancy-card.front::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius-lg);
  padding: 2px;
  background: var(--gradient-primary);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: gradientFlow 5s linear infinite;
}

.fancy-card.back {
  background: var(--gradient-dark);
  transform: rotateY(180deg);
  border: 1px solid var(--bg-glass-heavy);
  box-shadow: var(--shadow-md);
  text-align: left;
  justify-content: flex-start;
  padding-top: var(--space-xl);
}

.fancy-card.back h4 {
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.fancy-card.back ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fancy-card.back ul li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
}

.fancy-card.back ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.icon-wrap {
  width: 70px;
  height: 70px;
  margin-bottom: var(--space-lg);
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulseGlow 3s infinite ease-in-out;
}

@keyframes pulseGlow {
  0% { 
    box-shadow: 0 0 10px var(--primary), 0 0 20px rgba(0, 224, 255, 0.3); 
  }
  50% { 
    box-shadow: 0 0 20px var(--quaternary), 0 0 40px rgba(155, 89, 182, 0.3); 
  }
  100% { 
    box-shadow: 0 0 10px var(--primary), 0 0 20px rgba(0, 224, 255, 0.3); 
  }
}

.icon {
  font-size: 28px;
  color: var(--white);
}

.fancy-card h4 {
  margin: var(--space-sm) 0;
  font-size: 1.3rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fancy-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* =============== PORTFOLIO =============== */
.portfolio-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.portfolio-item {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #081018, #061018);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
}

.portfolio-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.portfolio-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-normal), filter var(--transition-normal);
}

.portfolio-item:hover img {
  transform: scale(1.1);
  filter: brightness(0.8);
}

.portfolio-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.9));
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
  transition: opacity var(--transition-normal);
}

.portfolio-item:hover .overlay {
  opacity: 1;
}

.portfolio-item h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin: 0 0 var(--space-xs);
}

.portfolio-item .category {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

.portfolio-item .desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: var(--space-sm);
  line-height: 1.4;
}

/* =============== STATS SECTION =============== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  align-items: center;
}

.stat.card {
  background: var(--bg-glass);
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  text-align: center;
  border: 1px solid var(--bg-glass-heavy);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.stat.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.stat.card:hover::before {
  transform: scaleX(1);
}

.stat.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

/* =============== TESTIMONIALS =============== */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
  margin: var(--space-xl) 0;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: var(--space-lg);
}

.testimonial {
  flex: 0 0 100%;
  background: rgba(26, 26, 26, 0.75);
  backdrop-filter: blur(10px);
  padding: var(--space-2xl);
  border-radius: var(--border-radius-lg);
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  text-align: center;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(0, 224, 255, 0.2), 0 0 40px rgba(0, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 0 30px #0ef, 0 0 50px rgba(0, 224, 255, 0.2);
}

/* Quote Icon Design */
.testimonial::before {
  content: "“";
  font-size: 4rem;
  color: var(--primary);
  position: absolute;
  top: 15px;
  left: 20px;
  opacity: 0.1;
  font-weight: bold;
}

.testimonial .stars {
  color: var(--tertiary);
  margin-bottom: var(--space-md);
  font-size: 1.4rem;
  text-shadow: 0 0 5px var(--tertiary);
}

.testimonial .quote {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.testimonial .author {
  font-weight: 700;
  color: var(--gradient-neon);
  font-size: 1.1rem;
  margin-top: var(--space-sm);
  text-shadow: 0 0 10px rgba(0, 224, 255, 0.5);
}

/* Controls */
.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.testimonial-prev,
.testimonial-next {
  background: rgba(26, 26, 26, 0.7);
  border: 2px solid var(--gradient-neon);
  color: var(--text-primary);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: var(--gradient-neon);
  color: var(--black);
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: 0 0 15px #0ef, 0 0 30px rgba(0, 224, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial-track {
    flex-direction: column;
    gap: var(--space-lg);
  }
}


/* =============== BLOGS =============== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.blog-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--bg-glass-heavy);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.blog-card.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.blog-card:hover img {
  transform: scale(1.05);
}

.blog-body {
  padding: var(--space-lg);
}

.blog-body .date {
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.blog-body h4 {
  margin: var(--space-sm) 0;
  font-size: 1.2rem;
  color: var(--text-primary);
}

.blog-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* =============== WHY CHOOSE US =============== */
.why-choose-us {
  padding: var(--space-3xl) 0;
  background: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(10px);
}

.why-choose-us .section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: var(--space-lg);
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientFlow 6s infinite linear;
  text-shadow: 0 0 10px rgba(0, 224, 255, 0.4);
}

.why-choose-us .section-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
  text-align: center;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.feature {
  perspective: 1200px;
  height: 300px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
}

.feature:hover .card-inner {
  transform: rotateY(180deg) scale(1.05);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  background: rgba(26, 26, 26, 0.85);
  border: 2px solid transparent;
  background-clip: padding-box;
  overflow: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-front::before,
.card-back::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius-lg);
  padding: 2px;
  background: var(--gradient-neon);
  background-size: 400% 400%;
  animation: gradientFlow 5s infinite linear;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.feature:hover .card-front,
.feature:hover .card-back {
  box-shadow: 0 0 20px var(--primary), 0 0 40px var(--quaternary);
}

.card-front h3,
.card-back h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-md);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.card-front ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-front ul li {
  position: relative;
  margin: var(--space-sm) 0;
  padding-left: var(--space-lg);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.card-front ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--primary);
  text-shadow: 0 0 8px var(--primary);
}

.card-back {
  transform: rotateY(180deg);
  color: var(--text-secondary);
  text-align: center;
  justify-content: space-between;
}

.card-back p {
  margin-bottom: var(--space-lg);
}

.contact-icon {
  display: inline-block;
  font-size: 0.95rem;
  padding: var(--space-sm) var(--space-md);
  background: var(--gradient-primary);
  color: var(--black);
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.contact-icon:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

/* =============== CONTACT SECTION =============== */
.contact {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, #0a0a0a, #111, #1a1a1a);
  position: relative;
  overflow: hidden;
}

.contact .section-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.contact .section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientFlow 8s ease infinite;
}

.contact .section-title p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.contact-container {
  display: flex;
  gap: var(--space-2xl);
  flex-wrap: wrap;
  justify-content: center;
}

.contact-info,
.contact-form {
  flex: 1;
  min-width: 300px;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
  color: var(--primary);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--border-radius);
  transition: transform var(--transition-normal), background var(--transition-normal);
  background: rgba(255, 255, 255, 0.03);
}

.contact-item:hover {
  transform: translateX(8px);
  background: rgba(255, 255, 255, 0.1);
}

.contact-item i {
  font-size: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-item h4 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.contact-item p,
.contact-item a {
  color: var(--text-secondary);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--primary);
}

.bounce-icon {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-form input,
.contact-form textarea {
  padding: var(--space-md);
  border: 2px solid;
  border-image-slice: 1;
  border-width: 2px;
  border-image-source: var(--gradient-primary);
  border-radius: var(--border-radius);
  outline: none;
  background: var(--bg-card);
  color: var(--text-primary);
  transition: all var(--transition-normal);
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  transform: scale(1.02);
  box-shadow: var(--shadow-glow);
  border-image-source: var(--gradient-accent);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.glow-btn {
  padding: var(--space-md);
  font-weight: 700;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  background: var(--gradient-accent);
  background-size: 400% 400%;
  color: var(--black);
  font-size: 1rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  animation: gradientFlow 5s ease infinite;
}

.glow-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px var(--secondary), 0 0 50px var(--primary);
}

.socials {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--bg-glass-heavy);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.social:hover {
  transform: translateY(-4px) rotate(5deg);
  box-shadow: var(--shadow-glow);
  color: var(--primary);
}

.call-icon {
  position: fixed;
  right: var(--space-lg);
  bottom: var(--space-lg);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-glow);
  z-index: 100;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  animation: pulse 1.5s infinite;
}

.call-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px var(--primary), 0 0 50px rgba(0, 224, 255, 0.5);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* =============== FOOTER =============== */
.footer {
  background: linear-gradient(135deg, #111, #222, #111);
  padding: var(--space-3xl) 0 var(--space-lg);
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand .brand {
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientFlow 6s ease infinite;
  margin-bottom: var(--space-md);
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.footer-brand .socials {
  display: flex;
  gap: var(--space-sm);
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-normal), transform var(--transition-normal);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-section p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
}

/* style.css - continued */
.btn-contact {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  font-weight: 600;
  border-radius: var(--border-radius);
  background: var(--gradient-primary);
  color: var(--black);
  text-decoration: none;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* =============== MODALS =============== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
}

.modal-content {
  width: 100%;
  max-width: 900px;
  background: linear-gradient(135deg, #071018, #0b1216);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--bg-glass-heavy);
  box-shadow: var(--shadow-lg);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.careers-modal h3 {
  margin-bottom: var(--space-lg);
  text-align: center;
}

.careers-modal iframe {
  border-radius: var(--border-radius);
  border: none;
}

.close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-normal);
}

.close:hover {
  background: var(--bg-glass);
  transform: rotate(90deg);
}

.close.small {
  font-size: 1.2rem;
  width: 30px;
  height: 30px;
}

/* =============== LIGHTBOX =============== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.95);
  padding: var(--space-lg);
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

#lightCaption {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  text-align: center;
  background: rgba(0, 0, 0, 0.7);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--border-radius);
  max-width: 80%;
}

/* =============== ANIMATIONS =============== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: var(--shadow-glow);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--primary), 0 0 50px rgba(0, 224, 255, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: var(--shadow-glow);
  }
}

.animate-in {
  animation: fadeInUp 0.8s ease-out both;
}

/* Stagger animations for grid items */
.cards-grid > *:nth-child(1) { animation-delay: 0.1s; }
.cards-grid > *:nth-child(2) { animation-delay: 0.2s; }
.cards-grid > *:nth-child(3) { animation-delay: 0.3s; }
.cards-grid > *:nth-child(4) { animation-delay: 0.4s; }

.portfolio-grid > *:nth-child(1) { animation-delay: 0.1s; }
.portfolio-grid > *:nth-child(2) { animation-delay: 0.2s; }
.portfolio-grid > *:nth-child(3) { animation-delay: 0.3s; }
.portfolio-grid > *:nth-child(4) { animation-delay: 0.4s; }
.portfolio-grid > *:nth-child(5) { animation-delay: 0.5s; }
.portfolio-grid > *:nth-child(6) { animation-delay: 0.6s; }

.blog-grid > *:nth-child(1) { animation-delay: 0.1s; }
.blog-grid > *:nth-child(2) { animation-delay: 0.2s; }
.blog-grid > *:nth-child(3) { animation-delay: 0.3s; }
.blog-grid > *:nth-child(4) { animation-delay: 0.4s; }
.blog-grid > *:nth-child(5) { animation-delay: 0.5s; }
.blog-grid > *:nth-child(6) { animation-delay: 0.6s; }

/* =============== REDUCED MOTION =============== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .reduce-motion {
    /* Styles for reduced motion */
  }
  
  .particle-canvas {
    display: none !important;
  }
}

/* =============== RESPONSIVE DESIGN =============== */
@media (max-width: 1024px) {
  :root {
    --space-3xl: 3rem;
    --space-2xl: 2rem;
    --space-xl: 1.5rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-content {
    gap: var(--space-xl);
  }
  
  .features {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --space-3xl: 2.5rem;
    --space-2xl: 1.5rem;
    --space-xl: 1.25rem;
    --space-lg: 1rem;
  }
  
  .container {
    padding: 0 var(--space-md);
  }
  
  /* Navigation */
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(5, 6, 10, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: var(--space-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 800;
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .hamburger {
    display: flex;
  }
  
  /* Hero section */
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-sub {
    font-size: 1.25rem;
  }
  
  .hero-text {
    margin: 0 auto var(--space-lg);
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .device-card {
    max-width: 320px;
    margin: 0 auto;
  }
  
  .device-card img {
    height: 260px;
  }
  
  /* Sections */
  .section-title {
    font-size: 2rem;
  }
  
  .section-title.neon {
    font-size: 1.8rem;
  }
  
  /* Cards */
  .cards-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .fancy-card-wrapper {
    height: 280px;
  }
  
  /* Portfolio */
  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  /* Testimonials */
  .testimonial {
    margin: 0;
  }
  
  /* Contact */
  .contact-container {
    flex-direction: column;
  }
  
  .contact-info,
  .contact-form {
    min-width: 100%;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }
  
  .footer-brand .socials {
    justify-content: center;
  }
  
  /* Modals */
  .modal {
    padding: var(--space-md);
  }
  
  .modal-content {
    padding: var(--space-lg);
  }
}

@media (max-width: 480px) {
  :root {
    --space-3xl: 2rem;
    --space-lg: 0.75rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-sub {
    font-size: 1.1rem;
  }
  
  .btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-title.neon {
    font-size: 1.5rem;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
  
  .testimonial-controls {
    gap: var(--space-sm);
  }
  
  .call-icon {
    right: var(--space-md);
    bottom: var(--space-md);
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* =============== UTILITY CLASSES =============== */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-0 {
  margin-top: 0;
}

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-column {
  flex-direction: column;
}

.grid {
  display: grid;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

/* =============== ACCESSIBILITY =============== */
@media (prefers-contrast: high) {
  :root {
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --bg-card: #0a0a0a;
    --bg-glass: rgba(255, 255, 255, 0.1);
  }
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: var(--black);
  padding: var(--space-sm) var(--space-md);
  z-index: 1000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .nav-link {
    border: 1px solid transparent;
  }
  
  .nav-link:hover,
  .nav-link:focus {
    border-color: var(--primary);
  }
  
  .btn.outline {
    border-width: 2px;
  }
}

/* =============== PRINT STYLES =============== */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  .navbar,
  .hero-buttons,
  .contact-form,
  .call-icon,
  .socials,
  .testimonial-controls,
  .portfolio-actions {
    display: none !important;
  }
  
  .container {
    width: 100%;
    max-width: none;
  }
  
  .section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
  
  a {
    text-decoration: underline;
  }
  
  a[href]:after {
    content: " (" attr(href) ")";
  }
  
  .fancy-card-flip {
    transform: none !important;
  }
  
  .fancy-card.back {
    display: none !important;
  }
}

/* =============== DARK MODE SUPPORT =============== */
@media (prefers-color-scheme: dark) {
  /* Default styles are already dark */
}

/* =============== CUSTOM SCROLLBAR =============== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-glass-heavy);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* =============== MARQUEE ANIMATION =============== */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  background: var(--gradient-primary);
  padding: var(--space-sm) 0;
}

.marquee-content {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 20s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* =============== RIPPLE EFFECT =============== */
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple 0.6s linear;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* =============== TYPING ANIMATION =============== */
.typing {
  position: relative;
}

.typing::after {
  content: '|';
  position: absolute;
  right: -8px;
  animation: blink 1s infinite;
}

.typing.typing-complete::after {
  content: '';
  animation: none;
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

/* =============== GLASSMORPHISM =============== */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-heavy {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* =============== 3D TRANSFORMS =============== */
.transform-3d {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.transform-3d:hover {
  transform: rotate3d(1, 1, 0, 5deg) translateZ(10px);
}

/* =============== NEON EFFECTS =============== */
.neon-text {
  text-shadow: 
    0 0 5px currentColor,
    0 0 10px currentColor,
    0 0 20px currentColor,
    0 0 40px var(--primary);
}

.neon-box {
  box-shadow: 
    0 0 5px var(--primary),
    0 0 10px var(--primary),
    0 0 20px var(--primary);
}

/* =============== LOADING STATES =============== */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: loading 1.5s infinite;
}

@keyframes loading {
  100% {
    left: 100%;
  }
}

/* =============== ERROR STATES =============== */
.error {
  border-color: var(--secondary) !important;
  box-shadow: 0 0 0 2px rgba(255, 0, 85, 0.2) !important;
}

.error-message {
  color: var(--secondary);
  font-size: 0.875rem;
  margin-top: var(--space-xs);
}

/* =============== SUCCESS STATES =============== */
.success {
  border-color: var(--success) !important;
  box-shadow: 0 0 0 2px rgba(0, 255, 119, 0.2) !important;
}

.success-message {
  color: var(--success);
  font-size: 0.875rem;
  margin-top: var(--space-xs);
}

/* =============== Z-INDEX MANAGEMENT =============== */
:root {
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-preloader: 9999;
}

/* =============== PERFORMANCE OPTIMIZATIONS =============== */
.will-change {
  will-change: transform, opacity;
}

/* Hardware acceleration for animations */
.transform-gpu {
  transform: translateZ(0);
}

/* =============== ICON ANIMATIONS =============== */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.spin {
  animation: spin 1s linear infinite;
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translate3d(0, 0, 0);
  }
  40%, 43% {
    transform: translate3d(0, -8px, 0);
  }
  70% {
    transform: translate3d(0, -4px, 0);
  }
  90% {
    transform: translate3d(0, -2px, 0);
  }
}

.bounce {
  animation: bounce 1s infinite;
}

@keyframes flash {
  0%, 50%, 100% {
    opacity: 1;
  }
  25%, 75% {
    opacity: 0;
  }
}

.flash {
  animation: flash 1s infinite;
}

/* =============== FINAL TOUCHES =============== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-dark);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

/* Selection styles */
::selection {
  background: var(--primary);
  color: var(--black);
}

::-moz-selection {
  background: var(--primary);
  color: var(--black);
}

/* Placeholder styles */
::-webkit-input-placeholder {
  color: var(--text-muted);
}

::-moz-placeholder {
  color: var(--text-muted);
}

:-ms-input-placeholder {
  color: var(--text-muted);
}

:-moz-placeholder {
  color: var(--text-muted);
}

/* Focus visible polyfill */
.js-focus-visible :focus:not(.focus-visible) {
  outline: none;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .animated-gradient-bg {
    animation: none;
  }
  
  .marquee-content {
    animation: none;
    padding-left: 0;
  }
  
  .typing::after {
    animation: none;
  }
}

/* =============== BROWSER SPECIFIC FIXES =============== */
/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--bg-glass-heavy) var(--bg-dark);
}

/* Safari specific fixes */
@supports (-webkit-touch-callout: none) {
  .hero {
    min-height: -webkit-fill-available;
  }
}

/* IE 11 support (basic fallbacks) */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .gradient-text {
    color: var(--primary) !important;
    background: none !important;
  }
  
  .glass {
    background: rgba(15, 17, 22, 0.95);
  }
}

/* Edge support */
@supports (-ms-ime-align: auto) {
  .gradient-text {
    color: var(--primary);
  }
}


.whatsapp-icon {
  position: fixed;
  bottom: 20px;
  left: 20px;
   width: 60px;       /* Equal width */
  height: 60px;      /* Equal height */
  background-color: #25D366;
  color: #fff;
  font-size: 30px;
  padding: 15px;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  z-index: 1000;
  
  display: flex;              /* Center horizontally & vertically */
  align-items: center;
  justify-content: center;

   text-decoration: none;
  
  animation: pulseBounce 2s infinite; /* continuous animation */
}

/* Continuous Pulse + Glow Animation */
@keyframes pulseBounce {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.6),
                0 0 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.9),
                0 0 30px rgba(37, 211, 102, 0.7);
  }
}


/* =============== OUR PLANS =============== */
#ourplans {
  padding: 80px 0;
  background: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(10px);
}

#ourplans .section-head {
  text-align: center;
  margin-bottom: 50px;
}

#ourplans .section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: var(--space-lg);
  background: var(--gradient-neon); /* neon gradient like Why Choose Us */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientFlow 6s infinite linear; /* animated gradient flow */
  text-shadow: 0 0 10px rgba(0, 224, 255, 0.4); /* glow effect */
}


#ourplans .section-desc {
  font-size: 1.1rem;
  color: #ccc;
}

/* Plans Grid */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-items: center;
}

/* Plan Card */
.plan-card {
  background: rgba(26, 26, 26, 0.85);
  border-radius: 15px;
  padding: 30px 25px 40px;
  box-shadow: 0 0 15px rgba(0, 224, 255, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.plan-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px #0ef, 0 0 50px rgba(0, 224, 255, 0.4);
}

/* Highlight Premium Plan */
.plan-card:nth-child(3) {
  border: 2px solid #ff00ff;
  box-shadow: 0 0 30px #ff00ff, 0 0 60px rgba(255, 0, 255, 0.3);
}

/* Plan Heading */
.plan-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

/* Ideal For */
.plan-card .plan-type {
  font-weight: 600;
  color: #0ef;
  margin-bottom: 20px;
  font-size: 1rem;
}

/* Features List */
.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.plan-card ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: #ccc;
  font-size: 0.95rem;
}

.plan-card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #0ef;
  font-weight: bold;
  text-shadow: 0 0 8px #0ef;
}

/* Choose Plan Button */
.plan-card .btn {
  display: block;
  width: 100%;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(90deg, #0ef, #00bcd4);
  color: #000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
}

.plan-card .btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #0ef, 0 0 40px rgba(0, 224, 255, 0.3);
}

/* Tilt effect placeholder (if JS library used) */
.tilt {
  transform-style: preserve-3d;
}

/* Responsive */
@media (max-width: 768px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
}


/* Colorful animated text for Designed by */
 .designed-by {
  font-weight: bold;
  text-decoration: underline; /* Always underline */
  cursor: pointer; /* Pointer on hover */
  background: linear-gradient(270deg, #ff004c, #ff7f00, #00ff7f, #00bfff, #ff00ff);
  background-size: 1000% 1000%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow 10s ease infinite;
  transition: transform 0.3s;
}

.designed-by:hover {
  transform: scale(1.1); /* Slight zoom on hover */
  text-decoration: underline; /* Keep underline on hover */
}

@keyframes rainbow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
