/* ==================== NEURAL SOFTWARE - COMPLETE REDESIGN ==================== */
/* Modern Web Development Agency Website - Professional, Tech-Forward, Trustworthy */

:root {
  /* ===== COLOR PALETTE ===== */
  /* Primary: Deep Indigo/Navy - Professional, Trustworthy */
  --primary: #0d1b3d;           /* Dark navy */
  --primary-light: #1a2d5c;     /* Lighter navy */
  --primary-accent: #2d4a8f;    /* Brighter blue */
  
  /* Secondary: Vibrant Teal - Modern, Energy */
  --secondary: #00d9ff;         /* Bright cyan */
  --secondary-dark: #00a3cc;    /* Darker teal */
  --secondary-light: #e0f7ff;   /* Light background */
  
  /* Accent: Electric Purple - Premium, Modern */
  --accent-purple: #7c3aed;     /* Purple */
  --accent-pink: #ec4899;       /* Pink */
  
  /* Neutral */
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --black: #000000;
  
  /* Status Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0d1b3d 0%, #1a2d5c 100%);
  --gradient-secondary: linear-gradient(135deg, #00d9ff 0%, #7c3aed 100%);
  --gradient-accent: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  
  /* ===== 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;
  --space-4xl: 5rem;
  
  /* ===== TYPOGRAPHY ===== */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', sans-serif;
  --font-mono: 'Fira Code', 'Courier New', monospace;
  
  /* ===== EFFECTS ===== */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-base: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  
  --shadow-glow: 0 0 30px rgba(0, 217, 255, 0.15);
  
  /* ===== TRANSITIONS ===== */
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* ===== BORDERS ===== */
  --radius-sm: 0.375rem;
  --radius-base: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
}

/* ==================== RESET & BASE STYLES ==================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--white);
  color: var(--gray-900);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
  color: var(--secondary);
}

button {
  font-family: var(--font-family);
  cursor: pointer;
  border: none;
  outline: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ==================== NAVIGATION ==================== */

.navbar {
  background: var(--white);
  padding: var(--space-md) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--gray-100);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  transition: var(--transition-fast);
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-2xl);
  align-items: center;
}

.nav-link {
  color: var(--gray-700);
  font-weight: 500;
  position: relative;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-secondary);
  border-radius: var(--radius-full);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

/* ==================== HAMBURGER MENU - MOBILE NAVIGATION ==================== */

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  transform-origin: center;
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(11px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-11px);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--white);
    width: 100%;
    text-align: left;
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.08);
    padding: 0;
    z-index: 999;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--gray-300) transparent;
  }

  .nav-menu::-webkit-scrollbar {
    width: 5px;
  }

  .nav-menu::-webkit-scrollbar-track {
    background: transparent;
  }

  .nav-menu::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 2px;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-link {
    font-size: 1rem;
    padding: 14px 20px;
    display: block;
    transition: background-color 0.15s ease;
    color: var(--dark-gray);
    position: relative;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:active {
    background-color: #f5f5f5;
  }

  .nav-link.active {
    color: var(--primary);
    font-weight: 500;
  }
}

@media (min-width: 769px) {
  .hamburger {
    display: none !important;
  }
}

/* ==================== HERO SECTION ==================== */

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-primary);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  color: var(--white);
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  margin-bottom: var(--space-xl);
  line-height: 1.2;
  letter-spacing: -1px;
}

.hero-title span {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

.cta-button {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-secondary);
  color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 217, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
}

.stat-item {
  background: rgba(255, 255, 255, 0.05);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: var(--space-sm);
}

.stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ==================== FEATURES SECTION ==================== */

.features {
  padding: var(--space-4xl) 0;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title {
  font-size: clamp(1.875rem, 5vw, 2.75rem);
  font-weight: 700;
  margin-bottom: var(--space-xl);
  color: var(--primary);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-2xl);
}

.feature-card {
  background: var(--white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

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

.feature-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

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

.feature-icon {
  font-size: 3rem;
  margin-bottom: var(--space-lg);
  display: block;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.feature-card p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* ==================== SERVICES SECTION ==================== */

.services-section {
  padding: var(--space-4xl) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-2xl);
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: var(--transition-base);
  position: relative;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: var(--gradient-secondary);
  opacity: 0.05;
  border-radius: 0 var(--radius-lg) 0 50%;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
  transform: translateY(-8px);
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--gradient-secondary);
  color: var(--primary);
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.service-card p {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.service-list {
  list-style: none;
}

.service-list li {
  padding: var(--space-sm) 0;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.service-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 50%;
  font-weight: bold;
  flex-shrink: 0;
}

/* ==================== PROCESS SECTION ==================== */

.process-section {
  padding: var(--space-4xl) 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

.process-timeline {
  position: relative;
  padding: var(--space-2xl) 0;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-secondary);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
  position: relative;
}

.process-step {
  background: var(--white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: var(--transition-base);
}

.process-step:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--gradient-secondary);
  color: var(--primary);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

.process-step h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.process-step p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* ==================== PORTFOLIO SECTION ==================== */

.portfolio-section {
  padding: var(--space-4xl) 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-2xl);
}

.portfolio-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.portfolio-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--secondary);
  transform: translateY(-8px);
}

.portfolio-image {
  width: 100%;
  height: 220px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.2);
  overflow: hidden;
  position: relative;
}

.portfolio-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(0, 217, 255, 0.1) 100%);
}

