/* ============================================
   MODERN WEB DESIGN SITE - DESIGN SYSTEM
   ============================================ */

/* === IMPORTS === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* === CSS CUSTOM PROPERTIES === */
:root {
  /* Colors - Dark Theme */
  --color-bg-primary: #0a0a0a;
  --color-bg-secondary: #121212;
  --color-bg-tertiary: #1a1a1a;
  --color-bg-elevated: #1f1f1f;

  /* Accent Colors */
  --color-accent-blue: #00d4ff;
  --color-accent-purple: #a855f7;
  --color-accent-blue-dim: #0099cc;
  --color-accent-purple-dim: #7c3aed;

  /* Text Colors */
  --color-text-primary: #ffffff;
  --color-text-secondary: #b4b4b4;
  --color-text-tertiary: #6b7280;

  /* Gradient */
  --gradient-primary: linear-gradient(135deg, var(--color-accent-blue) 0%, var(--color-accent-purple) 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --text-2xl: clamp(2rem, 1.6rem + 2vw, 3rem);
  --text-3xl: clamp(2.5rem, 2rem + 2.5vw, 4rem);
  --text-4xl: clamp(3rem, 2.5rem + 2.5vw, 5rem);

  /* Animation */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-glow-blue: 0 0 20px rgba(0, 212, 255, 0.5);
  --shadow-glow-purple: 0 0 20px rgba(168, 85, 247, 0.5);
}

/* === RESET & BASE === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: var(--text-4xl);
}

h2 {
  font-size: var(--text-3xl);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

h5 {
  font-size: var(--text-lg);
}

h6 {
  font-size: var(--text-base);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
}

a {
  color: var(--color-accent-blue);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-accent-purple);
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) var(--space-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition-base);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.nav-links a {
  color: var(--color-text-secondary);
  font-weight: 500;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-base);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
}

.nav-links a:hover {
  color: var(--color-text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--color-text-primary);
  transition: all var(--transition-base);
}

/* === HERO SECTION === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-3xl) var(--space-lg);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
}

.hero-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  margin-bottom: var(--space-lg);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s var(--transition-base);
}

.hero-description {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 1s var(--transition-base) 0.2s backwards;
}

.hero-cta {
  display: inline-flex;
  gap: var(--space-md);
  animation: fadeInUp 1s var(--transition-base) 0.4s backwards;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-text-primary);
  box-shadow: var(--shadow-glow-blue);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left var(--transition-slow);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.7);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-primary);
  border: 2px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--glass-bg);
  border-color: var(--color-accent-blue);
  transform: translateY(-2px);
}

/* === SECTIONS === */
.section {
  padding: var(--space-3xl) var(--space-lg);
  position: relative;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  margin-bottom: var(--space-md);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* === CARDS === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--color-accent-blue);
  box-shadow: var(--shadow-xl), var(--shadow-glow-blue);
}

.card-icon {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.card-description {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* === FORM STYLES === */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--color-text-primary);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent-blue);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-tertiary);
}

/* === FOOTER === */
.footer {
  padding: var(--space-2xl) var(--space-lg);
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-text {
  color: var(--color-text-tertiary);
  font-size: var(--text-sm);
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* Scroll Animation Classes */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s var(--transition-base) forwards;
}

.slide-in-left {
  opacity: 0;
  animation: slideInLeft 1s var(--transition-base) forwards;
}

.slide-in-right {
  opacity: 0;
  animation: slideInRight 1s var(--transition-base) forwards;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-bg-secondary);
    padding: var(--space-lg);
    gap: var(--space-md);
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    border-bottom: 1px solid var(--glass-border);
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: var(--space-2xl) var(--space-md);
  }

  .section {
    padding: var(--space-2xl) var(--space-md);
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  :root {
    --space-3xl: 3rem;
  }
}

