/*
 * Godrix Design System v2.0
 * A centralized design language for consistent UI across all pages
 * Enhanced with GSAP-powered animations
 * Last updated: November 2025
 */

/* ============================================
   1. CSS VARIABLES (Design Tokens)
   ============================================ */
:root {
  /* Primary Colors - Emerald (Dark Theme Default) */
  --primary: #10b981;
  --primary-light: #34d399;
  --primary-dark: #059669;
  --primary-gradient: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
  
  /* Legacy support */
  --primary-green: var(--primary);
  --primary-green-dark: var(--primary-dark);

  /* Accent Colors - Multi-Accent System */
  --accent-cyan: #06b6d4;
  --accent-cyan-light: #22d3ee;
  --accent-cyan-dark: #0891b2;
  
  --accent-violet: #8b5cf6;
  --accent-violet-light: #a78bfa;
  --accent-violet-dark: #7c3aed;
  
  --accent-amber: #f59e0b;
  --accent-amber-light: #fbbf24;
  --accent-amber-dark: #d97706;

  /* Secondary Colors (legacy support) */
  --secondary-yellow: var(--accent-amber);
  --secondary-blue: var(--accent-cyan);
  --secondary-purple: var(--accent-violet);

  /* Neutrals - Deep Dark Theme */
  --black-dark: #030712;
  --black-base: #0f172a;
  --black-light: #1e293b;
  --black-lighter: #334155;

  /* Text Colors */
  --text-white: #ffffff;
  --text-gray: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dark: #64748b;

  /* Shadows - Updated with new primary color */
  --shadow-sm: 0px 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0px 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0px 8px 40px rgba(0, 0, 0, 0.6);
  
  /* Glow Effects */
  --shadow-glow-primary: 0 0 30px rgba(16, 185, 129, 0.4);
  --shadow-glow-primary-lg: 0 0 60px rgba(16, 185, 129, 0.6);
  --shadow-glow-cyan: 0 0 30px rgba(6, 182, 212, 0.4);
  --shadow-glow-violet: 0 0 30px rgba(139, 92, 246, 0.4);
  --shadow-glow-amber: 0 0 30px rgba(245, 158, 11, 0.4);
  
  /* Legacy glow support */
  --shadow-glow-green: var(--shadow-glow-primary);
  --shadow-glow-green-lg: var(--shadow-glow-primary-lg);
  --shadow-glow-yellow: var(--shadow-glow-amber);
  --shadow-glow-blue: var(--shadow-glow-cyan);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Spacing (8px modular grid) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Typography - Font Families */
  --font-heading: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", "Consolas", monospace;
  --font-family: var(--font-body);
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;
  --font-size-3xl: 30px;
  --font-size-4xl: 36px;
  --font-size-5xl: 48px;
  --font-size-6xl: 60px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Z-Index Scale */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;

  /* Container */
  --container-max: 1400px;
  --container-padding: var(--space-6);
}

/* ============================================
   LIGHT THEME - Premium White & Royal Indigo (#30218a)
   Polished, modern, and sophisticated
   ============================================ */
[data-theme="light"] {
  /* Primary Colors - Royal Indigo with richer tones */
  --primary: #30218a;
  --primary-light: #4f3cc9;
  --primary-dark: #1a1154;
  --primary-gradient: linear-gradient(135deg, #1a1154 0%, #30218a 40%, #4f3cc9 100%);
  
  /* Legacy support */
  --primary-green: var(--primary);
  --primary-green-dark: var(--primary-dark);

  /* Accent Colors - Vibrant complementary palette */
  --accent-cyan: #0891b2;
  --accent-cyan-light: #22d3ee;
  --accent-cyan-dark: #0e7490;
  
  --accent-violet: #7c3aed;
  --accent-violet-light: #a78bfa;
  --accent-violet-dark: #5b21b6;
  
  --accent-amber: #d97706;
  --accent-amber-light: #fbbf24;
  --accent-amber-dark: #b45309;

  /* Secondary Colors (legacy support) */
  --secondary-yellow: var(--accent-amber);
  --secondary-blue: var(--accent-cyan);
  --secondary-purple: var(--accent-violet);

  /* Neutrals - Refined Light Theme with subtle warmth */
  --black-dark: #ffffff;
  --black-base: #fafbfc;
  --black-light: #f4f6f8;
  --black-lighter: #e5e9ef;

  /* Text Colors - Blue theme hierarchy */
  --text-white: #1e3a5f;      /* Dark blue for headings */
  --text-gray: #2d5a87;       /* Medium blue for body text */
  --text-muted: #4a7ab0;      /* Light blue for muted text */
  --text-dark: #6b9bd1;       /* Subtle blue for tertiary text */

  /* Premium Shadows - Layered depth with subtle color */
  --shadow-sm: 
    0 1px 2px rgba(30, 21, 90, 0.04),
    0 2px 4px rgba(30, 21, 90, 0.04);
  --shadow-md: 
    0 2px 4px rgba(30, 21, 90, 0.03),
    0 4px 8px rgba(30, 21, 90, 0.04),
    0 8px 16px rgba(30, 21, 90, 0.05);
  --shadow-lg: 
    0 4px 8px rgba(30, 21, 90, 0.03),
    0 8px 16px rgba(30, 21, 90, 0.04),
    0 16px 32px rgba(30, 21, 90, 0.06),
    0 32px 64px rgba(30, 21, 90, 0.08);
  
  /* Refined Glow Effects */
  --shadow-glow-primary: 
    0 4px 16px rgba(48, 33, 138, 0.15),
    0 8px 32px rgba(48, 33, 138, 0.1);
  --shadow-glow-primary-lg: 
    0 8px 32px rgba(48, 33, 138, 0.2),
    0 16px 64px rgba(48, 33, 138, 0.15);
  --shadow-glow-cyan: 0 4px 24px rgba(8, 145, 178, 0.2);
  --shadow-glow-violet: 0 4px 24px rgba(124, 58, 237, 0.2);
  --shadow-glow-amber: 0 4px 24px rgba(217, 119, 6, 0.2);
  
  /* Legacy glow support */
  --shadow-glow-green: var(--shadow-glow-primary);
  --shadow-glow-green-lg: var(--shadow-glow-primary-lg);
  --shadow-glow-yellow: var(--shadow-glow-amber);
  --shadow-glow-blue: var(--shadow-glow-cyan);
}

/* ============================================
   2. RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Smooth scroll for GSAP */
html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-white);
  background: var(--black-dark);
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--black-dark);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-green), var(--primary-green-dark));
  border-radius: 5px;
  border: 2px solid var(--black-dark);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-green);
}

/* Selection */
::selection {
  background: var(--primary-green);
  color: var(--black-dark);
}

/* Focus Styles */
:focus-visible {
  outline: 2px solid var(--primary-green);
  outline-offset: 3px;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

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

/* Lists */
ul,
ol {
  list-style: none;
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-white);
}

/* Body text uses Plus Jakarta Sans */
p,
span,
li,
a,
label,
input,
textarea,
select,
button {
  font-family: var(--font-body);
}

/* Code elements use JetBrains Mono */
code,
pre,
kbd,
samp,
.code,
.mono {
  font-family: var(--font-mono);
}

h1 {
  font-size: clamp(42px, 6vw, var(--font-size-6xl));
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(34px, 5vw, var(--font-size-5xl));
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(26px, 3.5vw, var(--font-size-3xl));
  letter-spacing: -0.01em;
}

h4 {
  font-size: var(--font-size-xl);
}

h5 {
  font-size: var(--font-size-lg);
}

h6 {
  font-size: var(--font-size-base);
}

p {
  color: var(--text-gray);
  line-height: 1.75;
}

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

/* Split text animation styles */
.split-text .char {
  display: inline-block;
  will-change: transform, opacity;
}

.split-text .word {
  display: inline-block;
  overflow: hidden;
}

/* ============================================
   4. LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-24) 0;
  position: relative;
  overflow: hidden;
}

.section-alt {
  background: var(--black-base);
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--primary-green);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--space-5);
  backdrop-filter: blur(10px);
}

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

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

.section-title {
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-gray);
  max-width: 650px;
  margin: 0 auto;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-6);
}

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

.grid-auto-fit {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Flexbox Utilities */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-center {
  align-items: center;
}
.items-start {
  align-items: flex-start;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-2 {
  gap: var(--space-2);
}
.gap-3 {
  gap: var(--space-3);
}
.gap-4 {
  gap: var(--space-4);
}
.gap-6 {
  gap: var(--space-6);
}
.gap-8 {
  gap: var(--space-8);
}

/* ============================================
   5. NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  padding: var(--space-5) 0;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.navbar.scrolled {
  top: 12px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: calc(100% - 48px);
  max-width: 1200px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-2) var(--space-5);
  box-shadow: 
    0 4px 24px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 52px;
  height: 52px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
  cursor: pointer;
  z-index: var(--z-fixed);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(16, 185, 129, 0.1);
}

.back-to-top:hover {
  background: var(--primary);
  color: var(--black-dark);
  border-color: var(--primary);
  transform: translateY(-4px) scale(1.1);
  box-shadow: 
    0 8px 30px rgba(16, 185, 129, 0.4),
    0 0 60px rgba(16, 185, 129, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top i {
  transition: transform 0.3s ease;
}

.back-to-top:hover i {
  transform: translateY(-2px);
}

/* Pulse animation for back to top */
.back-to-top::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0;
  z-index: -1;
  animation: backToTopPulse 2s ease-in-out infinite;
}

@keyframes backToTopPulse {
  0%, 100% { transform: scale(0.8); opacity: 0; }
  50% { transform: scale(1.2); opacity: 0.15; }
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  transition: transform var(--transition-base);
}

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

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--font-size-lg);
  color: var(--black-dark);
  box-shadow: var(--shadow-glow-green);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Compact logo when navbar is scrolled */
.navbar.scrolled .logo-icon {
  width: 36px;
  height: 36px;
  font-size: var(--font-size-base);
  border-radius: var(--radius-sm);
}

.navbar.scrolled .logo-text h1 {
  font-size: var(--font-size-lg);
}

.navbar.scrolled .logo-text span {
  font-size: 10px;
}

.logo-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: rotate(45deg);
  animation: logoShine 3s ease-in-out infinite;
}

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

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text h1 {
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
}

.logo-text span {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Logo Image */
.logo-img {
  display: none;
  height: 53px; /* 44px * 1.2 = 52.8px */
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
  position: relative;
  top: -5px;
}

/* Logo image is dynamically filtered via JavaScript for dark theme */

.navbar.scrolled .logo-img {
  height: 43px; /* 36px * 1.2 = 43.2px */
}

/* Show logo image and text, hide G icon in both themes */
.logo-icon {
  display: none;
}

.logo-img {
  display: block;
}

.logo-text {
  display: flex;
}

/* Light theme text colors - matching logo's blue color */
[data-theme="light"] .logo-text h1 {
  color: #1e3a5f; /* Dark blue to match logo */
}

[data-theme="light"] .logo-text span {
  color: #4a6fa5; /* Lighter blue for tagline */
}

.nav-links {
  display: flex;
  gap: var(--space-8);
  list-style: none;
  transition: gap 0.3s ease;
}

.nav-links a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: all var(--transition-base);
  position: relative;
  padding: var(--space-2) var(--space-2);
  background: none !important;
  border-radius: 0;
}