.portfolio-content {
  padding: var(--space-2xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-tag {
  display: inline-block;
  background: var(--secondary-light);
  color: var(--secondary-dark);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  width: fit-content;
}

.portfolio-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.portfolio-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: var(--space-xl);
  flex: 1;
}

.portfolio-link {
  color: var(--secondary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  transition: var(--transition-fast);
}

.portfolio-link:hover {
  gap: var(--space-md);
}

/* ==================== TESTIMONIALS SECTION ==================== */

.testimonials-section {
  padding: var(--space-4xl) 0;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-2xl);
}

.testimonial-card {
  background: var(--white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: var(--transition-base);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: var(--space-lg);
  font-size: 4rem;
  color: var(--secondary);
  opacity: 0.3;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.stars {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.star {
  color: #fbbf24;
  font-size: 1.1rem;
}

.testimonial-text {
  color: var(--gray-700);
  font-size: 0.95rem;
  margin-bottom: var(--space-lg);
  line-height: 1.6;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
}

.author-info h4 {
  color: var(--primary);
  margin-bottom: var(--space-xs);
  font-size: 0.95rem;
}

.author-info p {
  color: var(--gray-600);
  font-size: 0.85rem;
}

/* ==================== CTA SECTION ==================== */

.cta-section {
  padding: var(--space-4xl) var(--space-xl);
  background: var(--gradient-primary);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  margin: var(--space-4xl) 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: clamp(1.875rem, 5vw, 2.5rem);
  margin-bottom: var(--space-xl);
  line-height: 1.2;
}

.cta-section p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
}

/* ==================== FOOTER ==================== */

.footer {
  background: var(--primary);
  color: var(--white);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--space-xl);
}

.footer-section h4 {
  font-size: 1rem;
  margin-bottom: var(--space-lg);
  color: var(--secondary);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--space-md);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-section a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-2xl);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--space-xl);
  padding-right: var(--space-xl);
}

/* ==================== 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(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.5);
  }
}

/* ==================== RESPONSIVE DESIGN ==================== */

@media (max-width: 768px) {
  .nav-menu {
    gap: var(--space-xl);
  }

  .hero {
    min-height: 70vh;
    padding: var(--space-2xl) 0;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .process-timeline::before {
    left: 30px;
  }

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

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

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

@media (max-width: 600px) {
  .container {
    padding: 0 var(--space-lg);
  }

  .nav-container {
    padding: 0 var(--space-lg);
  }

  .logo {
    font-size: 1.25rem;
  }

  .nav-menu {
    gap: var(--space-lg);
    font-size: 0.9rem;
  }

  .hero-title {
    font-size: 1.875rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

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

  .cta-button {
    padding: var(--space-md) var(--space-lg);
    font-size: 0.9rem;
  }

  .stat-item {
    padding: var(--space-lg);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

/* ==================== UTILITY CLASSES ==================== */

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

.text-muted {
  color: var(--gray-600);
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }

.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ==================== 2026 HOME OVERRIDES ==================== */

:is(.home, .page-2026) .navbar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(13, 27, 61, 0.06);
}

:is(.home, .page-2026) .hero-2026 {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 15% 20%, rgba(0, 217, 255, 0.2), transparent 40%),
              radial-gradient(circle at 85% 30%, rgba(124, 58, 237, 0.2), transparent 45%),
              var(--gradient-primary);
}

:is(.home, .page-2026) .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

:is(.home, .page-2026) .grid-glow {
  position: absolute;
  inset: -20% 0 0 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.2;
  mask-image: radial-gradient(circle at 50% 0%, black 0%, transparent 70%);
}

:is(.home, .page-2026) .orb {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.6;
  animation: floatOrb 14s ease-in-out infinite;
}

:is(.home, .page-2026) .orb-1 {
  background: rgba(0, 217, 255, 0.35);
  top: -80px;
  left: -60px;
}

:is(.home, .page-2026) .orb-2 {
  background: rgba(124, 58, 237, 0.35);
  top: 20%;
  right: -80px;
  animation-delay: -4s;
}

:is(.home, .page-2026) .orb-3 {
  background: rgba(236, 72, 153, 0.25);
  bottom: -120px;
  left: 35%;
  animation-delay: -7s;
}

.home .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--space-3xl);
  align-items: center;
}

.home .pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: var(--space-lg);
}

.home .hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.home .trust-item {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.home .hero-showcase {
  position: relative;
}

.home .showcase-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: var(--space-2xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
}

.home .showcase-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--space-lg);
}

.home .showcase-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.home .metric-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary);
}

.home .metric-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.home .showcase-bar {
  height: 6px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, rgba(0, 217, 255, 0.7), rgba(124, 58, 237, 0.7));
  margin-bottom: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.home .showcase-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  animation: barSweep 3s ease-in-out infinite;
}

.home .showcase-note {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

.home .hero-stats {
  margin-top: var(--space-3xl);
}

.home .stat-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.home .scroll-prompt {
  margin-top: var(--space-2xl);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home .scroll-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  animation: pulseDot 2s ease-in-out infinite;
}

.home .feature-card,
.home .service-card,
.home .process-step,
.home .portfolio-card,
.home .cta-content {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.home .feature-card:hover,
.home .service-card:hover,
.home .process-step:hover,
.home .portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatOrb {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(30px);
  }
}

@keyframes barSweep {
  0% {
    left: -40%;
  }
  50% {
    left: 60%;
  }
  100% {
    left: 120%;
  }
}

@keyframes pulseDot {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.4);
    opacity: 1;
  }
}

@media (max-width: 1024px) {
  .home .hero-grid {
    grid-template-columns: 1fr;
  }

  .home .hero-showcase {
    order: 2;
  }
}

@media (max-width: 768px) {
  .home .showcase-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home .hero-trust {
    justify-content: center;
  }

  .home .hero-content {
    text-align: center;
  }

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

@media (max-width: 600px) {
  .home .showcase-card {
    padding: var(--space-xl);
  }

  .home .showcase-metrics {
    grid-template-columns: 1fr;
  }

  .home .pill {
    font-size: 0.7rem;
  }
}