/* === UTILITY CLASSES === */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center {
  text-align: center;
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.hidden {
  display: none;
}

/* Stats Section */
.stats-section {
  padding: var(--space-2xl) var(--space-lg);
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  text-align: center;
  padding: var(--space-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent-blue);
  box-shadow: var(--shadow-glow-blue);
}

.stat-number {
  font-size: var(--text-3xl);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-accent-blue);
  box-shadow: var(--shadow-xl), var(--shadow-glow-blue);
}

.service-icon {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.service-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.service-description {
  color: var(--color-text-secondary);
  line-height: 1.7;
  font-size: var(--text-sm);
}

/* Blog Section */
.blog-section {
  background: var(--color-bg-secondary);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.blog-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-accent-blue);
  box-shadow: var(--shadow-xl), var(--shadow-glow-blue);
}

.blog-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-category {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: var(--gradient-primary);
  color: var(--color-text-primary);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-content {
  padding: var(--space-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-date {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
  display: block;
}

.blog-title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
  line-height: 1.3;
}

.blog-excerpt {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  flex: 1;
  font-size: var(--text-sm);
}

.blog-link {
  color: var(--color-accent-blue);
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  transition: all var(--transition-base);
}

.blog-link:hover {
  color: var(--color-accent-purple);
  transform: translateX(5px);
}

/* About Section */
.about-section {
  background: var(--color-bg-primary);
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-text p {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.about-features {
  list-style: none;
  margin-top: var(--space-xl);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
}

.about-features li {
  color: var(--color-text-secondary);
  font-size: var(--text-base);
  padding: var(--space-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.about-features li:hover {
  border-color: var(--color-accent-blue);
  transform: translateX(5px);
}

/* Testimonials Section */
.testimonials-section {
  background: var(--color-bg-primary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent-blue);
  box-shadow: var(--shadow-glow-blue);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: var(--text-lg);
  letter-spacing: 0.1em;
}

.testimonial-text {
  color: var(--color-text-secondary);
  line-height: 1.8;
  font-style: italic;
  flex: 1;
  font-size: var(--text-sm);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding-top: var(--space-md);
  border-top: 1px solid var(--glass-border);
}

.testimonial-author strong {
  color: var(--color-text-primary);
  font-weight: 600;
  font-size: var(--text-base);
}

.testimonial-author span {
  color: var(--color-text-tertiary);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* FAQ Section */
.faq-section {
  background: var(--color-bg-secondary);
}

.faq-container {
  max-width: 900px;
  margin: var(--space-2xl) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--color-accent-blue);
}

.faq-item[open] {
  border-color: var(--color-accent-blue);
  box-shadow: var(--shadow-glow-blue);
}

.faq-question {
  padding: var(--space-lg);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-base);
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: var(--text-2xl);
  font-weight: 300;
  color: var(--color-accent-blue);
  transition: transform var(--transition-base);
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-question:hover {
  color: var(--color-accent-blue);
}

.faq-answer {
  padding: 0 var(--space-lg) var(--space-lg);
  animation: fadeIn 0.3s ease-in-out;
}

.faq-answer p {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin: 0;
  font-size: var(--text-sm);
}

/* CTA Section */
.cta-section {
  padding: var(--space-3xl) var(--space-lg);
  background: var(--gradient-subtle);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.1), transparent 70%);
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  margin-bottom: var(--space-md);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-description {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

.btn-large {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--text-lg);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .services-grid,
  .blog-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .blog-image {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: var(--text-2xl);
  }

  .blog-image {
    height: 180px;
  }
}/* ============================================
   ELITE PREMIUM 3D ENHANCEMENTS
   ============================================ */

/* 3D Perspective & Depth */
body {
    perspective: 1000px;
    transform-style: preserve-3d;
}

/* Premium Glow Effects */
@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.3),
            0 0 40px rgba(168, 85, 247, 0.2),
            0 20px 60px rgba(0, 0, 0, 0.5);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.6),
            0 0 80px rgba(168, 85, 247, 0.4),
            0 30px 80px rgba(0, 0, 0, 0.7);
    }
}

/* Enhanced Hero with 3D Depth */
.hero {
    position: relative;
    transform-style: preserve-3d;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-content {
    transform: translateZ(50px);
    animation: float 6s ease-in-out infinite;
}

/* Premium Card 3D Effects */
.card,
.service-card,
.blog-card,
.testimonial-card,
.stat-card {
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.card::after,
.service-card::after,
.blog-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(168, 85, 247, 0.1));
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: inherit;
    pointer-events: none;
    z-index: -1;
}

.card:hover,
.service-card:hover,
.blog-card:hover,
.testimonial-card:hover,
.stat-card:hover {
    transform: translateY(-15px) rotateX(5deg) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(0, 212, 255, 0.3),
        0 0 100px rgba(168, 85, 247, 0.2);
}

.card:hover::after,
.service-card:hover::after,
.blog-card:hover::after {
    opacity: 1;
}

/* 3D Button Effects */
.btn {
    transform-style: preserve-3d;
    position: relative;
    overflow: visible;
}

.btn::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 10%;
    right: 10%;
    height: 20px;
    background: radial-gradient(ellipse, rgba(0, 212, 255, 0.4), transparent);
    filter: blur(10px);
    opacity: 0;
    transition: all 0.5s ease;
}