/* Compact nav links when scrolled */
.navbar.scrolled .nav-links {
  gap: var(--space-6);
}

.navbar.scrolled .nav-links a {
  font-size: 13px;
  padding: var(--space-1) var(--space-2);
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-white);
  background: none !important;
}

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

.nav-cta {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-white);
  font-size: 22px;
  cursor: pointer;
  transition: all 0.2s ease;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

.mobile-menu-btn:active {
  transform: scale(0.95);
}

[data-theme="light"] .mobile-menu-btn {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
  color: var(--text-dark);
}

[data-theme="light"] .mobile-menu-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.12);
}

/* ============================================
   6. BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 30px;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::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.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-sm {
  padding: 10px 22px;
  font-size: var(--font-size-sm);
}

/* Compact buttons when navbar is scrolled */
.navbar.scrolled .btn {
  padding: 10px 20px;
  font-size: var(--font-size-sm);
}

.navbar.scrolled .nav-cta {
  gap: var(--space-2);
}

.btn-lg {
  padding: 18px 36px;
  font-size: var(--font-size-base);
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--black-dark);
  box-shadow: var(--shadow-glow-green);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-glow-green-lg);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--black-lighter);
  color: var(--text-white);
}

.btn-outline:hover {
  background: rgba(74, 222, 128, 0.1);
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.btn-dark {
  background: var(--black-dark);
  color: var(--text-white);
  border: 1px solid var(--black-lighter);
}

.btn-dark:hover {
  background: var(--black-base);
  border-color: var(--primary-green);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost-dark {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.3);
  color: var(--black-dark);
}

.btn-ghost-dark:hover {
  background: rgba(0, 0, 0, 0.35);
}

/* ============================================
   7. CARDS
   ============================================ */
.card {
  background: linear-gradient(145deg, var(--black-base) 0%, var(--black-light) 100%);
  border: 1px solid var(--black-lighter);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.5), transparent);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.card:hover {
  transform: translateY(-10px);
  border-color: rgba(74, 222, 128, 0.4);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(74, 222, 128, 0.15);
}

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

.card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.15) 0%, rgba(74, 222, 128, 0.05) 100%);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary-green);
  margin-bottom: var(--space-5);
  transition: all var(--transition-slow);
  position: relative;
}

.card-icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--primary-gradient);
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.card:hover .card-icon {
  background: var(--primary-gradient);
  color: var(--black-dark);
  border-color: transparent;
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-glow-green);
}

.card h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.card p {
  font-size: var(--font-size-sm);
  color: var(--text-gray);
  line-height: 1.75;
}

/* Service Card */
.service-card {
  text-align: center;
  text-decoration: none;
  display: block;
}

.service-card .card-icon {
  margin: 0 auto var(--space-5);
}

/* Stat Card */
.stat-card {
  background: linear-gradient(145deg, var(--black-dark) 0%, var(--black-base) 100%);
  text-align: center;
  padding: var(--space-10);
}

.stat-card .stat-value {
  font-size: 56px;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-card .stat-label {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   8. PAGE HEADER
   ============================================ */
.page-header {
  padding: 180px 0 var(--space-20);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(74, 222, 128, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(56, 189, 248, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--black-base), transparent);
  pointer-events: none;
}

.page-header .icon-large {
  width: 110px;
  height: 110px;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.15) 0%, rgba(74, 222, 128, 0.05) 100%);
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  color: var(--primary-green);
  margin: 0 auto var(--space-8);
  position: relative;
  animation: iconFloat 4s ease-in-out infinite;
}

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

.page-header .icon-large::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: var(--primary-gradient);
  z-index: -1;
  opacity: 0.3;
  filter: blur(15px);
}

.page-header h1 {
  margin-bottom: var(--space-5);
  position: relative;
  z-index: 1;
}

.page-header p {
  font-size: var(--font-size-lg);
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ============================================
   9. FORMS
   ============================================ */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-gray);
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  background: var(--black-dark);
  border: 2px solid var(--black-lighter);
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-family: inherit;
  font-size: var(--font-size-base);
  transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.15);
}

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

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

/* ============================================
   10. CTA SECTION
   ============================================ */
.cta {
  padding: var(--space-24) 0;
}

.cta-content {
  background: var(--primary-gradient);
  border-radius: var(--radius-2xl);
  padding: var(--space-20) var(--space-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.cta-content::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  margin-bottom: var(--space-4);
  color: var(--black-dark);
  position: relative;
}

.cta-content p {
  font-size: var(--font-size-lg);
  color: var(--black-dark);
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto var(--space-8);
  position: relative;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  position: relative;
}

/* ============================================
   11. FOOTER
   ============================================ */
.footer {
  background: linear-gradient(180deg, var(--black-base) 0%, var(--black-dark) 100%);
  padding: var(--space-20) 0 var(--space-8);
  border-top: 1px solid var(--black-lighter);
  position: relative;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

.footer-brand p {
  color: var(--text-gray);
  font-size: var(--font-size-sm);
  margin: var(--space-5) 0;
  max-width: 320px;
  line-height: 1.8;
}

.footer-socials {
  display: flex;
  gap: var(--space-3);
}

.footer-socials a {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--black-dark);
  border: 1px solid var(--black-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--transition-base);
}

.footer-socials a:hover {
  background: var(--primary-green);
  border-color: var(--primary-green);
  color: var(--black-dark);
  transform: translateY(-3px);
}

.footer-column h4 {
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--space-6);
  color: var(--text-white);
}

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

.footer-column li {
  margin-bottom: var(--space-3);
}

.footer-column a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: var(--font-size-sm);
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

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

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--black-lighter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
}

.footer-bottom a {
  color: var(--primary-green);
  text-decoration: none;
  transition: color var(--transition-base);
}

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

/* ============================================
   12. MOBILE MENU
   ============================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--black-dark);
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  padding: 100px var(--space-6) var(--space-10);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-6);
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 32px;
  cursor: pointer;
  transition: transform var(--transition-base);
}

.mobile-menu-close:hover {
  transform: rotate(90deg);
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li {
  margin-bottom: var(--space-6);
  opacity: 0;
  transform: translateX(30px);
}

.mobile-menu.active li {
  animation: menuSlideIn 0.4s ease forwards;
}

.mobile-menu li:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu li:nth-child(2) { animation-delay: 0.15s; }
.mobile-menu li:nth-child(3) { animation-delay: 0.2s; }
.mobile-menu li:nth-child(4) { animation-delay: 0.25s; }
.mobile-menu li:nth-child(5) { animation-delay: 0.3s; }

@keyframes menuSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mobile-menu a {
  color: var(--text-white);
  text-decoration: none;
  font-size: var(--font-size-2xl);
  font-weight: 700;
  transition: color var(--transition-base);
}

.mobile-menu a:hover {
  color: var(--primary-green);
}

/* ============================================
   13. ANIMATIONS - GSAP Enhanced
   ============================================ */

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: none;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Fade animations */
.fade-in {
  opacity: 0;
}

.fade-up {
  opacity: 0;
  transform: translateY(50px);
}

.fade-down {
  opacity: 0;
  transform: translateY(-50px);
}

.fade-left {
  opacity: 0;
  transform: translateX(50px);
}

.fade-right {
  opacity: 0;
  transform: translateX(-50px);
}

/* Scale animations */
.scale-in {
  opacity: 0;
  transform: scale(0.8);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
}

/* Parallax elements */
.parallax {
  will-change: transform;
}

/* Magnetic elements */
.magnetic {
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Floating animation */
.float {
  animation: floatAnimation 6s ease-in-out infinite;
}

@keyframes floatAnimation {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-15px) rotate(1deg); }
  75% { transform: translateY(-8px) rotate(-1deg); }
}

/* Glow pulse */
.glow-pulse {
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.3);
  }
  50% { 
    box-shadow: 0 0 40px rgba(74, 222, 128, 0.6);
  }
}

/* Text reveal */
.text-reveal {
  overflow: hidden;
}

.text-reveal span {
  display: inline-block;
  transform: translateY(100%);
}

/* Line draw */
.line-draw {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

/* Counter animation */
.counter {
  font-variant-numeric: tabular-nums;
}

/* Cursor follower - DISABLED */
.cursor-follower {
  display: none !important;
}

/* Gradient text animation */
.gradient-text-animate {
  background: linear-gradient(90deg, var(--primary-green), var(--secondary-blue), var(--secondary-purple), var(--primary-green));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 8s ease infinite;
}

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

/* Shimmer effect */
.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  100% { left: 100%; }
}

/* Blur in */
.blur-in {
  opacity: 0;
  filter: blur(10px);
}

/* Rotate in */
.rotate-in {
  opacity: 0;
  transform: rotate(-10deg) scale(0.9);
}

/* Bounce */
.bounce {
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-20px); }
  60% { transform: translateY(-10px); }
}

/* ============================================
   14. UTILITIES
   ============================================ */
.mt-4 {
  margin-top: var(--space-4);
}
.mt-6 {
  margin-top: var(--space-6);
}
.mt-8 {
  margin-top: var(--space-8);
}
.mb-4 {
  margin-bottom: var(--space-4);
}
.mb-6 {
  margin-bottom: var(--space-6);
}
.mb-8 {
  margin-bottom: var(--space-8);
}

.hidden {
  display: none !important;
}

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

/* Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient border */
.gradient-border {
  position: relative;
  background: var(--black-base);
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  background: var(--primary-gradient);
  border-radius: inherit;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* ============================================
   15. RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-6 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: var(--space-4);
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: var(--space-16) 0;
  }

  .page-header {
    padding: 140px 0 var(--space-12);
  }

  .cta-content {
    padding: var(--space-12) var(--space-6);
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .cursor-follower {
    display: none;
  }
}

@media (max-width: 480px) {
  .grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }

  .btn {
    width: 100%;
  }

  .cta-actions {
    flex-direction: column;
  }
}

/* ============================================
   16. PRINT STYLES
   ============================================ */
