/* ==========================================
   MONZDIGI - MAIN STYLESHEET
   Brand Color: #2477bf | Font: TT Norms
   ========================================== */

/* --- Google Fonts loaded in parallel via HTML link tag (optimization applied) --- */

/* ==========================================
   CSS VARIABLES / DESIGN TOKENS
   ========================================== */
:root {
  /* Brand Colors */
  --primary: #2477bf;
  --primary-dark: #1a5a9a;
  --primary-light: #3d8fd4;
  --primary-glow: rgba(36, 119, 191, 0.35);
  --primary-ultra-light: rgba(36, 119, 191, 0.08);

  /* Dark Theme */
  --bg-dark: #050b15;
  --bg-card: #0c1726;
  --bg-card-hover: #102035;
  --bg-surface: #0a1420;
  --bg-glass: rgba(12, 23, 38, 0.75);

  /* Accent Colors */
  --accent-cyan: #00d4ff;
  --accent-purple: #7c3aed;
  --accent-purple-light: #a855f7;
  --accent-green: #10b981;

  /* Text */
  --text-primary: #f0f6ff;
  --text-secondary: #94afc7;
  --text-muted: #5a7a9a;

  /* Borders */
  --border: rgba(36, 119, 191, 0.2);
  --border-light: rgba(255, 255, 255, 0.06);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #2477bf 0%, #00d4ff 100%);
  --gradient-hero: linear-gradient(135deg, #050b15 0%, #0a1a30 50%, #0d1f3c 100%);
  --gradient-card: linear-gradient(135deg, rgba(12, 23, 38, 0.9) 0%, rgba(15, 30, 55, 0.9) 100%);
  --gradient-text: linear-gradient(135deg, #2477bf, #00d4ff, #a855f7);

  /* Shadows */
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(36, 119, 191, 0.3);
  --shadow-glow-strong: 0 0 60px rgba(36, 119, 191, 0.5);

  /* Typography */
  --font-main: 'Space Grotesk', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-py: 100px;
  --container-max: 1280px;
  --container-px: 24px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

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

/* ==========================================
   LIGHT MODE VARIABLES
   ========================================== */
[data-theme="light"] {
  /* Colors */
  --bg-dark: #f4f7fc;
  --bg-card: #ffffff;
  --bg-card-hover: #fbfdff;
  --bg-surface: #eef3fa;
  --bg-glass: rgba(255, 255, 255, 0.82);
  --primary-light: #1d65a6; /* Darker rich blue for Light Mode readability */

  /* Text */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  /* Borders */
  --border: rgba(36, 119, 191, 0.15);
  --border-light: rgba(0, 0, 0, 0.08);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #f4f7fc 0%, #e8eff9 50%, #dbe7f6 100%);
  --gradient-card: linear-gradient(135deg, #ffffff 0%, #f4f8fd 100%);

  /* Shadows */
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 32px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 64px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 30px rgba(36, 119, 191, 0.12);
  --shadow-glow-strong: 0 0 40px rgba(36, 119, 191, 0.22);
}

/* Global Transitions for Smooth Theme Switching */
body, 
.service-card, 
.why-feature, 
.pricing-card, 
.testimonial-card, 
.navbar, 
.footer, 
.portfolio-card,
.contact-form-wrap,
.process-step,
.faq-item,
.float-widget,
.social-link {
  transition: background 0.4s ease, background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease, color 0.4s ease !important;
}

/* Light Mode Overrides for Perfect Element Compatibility */
[data-theme="light"] .logo-white {
  filter: brightness(0) !important;
}

[data-theme="light"] .why-badge-icon .logo-white {
  filter: brightness(0) invert(1) !important;
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
  background: rgba(15, 23, 42, 0.04) !important;
  color: #0f172a !important;
}

[data-theme="light"] .form-group select option {
  background: #ffffff !important;
  color: #0f172a !important;
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group select:focus,
[data-theme="light"] .form-group textarea:focus {
  background: rgba(36, 119, 191, 0.03) !important;
}

[data-theme="light"] .badge {
  color: var(--primary) !important;
  background: rgba(36, 119, 191, 0.08) !important;
  border-color: rgba(36, 119, 191, 0.25) !important;
}

[data-theme="light"] .hero-sub {
  color: #334155 !important;
}

/* 1. Header (Navbar) Light Mode Overrides */
[data-theme="light"] .navbar.scrolled {
  background: rgba(255, 255, 255, 0.9) !important;
  border-bottom: 1px solid rgba(36, 119, 191, 0.1) !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .navbar-links a {
  color: #1e293b !important;
  font-weight: 600 !important;
}

[data-theme="light"] .navbar-links a:hover {
  color: var(--primary) !important;
}

/* ---- DUAL LOGO SYSTEM: dark logo for dark mode, light logo for light mode ---- */
/* Dark mode (default): show dark logo, hide light logo */
.logo-dark { display: block; }
.logo-light { display: none; }

/* Light mode: show light logo (black text), hide dark logo */
[data-theme="light"] .logo-dark { display: none !important; }
[data-theme="light"] .logo-light { display: block !important; }

/* 2. Hero Outline Button Visibility Override */
[data-theme="light"] .btn-outline {
  border: 1.5px solid rgba(36, 119, 191, 0.3) !important;
  color: #1e293b !important;
}

[data-theme="light"] .btn-outline:hover {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  background: rgba(36, 119, 191, 0.05) !important;
}

/* 3. Hubungi Kami (Contact/CTA) Light Mode Overrides */
[data-theme="light"] .cta-overlay {
  background: 
    linear-gradient(135deg, rgba(244, 247, 252, 0.85) 0%, rgba(232, 239, 249, 0.9) 100%),
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(36, 119, 191, 0.08) 0%, transparent 70%) !important;
}

/* 4. Footer Light Mode Overrides */
[data-theme="light"] .footer {
  background: rgba(15, 23, 42, 0.04) !important;
  border-top: 1px solid rgba(36, 119, 191, 0.1) !important;
}

/* 5. Hero Section & Header Light Mode Overrides */
[data-theme="light"] .hero-overlay {
  background: 
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(36, 119, 191, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(124, 58, 237, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(0, 212, 255, 0.04) 0%, transparent 60%),
    linear-gradient(180deg, rgba(244, 247, 252, 0.4) 0%, rgba(244, 247, 252, 0.8) 100%) !important;
}

[data-theme="light"] .hero-video-bg video {
  opacity: 0.06 !important;
  filter: invert(1) brightness(1.2) contrast(0.9) !important;
}

[data-theme="light"] .theme-toggle {
  background: rgba(15, 23, 42, 0.04) !important;
  border-color: rgba(36, 119, 191, 0.15) !important;
  color: var(--text-primary) !important;
}

[data-theme="light"] .mobile-nav {
  background: rgba(244, 247, 252, 0.98) !important;
  border-left: 1px solid rgba(36, 119, 191, 0.1) !important;
}

[data-theme="light"] .mobile-nav a {
  color: #1e293b !important;
}

[data-theme="light"] .mobile-nav a:hover {
  color: var(--primary) !important;
}

[data-theme="light"] .mobile-nav-close {
  color: #1e293b !important;
}

/* Force Hero floating code card to remain dark for syntax contrast in Light Mode */
[data-theme="light"] .hero-visual-card .hero-floating-card {
  background: rgba(12, 23, 38, 0.85) !important;
  border-color: rgba(36, 119, 191, 0.3) !important;
  box-shadow: 0 16px 64px rgba(5, 11, 21, 0.15) !important;
}

[data-theme="light"] .hero-visual-card .code-white {
  color: #f0f6ff !important;
}

[data-theme="light"] .hero-visual-card .code-num {
  color: #5a7a9a !important;
}

[data-theme="light"] .hero-visual-card .hero-mock-header span {
  color: #5a7a9a !important;
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
}

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

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

/* ==========================================
   SCROLLBAR
   ========================================== */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

/* ==========================================
   SELECTION
   ========================================== */
::selection {
  background: var(--primary-glow);
  color: var(--text-primary);
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

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

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(36, 119, 191, 0.12);
  border: 1px solid rgba(36, 119, 191, 0.3);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 70px;
}

.section-header .badge {
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.section-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.btn:hover::before {
  transform: translateX(0);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 8px 32px rgba(36, 119, 191, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 48px rgba(36, 119, 191, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 17px;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 14px;
}

/* ==========================================
   GLASSMORPHISM CARD
   ========================================== */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}

/* ==========================================
   PARTICLE CANVAS
   ========================================== */
#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(5, 11, 21, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.navbar-logo img {
  height: 44px;
  width: auto;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .navbar-logo img {
  height: 34px;
}

.navbar-logo-text {
  font-size: 22px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-links a {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

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

.navbar-links a:hover {
  color: var(--text-primary);
}

.navbar-links a:hover::after {
  width: calc(100% - 32px);
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
  cursor: pointer;
}

.navbar-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: var(--transition);
}

/* Hamburger active state morph into X */
.navbar-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.navbar-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 11, 21, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.mobile-nav a:hover {
  color: var(--primary-light);
}

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

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(36, 119, 191, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(124, 58, 237, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(0, 212, 255, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, rgba(5, 11, 21, 0.4) 0%, rgba(5, 11, 21, 0.7) 100%);
  z-index: 1;
}

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

.hero-text {
  max-width: 600px;
}

.hero-badge {
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease both;
}

.hero-headline {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s 0.1s ease both;
}

.hero-headline .line-1 {
  display: block;
  color: var(--text-primary);
}

.hero-headline .line-2 {
  display: block;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-headline .line-3 {
  display: block;
  color: var(--text-primary);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.3s ease both;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  animation: fadeInUp 0.8s 0.4s ease both;
}

.hero-stat {
  position: relative;
}

.hero-stat::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-stat:last-child::after {
  display: none;
}

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

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* Hero Right - Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInRight 1s 0.2s ease both;
}

.hero-visual-card {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.hero-floating-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(36, 119, 191, 0.25);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md), 0 0 60px rgba(36, 119, 191, 0.15);
}

.hero-mock-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.mock-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.mock-dot.red { background: #ff5f57; }
.mock-dot.yellow { background: #febc2e; }
.mock-dot.green { background: #28c840; }

.hero-mock-code {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.8;
}

.code-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
}

.code-num {
  color: var(--text-muted);
  font-size: 11px;
  min-width: 20px;
  text-align: right;
}

.code-blue { color: #569cd6; }
.code-green { color: #4ec9b0; }
.code-yellow { color: #dcdcaa; }
.code-orange { color: #ce9178; }
.code-purple { color: #c586c0; }
.code-white { color: var(--text-primary); }

.hero-float-widgets {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.float-widget {
  position: absolute;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 4s ease-in-out infinite;
  box-shadow: var(--shadow-sm);
}

.float-widget:nth-child(2) { animation-delay: -2s; }
.float-widget:nth-child(3) { animation-delay: -1s; }

.float-widget-1 {
  top: -30px;
  right: -40px;
}

.float-widget-2 {
  bottom: 40px;
  left: -50px;
}

.float-widget-3 {
  top: 50%;
  right: -60px;
  transform: translateY(-50%);
}

.widget-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.widget-icon.blue { background: rgba(36, 119, 191, 0.2); }
.widget-icon.green { background: rgba(16, 185, 129, 0.2); }
.widget-icon.purple { background: rgba(124, 58, 237, 0.2); }

.widget-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 2px;
}

.widget-text span {
  font-size: 11px;
  color: var(--text-muted);
}

/* ==========================================
   MARQUEE / TICKER
   ========================================== */
.ticker {
  background: rgba(36, 119, 191, 0.08);
  border-top: 1px solid rgba(36, 119, 191, 0.15);
  border-bottom: 1px solid rgba(36, 119, 191, 0.15);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
  z-index: 3;
}

.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker-scroll 30s linear infinite;
  width: max-content;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 40px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.ticker-item svg, .ticker-item span.ticker-icon {
  color: var(--primary);
  font-size: 16px;
}

.ticker-icon {
  width: 16px !important;
  height: 16px !important;
  display: block !important;
  object-fit: contain !important;
}

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

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services {
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(36, 119, 191, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
  cursor: pointer;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: var(--radius-lg);
  z-index: 0;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(36, 119, 191, 0.4);
  box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
  opacity: 0.04;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card-glow {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 119, 191, 0.12) 0%, transparent 70%);
  pointer-events: none;
  transition: var(--transition);
  transform: translate(50%, 50%);
}

.service-card:hover .service-card-glow {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(36, 119, 191, 0.2) 0%, transparent 70%);
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 28px;
  position: relative;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.1) rotate(5deg);
}

.service-icon-wrap img {
  width: 30px !important;
  height: 30px !important;
  display: block !important;
  object-fit: contain !important;
}

.service-icon-wrap.blue {
  background: rgba(36, 119, 191, 0.15);
  border: 1px solid rgba(36, 119, 191, 0.25);
}
.service-icon-wrap.cyan {
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.2);
}
.service-icon-wrap.purple {
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.2);
}
.service-icon-wrap.green {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.service-icon-wrap.orange {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.service-icon-wrap.pink {
  background: rgba(236, 72, 153, 0.12);
  border: 1px solid rgba(236, 72, 153, 0.2);
}
.service-icon-wrap.teal {
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.2);
}
.service-icon-wrap.indigo {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.2);
}
.service-icon-wrap.red {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.service-card-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(36, 119, 191, 0.1);
  border: 1px solid rgba(36, 119, 191, 0.2);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-card-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.service-feature-item svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

.service-card-arrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-light);
  transition: gap 0.3s ease;
}

.service-card:hover .service-card-arrow {
  gap: 10px;
}

/* ==========================================
   HOW WE WORK (PROCESS)
   ========================================== */
.process {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-surface) 50%, var(--bg-dark) 100%);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 52px;
  left: calc(12.5% + 32px);
  right: calc(12.5% + 32px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent-cyan) 100%);
  opacity: 0.3;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step-num {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: white;
  margin: 0 auto 24px;
  z-index: 1;
  box-shadow: 0 8px 32px rgba(36, 119, 191, 0.4);
}

.process-step-num::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(36, 119, 191, 0.3);
  animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0.2; }
}

.process-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================
   WHY CHOOSE US
   ========================================== */
.why-us {
  position: relative;
  overflow: hidden;
}

.why-us-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-us-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.why-us-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.why-us-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(36, 119, 191, 0.12) 0%, transparent 60%);
  border-radius: var(--radius-xl);
}

.why-us-image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
}

.why-badge-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.why-badge-icon img {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
  object-fit: contain !important;
}

.why-badge-info strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 2px;
}

.why-badge-info span {
  font-size: 12px;
  color: var(--text-muted);
}

.why-us-text .badge {
  margin-bottom: 20px;
}

.why-us-text h2 {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.why-us-text p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.why-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.why-feature:hover {
  border-color: rgba(36, 119, 191, 0.3);
  transform: translateX(4px);
}

.why-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(36, 119, 191, 0.12);
  border: 1px solid rgba(36, 119, 191, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.why-feature-icon img {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  object-fit: contain !important;
}

.why-feature-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.why-feature-info p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ==========================================
   STATS SECTION
   ========================================== */
.stats-section {
  background: linear-gradient(135deg, rgba(36, 119, 191, 0.08) 0%, rgba(124, 58, 237, 0.05) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.stat-card {
  text-align: center;
  padding: 60px 40px;
  position: relative;
}

.stat-card::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background: var(--border);
}

.stat-card:last-child::after {
  display: none;
}

.stat-card-number {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ==========================================
   PORTFOLIO / SHOWCASE
   ========================================== */
.portfolio {
  overflow: hidden;
}

.portfolio-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  cursor: pointer;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(36, 119, 191, 0.4);
}

.portfolio-card-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.portfolio-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-card-img img {
  transform: scale(1.08);
}

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 11, 21, 0.9) 0%, rgba(5, 11, 21, 0.2) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-card:hover .portfolio-card-overlay {
  opacity: 1;
}

.portfolio-card-body {
  padding: 24px;
}

.portfolio-card-cat {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.portfolio-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.portfolio-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================
   PRICING SECTION
   ========================================== */
.pricing {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-surface) 100%);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
}

.toggle-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
}

.toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
  cursor: pointer;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-track {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: var(--transition);
}

.toggle-switch input:checked + .toggle-track {
  background: var(--primary);
  border-color: var(--primary);
}

.toggle-thumb {
  position: absolute;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  top: 3px;
  left: 4px;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.toggle-switch input:checked ~ .toggle-thumb {
  left: 28px;
}

.toggle-save {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-green);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  background: linear-gradient(135deg, rgba(36, 119, 191, 0.12) 0%, rgba(0, 212, 255, 0.05) 100%);
  border-color: rgba(36, 119, 191, 0.4);
  box-shadow: var(--shadow-glow);
}

.pricing-featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 6px 24px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(36, 119, 191, 0.5);
}

.pricing-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(36, 119, 191, 0.12);
  border: 1px solid rgba(36, 119, 191, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.pricing-icon img {
  width: 26px !important;
  height: 26px !important;
  display: block !important;
  object-fit: contain !important;
}

.pricing-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pricing-card > p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.pricing-price {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
}

.pricing-price .price-tag {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.price-amount {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.price-currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.price-number {
  font-size: 40px;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.price-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  font-style: italic;
}

.pricing-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

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

.pricing-feature.excluded {
  opacity: 0.4;
  text-decoration: line-through;
}

.pricing-feature .check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
}

.pricing-feature.included .check-icon {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
}

.pricing-feature.excluded .check-icon {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials {
  overflow: hidden;
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 80px;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.1;
  line-height: 1;
  font-family: serif;
}

.testimonial-card:hover {
  border-color: rgba(36, 119, 191, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars span {
  color: #f59e0b;
  font-size: 16px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

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

/* ==========================================
   TECH STACK
   ========================================== */
.tech-stack {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-dark) 100%);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 20px;
}

.tech-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}

.tech-item:hover {
  border-color: rgba(36, 119, 191, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.tech-logo {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.tech-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tech-logo img.logo-white,
.logo-white {
  filter: brightness(0) invert(1);
}

/* Colored Icon Filters */
.icon-green {
  filter: invert(62%) sepia(52%) saturate(552%) hue-rotate(86deg) brightness(95%) contrast(92%);
}
.icon-blue {
  filter: invert(42%) sepia(87%) saturate(1171%) hue-rotate(185deg) brightness(91%) contrast(89%);
}
.icon-orange {
  filter: invert(72%) sepia(48%) saturate(3665%) hue-rotate(357deg) brightness(102%) contrast(96%);
}
.icon-cyan {
  filter: invert(71%) sepia(84%) saturate(1750%) hue-rotate(156deg) brightness(101%) contrast(103%);
}
.icon-purple {
  filter: invert(45%) sepia(61%) saturate(2255%) hue-rotate(244deg) brightness(98%) contrast(97%);
}
.icon-red {
  filter: invert(39%) sepia(74%) saturate(4975%) hue-rotate(342deg) brightness(99%) contrast(94%);
}

/* Brand Social Media Filters */
.brand-facebook {
  filter: invert(34%) sepia(85%) saturate(3015%) hue-rotate(210deg) brightness(98%) contrast(97%);
}
.brand-instagram {
  filter: invert(27%) sepia(87%) saturate(3620%) hue-rotate(330deg) brightness(91%) contrast(98%);
}
.brand-youtube {
  filter: invert(13%) sepia(99%) saturate(7400%) hue-rotate(359deg) brightness(101%) contrast(109%);
}
.brand-telegram {
  filter: invert(61%) sepia(82%) saturate(996%) hue-rotate(178deg) brightness(94%) contrast(93%);
}

.tech-item:hover .tech-logo img {
  transform: scale(1.15) rotate(3deg);
}

.tech-item span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* --- Tech Tabs Navigation --- */
.tech-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tech-tab-btn {
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tech-tab-btn:hover {
  border-color: var(--primary-light);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.tech-tab-btn.active {
  background: var(--gradient-primary);
  border-color: var(--primary);
  color: white;
  box-shadow: var(--shadow-glow);
}

/* --- Tech Tab Content Panels --- */
.tech-tab-content {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   FAQ
   ========================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: rgba(36, 119, 191, 0.35);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary-light);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(36, 119, 191, 0.1);
  border: 1px solid rgba(36, 119, 191, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  font-size: 16px;
  color: var(--primary-light);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(36, 119, 191, 0.2);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 24px 24px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ==========================================
   CONTACT / CTA SECTION
   ========================================== */
.contact-cta {
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, rgba(5, 11, 21, 0.85) 0%, rgba(10, 20, 40, 0.9) 100%),
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(36, 119, 191, 0.12) 0%, transparent 70%);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.cta-text h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.cta-text p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
}

.cta-info-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--text-secondary);
}

.cta-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(36, 119, 191, 0.12);
  border: 1px solid rgba(36, 119, 191, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.cta-info-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.contact-form-wrap {
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.contact-form-wrap h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--text-primary);
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 15px;
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: rgba(36, 119, 191, 0.05);
  box-shadow: 0 0 0 3px rgba(36, 119, 191, 0.12);
}

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

.form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

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

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

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--gradient-primary);
  color: white;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  box-shadow: 0 8px 32px rgba(36, 119, 191, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 48px rgba(36, 119, 191, 0.6);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}

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

.footer-brand > img {
  height: 55px;
  width: auto;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  background: var(--bg-card) !important;
  border: 1px solid var(--border-light) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: var(--transition) !important;
  box-sizing: border-box !important;
}

.social-link img {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  transition: transform 0.3s ease !important;
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(36, 119, 191, 0.4);
}

.social-link:hover img {
  transform: scale(1.1);
}

.footer-contact-icon img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  vertical-align: middle;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
}

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

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

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.footer-contact-icon {
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-newsletter {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.footer-newsletter input {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
}

.footer-newsletter input:focus {
  border-color: var(--primary);
}

.footer-newsletter input::placeholder {
  color: var(--text-muted);
}

.footer-newsletter button {
  padding: 12px 20px;
  background: var(--primary);
  color: white;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.footer-newsletter button:hover {
  background: var(--primary-dark);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

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

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

.footer-bottom-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.3s;
}

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

/* ==========================================
   FLOATING AI CHATBOT WIDGET
   ========================================== */
.ai-chatbot-widget {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* Chatbot Toggle Button */
.chatbot-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(36, 119, 191, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  position: relative;
}

.chatbot-toggle:hover {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 12px 40px rgba(36, 119, 191, 0.6);
}

.chatbot-toggle-close {
  display: none;
  font-size: 20px;
}

.ai-chatbot-widget.open .chatbot-toggle-icon {
  display: none;
}

.ai-chatbot-widget.open .chatbot-toggle-close {
  display: inline;
}

/* Chat Window */
.chatbot-window {
  width: 380px;
  height: 520px;
  background: rgba(10, 18, 30, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(36, 119, 191, 0.25);
  border-radius: 20px;
  box-shadow: var(--shadow-lg), 0 10px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: absolute;
  bottom: 80px;
  right: 0;
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-chatbot-widget.open .chatbot-window {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Header */
.chatbot-header {
  background: linear-gradient(135deg, rgba(36, 119, 191, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
  border-bottom: 1px solid rgba(36, 119, 191, 0.15);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.chatbot-header h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

.chatbot-header span {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
}

.chatbot-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  transition: color 0.2s;
  padding: 4px;
}

.chatbot-close-btn:hover {
  color: var(--text-primary);
}

/* Message Log */
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(36, 119, 191, 0.3) transparent;
}

.chatbot-messages::-webkit-scrollbar {
  width: 4px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
  background: rgba(36, 119, 191, 0.3);
  border-radius: 4px;
}

.chat-msg {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
  animation: chatFadeIn 0.3s ease both;
}

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

.chat-msg.bot {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top-left-radius: 4px;
  color: var(--text-secondary);
  align-self: flex-start;
}

.chat-msg.user {
  background: var(--gradient-primary);
  border-top-right-radius: 4px;
  color: white;
  align-self: flex-end;
  box-shadow: 0 4px 12px rgba(36, 119, 191, 0.2);
}

/* Quick Prompts */
.chatbot-quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(5, 11, 21, 0.3);
}

.quick-prompt-btn {
  background: rgba(36, 119, 191, 0.08);
  border: 1px solid rgba(36, 119, 191, 0.2);
  border-radius: 30px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-light);
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-prompt-btn:hover {
  background: rgba(36, 119, 191, 0.2);
  border-color: var(--primary-light);
  color: white;
  transform: translateY(-1px);
}

/* Input Area */
.chatbot-input-area {
  border-top: 1px solid rgba(36, 119, 191, 0.15);
  padding: 14px 20px;
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(10, 18, 30, 0.98);
}

.chatbot-input-area input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 16px;
  color: white;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.chatbot-input-area input:focus {
  border-color: var(--primary-light);
}

.chatbot-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient-primary);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(36, 119, 191, 0.3);
}

.chatbot-send-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(36, 119, 191, 0.5);
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  gap: 5px;
  padding: 12px 16px;
  border-radius: 16px;
  border-top-left-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  width: fit-content;
  align-self: flex-start;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: chatbotTyping 1.4s infinite both;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes chatbotTyping {
  0%, 100% { transform: scale(0.6); opacity: 0.4; }
  50% { transform: scale(1.2); opacity: 1; }
}

/* ==========================================
   SCROLL TO TOP
   ========================================== */
.scroll-top {
  position: fixed;
  bottom: 108px;
  right: 32px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  border: none;
  box-shadow: 0 4px 20px rgba(36, 119, 191, 0.4);
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

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

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

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

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children animations */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-children.visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(7) { opacity: 1; transform: translateY(0); transition-delay: 0.6s; }
.stagger-children.visible > *:nth-child(8) { opacity: 1; transform: translateY(0); transition-delay: 0.7s; }
.stagger-children.visible > *:nth-child(9) { opacity: 1; transform: translateY(0); transition-delay: 0.8s; }
.stagger-children.visible > *:nth-child(10) { opacity: 1; transform: translateY(0); transition-delay: 0.9s; }
.stagger-children.visible > *:nth-child(11) { opacity: 1; transform: translateY(0); transition-delay: 1s; }
.stagger-children.visible > *:nth-child(12) { opacity: 1; transform: translateY(0); transition-delay: 1.1s; }
.stagger-children.visible > *:nth-child(13) { opacity: 1; transform: translateY(0); transition-delay: 1.2s; }
.stagger-children.visible > *:nth-child(14) { opacity: 1; transform: translateY(0); transition-delay: 1.3s; }
.stagger-children.visible > *:nth-child(15) { opacity: 1; transform: translateY(0); transition-delay: 1.4s; }
.stagger-children.visible > *:nth-child(16) { opacity: 1; transform: translateY(0); transition-delay: 1.5s; }
.stagger-children.visible > *:nth-child(17) { opacity: 1; transform: translateY(0); transition-delay: 1.6s; }
.stagger-children.visible > *:nth-child(18) { opacity: 1; transform: translateY(0); transition-delay: 1.7s; }
.stagger-children.visible > *:nth-child(19) { opacity: 1; transform: translateY(0); transition-delay: 1.8s; }
.stagger-children.visible > *:nth-child(20) { opacity: 1; transform: translateY(0); transition-delay: 1.9s; }
.stagger-children.visible > *:nth-child(21) { opacity: 1; transform: translateY(0); transition-delay: 2s; }
.stagger-children.visible > *:nth-child(22) { opacity: 1; transform: translateY(0); transition-delay: 2.1s; }
.stagger-children.visible > *:nth-child(23) { opacity: 1; transform: translateY(0); transition-delay: 2.2s; }
.stagger-children.visible > *:nth-child(24) { opacity: 1; transform: translateY(0); transition-delay: 2.3s; }
.stagger-children.visible > *:nth-child(25) { opacity: 1; transform: translateY(0); transition-delay: 2.4s; }
.stagger-children.visible > *:nth-child(26) { opacity: 1; transform: translateY(0); transition-delay: 2.5s; }
.stagger-children.visible > *:nth-child(27) { opacity: 1; transform: translateY(0); transition-delay: 2.6s; }
.stagger-children.visible > *:nth-child(28) { opacity: 1; transform: translateY(0); transition-delay: 2.7s; }
.stagger-children.visible > *:nth-child(29) { opacity: 1; transform: translateY(0); transition-delay: 2.8s; }
.stagger-children.visible > *:nth-child(30) { opacity: 1; transform: translateY(0); transition-delay: 2.9s; }

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1200px) {
  .hero-content {
    gap: 50px;
  }

  .why-us-content {
    gap: 50px;
  }

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

  .footer-grid > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 992px) {
  :root {
    --section-py: 70px;
  }

  .navbar-links,
  .navbar-cta .btn {
    display: none;
  }

  .navbar-inner {
    position: relative;
    justify-content: space-between;
    align-items: center;
  }

  /* Hamburger is first in DOM — sits on the left naturally */
  .navbar-menu-btn {
    display: flex;
    order: 0;
    flex-shrink: 0;
  }

  /* Logo centered absolutely */
  .navbar-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    pointer-events: auto;
  }

  .navbar-logo img {
    height: 36px !important;
  }

  .navbar.scrolled .navbar-logo img {
    height: 28px !important;
  }

  /* CTA stays on the right — hide the big CTA button, show only theme toggle */
  .navbar-cta {
    order: 1;
    flex-shrink: 0;
  }

  .mobile-nav {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 140px 0 60px;
  }

  .hero-text {
    max-width: 100%;
  }

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

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

  .hero-visual {
    display: none;
  }

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

  .why-us-image {
    order: -1;
  }

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

  .process-steps::before {
    display: none;
  }

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

  .stat-card::after {
    display: none;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }

  .testimonials-slider {
    grid-template-columns: 1fr;
  }

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

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 640px) {
  :root {
    --section-py: 50px;
    --container-px: 16px;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stat::after {
    right: -12px;
  }

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

  .process-steps {
    grid-template-columns: 1fr;
  }

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

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

  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

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

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

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

  .ai-chatbot-widget {
    bottom: 20px;
    right: 20px;
  }

  .chatbot-window {
    width: calc(100vw - 40px);
    max-width: 380px;
    height: 480px;
    bottom: 70px;
  }

  .scroll-top {
    bottom: 90px;
    right: 20px;
  }
}

/* ==========================================
   THEME TOGGLE BUTTON STYLING
   ========================================== */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition) !important;
  position: relative;
  overflow: hidden;
  padding: 0;
  flex-shrink: 0;
  outline: none;
}

.theme-toggle:hover {
  background: rgba(36, 119, 191, 0.15);
  border-color: var(--primary-light);
  color: var(--primary-light);
  transform: scale(1.05);
}

.theme-toggle svg {
  position: absolute;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
  pointer-events: none;
}

/* In Dark Mode (Default) */
.theme-toggle .sun-icon {
  transform: scale(1) rotate(0);
  opacity: 1;
}

.theme-toggle .moon-icon {
  transform: scale(0) rotate(-90deg);
  opacity: 0;
}

/* In Light Mode */
[data-theme="light"] .theme-toggle .sun-icon {
  transform: scale(0) rotate(90deg);
  opacity: 0;
}

[data-theme="light"] .theme-toggle .moon-icon {
  transform: scale(1) rotate(0);
  opacity: 1;
}

/* Responsive adjustment for header theme toggle */
.navbar-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

#theme-toggle-mobile {
  background: rgba(15, 23, 42, 0.04);
  border-color: var(--border-light);
  color: var(--text-primary);
}

[data-theme="light"] #theme-toggle-mobile {
  background: rgba(15, 23, 42, 0.04);
  border-color: var(--border-light);
}

/* ==========================================
   CUSTOM PRICING CALCULATOR
   ========================================== */
.custom-calc {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md), 0 0 40px rgba(36, 119, 191, 0.05);
  position: relative;
  overflow: hidden;
}

.custom-calc::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(36, 119, 191, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.calc-header {
  text-align: center;
  margin-bottom: 40px;
}

.calc-header h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
}

.calc-header p {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.calc-body {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
}

.calc-group {
  margin-bottom: 32px;
}

.calc-group-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

/* Options Grid (Radio cards) */
.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.calc-radio-card {
  position: relative;
  display: block;
  cursor: pointer;
}

.calc-radio-card input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.calc-radio-card .card-content {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc-radio-card input:checked + .card-content {
  background: rgba(36, 119, 191, 0.08);
  border-color: var(--primary-light);
  box-shadow: 0 0 15px rgba(36, 119, 191, 0.2);
}

.calc-radio-card:hover .card-content {
  border-color: rgba(36, 119, 191, 0.4);
}

.calc-radio-card .card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.calc-radio-card .card-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-light);
}

/* Checkbox Addons */
.calc-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.calc-checkbox-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  cursor: pointer;
  transition: var(--transition);
}

.calc-checkbox-item:hover {
  border-color: rgba(36, 119, 191, 0.4);
}

.calc-checkbox-item input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Custom Checkbox Indicator */
.checkbox-custom {
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
  transition: var(--transition);
}

.calc-checkbox-item input:checked ~ .checkbox-custom {
  background: var(--gradient-primary);
  border-color: var(--primary);
}

.checkbox-custom::after {
  content: '';
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.calc-checkbox-item input:checked ~ .checkbox-custom::after {
  display: block;
}

.calc-checkbox-item input:checked {
  background: rgba(36, 119, 191, 0.08);
}

.calc-checkbox-item:has(input:checked) {
  background: rgba(36, 119, 191, 0.08);
  border-color: var(--primary-light);
  box-shadow: 0 0 15px rgba(36, 119, 191, 0.1);
}

.checkbox-text {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.checkbox-text strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.checkbox-text span {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-light);
}

/* Result Panel */
.calc-result-panel {
  background: rgba(10, 18, 30, 0.5);
  border: 1px solid rgba(36, 119, 191, 0.2);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: sticky;
  top: 100px;
}

.result-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.result-breakdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 8px;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
}

.breakdown-item span:last-child {
  font-weight: 600;
  color: var(--text-primary);
}

.result-total {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.result-total span {
  font-size: 13px;
  color: var(--text-muted);
}

.total-price {
  font-size: 32px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

/* Responsive */
@media (max-width: 991px) {
  .calc-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .calc-result-panel {
    position: static;
  }
}
@media (max-width: 576px) {
  .custom-calc {
    padding: 24px;
  }
  .calc-options-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   CLIENT LOGOS SHOWCASE
   ========================================== */
.client-logos-section {
  padding: 40px 0;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.client-logos-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
}

.client-logos-track {
  display: flex;
  align-items: center;
  gap: 60px;
  animation: client-logo-scroll 25s linear infinite;
  width: max-content;
}

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 36px;
}

.client-logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.25;
  transition: opacity 0.3s ease, filter 0.3s ease;
  filter: grayscale(100%) brightness(2);
}

.client-logos-slider:hover .client-logos-track {
  animation-play-state: paused;
}

.client-logo-item:hover img {
  opacity: 0.75;
  filter: grayscale(0%) brightness(1);
}

@keyframes client-logo-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================
   PORTFOLIO DETAIL MODAL
   ========================================== */
.portfolio-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 11, 21, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.portfolio-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.portfolio-modal-content {
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  background: var(--bg-card);
  border: 1px solid rgba(36, 119, 191, 0.25);
  border-radius: 24px;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(36, 119, 191, 0.2);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(36, 119, 191, 0.3) transparent;
}

.portfolio-modal.open .portfolio-modal-content {
  transform: scale(1) translateY(0);
}

.portfolio-modal-content::-webkit-scrollbar {
  width: 5px;
}

.portfolio-modal-content::-webkit-scrollbar-thumb {
  background: rgba(36, 119, 191, 0.3);
  border-radius: 4px;
}

.portfolio-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: rgba(10, 18, 30, 0.8);
  backdrop-filter: blur(10px);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  font-size: 16px;
}

.portfolio-modal-close:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
  transform: rotate(90deg);
}

.modal-banner {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-bottom: 1px solid rgba(36, 119, 191, 0.15);
}

.modal-main-content {
  padding: 40px;
}

.modal-header-meta {
  margin-bottom: 24px;
}

.modal-cat {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: block;
}

.modal-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

/* Info Grid (Client & Stack) */
.modal-info-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 32px;
}

.info-item h5 {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.info-item span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.modal-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-tech-tag {
  background: rgba(36, 119, 191, 0.08);
  border: 1px solid rgba(36, 119, 191, 0.15);
  color: var(--primary-light);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

/* Case Study Columns */
.modal-study-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.modal-column {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 24px;
  border-radius: 16px;
  transition: var(--transition);
}

.modal-column:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(36, 119, 191, 0.2);
}

.modal-column h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-column p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* CTA Box */
.modal-cta-box {
  background: linear-gradient(135deg, rgba(36, 119, 191, 0.1) 0%, rgba(124, 58, 237, 0.08) 100%);
  border: 1px solid rgba(36, 119, 191, 0.2);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
}

.modal-cta-box h4 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.modal-cta-box p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Modal Responsive */
@media (max-width: 991px) {
  .modal-study-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .modal-info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 576px) {
  .modal-banner {
    height: 200px;
  }
  .modal-main-content {
    padding: 24px;
  }
  .modal-title {
    font-size: 22px;
  }
}