.btn:hover {
    transform: translateY(-5px) translateZ(20px);
    animation: pulseGlow 2s ease-in-out infinite;
}

.btn:hover::after {
    opacity: 1;
    top: 105%;
}

/* Parallax Sections */
.section {
    transform-style: preserve-3d;
}

.section-title {
    transform: translateZ(30px);
    text-shadow: 0 10px 30px rgba(0, 212, 255, 0.5),
        0 0 60px rgba(168, 85, 247, 0.3);
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {

    0%,
    100% {
        text-shadow: 0 10px 30px rgba(0, 212, 255, 0.5),
            0 0 60px rgba(168, 85, 247, 0.3);
    }

    50% {
        text-shadow: 0 10px 40px rgba(0, 212, 255, 0.8),
            0 0 80px rgba(168, 85, 247, 0.5);
    }
}

/* Premium Navigation */
.nav {
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 212, 255, 0.1);
}

.nav-logo {
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5),
        0 0 40px rgba(168, 85, 247, 0.3);
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.7));
    }
}

/* Blog Image 3D Effect */
.blog-image {
    transform-style: preserve-3d;
    overflow: hidden;
    position: relative;
}

.blog-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
    z-index: 1;
}

.blog-card:hover .blog-image::before {
    left: 100%;
}

.blog-image img {
    transform: scale(1);
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.blog-card:hover .blog-image img {
    transform: scale(1.15) translateZ(20px);
}

/* Stats with 3D Depth */
.stat-number {
    text-shadow: 0 5px 15px rgba(0, 212, 255, 0.5),
        0 10px 30px rgba(168, 85, 247, 0.3);
    transform: translateZ(20px);
    animation: numberFloat 4s ease-in-out infinite;
}

@keyframes numberFloat {

    0%,
    100% {
        transform: translateZ(20px) translateY(0);
    }

    50% {
        transform: translateZ(30px) translateY(-5px);
    }
}

/* FAQ Accordion Premium Effect */
.faq-item {
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-item[open] {
    transform: translateZ(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 212, 255, 0.3);
}

/* CTA Section with Depth */
.cta-section {
    position: relative;
    transform-style: preserve-3d;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2), transparent 70%);
    filter: blur(60px);
    animation: ctaPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ctaPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.cta-title {
    transform: translateZ(40px);
}

/* Testimonial Stars Effect */
.testimonial-stars {
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5),
        0 0 20px rgba(251, 191, 36, 0.3);
    animation: starTwinkle 2s ease-in-out infinite;
}

@keyframes starTwinkle {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Service Icon 3D */
.service-icon {
    transform: translateZ(30px);
    filter: drop-shadow(0 10px 20px rgba(0, 212, 255, 0.3));
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateZ(30px) translateY(0) rotate(0deg);
    }

    50% {
        transform: translateZ(40px) translateY(-10px) rotate(5deg);
    }
}