@media print {
  .navbar,
  .mobile-menu,
  .cta,
  .footer-socials,
  .cursor-follower {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .card,
  .stat-card {
    border: 1px solid #ddd;
    box-shadow: none;
  }
}

/* ============================================
   17. CUSTOM PREMIUM COMPONENTS
   ============================================ */

/* ----- BENTO GRID ----- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: var(--space-5);
}

.bento-item {
  background: linear-gradient(145deg, rgba(19, 27, 46, 0.9) 0%, rgba(30, 41, 59, 0.7) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  backdrop-filter: blur(10px);
  z-index: 1;
}

/* Animated gradient border */
.bento-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(74, 222, 128, 0.3) 0%,
    rgba(56, 189, 248, 0.2) 25%,
    rgba(74, 222, 128, 0.1) 50%,
    rgba(250, 204, 21, 0.2) 75%,
    rgba(74, 222, 128, 0.3) 100%
  );
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  transition: opacity 0.5s ease;
  z-index: -1;
}

/* Inner glow effect */
.bento-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.bento-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(74, 222, 128, 0.15);
}

.bento-item:hover::before {
  opacity: 1;
  animation: borderGlow 3s linear infinite;
}

.bento-item:hover::after {
  opacity: 1;
}

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

.bento-item.span-2 { grid-column: span 2; }
.bento-item.span-3 { grid-column: span 3; }
.bento-item.row-2 { grid-row: span 2; }

.bento-item .bento-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.2) 0%, rgba(74, 222, 128, 0.05) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--primary-green);
  margin-bottom: var(--space-6);
  position: relative;
  border: 1px solid rgba(74, 222, 128, 0.2);
  transition: all 0.4s ease;
}

.bento-item:hover .bento-icon {
  background: var(--primary-gradient);
  color: var(--black-dark);
  border-color: transparent;
  box-shadow: 0 0 30px rgba(74, 222, 128, 0.4);
  transform: scale(1.1) rotate(5deg);
}

/* Corner accents with animation */
.bento-item .corner-accent {
  position: absolute;
  width: 60px;
  height: 60px;
  pointer-events: none;
  z-index: 2;
}

.bento-item .corner-accent::before,
.bento-item .corner-accent::after {
  content: '';
  position: absolute;
  background: var(--primary-green);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

.bento-item .corner-accent.top-left { top: 0; left: 0; }
.bento-item .corner-accent.top-left::before { 
  width: 0; 
  height: 2px; 
  top: 0; 
  left: 0; 
}
.bento-item .corner-accent.top-left::after { 
  width: 2px; 
  height: 0; 
  top: 0; 
  left: 0; 
}

.bento-item .corner-accent.bottom-right { bottom: 0; right: 0; }
.bento-item .corner-accent.bottom-right::before { 
  width: 0; 
  height: 2px; 
  bottom: 0; 
  right: 0; 
}
.bento-item .corner-accent.bottom-right::after { 
  width: 2px; 
  height: 0; 
  bottom: 0; 
  right: 0; 
}

.bento-item:hover .corner-accent::before,
.bento-item:hover .corner-accent::after {
  opacity: 1;
}

.bento-item:hover .corner-accent.top-left::before { width: 40px; }
.bento-item:hover .corner-accent.top-left::after { height: 40px; }
.bento-item:hover .corner-accent.bottom-right::before { width: 40px; }
.bento-item:hover .corner-accent.bottom-right::after { height: 40px; }

/* ----- GLASSMORPHISM CARD ----- */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(74, 222, 128, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

/* ----- CIRCULAR PROGRESS STAT ----- */
.circular-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-8);
}

.circular-stat .progress-ring {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: var(--space-5);
}

.circular-stat .progress-ring svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.circular-stat .progress-ring circle {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}

.circular-stat .progress-ring .bg {
  stroke: var(--black-lighter);
}

.circular-stat .progress-ring .progress {
  stroke: url(#greenGradient);
  stroke-dasharray: 377;
  stroke-dashoffset: 377;
  transition: stroke-dashoffset 2s ease;
}

.circular-stat .progress-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-green);
}

.circular-stat .progress-label {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ----- FLOATING TECH PILLS ----- */
.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  perspective: 1000px;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: linear-gradient(135deg, var(--black-base) 0%, var(--black-light) 100%);
  border: 1px solid var(--black-lighter);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-gray);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  animation: pillFloat 6s ease-in-out infinite;
  transform-style: preserve-3d;
}

.tech-pill:nth-child(2n) { animation-delay: -1s; }
.tech-pill:nth-child(3n) { animation-delay: -2s; }
.tech-pill:nth-child(4n) { animation-delay: -3s; }
.tech-pill:nth-child(5n) { animation-delay: -4s; }

@keyframes pillFloat {
  0%, 100% { transform: translateY(0) rotateX(0); }
  25% { transform: translateY(-8px) rotateX(5deg); }
  75% { transform: translateY(-4px) rotateX(-3deg); }
}

.tech-pill:hover {
  background: var(--primary-gradient);
  color: var(--black-dark);
  border-color: transparent;
  transform: translateY(-5px) scale(1.05);
  box-shadow: var(--shadow-glow-green);
}

.tech-pill i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.tech-pill:hover i {
  transform: rotate(360deg);
}

/* ----- TIMELINE COMPONENT ----- */
.timeline {
  position: relative;
  padding-left: var(--space-12);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-green), var(--secondary-blue), var(--secondary-purple));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-10);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-12) + 12px);
  top: 8px;
  width: 18px;
  height: 18px;
  background: var(--black-dark);
  border: 3px solid var(--primary-green);
  border-radius: 50%;
  box-shadow: var(--shadow-glow-green);
  z-index: 1;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-12) + 17px);
  top: 13px;
  width: 8px;
  height: 8px;
  background: var(--primary-green);
  border-radius: 50%;
  animation: timelinePulse 2s ease-in-out infinite;
}

@keyframes timelinePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

.timeline-content {
  background: var(--black-base);
  border: 1px solid var(--black-lighter);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  border-color: var(--primary-green);
  transform: translateX(10px);
}

.timeline-step {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--primary-green);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-2);
}

/* ----- TESTIMONIAL CARD ----- */
.testimonial-card {
  background: linear-gradient(145deg, var(--black-base) 0%, var(--black-light) 100%);
  border: 1px solid var(--black-lighter);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  font-size: 120px;
  font-family: Georgia, serif;
  color: var(--primary-green);
  opacity: 0.1;
  line-height: 1;
}

.testimonial-card .quote {
  font-size: var(--font-size-lg);
  font-style: italic;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: var(--space-8);
  position: relative;
  z-index: 1;
}

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

.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--primary-green);
  object-fit: cover;
}

.testimonial-author-info h4 {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.testimonial-author-info span {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  margin-top: var(--space-2);
}

.testimonial-rating i {
  color: var(--secondary-yellow);
  font-size: 14px;
}

/* Avatar Stack */
.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--black-dark);
  margin-left: -12px;
  transition: all 0.3s ease;
  object-fit: cover;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.avatar-stack img:hover {
  transform: translateY(-5px) scale(1.1);
  z-index: 10;
  border-color: var(--primary-green);
}

.avatar-stack .avatar-more {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-gradient);
  border: 3px solid var(--black-dark);
  margin-left: -12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--black-dark);
}

/* ----- ACCORDION COMPONENT ----- */
.accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.accordion-item {
  background: var(--black-base);
  border: 1px solid var(--black-lighter);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item.active {
  border-color: var(--primary-green);
  box-shadow: var(--shadow-glow-green);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.03);
}

.accordion-header h4 {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--font-size-lg);
  font-weight: 600;
}

.accordion-header .acc-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 20px;
  transition: all 0.3s ease;
}

.accordion-item.active .acc-icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
}

.accordion-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--black-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.accordion-toggle i {
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-toggle {
  background: var(--text-white);
  color: var(--black-dark);
}

.accordion-item.active .accordion-toggle i {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.accordion-body {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--text-gray);
  line-height: 1.75;
}

/* ============================================
   FAQ SECTION - Modern Minimal Design
   ============================================ */
.faq-section {
  background: var(--black-dark);
  position: relative;
  overflow: hidden;
}

/* Subtle background pattern */
.faq-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 0%, rgba(74, 222, 128, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(56, 189, 248, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Category Tabs */
.faq-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
  padding: var(--space-2);
  background: var(--black-base);
  border-radius: var(--radius-full);
  border: 1px solid var(--black-lighter);
}

.faq-tab {
  padding: var(--space-3) var(--space-5);
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.faq-tab:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}

.faq-tab.active {
  background: var(--primary-gradient);
  color: var(--black-dark);
  font-weight: 600;
}

.faq-tab i {
  font-size: 14px;
}

/* Hide category titles - using tabs instead */
.faq-category-title {
  display: none;
}

/* FAQ Category Groups */
.faq-category {
  display: none;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-category.active {
  display: flex;
  animation: fadeInUp 0.4s ease;
}

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

/* FAQ Accordion - Clean Minimal Style */
.faq-section .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--black-lighter);
  border-radius: 0;
  transition: all 0.3s ease;
}

.faq-section .accordion-item:last-child {
  border-bottom: none;
}

.faq-section .accordion-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-section .accordion-item.active {
  background: transparent;
  border-radius: 0;
  border-bottom: 1px solid var(--black-lighter);
  margin: 0;
}

.faq-section .accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-4);
  background: transparent !important;
  background-image: none !important;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
  outline: none;
}

.faq-section .accordion-toggle:focus,
.faq-section .accordion-toggle:active {
  background: transparent !important;
  background-image: none !important;
  outline: none;
  box-shadow: none;
}

.faq-section .accordion-item.active .accordion-toggle {
  background: transparent !important;
  background-image: none !important;
}

.faq-section .accordion-toggle:hover {
  padding-left: var(--space-5);
}

/* Hide icons in minimal design */
.faq-section .accordion-toggle .acc-icon {
  display: none;
}

.faq-section .accordion-toggle .acc-title {
  flex: 1;
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--text-white);
  line-height: 1.5;
  transition: all 0.3s ease;
  background: transparent !important;
  background-image: none !important;
}

.faq-section .accordion-item.active .accordion-toggle .acc-title {
  color: var(--text-white);
  font-weight: 600;
}

.faq-section .accordion-toggle .acc-arrow {
  width: 32px;
  height: 32px;
  background: transparent;
  border: 2px solid var(--black-lighter);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.faq-section .accordion-item:hover .accordion-toggle .acc-arrow {
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.faq-section .accordion-item.active .accordion-toggle .acc-arrow {
  background: var(--primary-green);
  border-color: var(--primary-green);
  color: var(--black-dark);
  transform: rotate(180deg);
}

.faq-section .accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-section .accordion-item.active .accordion-content {
  max-height: 1000px;
}

.faq-section .accordion-content p,
.faq-section .accordion-content ul,
.faq-section .accordion-content ol {
  padding: 0 var(--space-4) var(--space-4);
  padding-right: calc(32px + var(--space-8));
  color: var(--text-gray);
  font-size: var(--font-size-sm);
  line-height: 1.8;
}

.faq-section .accordion-content ul,
.faq-section .accordion-content ol {
  margin: 0;
  padding-left: var(--space-8);
}

.faq-section .accordion-content li {
  margin-bottom: var(--space-2);
  position: relative;
}

.faq-section .accordion-content li:last-child {
  margin-bottom: 0;
}

.faq-section .accordion-content li::marker {
  color: var(--primary-green);
}

.faq-section .accordion-content strong {
  color: var(--text-white);
  font-weight: 600;
}

.faq-section .accordion-content a {
  color: var(--primary-green);
  text-decoration: none;
  border-bottom: 1px dashed var(--primary-green);
  transition: all 0.2s ease;
}

.faq-section .accordion-content a:hover {
  border-bottom-style: solid;
}

/* FAQ Number Badge */
.faq-section .accordion-item::before {
  content: counter(faq-counter);
  counter-increment: faq-counter;
  position: absolute;
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: var(--black-lighter);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0;
  transition: all 0.3s ease;
}

.faq-category {
  counter-reset: faq-counter;
  position: relative;
  padding-left: 0;
}

/* FAQ CTA - Gradient Card */
.faq-cta {
  text-align: center;
  margin-top: var(--space-12);
  padding: var(--space-12) var(--space-8);
  background: linear-gradient(135deg, var(--black-base) 0%, var(--black-light) 100%);
  border: 1px solid var(--black-lighter);
  border-radius: var(--radius-2xl);
  position: relative;
  overflow: hidden;
}

.faq-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
}

.faq-cta p {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: var(--space-2);
}

.faq-cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-6);
}

/* Responsive */
@media (max-width: 768px) {
  .faq-tabs {
    padding: var(--space-1);
    gap: var(--space-1);
  }
  
  .faq-tab {
    padding: var(--space-2) var(--space-3);
    font-size: 12px;
  }
  
  .faq-tab span {
    display: none;
  }
  
  .faq-tab i {
    font-size: 16px;
  }
  
  .faq-section .accordion-toggle {
    padding: var(--space-4) var(--space-3);
  }
  
  .faq-section .accordion-content p,
  .faq-section .accordion-content ul,
  .faq-section .accordion-content ol {
    padding: 0 var(--space-3) var(--space-4);
    padding-right: var(--space-3);
  }
  
  .faq-cta {
    padding: var(--space-8) var(--space-4);
  }
}

/* Light Theme FAQ */
[data-theme="light"] .faq-section {
  background: var(--black-dark);
}

[data-theme="light"] .faq-section::before {
  background: 
    radial-gradient(ellipse at 20% 0%, rgba(30, 58, 95, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(45, 90, 135, 0.05) 0%, transparent 50%);
}

[data-theme="light"] .faq-tabs {
  background: rgba(30, 58, 95, 0.03);
  border-color: rgba(30, 58, 95, 0.1);
}

[data-theme="light"] .faq-tab {
  color: #4a7ab0;
}

[data-theme="light"] .faq-tab:hover {
  color: #1e3a5f;
  background: rgba(30, 58, 95, 0.05);
}

[data-theme="light"] .faq-tab.active {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
  color: #ffffff;
}

[data-theme="light"] .faq-section .accordion-item {
  border-bottom-color: rgba(30, 58, 95, 0.1);
}

[data-theme="light"] .faq-section .accordion-item:hover {
  background: rgba(30, 58, 95, 0.02);
}

[data-theme="light"] .faq-section .accordion-item.active {
  background: transparent;
}

[data-theme="light"] .faq-section .accordion-toggle .acc-title {
  color: var(--text-white);
}

[data-theme="light"] .faq-section .accordion-item.active .accordion-toggle .acc-title {
  color: #1e3a5f;
}

[data-theme="light"] .faq-section .accordion-toggle .acc-arrow {
  border-color: rgba(30, 58, 95, 0.2);
  color: #4a7ab0;
}

[data-theme="light"] .faq-section .accordion-item:hover .accordion-toggle .acc-arrow {
  border-color: #4a7ab0;
  color: #1e3a5f;
}

[data-theme="light"] .faq-section .accordion-item.active .accordion-toggle .acc-arrow {
  background: #1e3a5f;
  border-color: #1e3a5f;
  color: #ffffff;
}

[data-theme="light"] .faq-section .accordion-item.active .accordion-toggle .acc-title {
  color: #1e3a5f;
}

[data-theme="light"] .faq-section .accordion-content li::marker {
  color: #1e3a5f;
}

[data-theme="light"] .faq-section .accordion-content a {
  color: #1e3a5f;
  border-bottom-color: #1e3a5f;
}

[data-theme="light"] .faq-cta {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-color: rgba(30, 58, 95, 0.1);
}

[data-theme="light"] .faq-cta::before {
  background: linear-gradient(90deg, #1e3a5f 0%, #2d5a87 100%);
}

/* ----- GRADIENT BORDER CARD ----- */
.gradient-border-card {
  position: relative;
  background: var(--black-dark);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  overflow: hidden;
}

.gradient-border-card::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-blue), var(--secondary-purple), var(--primary-green));
  background-size: 300% 300%;
  border-radius: inherit;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: gradientRotate 4s linear infinite;
}

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

.gradient-border-card .card-inner {
  position: relative;
  z-index: 1;
}

/* ----- FEATURE LIST ----- */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  background: rgba(74, 222, 128, 0.03);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--primary-green);
  transition: all 0.3s ease;
}

.feature-list-item:hover {
  background: rgba(74, 222, 128, 0.08);
  transform: translateX(10px);
}

.feature-list-item .check-icon {
  width: 28px;
  height: 28px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black-dark);
  font-size: 14px;
  flex-shrink: 0;
}

.feature-list-item h5 {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.feature-list-item p {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin: 0;
}

/* ----- PROCESS STEPS ----- */
.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 80px;
  right: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-green), var(--secondary-blue));
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  flex: 1;
  max-width: 200px;
}

.process-step .step-number {
  width: 80px;
  height: 80px;
  background: var(--black-dark);
  border: 3px solid var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-green);
  margin-bottom: var(--space-5);
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.process-step:hover .step-number {
  background: var(--primary-gradient);
  color: var(--black-dark);
  transform: scale(1.1);
  box-shadow: var(--shadow-glow-green-lg);
}

.process-step h4 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}

.process-step p {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

/* ----- ICON BOX ----- */
.icon-box {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  padding: var(--space-6);
  background: var(--black-base);
  border: 1px solid var(--black-lighter);
  border-radius: var(--radius-xl);
  transition: all 0.4s ease;
}

.icon-box:hover {
  border-color: var(--primary-green);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.icon-box .icon-wrapper {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.15) 0%, rgba(74, 222, 128, 0.05) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary-green);
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.icon-box:hover .icon-wrapper {
  background: var(--primary-gradient);
  color: var(--black-dark);
  transform: rotate(10deg) scale(1.1);
}

.icon-box-content h4 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}

.icon-box-content p {
  font-size: var(--font-size-sm);
  color: var(--text-gray);
  margin: 0;
}