/* Scrollbar Premium Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-secondary);
    border-left: 1px solid var(--glass-border);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-accent-blue), var(--color-accent-purple));
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--color-accent-purple), var(--color-accent-blue));
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.7);
}

/* Selection Styling */
::selection {
    background: rgba(0, 212, 255, 0.3);
    color: var(--color-text-primary);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

::-moz-selection {
    background: rgba(0, 212, 255, 0.3);
    color: var(--color-text-primary);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Particle Background Effect */
@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.6;
    }
}

/* Loading Animation for Images */
img {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Smooth Scroll Enhancement */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Premium Focus States */
a:focus,
button:focus,
details:focus {
    outline: 2px solid var(--color-accent-blue);
    outline-offset: 4px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* Mobile 3D Adjustments */
@media (max-width: 768px) {
    body {
        perspective: 800px;
    }

    .card:hover,
    .service-card:hover,
    .blog-card:hover {
        transform: translateY(-10px) scale(1.01);
    }

    .hero-content {
        transform: translateZ(20px);
    }
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* ============================================
   PREMIUM UI FIXES - LARGER ICONS & BETTER SPACING
   ============================================ */

/* Larger Service Icons */
.service-icon {
    font-size: 4rem !important;
    margin-bottom: var(--space-xl);
    transform: translateZ(30px);
    filter: drop-shadow(0 15px 30px rgba(0, 212, 255, 0.4));
}

/* Better Card Spacing */
.service-card,
.blog-card,
.testimonial-card,
.stat-card {
    padding: var(--space-2xl) !important;
}

/* Larger Stat Numbers */
.stat-number {
    font-size: 4rem !important;
    font-weight: 900 !important;
}

/* Better Section Spacing */
.section {
    padding: 6rem var(--space-lg) !important;
}

/* Larger Section Titles */
.section-title {
    font-size: 3.5rem !important;
    margin-bottom: var(--space-2xl) !important;
}

.section-subtitle {
    font-size: 1.5rem !important;
    margin-bottom: var(--space-3xl) !important;
}

/* Better Grid Gaps */
.services-grid,
.blog-grid,
.testimonials-grid {
    gap: var(--space-2xl) !important;
}

.stats-grid {
    gap: var(--space-xl) !important;
}

/* Larger Blog Category Badge */
.blog-category {
    padding: var(--space-sm) var(--space-lg) !important;
    font-size: 0.9rem !important;
}

/* Better Blog Title */
.blog-title {
    font-size: 1.75rem !important;
    margin-bottom: var(--space-md) !important;
}

/* Larger Testimonial Stars */
.testimonial-stars {
    font-size: 2rem !important;
    letter-spacing: 0.2em !important;
}

/* Better FAQ Spacing */
.faq-question {
    padding: var(--space-xl) !important;
    font-size: 1.25rem !important;
}

.faq-answer {
    padding: 0 var(--space-xl) var(--space-xl) !important;
}

.faq-answer p {
    font-size: 1.1rem !important;
    line-height: 1.9 !important;
}

/* Larger CTA */
.cta-title {
    font-size: 4rem !important;
    margin-bottom: var(--space-xl) !important;
}

.cta-description {
    font-size: 1.5rem !important;
    margin-bottom: var(--space-2xl) !important;
}

/* Better Button Sizing */
.btn-large {
    padding: 1.5rem 3rem !important;
    font-size: 1.5rem !important;
}

/* Enhanced Container */
.container {
    max-width: 1600px !important;
}

/* Better About Features */
.about-features li {
    font-size: 1.2rem !important;
    padding: var(--space-lg) !important;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .service-icon {
        font-size: 3rem !important;
    }

    .stat-number {
        font-size: 2.5rem !important;
    }

    .section-title {
        font-size: 2.5rem !important;
    }

    .section {
        padding: 4rem var(--space-md) !important;
    }

    .cta-title {
        font-size: 2.5rem !important;
    }
}