/* ----- PRICING CARD ----- */
.pricing-card {
  background: var(--black-base);
  border: 1px solid var(--black-lighter);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.pricing-card.featured {
  border-color: var(--primary-green);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: 'POPULAR';
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--primary-gradient);
  color: var(--black-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 40px;
  transform: rotate(45deg);
  letter-spacing: 1px;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-card .plan-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.pricing-card .plan-price {
  font-size: 56px;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.pricing-card .plan-price span {
  font-size: var(--font-size-lg);
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card .plan-description {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-8);
}

.pricing-card .plan-features {
  text-align: left;
  margin-bottom: var(--space-8);
}

.pricing-card .plan-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--black-lighter);
  font-size: var(--font-size-sm);
  color: var(--text-gray);
}

.pricing-card .plan-features li:last-child {
  border-bottom: none;
}

.pricing-card .plan-features li i {
  color: var(--primary-green);
}

/* ----- HOVER CARD (3D Tilt) ----- */
.hover-card-3d {
  background: var(--black-base);
  border: 1px solid var(--black-lighter);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transform-style: preserve-3d;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card-3d:hover {
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(74, 222, 128, 0.1);
}

.hover-card-3d .card-content {
  transform: translateZ(30px);
}

/* Responsive for custom components */
@media (max-width: 1200px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-item.span-3 { grid-column: span 2; }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-item.span-2,
  .bento-item.span-3 { grid-column: span 1; }
  
  .process-steps {
    flex-direction: column;
    gap: var(--space-8);
  }
  .process-steps::before {
    display: none;
  }
  .process-step {
    max-width: 100%;
  }
  
  .timeline {
    padding-left: var(--space-8);
  }
  .timeline-item::before {
    left: calc(-1 * var(--space-8) + 8px);
  }
  .timeline-item::after {
    left: calc(-1 * var(--space-8) + 13px);
  }
}

/* ============================================
   18. BACKGROUND EFFECTS
   ============================================ */

/* Animated gradient background */
.bg-gradient-animate {
  background: linear-gradient(-45deg, var(--black-dark), var(--black-base), #0a2540, var(--black-dark));
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

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

/* Grid background */
.bg-grid {
  background-image: 
    linear-gradient(rgba(74, 222, 128, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 222, 128, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Dots background */
.bg-dots {
  background-image: radial-gradient(rgba(74, 222, 128, 0.15) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* Noise texture */
.bg-noise {
  position: relative;
}

.bg-noise::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

/* Glow orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
  animation: orbFloat 20s ease-in-out infinite;
}

.glow-orb-green {
  background: var(--primary-green);
}

.glow-orb-blue {
  background: var(--secondary-blue);
}

.glow-orb-purple {
  background: var(--secondary-purple);
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, -30px) scale(1.1); }
  50% { transform: translate(-30px, 50px) scale(0.9); }
  75% { transform: translate(-50px, -20px) scale(1.05); }
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */

/* 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;
    scroll-behavior: auto !important;
  }
}

/* Reduce motion class (JS fallback) */
.reduce-motion *,
.reduce-motion *::before,
.reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

/* Save data mode - disable heavy effects */
.save-data .hero-bg,
.save-data .hero-glow,
.save-data .glow-orb,
.save-data .blob,
.save-data .aurora-bg,
.save-data .meteors-container,
.save-data .sparkles-container,
.save-data .beams-container {
  display: none !important;
}

.save-data .spotlight-card::before,
.save-data .spotlight-card::after {
  display: none !important;
}

/* Pause animations when tab is hidden */
.animations-paused *,
.animations-paused *::before,
.animations-paused *::after {
  animation-play-state: paused !important;
}

/* GPU acceleration for animated elements */
.card,
.btn,
.service-card,
.tech-card,
.team-card,
.navbar,
.hero-visual,
.floating-badge {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Optimize images */
img {
  content-visibility: auto;
}

img.loaded {
  animation: fadeIn 0.3s ease;
}

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

/* Contain paint for sections */
section {
  contain: layout style;
}

/* Optimize scrolling */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Font display optimization is handled via Google Fonts URL parameter (&display=swap) */

/* ============================================
   19. LIGHT THEME SPECIFIC OVERRIDES
   ============================================ */

/* Theme Toggle Button - Polished design */
/* Theme Toggle Switch - Glowing Effect */
.theme-switch {
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-switch input[type="checkbox"] {
  display: none;
}

.switch-slider {
  position: relative;
  width: 46px;
  height: 46px;
  background-color: rgb(45, 45, 55);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgb(80, 80, 90);
  box-shadow: 0px 0px 3px rgb(2, 2, 2) inset;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.switch-slider svg {
  width: 1.3em;
  height: 1.3em;
  transition: all 0.4s ease;
}

.switch-slider svg path {
  stroke: rgb(100, 100, 110);
  transition: all 0.4s ease;
}

/* Hover state */
.switch-slider:hover {
  border-color: rgb(100, 100, 120);
  transform: scale(1.05);
}

/* Compact when scrolled */
.navbar.scrolled .switch-slider {
  width: 40px;
  height: 40px;
}

.navbar.scrolled .switch-slider svg {
  width: 1.1em;
  height: 1.1em;
}

/* Light theme - Glowing effect */
[data-theme="light"] .switch-slider {
  box-shadow: 
    0px 0px 1px rgb(151, 243, 255) inset,
    0px 0px 2px rgb(151, 243, 255) inset,
    0px 0px 8px rgb(151, 243, 255) inset,
    0px 0px 20px rgba(151, 243, 255, 0.6),
    0px 0px 50px rgba(151, 243, 255, 0.4);
  border: 2px solid rgb(200, 240, 255);
  background-color: rgb(180, 220, 230);
}

[data-theme="light"] .switch-slider svg {
  filter: drop-shadow(0px 0px 4px rgb(151, 243, 255));
}

[data-theme="light"] .switch-slider svg path {
  stroke: rgb(255, 255, 255);
}

/* Mobile menu theme toggle labels */
.theme-label-dark {
  display: inline;
}

.theme-label-light {
  display: none;
}

[data-theme="light"] .theme-label-dark {
  display: none;
}

[data-theme="light"] .theme-label-light {
  display: inline !important;
}

/* Light Theme - Navbar with frosted glass effect */
[data-theme="light"] .navbar.scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(30, 21, 90, 0.06);
  box-shadow: 
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 2px 8px rgba(30, 21, 90, 0.04),
    0 4px 16px rgba(30, 21, 90, 0.06);
}

/* Light Theme - Cards with premium styling */
[data-theme="light"] .card,
[data-theme="light"] .glass-card,
[data-theme="light"] .bento-item,
[data-theme="light"] .tech-category,
[data-theme="light"] .service-card,
[data-theme="light"] .team-card {
  background: #ffffff;
  border: 1px solid rgba(30, 21, 90, 0.08);
  box-shadow: 
    0 1px 2px rgba(30, 21, 90, 0.04),
    0 2px 4px rgba(30, 21, 90, 0.02);
}

[data-theme="light"] .card:hover,
[data-theme="light"] .glass-card:hover,
[data-theme="light"] .bento-item:hover,
[data-theme="light"] .tech-category:hover,
[data-theme="light"] .service-card:hover,
[data-theme="light"] .team-card:hover {
  border-color: rgba(48, 33, 138, 0.15);
  box-shadow: 
    0 4px 8px rgba(30, 21, 90, 0.04),
    0 8px 16px rgba(30, 21, 90, 0.06),
    0 16px 32px rgba(30, 21, 90, 0.08);
  transform: translateY(-4px);
}

/* Light Theme - Hero Section */
[data-theme="light"] .hero-bg {
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(48, 33, 138, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(14, 165, 233, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(245, 158, 11, 0.04) 0%, transparent 50%);
}

[data-theme="light"] .hero-grid {
  background-image: 
    linear-gradient(rgba(48, 33, 138, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(48, 33, 138, 0.05) 1px, transparent 1px);
}

[data-theme="light"] .hero-glow-1 {
  background: rgba(48, 33, 138, 0.3);
}

[data-theme="light"] .hero-glow-2 {
  background: rgba(14, 165, 233, 0.3);
}

/* Light Theme - Code Editor */
[data-theme="light"] .code-editor {
  background: linear-gradient(145deg, #1e1e3f 0%, #0d0d1a 100%);
  box-shadow: 
    0 50px 100px rgba(48, 33, 138, 0.3),
    0 0 60px rgba(48, 33, 138, 0.1);
  border-color: rgba(48, 33, 138, 0.3);
}

/* Light Theme - Buttons with refined styling */
[data-theme="light"] .btn-primary {
  background: var(--primary-gradient);
  box-shadow: 
    0 2px 4px rgba(48, 33, 138, 0.2),
    0 4px 8px rgba(48, 33, 138, 0.15);
}

[data-theme="light"] .btn-primary:hover {
  box-shadow: 
    0 4px 8px rgba(48, 33, 138, 0.25),
    0 8px 16px rgba(48, 33, 138, 0.2);
}

[data-theme="light"] .btn-outline {
  border: 2px solid rgba(48, 33, 138, 0.2);
  color: var(--primary);
  background: transparent;
}

[data-theme="light"] .btn-outline:hover {
  background: rgba(48, 33, 138, 0.06);
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(48, 33, 138, 0.1);
}

[data-theme="light"] .btn-dark {
  background: #ffffff;
  color: var(--primary);
  border: 1px solid rgba(48, 33, 138, 0.15);
  box-shadow: 0 1px 3px rgba(30, 21, 90, 0.06);
}

[data-theme="light"] .btn-dark:hover {
  background: #fafbfc;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(48, 33, 138, 0.12);
}

/* Light Theme - Section Tags with polished look */
[data-theme="light"] .section-tag {
  background: linear-gradient(135deg, rgba(48, 33, 138, 0.08) 0%, rgba(79, 60, 201, 0.06) 100%);
  border: 1px solid rgba(48, 33, 138, 0.12);
  color: var(--primary);
  box-shadow: 0 1px 3px rgba(48, 33, 138, 0.06);
}

[data-theme="light"] .section-tag::before {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  box-shadow: 0 0 8px rgba(48, 33, 138, 0.4);
}

/* Light Theme - Service Cards */
[data-theme="light"] .service-hero-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
  border-color: rgba(48, 33, 138, 0.12);
}

[data-theme="light"] .service-hero-card:hover {
  border-color: rgba(48, 33, 138, 0.25);
  box-shadow: 0 40px 80px rgba(48, 33, 138, 0.15);
}

[data-theme="light"] .service-tech-stack span {
  background: rgba(48, 33, 138, 0.08);
  border-color: rgba(48, 33, 138, 0.15);
}

/* Light Theme - Tech Stack */
[data-theme="light"] .tech-items .tech-item:hover {
  background: rgba(48, 33, 138, 0.05);
  border-color: rgba(48, 33, 138, 0.2);
}

/* Light Theme - Feature List */
[data-theme="light"] .feature-list-item {
  background: rgba(48, 33, 138, 0.03);
  border-left-color: var(--primary);
}

[data-theme="light"] .feature-list-item:hover {
  background: rgba(48, 33, 138, 0.06);
}

/* Light Theme - Glass Card */
[data-theme="light"] .glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border-color: rgba(48, 33, 138, 0.1);
}

[data-theme="light"] .glass-card::before {
  background: linear-gradient(90deg, transparent, rgba(48, 33, 138, 0.15), transparent);
}

/* Light Theme - Footer with elegant styling */
[data-theme="light"] .footer {
  background: linear-gradient(180deg, #f4f6f8 0%, #eaecf0 100%);
  border-top: 1px solid rgba(48, 33, 138, 0.06);
}

[data-theme="light"] .footer::before {
  background: linear-gradient(90deg, transparent, rgba(48, 33, 138, 0.3), transparent);
  height: 2px;
}

[data-theme="light"] .footer-socials a {
  background: #ffffff;
  border: 1px solid rgba(48, 33, 138, 0.08);
  box-shadow: 0 1px 3px rgba(30, 21, 90, 0.04);
}

[data-theme="light"] .footer-socials a:hover {
  background: var(--primary-gradient);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(48, 33, 138, 0.25);
}

/* Light Theme - CTA Section with premium gradient */
[data-theme="light"] .cta-content {
  background: linear-gradient(135deg, #1a1154 0%, #30218a 50%, #4f3cc9 100%);
  box-shadow: 
    0 8px 32px rgba(48, 33, 138, 0.3),
    0 16px 64px rgba(48, 33, 138, 0.2);
}

[data-theme="light"] .cta-content h2,
[data-theme="light"] .cta-content p {
  color: #ffffff;
}

[data-theme="light"] .btn-ghost-dark {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

[data-theme="light"] .btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1);
}

/* Light Theme - Scrollbar */
[data-theme="light"]::-webkit-scrollbar-track {
  background: #f1f5f9;
}

[data-theme="light"]::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  border-color: #f1f5f9;
}

[data-theme="light"]::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Light Theme - Selection */
[data-theme="light"] ::selection {
  background: var(--primary);
  color: #ffffff;
}

/* Light Theme - Mobile Menu */
[data-theme="light"] .mobile-menu {
  background: #ffffff;
}

/* Light Theme - Back to Top */
[data-theme="light"] .back-to-top {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(48, 33, 138, 0.2);
  box-shadow: 0 4px 20px rgba(48, 33, 138, 0.15);
}

[data-theme="light"] .back-to-top:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Light Theme - Floating Badges */
[data-theme="light"] .floating-badge {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-color: rgba(48, 33, 138, 0.15);
  box-shadow: 0 10px 30px rgba(48, 33, 138, 0.15);
}

/* Light Theme - Tech Marquee */
[data-theme="light"] .tech-marquee-wrapper {
  background: linear-gradient(90deg, #ffffff 0%, transparent 5%, transparent 95%, #ffffff 100%);
}

/* Light Theme - Accordion */
[data-theme="light"] .accordion-item {
  background: #ffffff;
  border-color: rgba(48, 33, 138, 0.1);
}

[data-theme="light"] .accordion-item.active {
  border-color: var(--primary);
}

/* Light Theme - Timeline */
[data-theme="light"] .timeline::before {
  background: linear-gradient(180deg, var(--primary), var(--accent-cyan), var(--accent-violet));
}

[data-theme="light"] .timeline-content {
  background: #ffffff;
  border-color: rgba(48, 33, 138, 0.1);
}

/* Light Theme - Process Steps */
[data-theme="light"] .process-steps::before {
  background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
}

[data-theme="light"] .process-step .step-number {
  background: #ffffff;
  border-color: var(--primary);
}

/* Light Theme - Icon Box */
[data-theme="light"] .icon-box {
  background: #ffffff;
  border-color: rgba(48, 33, 138, 0.1);
}

/* Light Theme - Pricing Card */
[data-theme="light"] .pricing-card {
  background: #ffffff;
  border-color: rgba(48, 33, 138, 0.1);
}

/* Light Theme - Background Effects */
[data-theme="light"] .bg-grid {
  background-image: 
    linear-gradient(rgba(48, 33, 138, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(48, 33, 138, 0.05) 1px, transparent 1px);
}

[data-theme="light"] .bg-dots {
  background-image: radial-gradient(rgba(48, 33, 138, 0.15) 1px, transparent 1px);
}

[data-theme="light"] .glow-orb-green {
  background: var(--primary);
}

/* Light Theme - Stat Values */
[data-theme="light"] .stat-value,
[data-theme="light"] .hero-stat-value {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Light Theme - Services Section */
[data-theme="light"] .services-bg-pattern {
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(48, 33, 138, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.05) 0%, transparent 50%);
}

/* Light Theme - Body Background with subtle texture */
[data-theme="light"] body {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  color: #1a1f36;
}

/* Light Theme - Section Alt with refined gradient */
[data-theme="light"] .section-alt {
  background: linear-gradient(180deg, #f4f6f8 0%, #fafbfc 100%);
}

/* Light Theme - Hero Section */
[data-theme="light"] .hero {
  background: #ffffff;
}

[data-theme="light"] .hero-badge {
  background: #ffffff;
  border-color: rgba(48, 33, 138, 0.15);
  color: #64748b;
}

[data-theme="light"] .hero-badge i {
  color: var(--primary);
}

[data-theme="light"] .hero-trust {
  border-top-color: rgba(48, 33, 138, 0.1);
}

[data-theme="light"] .trust-item i {
  color: var(--primary);
}

/* Light Theme - Logo */
[data-theme="light"] .logo-icon {
  box-shadow: 0 0 30px rgba(48, 33, 138, 0.3);
}

/* Light Theme - Server Block */
[data-theme="light"] .server-block {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-color: rgba(48, 33, 138, 0.1);
}

[data-theme="light"] .server-block::before {
  background: var(--primary);
}

[data-theme="light"] .server-line {
  background: #e2e8f0;
}

[data-theme="light"] .server-line.active {
  background: var(--primary-gradient);
}

/* Light Theme - Code Preview (keep dark for contrast) */
[data-theme="light"] .code-preview {
  background: linear-gradient(145deg, #1e1e3f 0%, #0d0d1a 100%);
}

/* Light Theme - Service Hero Card */
[data-theme="light"] .service-hero-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%) !important;
  border-color: rgba(48, 33, 138, 0.12);
}

[data-theme="light"] .service-hero-card:hover {
  border-color: rgba(48, 33, 138, 0.25);
  box-shadow: 0 40px 80px rgba(48, 33, 138, 0.12);
}

[data-theme="light"] .service-hero-glow {
  background: radial-gradient(circle, rgba(48, 33, 138, 0.08) 0%, transparent 70%);
}

[data-theme="light"] .service-number {
  color: var(--primary);
}

[data-theme="light"] .service-hero-icon i {
  color: var(--primary);
  background: linear-gradient(135deg, rgba(48, 33, 138, 0.15) 0%, rgba(48, 33, 138, 0.05) 100%);
  border-color: rgba(48, 33, 138, 0.25);
}

[data-theme="light"] .icon-ring {
  border-color: rgba(48, 33, 138, 0.15);
}

[data-theme="light"] .service-tech-stack span {
  background: rgba(48, 33, 138, 0.08);
  border-color: rgba(48, 33, 138, 0.15);
  color: #334155;
}

[data-theme="light"] .service-tech-stack span i {
  color: var(--primary);
}

[data-theme="light"] .service-cta {
  color: var(--primary);
}

/* Light Theme - Service Cards */
[data-theme="light"] .service-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%) !important;
  border-color: rgba(48, 33, 138, 0.1);
}

[data-theme="light"] .service-card:hover {
  border-color: rgba(48, 33, 138, 0.25);
  box-shadow: 0 25px 50px rgba(48, 33, 138, 0.12);
}

[data-theme="light"] .service-card::before {
  background: linear-gradient(135deg, rgba(48, 33, 138, 0.03) 0%, transparent 50%);
}

[data-theme="light"] .service-icon {
  background: linear-gradient(135deg, rgba(48, 33, 138, 0.12) 0%, rgba(48, 33, 138, 0.04) 100%);
  border-color: rgba(48, 33, 138, 0.15);
}

[data-theme="light"] .service-icon i {
  color: var(--primary);
}

[data-theme="light"] .service-card:hover .service-icon {
  background: var(--primary-gradient);
}

[data-theme="light"] .service-icon-bg {
  background: var(--primary-gradient);
}

[data-theme="light"] .service-arrow {
  background: rgba(48, 33, 138, 0.1);
  color: var(--primary);
}

[data-theme="light"] .service-card:hover .service-arrow {
  background: var(--primary);
  color: #ffffff;
}

[data-theme="light"] .service-badge {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(124, 58, 237, 0.08) 100%);
  color: #7c3aed;
  border-color: rgba(124, 58, 237, 0.25);
}

[data-theme="light"] .service-card-featured {
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.05) 0%, #ffffff 100%) !important;
  border-color: rgba(124, 58, 237, 0.15);
}

[data-theme="light"] .service-card-featured:hover {
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 25px 50px rgba(124, 58, 237, 0.12);
}

/* Light Theme - Tech Categories */
[data-theme="light"] .tech-category {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%) !important;
  border-color: rgba(48, 33, 138, 0.1);
}

[data-theme="light"] .tech-category:hover {
  border-color: rgba(48, 33, 138, 0.25);
  box-shadow: 0 25px 50px rgba(48, 33, 138, 0.1);
}

[data-theme="light"] .tech-category::before {
  background: var(--primary-gradient);
}

[data-theme="light"] .tech-category-header {
  border-bottom-color: rgba(48, 33, 138, 0.08);
}

[data-theme="light"] .tech-category-icon {
  background: linear-gradient(135deg, rgba(48, 33, 138, 0.15) 0%, rgba(48, 33, 138, 0.05) 100%);
  color: var(--primary);
}

[data-theme="light"] .tech-badge {
  background: rgba(48, 33, 138, 0.1);
  color: var(--primary);
}

[data-theme="light"] .tech-badge.hot {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

[data-theme="light"] .tech-badge.trending {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
}

[data-theme="light"] .tech-badge.qa {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

[data-theme="light"] .tech-badge.design {
  background: rgba(236, 72, 153, 0.1);
  color: #db2777;
}

[data-theme="light"] .tech-items .tech-item {
  background: rgba(248, 250, 252, 0.5);
}

[data-theme="light"] .tech-items .tech-item:hover {
  background: rgba(48, 33, 138, 0.05);
  border-color: rgba(48, 33, 138, 0.15);
}

[data-theme="light"] .tech-name {
  color: #1e293b;
}

[data-theme="light"] .tech-version {
  color: #64748b;
}

/* Light Theme - Team Cards */
[data-theme="light"] .team-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%) !important;
  border-color: rgba(48, 33, 138, 0.1);
}

[data-theme="light"] .team-card:hover {
  border-color: rgba(48, 33, 138, 0.25);
  box-shadow: 0 30px 60px rgba(48, 33, 138, 0.12);
}

[data-theme="light"] .team-avatar {
  border-color: rgba(48, 33, 138, 0.25);
  box-shadow: 0 0 30px rgba(48, 33, 138, 0.15);
}

[data-theme="light"] .team-card:hover .team-avatar {
  border-color: var(--primary);
  box-shadow: 0 0 40px rgba(48, 33, 138, 0.25);
}

[data-theme="light"] .team-card .role {
  color: var(--primary);
}

[data-theme="light"] .team-socials a {
  background: rgba(48, 33, 138, 0.08);
  border-color: rgba(48, 33, 138, 0.15);
  color: #64748b;
}

[data-theme="light"] .team-socials a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

/* Light Theme - About Stats Glass Cards */
[data-theme="light"] .glass-card {
  background: #ffffff !important;
  border-color: rgba(48, 33, 138, 0.1);
}

[data-theme="light"] .glass-card::before {
  background: linear-gradient(90deg, transparent, rgba(48, 33, 138, 0.1), transparent);
}

[data-theme="light"] .glass-card::after {
  background: linear-gradient(135deg, rgba(48, 33, 138, 0.05) 0%, transparent 50%);
}

/* Light Theme - Card Icon */
[data-theme="light"] .card-icon {
  background: linear-gradient(135deg, rgba(48, 33, 138, 0.12) 0%, rgba(48, 33, 138, 0.04) 100%);
  border-color: rgba(48, 33, 138, 0.15);
  color: var(--primary);
}

[data-theme="light"] .card:hover .card-icon {
  background: var(--primary-gradient);
  color: #ffffff;
}

/* Light Theme - Bento Items */
[data-theme="light"] .bento-item {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%) !important;
}

[data-theme="light"] .bento-item::before {
  background: linear-gradient(
    135deg,
    rgba(48, 33, 138, 0.2) 0%,
    rgba(14, 165, 233, 0.15) 25%,
    rgba(48, 33, 138, 0.08) 50%,
    rgba(245, 158, 11, 0.15) 75%,
    rgba(48, 33, 138, 0.2) 100%
  );
}

[data-theme="light"] .bento-item .bento-icon {
  background: linear-gradient(135deg, rgba(48, 33, 138, 0.15) 0%, rgba(48, 33, 138, 0.05) 100%);
  border-color: rgba(48, 33, 138, 0.15);
  color: var(--primary);
}

[data-theme="light"] .bento-item:hover .bento-icon {
  background: var(--primary-gradient);
  color: #ffffff;
}

[data-theme="light"] .bento-item .corner-accent::before,
[data-theme="light"] .bento-item .corner-accent::after {
  background: var(--primary);
}

/* Light Theme - Text Gradient */
[data-theme="light"] .text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Light Theme - Services CTA */
[data-theme="light"] .services-cta {
  border-top-color: rgba(48, 33, 138, 0.08);
}

[data-theme="light"] .services-cta p {
  color: #64748b;
}

/* Light Theme - Tech Marquee */
[data-theme="light"] .tech-marquee-wrapper {
  background: linear-gradient(90deg, #ffffff 0%, transparent 5%, transparent 95%, #ffffff 100%);
}

[data-theme="light"] .tech-marquee-content span {
  color: #64748b;
}

[data-theme="light"] .tech-marquee-content span:not(:nth-child(even)):hover {
  color: var(--primary);
}

/* ============================================
   INDUSTRIES SECTION
   ============================================ */
.industries-section {
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-12);
}

.industry-card {
  position: relative;
  background: var(--black-base);
  border: 1px solid var(--black-lighter);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.industry-card:hover {
  transform: translateY(-8px);
  border-color: rgba(74, 222, 128, 0.3);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(74, 222, 128, 0.1);
}

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

.industry-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-4);
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.15) 0%, rgba(56, 189, 248, 0.1) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.industry-icon i {
  font-size: 28px;
  color: var(--primary-green);
  transition: all 0.4s ease;
}

.industry-card:hover .industry-icon {
  background: var(--primary-gradient);
  transform: scale(1.1) rotate(5deg);
}

.industry-card:hover .industry-icon i {
  color: var(--black-dark);
}

.industry-card h4 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: var(--space-2);
  transition: color 0.3s ease;
}

.industry-card p {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.industry-glow {
  position: absolute;
  bottom: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.industry-card:hover .industry-glow {
  opacity: 1;
}

/* Responsive */
@media (max-width: 1200px) {
  .industries-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }
  
  .industry-card {
    padding: var(--space-4);
  }
  
  .industry-icon {
    width: 50px;
    height: 50px;
  }
  
  .industry-icon i {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .industry-card h4 {
    font-size: var(--font-size-sm);
  }
  
  .industry-card p {
    display: none;
  }
}

/* Light Theme */
[data-theme="light"] .industry-card {
  background: #ffffff;
  border-color: rgba(30, 58, 95, 0.1);
}

[data-theme="light"] .industry-card:hover {
  border-color: rgba(30, 58, 95, 0.3);
  box-shadow: 
    0 20px 40px rgba(30, 58, 95, 0.15),
    0 0 40px rgba(30, 58, 95, 0.05);
}

[data-theme="light"] .industry-card::before {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.08) 0%, transparent 50%);
}

[data-theme="light"] .industry-icon {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.1) 0%, rgba(45, 90, 135, 0.08) 100%);
}

[data-theme="light"] .industry-icon i {
  color: #1e3a5f;
}

[data-theme="light"] .industry-card:hover .industry-icon {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
}

[data-theme="light"] .industry-card:hover .industry-icon i {
  color: #ffffff;
}

[data-theme="light"] .industry-card h4 {
  color: #1e3a5f;
}

[data-theme="light"] .industry-glow {
  background: radial-gradient(circle, rgba(30, 58, 95, 0.2) 0%, transparent 70%);
}

/* ============================================
   PROCESS TIMELINE SECTION - IMPROVED DESIGN
   ============================================ */
.process-section {
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
  background: var(--black-dark);
}

.process-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(74, 222, 128, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(56, 189, 248, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
  position: relative;
}

/* Connecting line between cards */
.process-timeline::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%,
    var(--primary-green) 10%,
    var(--primary-green) 90%,
    transparent 100%
  );
  opacity: 0.2;
  z-index: 0;
}

.process-step {
  position: relative;
  background: linear-gradient(145deg, var(--black-base) 0%, var(--black-light) 100%);
  border: 1px solid var(--black-lighter);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  text-align: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.process-step::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-2xl);
  background: var(--primary-gradient);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.process-step:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: transparent;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(74, 222, 128, 0.15);
}

.process-step:hover::before {
  opacity: 1;
}

/* Step number badge */
.process-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--font-size-base);
  font-weight: 800;
  color: var(--black-dark);
  box-shadow: 0 4px 15px rgba(74, 222, 128, 0.4);
  z-index: 2;
}

/* Icon container */
.process-icon {
  width: 80px;
  height: 80px;
  margin: var(--space-4) auto var(--space-5);
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.1) 0%, rgba(56, 189, 248, 0.05) 100%);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}

.process-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.process-icon i {
  font-size: 32px;
  color: var(--primary-green);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.process-step:hover .process-icon {
  transform: scale(1.1) rotate(5deg);
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(74, 222, 128, 0.3);
}

.process-step:hover .process-icon::before {
  opacity: 1;
}

.process-step:hover .process-icon i {
  color: var(--black-dark);
  transform: scale(1.1);
}

/* Content */
.process-content h4 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: var(--space-3);
  transition: color 0.3s ease;
}

.process-step:hover .process-content h4 {
  color: var(--primary-green);
}

.process-content p {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

/* Tags */
.process-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
}

.process-tags span {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  background: var(--black-dark);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  border: 1px solid var(--black-lighter);
  transition: all 0.3s ease;
}

.process-step:hover .process-tags span {
  background: rgba(74, 222, 128, 0.1);
  border-color: rgba(74, 222, 128, 0.2);
  color: var(--primary-green);
}

/* Responsive */
@media (max-width: 1200px) {
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .process-timeline {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    margin-top: var(--space-10);
  }
  
  .process-timeline::before {
    display: none;
  }
  
  .process-step {
    padding: var(--space-6);
  }
  
  .process-icon {
    width: 40px;
    height: 40px;
  }
  
  .process-icon i {
    font-size: 18px;
  }
  
  .process-content h4 {
    font-size: var(--font-size-lg);
  }
  
  .process-tags span {
    font-size: 10px;
  }
}

/* Light Theme */
[data-theme="light"] .process-section {
  background: #ffffff;
}

[data-theme="light"] .process-section::before {
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(30, 58, 95, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(45, 90, 135, 0.03) 0%, transparent 50%);
}

[data-theme="light"] .process-timeline::before {
  background: linear-gradient(90deg, 
    transparent 0%,
    #1e3a5f 10%,
    #1e3a5f 90%,
    transparent 100%
  );
}

[data-theme="light"] .process-step {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-color: rgba(30, 58, 95, 0.1);
}

[data-theme="light"] .process-step::before {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
}

[data-theme="light"] .process-step:hover {
  box-shadow: 
    0 25px 50px rgba(30, 58, 95, 0.15),
    0 0 60px rgba(30, 58, 95, 0.08);
}

[data-theme="light"] .process-number {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

[data-theme="light"] .process-icon {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.08) 0%, rgba(45, 90, 135, 0.04) 100%);
  border-color: rgba(30, 58, 95, 0.15);
}

[data-theme="light"] .process-icon::before {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
}

[data-theme="light"] .process-icon i {
  color: #1e3a5f;
}

[data-theme="light"] .process-step:hover .process-icon {
  box-shadow: 0 10px 30px rgba(30, 58, 95, 0.2);
}

[data-theme="light"] .process-step:hover .process-icon i {
  color: #ffffff;
}

[data-theme="light"] .process-content h4 {
  color: #1e3a5f;
}

[data-theme="light"] .process-step:hover .process-content h4 {
  color: #2d5a87;
}

[data-theme="light"] .process-tags span {
  background: #f4f6f8;
  border-color: rgba(30, 58, 95, 0.1);
  color: #4a7ab0;
}

[data-theme="light"] .process-step:hover .process-tags span {
  background: rgba(30, 58, 95, 0.08);
  border-color: rgba(30, 58, 95, 0.15);
  color: #1e3a5f;
}

/* ============================================
   TECHNOLOGY STACK SECTION
   ============================================ */
.tech-stack-section {
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.tech-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.tech-category {
  background: var(--black-base);
  border: 1px solid var(--black-lighter);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all 0.4s ease;
}

.tech-category:hover {
  border-color: rgba(74, 222, 128, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.tech-category-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--black-lighter);
}

.tech-category-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.15) 0%, rgba(56, 189, 248, 0.1) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.tech-category-icon i {
  font-size: 20px;
  color: var(--primary-green);
}

.tech-category:hover .tech-category-icon {
  background: var(--primary-gradient);
}

.tech-category:hover .tech-category-icon i {
  color: var(--black-dark);
}

.tech-category h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text-white);
}

.tech-logos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.tech-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  background: var(--black-dark);
  border: 1px solid var(--black-lighter);
  border-radius: var(--radius-lg);
  min-width: 70px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tech-logo:hover {
  border-color: rgba(74, 222, 128, 0.4);
  background: rgba(74, 222, 128, 0.05);
  transform: translateY(-3px);
}

.tech-logo i {
  font-size: 24px;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.tech-logo:hover i {
  color: var(--primary-green);
  transform: scale(1.1);
}

.tech-logo span {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
  transition: color 0.3s ease;
}

.tech-logo:hover span {
  color: var(--text-white);
}

.tech-cta {
  text-align: center;
  margin-top: var(--space-12);
}

/* Responsive */
@media (max-width: 1200px) {
  .tech-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tech-categories {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .tech-category {
    padding: var(--space-4);
  }
  
  .tech-logo {
    min-width: 60px;
    padding: var(--space-2);
  }
  
  .tech-logo i {
    font-size: 20px;
  }
  
  .tech-logo span {
    font-size: 10px;
  }
}

/* Light Theme */
[data-theme="light"] .tech-category {
  background: #ffffff;
  border-color: rgba(30, 58, 95, 0.1);
}

[data-theme="light"] .tech-category:hover {
  border-color: rgba(30, 58, 95, 0.3);
  box-shadow: 0 20px 40px rgba(30, 58, 95, 0.1);
}

[data-theme="light"] .tech-category-header {
  border-bottom-color: rgba(30, 58, 95, 0.1);
}

[data-theme="light"] .tech-category-icon {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.1) 0%, rgba(45, 90, 135, 0.08) 100%);
}

[data-theme="light"] .tech-category-icon i {
  color: #1e3a5f;
}

[data-theme="light"] .tech-category:hover .tech-category-icon {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
}

[data-theme="light"] .tech-category:hover .tech-category-icon i {
  color: #ffffff;
}

[data-theme="light"] .tech-category h4 {
  color: #1e3a5f;
}

[data-theme="light"] .tech-logo {
  background: #fafbfc;
  border-color: rgba(30, 58, 95, 0.1);
}

[data-theme="light"] .tech-logo:hover {
  border-color: rgba(30, 58, 95, 0.3);
  background: rgba(30, 58, 95, 0.05);
}

[data-theme="light"] .tech-logo i {
  color: #4a7ab0;
}

[data-theme="light"] .tech-logo:hover i {
  color: #1e3a5f;
}

[data-theme="light"] .tech-logo span {
  color: #4a7ab0;
}

[data-theme="light"] .tech-logo:hover span {
  color: #1e3a5f;
}

/* ============================================
   CASE STUDIES SECTION
   ============================================ */
.case-studies-section {
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
  background: var(--black-base);
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.case-study-card {
  position: relative;
  background: var(--black-dark);
  border: 1px solid var(--black-lighter);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: all 0.4s ease;
}

.case-study-card:hover {
  transform: translateY(-8px);
  border-color: rgba(74, 222, 128, 0.3);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(74, 222, 128, 0.1);
}

.case-study-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.case-study-image {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, var(--black-light) 0%, var(--black-base) 100%);
  overflow: hidden;
}

.case-study-card.featured .case-study-image {
  height: 100%;
  min-height: 300px;
}

.case-study-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(74, 222, 128, 0.1) 0%,
    rgba(56, 189, 248, 0.1) 50%,
    rgba(139, 92, 246, 0.1) 100%
  );
  opacity: 0.5;
}

.case-study-badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: var(--primary-gradient);
  color: var(--black-dark);
  font-size: var(--font-size-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

.case-study-tech-stack {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.case-study-tech-stack span {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  color: var(--text-white);
  font-size: var(--font-size-xs);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.case-study-content {
  padding: var(--space-6);
}

.case-study-card.featured .case-study-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-8);
}

.case-study-category {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--primary-green);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-2);
}

.case-study-content h4 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: var(--space-3);
}

.case-study-card.featured .case-study-content h4 {
  font-size: var(--font-size-2xl);
}

.case-study-content p {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.case-study-stats {
  display: flex;
  gap: var(--space-6);
  margin-bottom: var(--space-4);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--black-lighter);
  border-bottom: 1px solid var(--black-lighter);
}

.case-study-stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.case-study-stat .stat-value {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--primary-green);
}

.case-study-stat .stat-label {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

.case-study-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-white);
  transition: all 0.3s ease;
}

.case-study-link:hover {
  color: var(--primary-green);
  gap: var(--space-3);
}

.case-study-link i {
  transition: transform 0.3s ease;
}

.case-study-link:hover i {
  transform: translateX(4px);
}

.case-studies-cta {
  text-align: center;
  margin-top: var(--space-12);
}

/* Responsive */
@media (max-width: 992px) {
  .case-study-card.featured {
    grid-template-columns: 1fr;
  }
  
  .case-study-card.featured .case-study-image {
    min-height: 200px;
  }
}

@media (max-width: 768px) {
  .case-studies-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .case-study-content {
    padding: var(--space-4);
  }
  
  .case-study-stats {
    gap: var(--space-4);
  }
  
  .case-study-stat .stat-value {
    font-size: var(--font-size-lg);
  }
}

/* Light Theme */
[data-theme="light"] .case-studies-section {
  background: #fafbfc;
}

[data-theme="light"] .case-study-card {
  background: #ffffff;
  border-color: rgba(30, 58, 95, 0.1);
}

[data-theme="light"] .case-study-card:hover {
  border-color: rgba(30, 58, 95, 0.3);
  box-shadow: 
    0 25px 50px rgba(30, 58, 95, 0.15),
    0 0 40px rgba(30, 58, 95, 0.05);
}

[data-theme="light"] .case-study-image {
  background: linear-gradient(135deg, #f4f6f8 0%, #e5e9ef 100%);
}

[data-theme="light"] .case-study-overlay {
  background: linear-gradient(
    135deg,
    rgba(30, 58, 95, 0.08) 0%,
    rgba(45, 90, 135, 0.08) 50%,
    rgba(74, 122, 176, 0.08) 100%
  );
}

[data-theme="light"] .case-study-badge {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
  color: #ffffff;
}

[data-theme="light"] .case-study-tech-stack span {
  background: rgba(255, 255, 255, 0.9);
  color: #1e3a5f;
  border-color: rgba(30, 58, 95, 0.1);
}

[data-theme="light"] .case-study-category {
  color: #1e3a5f;
}

[data-theme="light"] .case-study-content h4 {
  color: #1e3a5f;
}

[data-theme="light"] .case-study-stats {
  border-color: rgba(30, 58, 95, 0.1);
}

[data-theme="light"] .case-study-stat .stat-value {
  color: #1e3a5f;
}

[data-theme="light"] .case-study-link {
  color: #1e3a5f;
}

[data-theme="light"] .case-study-link:hover {
  color: #2d5a87;
}

/* ============================================
   TRUST INDICATORS SECTION
   ============================================ */
.trust-section {
  padding: var(--space-12) 0;
  background: var(--black-base);
  border-top: 1px solid var(--black-lighter);
  border-bottom: 1px solid var(--black-lighter);
  overflow: hidden;
}

.trust-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.trust-header span {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.client-logos-wrapper {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

.client-logos-track {
  display: flex;
  gap: var(--space-12);
  animation: logoScroll 30s linear infinite;
  width: max-content;
}

@keyframes logoScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.client-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  opacity: 0.5;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.client-logo:hover {
  opacity: 1;
}

.client-logo i {
  font-size: 36px;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.client-logo:hover i {
  color: var(--primary-green);
  transform: scale(1.1);
}

.client-logo span {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  font-weight: 500;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  margin-top: var(--space-8);
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--black-dark);
  border: 1px solid var(--black-lighter);
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}

.trust-badge:hover {
  border-color: rgba(74, 222, 128, 0.3);
  background: rgba(74, 222, 128, 0.05);
}

.trust-badge i {
  font-size: 16px;
  color: var(--primary-green);
}

.trust-badge span {
  font-size: var(--font-size-xs);
  color: var(--text-gray);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .trust-badges {
    gap: var(--space-3);
  }
  
  .trust-badge {
    padding: var(--space-1) var(--space-3);
  }
  
  .trust-badge span {
    font-size: 10px;
  }
  
  .client-logo i {
    font-size: 28px;
  }
  
  .client-logos-track {
    gap: var(--space-8);
  }
}

/* Light Theme */
[data-theme="light"] .trust-section {
  background: #ffffff;
  border-color: rgba(30, 58, 95, 0.08);
}

[data-theme="light"] .trust-header span {
  color: #4a7ab0;
}

[data-theme="light"] .client-logo i {
  color: #4a7ab0;
}

[data-theme="light"] .client-logo:hover i {
  color: #1e3a5f;
}

[data-theme="light"] .client-logo span {
  color: #4a7ab0;
}

[data-theme="light"] .trust-badge {
  background: #fafbfc;
  border-color: rgba(30, 58, 95, 0.1);
}

[data-theme="light"] .trust-badge:hover {
  border-color: rgba(30, 58, 95, 0.3);
  background: rgba(30, 58, 95, 0.05);
}

[data-theme="light"] .trust-badge i {
  color: #1e3a5f;
}

[data-theme="light"] .trust-badge span {
  color: #2d5a87;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: difference;
  transition: opacity 0.3s ease;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
  position: absolute;
  top: -4px;
  left: -4px;
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  position: absolute;
  top: -20px;
  left: -20px;
  transition: all 0.15s ease;
}

.custom-cursor.cursor-hover .cursor-ring {
  width: 60px;
  height: 60px;
  top: -30px;
  left: -30px;
  border-color: var(--primary-green);
  background: rgba(74, 222, 128, 0.1);
}

.custom-cursor.cursor-hover .cursor-dot {
  background: var(--primary-green);
  transform: scale(1.5);
}

/* Hide default cursor when custom cursor is active */
body:has(.custom-cursor) {
  cursor: none;
}

body:has(.custom-cursor) a,
body:has(.custom-cursor) button,
body:has(.custom-cursor) .btn {
  cursor: none;
}

/* ============================================
   TEXT SCRAMBLE EFFECT
   ============================================ */
.scramble-char {
  color: var(--primary-green);
  opacity: 0.8;
}

.text-scramble {
  display: inline-block;
}

/* ============================================
   MAGNETIC BUTTON STYLES
   ============================================ */
.btn-primary,
.btn-outline,
.magnetic {
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
              background 0.3s ease, 
              color 0.3s ease, 
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  will-change: transform;
}

/* ============================================
   RIPPLE EFFECT
   ============================================ */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.3) 10%, transparent 10.01%);
  background-repeat: no-repeat;
  background-position: 50%;
  transform: scale(10, 10);
  opacity: 0;
  transition: transform 0.5s, opacity 1s;
}

.btn-ripple:active::after {
  transform: scale(0, 0);
  opacity: 0.3;
  transition: 0s;
}

/* ============================================
   BLOG/INSIGHTS SECTION
   ============================================ */
.blog-section {
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.blog-card {
  position: relative;
  background: var(--black-base);
  border: 1px solid var(--black-lighter);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(74, 222, 128, 0.3);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(74, 222, 128, 0.1);
}

.blog-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.blog-image {
  position: relative;
  height: 180px;
  background: linear-gradient(135deg, var(--black-light) 0%, var(--black-base) 100%);
  overflow: hidden;
}

.blog-card.featured .blog-image {
  height: 100%;
  min-height: 280px;
}

.blog-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(74, 222, 128, 0.15) 0%,
    rgba(56, 189, 248, 0.1) 50%,
    rgba(139, 92, 246, 0.1) 100%
  );
}

.blog-category {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: var(--primary-gradient);
  color: var(--black-dark);
  font-size: var(--font-size-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

.blog-content {
  padding: var(--space-5);
}

.blog-card.featured .blog-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-8);
}

.blog-meta {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

.blog-meta i {
  font-size: 12px;
}

.blog-content h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: var(--space-2);
  line-height: 1.4;
  transition: color 0.3s ease;
}

.blog-card.featured .blog-content h3 {
  font-size: var(--font-size-2xl);
}

.blog-card:hover .blog-content h3 {
  color: var(--primary-green);
}

.blog-content p {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--primary-green);
  transition: all 0.3s ease;
}

.blog-link:hover {
  gap: var(--space-3);
}

.blog-link i {
  transition: transform 0.3s ease;
}

.blog-link:hover i {
  transform: translateX(4px);
}

.blog-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.blog-card.featured .blog-card-link {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  height: 100%;
}

.blog-cta {
  text-align: center;
  margin-top: var(--space-12);
}

/* Responsive */
@media (max-width: 992px) {
  .blog-card.featured {
    grid-template-columns: 1fr;
  }
  
  .blog-card.featured .blog-image {
    min-height: 200px;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .blog-content {
    padding: var(--space-4);
  }
  
  .blog-content h3 {
    font-size: var(--font-size-base);
  }
  
  .blog-card.featured .blog-content h3 {
    font-size: var(--font-size-lg);
  }
}

/* Light Theme */
[data-theme="light"] .blog-card {
  background: #ffffff;
  border-color: rgba(30, 58, 95, 0.1);
}

[data-theme="light"] .blog-card:hover {
  border-color: rgba(30, 58, 95, 0.3);
  box-shadow: 
    0 20px 40px rgba(30, 58, 95, 0.12),
    0 0 40px rgba(30, 58, 95, 0.05);
}

[data-theme="light"] .blog-image {
  background: linear-gradient(135deg, #f4f6f8 0%, #e5e9ef 100%);
}

[data-theme="light"] .blog-image-overlay {
  background: linear-gradient(
    135deg,
    rgba(30, 58, 95, 0.1) 0%,
    rgba(45, 90, 135, 0.08) 50%,
    rgba(74, 122, 176, 0.08) 100%
  );
}

[data-theme="light"] .blog-category {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
  color: #ffffff;
}

[data-theme="light"] .blog-content h3 {
  color: #1e3a5f;
}

[data-theme="light"] .blog-card:hover .blog-content h3 {
  color: #2d5a87;
}

[data-theme="light"] .blog-link {
  color: #1e3a5f;
}

/* Light Theme Transition */
html {
  transition: background-color 0.3s ease, color 0.3s ease;
}

body,
.navbar,
.card,
.btn,
.footer {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
