/* ============================================
آرنیکاتک 
============================================ */

/* ==================== VARIABLES ==================== */
:root {
  --bg-primary: #020617;
  --bg-secondary: #0a0b1e;
  --text-primary: #e8e9f0;
  --text-secondary: #c8c6dd;
  --text-muted: #9a97b8;
  
  --accent-primary: #6d28d9;
  --accent-secondary: #7c3aed;
  --accent-tertiary: #4f46e5;
  --accent-engineering: #f59e0b;
  --accent-cool: #0ea5e9;
  
  --gradient-primary: linear-gradient(135deg, #4f46e5, #7c3aed);
  --gradient-logo: linear-gradient(135deg, #818cf8, #6d28d9);
  --gradient-btn-hover: linear-gradient(135deg, #6366f1, #8b5cf6);
  --gradient-hero-text: linear-gradient(135deg, #a78bfa 0%, #818cf8 50%, #6d28d9 100%);
  
  --glass-bg: rgba(12, 14, 30, 0.6);
  --glass-bg-hover: rgba(12, 14, 30, 0.8);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-hover: rgba(255, 255, 255, 0.1);
  --glass-blur: 20px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 4px 20px rgba(109, 40, 217, 0.25);
  --shadow-glow-hover: 0 8px 35px rgba(109, 40, 217, 0.4);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  
  --border-radius-sm: 10px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
  --border-radius-xl: 20px;
  --border-radius-2xl: 24px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ==================== SECTION SPACING ==================== */
@media (min-width: 992px) {
  section {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
  }
  
  .hero-section,
  .about-hero-section {
    padding-top: 5rem !important;
    padding-bottom: 4rem !important;
  }
  
  .banner-section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .cta-section {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }
}

/* ==================== RESET ==================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 30%, #0f1025 0%, #020617 100%);
  min-height: 100vh;
  color: var(--text-primary);
  margin: 0;
  overflow-x: hidden;
  max-width: 100vw;
}

a {
  color: #d8d6ee;
  text-decoration: none;
}

a:hover {
  color: #f0f0ff;
}

/* لینک‌های داخل محتوا */
.article-content a {
  color: #d8d6ee;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content a:hover {
  color: #f0f0ff;
}

/* breadcrumb */
.breadcrumb-arrow .breadcrumb-item a {
  color: #c8c6dd;
}

.breadcrumb-arrow .breadcrumb-item a:hover {
  color: #e8e9f0;
}

/* sidebar */
.sidebar-list li a,
.sidebar-link-hover {
  color: #c8c6dd;
}

.sidebar-list li a:hover,
.sidebar-link-hover:hover {
  color: #e8e9f0;
}

/* footer */
.footer-links li a {
  color: #c8c6dd;
}

.footer-links li a:hover {
  color: #e8e9f0;
}

/* nav */
.navbar-nav .nav-link {
  color: #c8c6dd !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #e8e9f0 !important;
}

/* ==================== BACKGROUND ORBS ==================== */
.bg-glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-orb--top {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #4f46e5, transparent);
  top: -250px;
  right: -200px;
  opacity: 0.15;
}

.bg-glow-orb--bottom {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #6d28d9, transparent);
  bottom: -200px;
  left: -150px;
  opacity: 0.12;
}

@media (max-width: 767.98px) {
  .bg-glow-orb--top {
    width: 300px;
    height: 300px;
    top: -80px;
    right: -60px;
    opacity: 0.1;
  }
  
  .bg-glow-orb--bottom {
    width: 250px;
    height: 250px;
    bottom: 50px;
    left: -50px;
    opacity: 0.07;
  }
}

/* ==================== TYPEWRITER ==================== */
.typewriter-text {
  display: inline-block;
  min-height: 28px;
  line-height: 28px;
  overflow: hidden;
  vertical-align: middle;
}

/* ==================== PAGE WRAPPER ==================== */
.page-wrapper {
  position: relative;
  z-index: auto;
  padding-top: 50px;
}

@media (max-width: 767.98px) {
  .page-wrapper {
    padding-top: 0;
  }
}

/* ============================================
HEADER / NAVBAR
============================================ */
.glass-navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1200px;
  z-index: 9999;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-xl);
  padding: 12px 24px;
  box-shadow: var(--shadow-md), var(--shadow-inset);
  transition: all var(--transition-normal);
}

.glass-navbar.scrolled {
  background: var(--glass-bg-hover);
  box-shadow: var(--shadow-lg), var(--shadow-inset);
}

/* لوگو */
.navbar-brand-custom {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-left: 32px;
  transition: opacity var(--transition-fast);
}

.navbar-brand-custom:hover {
  opacity: 0.85;
}

.logo-icon-wrapper {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-sm);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
}

.logo-icon-wrapper .bi {
  font-size: 1.4rem;
  color: #fff;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

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

/* لینک‌های منو */
.navbar-nav {
  gap: 4px;
}

.navbar-nav .nav-link {
  color: var(--text-secondary) !important;
  padding: 8px 16px !important;
  border-radius: var(--border-radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.navbar-nav .nav-link:hover {
  color: var(--text-primary) !important;
  background: rgba(255, 255, 255, 0.04);
}

.navbar-nav .nav-link.active {
  color: var(--text-primary) !important;
  background: rgba(109, 40, 217, 0.12);
  border: 1px solid rgba(109, 40, 217, 0.25);
}

/* دکمه‌های CTA */
.nav-cta-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-icon-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #c8c6dd;
  padding: 8px 16px;
  border-radius: var(--border-radius-md);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-icon-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--glass-border-hover);
  color: var(--text-primary);
}

.btn-glass-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gradient-primary);
  border: none;
  color: #fff;
  padding: 9px 20px;
  border-radius: var(--border-radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-glow);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.btn-glass-primary:hover {
  box-shadow: var(--shadow-glow-hover);
  transform: translateY(-2px);
  color: #fff;
  background: var(--gradient-btn-hover);
}

/* ============================================
HERO SECTION
============================================ */
.hero-section {
  position: relative;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 1;
}

.hero-container {
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(129, 140, 248, 0.5);
  box-shadow: 0 0 8px rgba(129, 140, 248, 0.6);
  animation: floatUp 8s infinite ease-in-out;
}

.hero-particle.dynamic {
  background: rgba(245, 158, 11, 0.45);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.55);
}

@keyframes floatUp {
  
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.4;
  }
  
  50% {
    transform: translateY(-35px) scale(1.6);
    opacity: 0.9;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(109, 40, 217, 0.12);
  border: 1px solid rgba(109, 40, 217, 0.2);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #c4b5fd;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge .bi {
  color: var(--accent-engineering);
}

.hero-title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.45;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

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

.hero-title .white-text {
  color: #f0f0ff;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 2;
  color: #c8c6dd;
  /* max-width: 520px; */
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-primary);
  border: none;
  color: #fff;
  padding: 13px 28px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 25px rgba(79, 70, 229, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-hero-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(79, 70, 229, 0.5);
  color: #fff;
}

.btn-hero-primary:hover::before {
  left: 100%;
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #d8d6ee;
  padding: 13px 24px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stat-number {
  font-size: 1.7rem;
  font-weight: 900;
  background: linear-gradient(135deg, #818cf8, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: #8b89a8;
}

.hero-visual {
  position: relative;
  animation: fadeInRight 1s ease-out 0.3s both;
}

.glass-code-card {
  background: rgba(18, 15, 35, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-2xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.code-card-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.code-card-dots span:nth-child(1) {
  background: #ef4444;
}

.code-card-dots span:nth-child(2) {
  background: #f59e0b;
}

.code-card-dots span:nth-child(3) {
  background: #10b981;
}

.code-block {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 14px;
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.82rem;
  line-height: 1.9;
  direction: ltr;
  text-align: left;
  color: #a7f3d0;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow-x: auto;
}

.code-keyword {
  color: #c084fc;
}

.code-string {
  color: #f9a8d4;
}

.code-function {
  color: #fbbf24;
}

.code-comment {
  color: #6b6894;
}

.code-variable {
  color: #f9a8d4;
}

.floating-badge {
  position: absolute;
  background: rgba(18, 15, 35, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e0f0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  animation: floatBadge 4s ease-in-out infinite;
}

.floating-badge--ai {
  top: -20px;
  left: -20px;
  background: rgba(79, 70, 229, 0.25);
  border-color: rgba(99, 102, 241, 0.35);
}

.floating-badge--cloud {
  bottom: -20px;
  right: -20px;
  animation-delay: 2s;
}

.badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.badge-icon--purple {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
}

.badge-icon--engineering {
  background: linear-gradient(135deg, #d97706, #f59e0b);
}

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

@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);
  }
}

/* ==================== Terminal Agent ==================== */
.hero-glass {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.6));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 2rem;
  border: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.25),
  0 0 0 1px rgba(129, 140, 248, 0.1),
  inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s ease;
  direction: rtl;
  font-family: 'Vazirmatn', 'Segoe UI', 'Tahoma', system-ui, sans-serif;
}

/* Header region */
.agent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid rgba(99, 102, 241, 0.15);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.6), rgba(30, 41, 59, 0.4));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.agent-id {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Animated gradient icon container */
.agent-icon-wrapper {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #a78bfa);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4), 0 0 40px rgba(139, 92, 246, 0.2);
  animation: iconGlow 3s ease-in-out infinite;
}

.agent-icon-wrapper::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #a78bfa, #6366f1);
  background-size: 300% 300%;
  animation: borderRotate 4s ease infinite;
  z-index: -1;
  opacity: 0.7;
}

.agent-icon-wrapper i {
  font-size: 1.4rem;
  color: #fff;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

@keyframes iconGlow {
  
  0%,
  100% {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4), 0 0 40px rgba(139, 92, 246, 0.2);
  }
  
  50% {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.6), 0 0 60px rgba(139, 92, 246, 0.4);
  }
}

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

.titles {
  display: flex;
  flex-direction: column;
}

.main-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.3px;
  line-height: 1.3;
  background: linear-gradient(135deg, #e2e8f0, #c7d2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sub-title {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 400;
}

.online-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.4rem 1rem;
  border-radius: 3rem;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
  animation: terminalPulseGreen 2s infinite;
}

@keyframes terminalPulseGreen {
  0% {
    transform: scale(0.8);
    opacity: 0.7;
    box-shadow: 0 0 5px #10b981;
  }
  
  50% {
    transform: scale(1.3);
    opacity: 1;
    box-shadow: 0 0 20px #34d399;
  }
  
  100% {
    transform: scale(0.8);
    opacity: 0.7;
    box-shadow: 0 0 5px #10b981;
  }
}

.online-text {
  color: #6ee7b7;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Chat container */
.chat-window {
  height: 300px;
  max-height: 300px;
  overflow-y: auto;
  padding: 1.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: rgba(15, 23, 42, 0.3);
}

.chat-window::-webkit-scrollbar {
  display: none;
}

/* Message rows */
.msg-row {
  display: flex;
  width: 100%;
  animation: terminalMessageSlide 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.user-row {
  justify-content: flex-start;
}

.ai-row {
  justify-content: flex-end;
}

/* Bubble with Bootstrap icon - RTL compatible */
.bubble {
  max-width: 80%;
  padding: 0.7rem 1rem;
  border-radius: 1.5rem;
  font-size: 0.88rem;
  line-height: 1.7;
  word-break: break-word;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  direction: rtl;
}

.user-bubble {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #e2e8f0;
  border-bottom-right-radius: 0.4rem;
}

.ai-bubble {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #e2e8f0;
  border-bottom-left-radius: 0.4rem;
}

.bubble-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  opacity: 0.9;
}

.user-bubble .bubble-icon {
  color: #818cf8;
}

.ai-bubble .bubble-icon {
  color: #38bdf8;
}

.bubble-content {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
}

.bubble-text {
  flex: 1;
}

/* Typing dots */
.typing-dots {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.dot {
  width: 6px;
  height: 6px;
  background: #818cf8;
  border-radius: 50%;
  animation: terminalDotBounce 1.4s infinite ease-in-out;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes terminalDotBounce {

  0%,
  80%,
  100% {
    transform: scale(0.7);
    opacity: 0.4;
  }
  
  40% {
    transform: scale(1.3);
    opacity: 1;
    background: #a78bfa;
  }
}

.thinking-text {
  font-size: 0.75rem;
  color: #94a3b8;
}

.cursor-blink::after {
  content: '|';
  font-weight: 300;
  color: #818cf8;
  animation: terminalBlink 1s step-end infinite;
  margin-right: 2px;
}

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

@keyframes terminalMessageSlide {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.removing {
  animation: terminalFadeOutUp 0.3s ease forwards;
}

@keyframes terminalFadeOutUp {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  
  100% {
    opacity: 0;
    transform: translateY(-10px);
    height: 0;
    margin: 0;
    padding: 0;
  }
}

/* Enhanced live footer */
.live-footer {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.7));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(99, 102, 241, 0.2);
  color: #cbd5e1;
  font-size: 0.75rem;
  gap: 0.5rem;
  overflow: hidden;
}

/* Main agent status - prominent */
.footer-agent-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.15);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  border: 1px solid rgba(129, 140, 248, 0.3);
  white-space: nowrap;
  flex-shrink: 0;
}

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

.footer-agent-status i {
  font-size: 0.9rem;
  color: #818cf8;
}

.footer-agent-status span {
  font-weight: 600;
  color: #e2e8f0;
  font-size: 0.8rem;
}

/* Separator */
.footer-divider {
  width: 1px;
  height: 20px;
  background: rgba(99, 102, 241, 0.3);
  flex-shrink: 0;
}

/* Compact service badges */
.footer-services {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: nowrap;
  overflow: hidden;
}

.service-badge {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.3rem 0.7rem;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.service-badge:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(129, 140, 248, 0.3);
}

.service-badge i {
  font-size: 0.9rem;
}

.service-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
}

@keyframes footerPulse {
  
  0%,
  100% {
    box-shadow: 0 0 5px #10b981;
  }
  
  50% {
    box-shadow: 0 0 15px #34d399, 0 0 25px rgba(16, 185, 129, 0.3);
  }
}

/* Responsive */
@media (max-width: 500px) {
  .hero-glass {
    border-radius: 1.5rem;
  }
  
  .agent-header {
    padding: 1rem;
  }
  
  .bubble {
    max-width: 85%;
    font-size: 0.82rem;
  }
  
  .live-footer {
    padding: 0.6rem 0.8rem;
    gap: 0.3rem;
  }
  
  .footer-agent-status {
    padding: 0.3rem 0.7rem;
  }
  
  .footer-agent-status span {
    font-size: 0.7rem;
  }
  
  .service-badge {
    padding: 0.25rem 0.5rem;
  }
  
  .service-badge span {
    display: none;
  }
  
  .service-badge i {
    font-size: 0.8rem;
  }
  
  .footer-divider {
    height: 16px;
  }
}

@media (max-width: 380px) {
  .footer-agent-status span {
    display: none;
  }
  
  .footer-divider {
    display: none;
  }
}

/* ============================================
SECTION HEADERS
============================================ */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(109, 40, 217, 0.1);
  border: 1px solid rgba(109, 40, 217, 0.2);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #c4b5fd;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--text-primary);
}

.section-title .gradient-text {
  background: linear-gradient(135deg, #a78bfa, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.9;
}

/* ============================================
SERVICES CARDS
============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: rgba(18, 20, 35, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-xl);
  padding: 2rem 1.8rem;
  transition: all var(--transition-normal);
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(129, 140, 248, 0.5), transparent);
  transition: all var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(129, 140, 248, 0.2);
  box-shadow: 0 20px 40px -15px rgba(79, 70, 229, 0.25);
  background: rgba(20, 22, 40, 0.6);
}

.service-card:hover::before {
  left: 10%;
  right: 10%;
  background: linear-gradient(90deg, transparent, rgba(129, 140, 248, 0.8), transparent);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.6rem;
  transition: all var(--transition-normal);
  margin-left: auto;
  margin-right: auto;
}

.service-icon--purple {
  background: rgba(109, 40, 217, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(109, 40, 217, 0.25);
}

.service-icon--blue {
  background: rgba(14, 165, 233, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.service-icon--amber {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.service-icon--indigo {
  background: rgba(79, 70, 229, 0.12);
  color: #818cf8;
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.service-icon--emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.service-icon--rose {
  background: rgba(244, 63, 94, 0.1);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.2);
}

.service-card:hover .service-icon {
  transform: scale(1.08);
}

.service-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.service-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.service-card:hover .service-tag {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a78bfa;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.service-link:hover {
  color: #c4b5fd;
  gap: 10px;
}

.service-link .bi {
  transition: transform var(--transition-fast);
}

.service-link:hover .bi {
  transform: translateX(-4px);
}

/* ============================================
PORTFOLIO
============================================ */
.project-card {
  position: relative;
  background: rgba(18, 20, 35, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
  height: 100%;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(129, 140, 248, 0.2);
  box-shadow: 0 20px 40px -15px rgba(79, 70, 229, 0.2);
}

.project-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #1e1b4b, #0f172a);
}

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

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(12, 14, 30, 0.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.project-category-badge {
  background: rgba(109, 40, 217, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 5px 14px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #e8e9f0;
}

.project-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.project-description {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tech {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(129, 140, 248, 0.1);
  border: 1px solid rgba(129, 140, 248, 0.15);
  color: #a78bfa;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c4b5fd;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.project-link:hover {
  color: #e8e9f0;
  gap: 10px;
}

.project-link .bi {
  transition: transform var(--transition-fast);
}

.project-link:hover .bi {
  transform: translateX(-4px);
}

.portfolio-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(18, 20, 35, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e8e9f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.portfolio-nav-btn:hover {
  background: rgba(109, 40, 217, 0.3);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 4px 15px rgba(109, 40, 217, 0.3);
}

.portfolio-button-prev {
  left: -10px;
}

.portfolio-button-next {
  right: -10px;
}

.portfolio-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 2rem;
}

.portfolio-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  opacity: 1;
  transition: all 0.3s ease;
  cursor: pointer;
}

.portfolio-pagination .swiper-pagination-bullet-active {
  background: #a78bfa;
  width: 28px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.btn-portfolio-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e8e9f0;
  padding: 12px 28px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-portfolio-all:hover {
  background: rgba(109, 40, 217, 0.15);
  border-color: rgba(168, 85, 247, 0.3);
  color: #fff;
}

/* ============================================
TESTIMONIALS
============================================ */
.testimonial-card {
  position: relative;
  background: rgba(18, 20, 35, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-xl);
  padding: 1.8rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: 0 auto;
  transform: scale(0.82);
  opacity: 0.45;
  filter: blur(0.5px);
}

.swiper-slide-active .testimonial-card {
  transform: scale(1.05) !important;
  opacity: 1 !important;
  filter: blur(0) !important;
  border-color: rgba(129, 140, 248, 0.25) !important;
  box-shadow: 0 20px 50px -15px rgba(79, 70, 229, 0.35) !important;
  background: rgba(22, 24, 42, 0.7) !important;
  z-index: 2;
}

.swiper-slide-prev .testimonial-card,
.swiper-slide-next .testimonial-card {
  transform: scale(0.9);
  opacity: 0.7;
  filter: blur(0);
}

.testimonial-card:hover {
  transform: scale(0.88) !important;
}

.swiper-slide-active .testimonial-card:hover {
  transform: scale(1.08) !important;
}

.testimonial-quote-icon {
  font-size: 2rem;
  color: rgba(168, 85, 247, 0.25);
  line-height: 1;
}

.testimonial-text {
  font-size: 0.9rem;
  color: #c8c6dd;
  line-height: 1.9;
  flex-grow: 1;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
}

.testimonial-stars .bi {
  color: #f59e0b;
  font-size: 0.85rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 2px solid rgba(129, 140, 248, 0.3);
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-author-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-author-role {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.testimonial-author-company {
  font-size: 0.72rem;
  color: #a78bfa;
  font-weight: 600;
}

.testimonial-company-logo {
  margin-right: auto;
  opacity: 0.4;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.testimonials-slider-container {
  position: relative;
  margin-top: 2.5rem;
  overflow: hidden;
  padding: 30px 0 10px;
}

.testimonials-swiper {
  padding: 10px 10px 50px !important;
  overflow: visible !important;
}

.testimonials-swiper .swiper-slide {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials-pagination {
  bottom: 5px !important;
}

.testimonials-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  transition: all 0.3s ease;
}

.testimonials-pagination .swiper-pagination-bullet-active {
  background: #a78bfa;
  width: 24px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

/* ============================================
TESTIMONIALS STATS
============================================ */
.testimonials-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.testimonial-stat-item {
  position: relative;
  background: rgba(18, 20, 35, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.testimonial-stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30%;
  right: 30%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.4), transparent);
  transition: all 0.4s ease;
}

.testimonial-stat-item:hover {
  transform: translateY(-6px);
  border-color: rgba(129, 140, 248, 0.2);
  box-shadow: 0 20px 40px -15px rgba(79, 70, 229, 0.25);
  background: rgba(22, 25, 45, 0.6);
}

.testimonial-stat-item:hover::before {
  left: 15%;
  right: 15%;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.7), transparent);
}

.testimonial-stat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.4s ease;
}

.testimonial-stat-icon--purple {
  background: rgba(109, 40, 217, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(109, 40, 217, 0.2);
}

.testimonial-stat-icon--blue {
  background: rgba(14, 165, 233, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.testimonial-stat-icon--amber {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.testimonial-stat-icon--green {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.testimonial-stat-item:hover .testimonial-stat-icon {
  transform: scale(1.1);
}

.testimonial-stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #c4b5fd, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.testimonial-stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============================================
CTA BANNER
============================================ */
.cta-banner {
  position: relative;
  background: rgba(18, 20, 35, 0.5);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(129, 140, 248, 0.15);
  border-radius: 32px;
  padding: 4rem 3rem;
  text-align: center;
  overflow: hidden;
  transition: all 0.4s ease;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(109, 40, 217, 0.08), transparent 60%);
  animation: ctaPulse 6s ease-in-out infinite;
}

@keyframes ctaPulse {
  
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.cta-banner>* {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 900;
  color: var(--text-primary);
}

.cta-title .gradient-text {
  background: linear-gradient(135deg, #a78bfa, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 1rem auto;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-primary);
  border: none;
  color: #fff;
  padding: 14px 32px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(109, 40, 217, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-cta-primary::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.6s ease;
}

.btn-cta-primary:hover::before {
  left: 100%;
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(109, 40, 217, 0.6);
  color: #fff;
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e8e9f0;
  padding: 14px 28px;
  border-radius: 16px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

/* ============================================
BLOG CARDS
============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  position: relative;
  background: rgba(18, 20, 35, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(129, 140, 248, 0.2);
  box-shadow: 0 20px 40px -15px rgba(79, 70, 229, 0.25);
  background: rgba(22, 25, 42, 0.6);
}

.blog-card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #1e1b4b, #0f172a);
}

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

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

.blog-card-category {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(109, 40, 217, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #e8e9f0;
}

.blog-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.blog-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.6;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.blog-card-title:hover {
  color: #a78bfa;
}

.blog-card-excerpt {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.8;
  flex: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
}

.blog-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.blog-card-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
}

.blog-card-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #a78bfa;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.blog-card-read-more:hover {
  color: #c4b5fd;
  gap: 8px;
}

.blog-card-read-more .bi {
  transition: transform var(--transition-fast);
}

.blog-card-read-more:hover .bi {
  transform: translateX(-4px);
}

/* ============================================
FAQ
============================================ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(18, 20, 35, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item:hover {
  border-color: rgba(129, 140, 248, 0.15);
}

.faq-item.active {
  border-color: rgba(129, 140, 248, 0.25);
  box-shadow: 0 8px 30px rgba(79, 70, 229, 0.15);
  background: rgba(22, 25, 42, 0.6);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 1.2rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-align: right;
  transition: all var(--transition-fast);
}

.faq-question:hover {
  color: #c4b5fd;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(129, 140, 248, 0.1);
  border: 1px solid rgba(129, 140, 248, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  font-size: 0.8rem;
  color: #a78bfa;
}

.faq-item.active .faq-icon {
  background: rgba(109, 40, 217, 0.2);
  border-color: rgba(168, 85, 247, 0.3);
  transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-content {
  padding: 0 1.5rem 1.2rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.9;
}

/* ============================================
ABOUT PAGE - ENGINE CORE ANIMATION
============================================ */
.engine-core {
  width: 260px;
  height: 260px;
  margin: 0 auto;
  background: rgba(12, 14, 30, 0.6);
  border-radius: 50%;
  border: 1px solid rgba(129, 140, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 60px rgba(109, 40, 217, 0.15);
  animation: corePulse 3s ease-in-out infinite;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.orbit-ring--outer {
  width: 100%;
  height: 100%;
  border: 2px dashed rgba(129, 140, 248, 0.15);
  animation: orbitRotate 10s linear infinite;
}

.orbit-ring--inner {
  width: 85%;
  height: 85%;
  border: 1px dotted rgba(245, 158, 11, 0.2);
  animation: orbitRotate 15s linear infinite reverse;
}

.orbit-ring--glow {
  width: 92%;
  height: 92%;
  border: 1px solid rgba(129, 140, 248, 0.08);
  box-shadow: 0 0 30px rgba(109, 40, 217, 0.2), inset 0 0 30px rgba(109, 40, 217, 0.05);
  animation: corePulse 2s ease-in-out infinite 0.5s;
}

.orbit-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.orbit-dot--1 {
  width: 8px;
  height: 8px;
  background: #818cf8;
  top: -4px;
  left: 50%;
  margin-left: -4px;
  box-shadow: 0 0 15px #818cf8, 0 0 30px rgba(129, 140, 248, 0.6);
  animation: dotBlink 2s ease-in-out infinite;
}

.orbit-dot--2 {
  width: 6px;
  height: 6px;
  background: #f59e0b;
  bottom: 15px;
  right: -3px;
  box-shadow: 0 0 12px #f59e0b, 0 0 25px rgba(245, 158, 11, 0.5);
  animation: dotBlink 2.5s ease-in-out infinite 0.5s;
}

.orbit-dot--3 {
  width: 5px;
  height: 5px;
  background: #10b981;
  top: 25px;
  left: -2px;
  box-shadow: 0 0 10px #10b981, 0 0 20px rgba(16, 185, 129, 0.5);
  animation: dotBlink 3s ease-in-out infinite 1s;
}

.orbit-dot--4 {
  width: 7px;
  height: 7px;
  background: #f43f5e;
  bottom: 40px;
  left: 5px;
  box-shadow: 0 0 14px #f43f5e, 0 0 28px rgba(244, 63, 94, 0.5);
  animation: dotBlink 2.8s ease-in-out infinite 1.5s;
}

.floating-stat-badge {
  position: absolute;
  background: rgba(18, 20, 35, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.floating-stat-badge--lg {
  top: 0;
  right: -15px;
  border: 1px solid rgba(129, 140, 248, 0.25);
  border-radius: 16px;
  padding: 14px 20px;
  animation: badgeFloat1 4s ease-in-out infinite;
}

.floating-stat-badge--md {
  bottom: 70px;
  left: -5px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 14px;
  padding: 10px 16px;
  animation: badgeFloat2 5s ease-in-out infinite 1s;
}

.floating-stat-badge--sm {
  top: 35px;
  left: -10px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  padding: 8px 14px;
  animation: badgeFloat3 3.5s ease-in-out infinite 0.5s;
}

.floating-stat-badge--xs {
  bottom: 100px;
  right: 50px;
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: 10px;
  padding: 6px 10px;
  animation: badgeFloat4 4.5s ease-in-out infinite 1.5s;
}

@keyframes corePulse {
  
  0%,
  100% {
    box-shadow: 0 0 60px rgba(109, 40, 217, 0.15);
  }
  
  50% {
    box-shadow: 0 0 100px rgba(109, 40, 217, 0.35), 0 0 150px rgba(79, 70, 229, 0.15);
  }
}

@keyframes orbitRotate {
  from {
    transform: rotate(0deg);
  }
  
  to {
    transform: rotate(360deg);
  }
}

@keyframes dotBlink {
  
  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  
  50% {
    opacity: 1;
    transform: scale(1.4);
  }
}

@keyframes badgeFloat1 {
  
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  
  25% {
    transform: translateY(-12px) rotate(1deg);
  }
  
  75% {
    transform: translateY(6px) rotate(-1deg);
  }
}

@keyframes badgeFloat2 {
  
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  
  33% {
    transform: translateY(-8px) translateX(5px);
  }
  
  66% {
    transform: translateY(4px) translateX(-3px);
  }
}

@keyframes badgeFloat3 {
  
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  
  50% {
    transform: translateY(-6px) scale(1.05);
  }
}

@keyframes badgeFloat4 {
  
  0%,
  100% {
    transform: translateX(0);
  }
  
  50% {
    transform: translateX(-8px);
  }
}

/* ============================================
ABOUT CARDS
============================================ */
.about-card {
  background: rgba(18, 20, 35, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  height: 100%;
  transition: all 0.3s ease;
}

.about-card:hover {
  border-color: rgba(129, 140, 248, 0.2);
  box-shadow: 0 16px 40px -15px rgba(79, 70, 229, 0.2);
  transform: translateY(-4px);
}

.about-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.about-card-icon--purple {
  background: rgba(109, 40, 217, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(109, 40, 217, 0.2);
}

.about-card-icon--amber {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.about-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.about-card-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

/* ============================================
VALUE CARDS
============================================ */
.value-card {
  background: rgba(18, 20, 35, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  height: 100%;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(129, 140, 248, 0.2);
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.15);
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.value-icon--purple {
  background: rgba(109, 40, 217, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(109, 40, 217, 0.2);
}

.value-icon--blue {
  background: rgba(14, 165, 233, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.value-icon--amber {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.value-icon--green {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.value-icon--rose {
  background: rgba(244, 63, 94, 0.1);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.2);
}

/* ============================================
CLIENTS
============================================ */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.client-logo {
  background: rgba(18, 20, 35, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 1px;
  transition: all 0.3s;
}

.client-logo:hover {
  border-color: rgba(129, 140, 248, 0.2);
  color: #a78bfa;
  transform: translateY(-4px);
}

/* ============================================
BANNER CARDS
============================================ */
.banner-card {
  border-radius: 24px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.banner-card:hover {
  transform: translateY(-4px);
}

.banner-card--primary {
  background: rgba(79, 70, 229, 0.12);
  border-color: rgba(129, 140, 248, 0.2);
}

.banner-card--accent {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.2);
}

.banner-card--dark {
  background: rgba(18, 20, 35, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
}

.banner-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
}

.banner-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.banner-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fbbf24;
}

.banner-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ec4899, #f43f5e);
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.85rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  
  0%,
  100% {
    transform: scale(1);
  }
  
  50% {
    transform: scale(1.05);
  }
}

/* ============================================
CONTACT PAGE
============================================ */
.contact-info-card,
.contact-form-card {
  background: rgba(18, 20, 35, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  height: 100%;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 1.8rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(109, 40, 217, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  color: #a78bfa;
}

.contact-info-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
}

.form-control-glass {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 16px;
  color: #e8e9f0;
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  width: 100%;
}

.form-control-glass:focus {
  outline: none;
  border-color: rgba(129, 140, 248, 0.4);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.1);
}

.form-control-glass::placeholder {
  color: #5c6370;
}

textarea.form-control-glass {
  resize: vertical;
  min-height: 140px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-primary);
  border: none;
  color: #fff;
  padding: 13px 32px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(109, 40, 217, 0.3);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(109, 40, 217, 0.5);
}

.social-links-row {
  display: flex;
  gap: 10px;
  margin-top: 1.5rem;
}

.social-link-item {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-link-item:hover {
  background: rgba(109, 40, 217, 0.2);
  border-color: rgba(168, 85, 247, 0.3);
  color: #c4b5fd;
  transform: translateY(-3px);
}

/* ============================================
MOBILE HEADER & NAV
============================================ */
.mobile-header,
.mobile-bottom-nav {
  display: none;
}

.offcanvas {
  background: rgba(10, 12, 26, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.offcanvas-title {
  color: #e8e9f0;
  font-weight: 700;
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-list li a {
  display: block;
  padding: 14px 16px;
  color: #b0aec8;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 12px;
  transition: 0.2s;
}

.mobile-menu-list li a:hover,
.mobile-menu-list li a.active {
  background: rgba(109, 40, 217, 0.15);
  color: #fff;
}

.mobile-menu-footer {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ============================================
FOOTER
============================================ */
.footer-section {
  position: relative;
  z-index: 1;
  background: rgba(8, 10, 24, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  /* border-top: 1px solid rgba(129, 140, 248, 0.1); */
}

.footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.5), rgba(245, 158, 11, 0.3), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer-logo .logo-icon-wrapper {
  width: 42px;
  height: 42px;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.5);
}

.footer-logo .logo-text {
  font-size: 1.3rem;
}

.footer-description {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  background: rgba(109, 40, 217, 0.2);
  border-color: rgba(168, 85, 247, 0.3);
  color: #c4b5fd;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(109, 40, 217, 0.3);
}

.footer-column-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

.footer-column-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 24px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links li a:hover {
  color: #c4b5fd;
  transform: translateX(-4px);
}

.footer-links li a i {
  font-size: 0.6rem;
  color: #a78bfa;
  transition: transform var(--transition-fast);
}

.footer-links li a:hover i {
  transform: translateX(-3px);
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 1rem;
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(109, 40, 217, 0.1);
  border: 1px solid rgba(129, 140, 248, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
  color: #a78bfa;
}

.footer-contact-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-contact-text strong {
  color: var(--text-primary);
  display: block;
  font-size: 0.8rem;
  margin-bottom: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-copyright .heart {
  color: #f43f5e;
  animation: heartbeat 1.5s ease-in-out infinite;
  display: inline-block;
}

@keyframes heartbeat {
  
  0%,
  100% {
    transform: scale(1);
  }
  
  50% {
    transform: scale(1.2);
  }
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-bottom-links li a {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom-links li a:hover {
  color: #c4b5fd;
}

/* ============================================
TOAST
============================================ */
.custom-toast {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(12, 14, 30, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(129, 140, 248, 0.2);
  border-radius: 20px;
  padding: 18px 22px;
  max-width: 380px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(109, 40, 217, 0.1);
  animation: toastIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-toast-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #10b981, #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.custom-toast-body {
  flex: 1;
  min-width: 0;
}

.custom-toast-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #a78bfa;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.custom-toast-text {
  font-size: 0.85rem;
  color: #e8e9f0;
  line-height: 1.5;
}

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

/* ============================================
RESPONSIVE
============================================ */
@media (max-width: 991.98px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .testimonials-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .testimonial-stat-item {
    padding: 1.5rem 1rem;
  }
  
  .testimonial-stat-number {
    font-size: 1.8rem;
  }
}

@media (max-width: 767.98px) {
  body {
    padding-top: 60px;
    padding-bottom: 70px;
  }
  
  /* Mobile Header */
  .mobile-header {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(8, 10, 24, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1040;
  }
  
  .mobile-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 16px;
  }
  
  .menu-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #e8e9f0;
    font-size: 1.5rem;
    padding: 8px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .mobile-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
  }
  
  .mobile-logo .logo-icon-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  
  .mobile-logo .logo-icon-wrapper .bi {
    font-size: 1rem;
  }
  
  .mobile-logo .logo-text {
    font-size: 1.1rem;
  }
  
  .mobile-header-cta {
    background: var(--gradient-primary);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
  }
  
  /* Bottom Nav */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(8, 10, 24, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    align-items: center;
    justify-content: space-around;
    padding: 0 8px;
    padding-bottom: env(safe-area-inset-bottom, 0);
    z-index: 1040;
  }
  
  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #6b6894;
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 12px;
    transition: 0.2s;
    min-width: 52px;
  }
  
  .mobile-nav-item i {
    font-size: 1.3rem;
  }
  
  .mobile-nav-item.active {
    color: #a78bfa;
  }
  
  .mobile-nav-item:active {
    transform: scale(0.9);
    background: rgba(168, 85, 247, 0.1);
  }
  
  .mobile-nav-cta {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    border-radius: 16px;
    padding: 8px 16px;
    margin-top: -20px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(109, 40, 217, 0.5);
  }
  
  .mobile-nav-cta i {
    font-size: 1.2rem;
    color: #fff;
  }
  
  .mobile-nav-cta:active {
    transform: scale(0.9);
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
  }
  
  /* Hero Mobile */
  .hero-section {
    min-height: auto;
    overflow: visible;
  }
  
  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-badge {
    font-size: 0.78rem;
    padding: 6px 14px;
  }
  
  .hero-title {
    font-size: 1.6rem;
    text-align: center;
  }
  
  .hero-description {
    font-size: 0.9rem;
    text-align: center;
    max-width: 100%;
    min-height: 52px;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-hero-primary,
  .btn-hero-outline {
    width: 100%;
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
    gap: 1.2rem;
  }
  
  .hero-stat-number {
    font-size: 1.4rem;
  }
  
  .hero-stat-label {
    font-size: 0.7rem;
  }
  
  .hero-visual {
    margin-top: 1.5rem;
  }
  
  .glass-code-card {
    padding: 14px;
    border-radius: 18px;
  }
  
  .code-block {
    font-size: 0.65rem;
    padding: 12px;
    line-height: 1.6;
  }
  
  .floating-badge {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin-top: 10px;
    width: 100%;
    justify-content: center;
    font-size: 0.8rem;
    animation: none;
  }
  
  /* Sections */
  .section-header {
    margin-bottom: 2rem;
  }
  
  .section-badge {
    font-size: 0.75rem;
    padding: 5px 14px;
  }
  
  .section-title {
    font-size: 1.4rem;
  }
  
  .section-subtitle {
    font-size: 0.85rem;
    padding: 0 10px;
  }
  
  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .service-card {
    padding: 1.3rem;
    border-radius: 16px;
  }
  
  .service-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    font-size: 1.2rem;
  }
  
  .service-title {
    font-size: 1rem;
  }
  
  .service-description {
    font-size: 0.82rem;
  }
  
  .service-tag {
    font-size: 0.65rem;
  }
  
  /* Portfolio */
  .portfolio-nav-btn {
    display: none;
  }
  
  .project-image {
    height: 160px;
  }
  
  .project-title {
    font-size: 0.95rem;
  }
  
  .project-description {
    font-size: 0.78rem;
  }
  
  /* Testimonials */
  .testimonial-card {
    max-width: 100%;
    transform: scale(1) !important;
    opacity: 1 !important;
    filter: blur(0) !important;
    padding: 1.3rem;
    border-radius: 16px;
  }
  
  .swiper-slide-active .testimonial-card {
    transform: scale(1) !important;
    box-shadow: none !important;
    background: rgba(18, 20, 35, 0.5) !important;
  }
  
  .testimonial-text {
    font-size: 0.82rem;
  }
  
  .testimonials-slider-container {
    overflow: visible;
  }
  
  .testimonials-swiper {
    padding: 0 5px 40px !important;
  }
  
  .testimonials-stats {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  .testimonial-stat-number {
    font-size: 1.3rem;
  }
  
  .testimonial-stat-label {
    font-size: 0.7rem;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
  
  /* Blog */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .blog-card-image {
    height: 180px;
  }
  
  /* CTA */
  .cta-banner {
    padding: 2.5rem 1.5rem;
    border-radius: 24px;
  }
  
  .cta-actions {
    flex-direction: column;
  }
  
  .btn-cta-primary,
  .btn-cta-outline {
    width: 100%;
    justify-content: center;
  }
  
  /* Contact */
  .contact-form-card {
    padding: 1.5rem;
    margin-top: 1.5rem;
  }
  
  .contact-info-card {
    padding: 1.5rem;
  }
  
  /* About Engine */
  .engine-core {
    width: 200px;
    height: 200px;
  }
  
  .floating-stat-badge {
    display: block;
  }
  
  .floating-stat-badge--lg {
    top: -5px;
    right: -5px;
    padding: 8px 12px;
    border-radius: 12px;
  }
  
  .floating-stat-badge--md {
    bottom: 100px;
    left: 0;
    padding: 6px 10px;
    border-radius: 10px;
  }
  
  .floating-stat-badge--sm {
    top: 30px;
    left: -5px;
    padding: 5px 8px;
    border-radius: 8px;
  }
  
  .floating-stat-badge--xs {
    bottom: 150px;
    right: 50px;
    padding: 4px 6px;
    border-radius: 8px;
  }
  
  /* Clients */
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* FAQ */
  .faq-question {
    font-size: 0.9rem;
    padding: 1rem 1.2rem;
  }
  
  .faq-answer-content {
    padding: 0 1.2rem 1rem;
    font-size: 0.82rem;
  }
}

/* ============================================
IPHONE SAFE AREA
============================================ */
@supports (padding-top: env(safe-area-inset-top)) {
  @media (max-width: 767.98px) {
    .mobile-header {
      padding-top: env(safe-area-inset-top);
      height: calc(60px + env(safe-area-inset-top));
    }
    
    body {
      padding-top: calc(60px + env(safe-area-inset-top));
    }
    
    .mobile-bottom-nav {
      padding-bottom: calc(8px + env(safe-area-inset-bottom));
      height: calc(64px + env(safe-area-inset-bottom));
    }
    
    body {
      padding-bottom: calc(70px + env(safe-area-inset-bottom));
    }
  }
}

/* ============================================
BLOG LIST PAGE (آینده)
============================================ */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

.blog-grid-vertical {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: rgba(18, 20, 35, 0.45);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 1.5rem;
}

.sidebar-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #a78bfa;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s;
}

.sidebar-list li a:hover,
.sidebar-list li a.active {
  background: rgba(109, 40, 217, 0.1);
  color: #e8e9f0;
}

@media (max-width: 991.98px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }
  
  .blog-grid-vertical {
    grid-template-columns: 1fr;
  }
}

/* ============================================
PROFILE PAGE (آینده)
============================================ */
.profile-card {
  background: rgba(18, 20, 35, 0.5);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  max-width: 600px;
  margin: 0 auto;
}

.avatar-preview {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(109, 40, 217, 0.3);
}

.avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================== PAGINATION ==================== */
.pagination .page-link {
  background: rgba(18, 20, 35, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 10px;
  transition: all var(--transition-fast);
}

.pagination .page-link:hover {
  background: rgba(109, 40, 217, 0.15);
  border-color: rgba(168, 85, 247, 0.3);
  color: #c4b5fd;
}

.pagination .page-item.active .page-link {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 15px rgba(109, 40, 217, 0.3);
}

.pagination .page-item.disabled .page-link {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
}

/* ==================== Blog List ==================== */
.blog-card-vertical {
  background: rgba(18, 20, 35, 0.45);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.blog-card-vertical:hover {
  transform: translateY(-8px);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 20px 40px -10px rgba(109, 40, 217, 0.3), 0 0 0 1px rgba(168, 85, 247, 0.1);
  background: rgba(25, 22, 50, 0.8);
}

.blog-card-vertical .blog-card-image img {
  transition: transform 0.6s ease;
}

.blog-card-vertical:hover .blog-card-image img {
  transform: scale(1.06);
}

.blog-card-vertical .blog-card-title a {
  transition: color 0.3s ease;
}

.blog-card-vertical:hover .blog-card-title a {
  color: #c4b5fd;
}

/* ==================== ARTICLE CONTENT ==================== */
.article-content h2 {
  color: #f0f0ff;
  font-size: 1.6rem;
  font-weight: 900;
  margin-top: 3rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid rgba(109, 40, 217, 0.3);
}

.article-content h3 {
  color: #e8e9f0;
  font-size: 1.3rem;
  font-weight: 800;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-content h4 {
  color: #e8e9f0;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.article-content p {
  margin-bottom: 1.5rem;
  line-height: 2;
  color: #c8c6dd;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 2rem 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.article-content pre {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 2rem 0;
  direction: ltr;
  text-align: left;
}

.article-content pre code {
  background: transparent !important;
  color: #a7f3d0;
  padding: 0;
  font-size: 0.85rem;
  line-height: 1.8;
}

.article-content code {
  background: rgba(109, 40, 217, 0.15);
  color: #c4b5fd;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.88em;
  font-family: 'Fira Code', monospace;
}

.article-content blockquote {
  border-right: 3px solid #6d28d9;
  background: rgba(109, 40, 217, 0.05);
  padding: 1.5rem 2rem;
  border-radius: 0 14px 14px 0;
  margin: 2rem 0;
  color: #d8d6ee;
}

.article-content ul,
.article-content ol {
  padding-right: 1.5rem;
  margin-bottom: 1.5rem;
}

.article-content li {
  margin-bottom: 0.6rem;
  line-height: 1.9;
}

.article-content a {
  color: #a78bfa;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content a:hover {
  color: #c4b5fd;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.article-content th,
.article-content td {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: right;
}

.article-content th {
  background: rgba(109, 40, 217, 0.1);
  color: #e8e9f0;
  font-weight: 700;
}

.text-purple {
  color: #a78bfa !important;
}

.sidebar-link-hover:hover {
  background: rgba(109, 40, 217, 0.1) !important;
  color: #c4b5fd !important;
}

.overflow-auto::-webkit-scrollbar {
  width: 4px;
}

.overflow-auto::-webkit-scrollbar-track {
  background: transparent;
}

.overflow-auto::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.3);
  border-radius: 4px;
}

.breadcrumb-arrow .breadcrumb-item+.breadcrumb-item::before {
  display: inline-block;
  content: "\F284" !important;
  font-family: "bootstrap-icons" !important;
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 0.7rem;
  padding-left: 0.5rem;
}

.breadcrumb-arrow .breadcrumb-item a {
  color: #9ca3af;
  font-size: 0.85rem;
  transition: color 0.2s;
  text-decoration: none;
}

.breadcrumb-arrow .breadcrumb-item a:hover {
  color: #c4b5fd;
}

.breadcrumb-arrow .breadcrumb-item.active {
  color: #a78bfa;
  font-size: 0.85rem;
  font-weight: 600;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-link {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.2s;
}

.tag-link:hover {
  background: rgba(109, 40, 217, 0.15);
  border-color: rgba(168, 85, 247, 0.3);
  color: #c4b5fd;
}

.sidebar-recent-item:hover small {
  color: #c4b5fd !important;
}

.min-w-0 {
  min-width: 0;
}

.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(12, 14, 30, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(129, 140, 248, 0.15);
  border-radius: 16px;
  padding: 14px 18px;
  max-width: 360px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  animation: toastIn 0.4s ease;
}

.custom-toast-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #10b981, #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}

.custom-toast-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: #a78bfa;
  letter-spacing: 0.5px;
}

.custom-toast-text {
  font-size: 0.82rem;
  color: #e8e9f0;
  line-height: 1.4;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.95);
  }
  
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==================== DROPDOWN GLASS ==================== */
.dropdown-menu {
  background: rgba(12, 14, 30, 0.95) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 8px !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
  min-width: 200px;
}

.dropdown-item {
  color: #b0aec8 !important;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.9rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-item:hover {
  background: rgba(109, 40, 217, 0.15) !important;
  color: #e8e9f0 !important;
}

.dropdown-item i {
  font-size: 1rem;
  color: #a78bfa;
  width: 20px;
  text-align: center;
}

.dropdown-divider {
  border-color: rgba(255, 255, 255, 0.06);
  margin: 4px 0;
}

/* دکمه dropdown-toggle */
.btn-icon-ghost.dropdown-toggle::after {
  display: none;
}

.btn-icon-ghost.dropdown-toggle i.bi-chevron-down {
  font-size: 0.65rem;
  margin-right: 4px;
}

/* Overlay for course cards */
.blog-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.blog-card-vertical:hover .blog-card-overlay {
  opacity: 1;
}

.overlay-link {
  background: var(--gradient-primary);
  color: #fff;
  padding: 12px 28px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s;
}

.overlay-link:hover {
  transform: scale(1.05);
  color: #fff;
}

.blog-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.overlay-link {
  background: var(--gradient-primary);
  color: #fff;
  padding: 12px 28px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.blog-card:hover .overlay-link {
  transform: translateY(0);
}

.object-fit-cover {
  object-fit: cover;
}

.small,
small {
  color: #c8c6dd;
}

.text-secondary {
  color: #c8c6dd !important;
}

.text-muted {
  color: #9a97b8 !important;
}

/* badge های تگ */
.badge {
  color: #c4b5fd;
}

/* sidebar links */
.sidebar-link-hover,
.sidebar-list li a {
  color: #b0aec8;
}

/* meta items */
.meta-item,
.blog-card-meta span {
  color: #b0aec8;
}

.lesson-preview {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bi-chevron-up {
  transform: rotate(180deg);
}

@media (max-width: 767.98px) {
  .cta-section {
    padding-bottom: 4rem !important;
  }
}

[type="email"],
[type="number"],
[type="tel"],
[type="url"] {
  direction: rtl;
}

.lesson-preview {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: max-height 0.3s ease;
}

#previewBeforeImg {
  max-width: 200px;
  max-height: 150px;
}

#tablePreview table {
  width: 100%;
  border-collapse: collapse;
}

#tablePreview th {
  background: rgba(109, 40, 217, 0.2);
  color: #f0f0ff;
  padding: 10px 14px;
  text-align: right;
  border-bottom: 2px solid rgba(168, 85, 247, 0.3);
  font-size: 0.85rem;
  font-weight: 700;
}

#tablePreview td {
  background: rgba(0, 0, 0, 0.2);
  color: #d8d6ee;
  padding: 8px 14px;
  text-align: right;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
}

#tablePreview tr:hover td {
  background: rgba(109, 40, 217, 0.1);
}

#tablePreview {
  background: rgba(0, 0, 0, 0.3) !important;
  border-radius: 12px;
  overflow: hidden;
  padding: 0 !important;
}

/* ==================== ACCOUNTING SIDEBAR ==================== */
.accounting-nav-link {
  color: #9ca3af !important;
  padding: 10px 12px !important;
  border-radius: 10px;
  font-size: 0.85rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.accounting-nav-link:hover {
  background: rgba(109, 40, 217, 0.08);
  color: #c4b5fd !important;
}

.accounting-nav-link.active {
  background: rgba(109, 40, 217, 0.12);
  color: #c4b5fd !important;
  border: 1px solid rgba(109, 40, 217, 0.2);
}

.accounting-nav-link i {
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

/* ==================== ACCOUNTING ==================== */
.accounting-card {
  background: rgba(18, 20, 35, 0.5);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1.5rem;
  height: 100%;
}

.accounting-stat-card {
  background: rgba(18, 20, 35, 0.5);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s;
}

.accounting-stat-card:hover {
  border-color: rgba(109, 40, 217, 0.2);
  transform: translateY(-2px);
}

.accounting-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.accounting-table {
  color: #c8c6dd !important;
  font-size: 0.85rem;
  margin-bottom: 0;
}

.accounting-table th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  color: #9ca3af !important;
  background: rgba(18, 20, 35, 0.8) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 10px 12px;
}

.accounting-table td {
  color: #c8c6dd !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  padding: 10px 12px;
  vertical-align: middle;
}

.accounting-table tr:hover td {
  background: rgba(109, 40, 217, 0.05) !important;
}

.accounting-quick-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.accounting-quick-link:hover {
  background: rgba(109, 40, 217, 0.08);
  color: #c4b5fd;
}

.accounting-quick-link i {
  font-size: 1.1rem;
  width: 22px;
  text-align: center;
}

.font-mono {
  font-family: 'Fira Code', 'Courier New', monospace;
}


.bg-warning-subtle {
  background: rgba(245, 158, 11, 0.15) !important;
}

.bg-info-subtle {
  background: rgba(14, 165, 233, 0.15) !important;
}

.bg-success-subtle {
  background: rgba(16, 185, 129, 0.15) !important;
}

.bg-primary-subtle {
  background: rgba(109, 40, 217, 0.15) !important;
}

.bg-secondary-subtle {
  background: rgba(255, 255, 255, 0.05) !important;
}

.bg-danger-subtle {
  background: rgba(239, 68, 68, 0.15) !important;
}

.text-warning {
  color: #fbbf24 !important;
}

.text-info {
  color: #38bdf8 !important;
}

.text-success {
  color: #34d399 !important;
}

.text-primary {
  color: #a78bfa !important;
}

/* Form controls */
/* ==================== FORM CONTROLS ==================== */
.form-control-glass,
input[type="date"].form-control-glass,
select.form-control-glass,
textarea.form-control-glass {
  background-color: rgba(18, 20, 35, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #e8e9f0 !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  font-family: inherit !important;
  font-size: 0.9rem !important;
  width: 100% !important;
  transition: all 0.3s ease !important;
}

.form-control-glass:focus {
  outline: none !important;
  border-color: rgba(129, 140, 248, 0.4) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.1) !important;
}

.form-control-glass::placeholder {
  color: #5c6370 !important;
}

/* Select dropdown dark */
select.form-control-glass option {
  background: #0f1025;
  color: #e8e9f0;
  padding: 8px;
}

/* Date input dark */
input[type="date"].form-control-glass {
  color-scheme: dark;
}

input[type="date"].form-control-glass::-webkit-calendar-picker-indicator {
  filter: invert(0.7);
  cursor: pointer;
}

/* Number input */
input[type="number"].form-control-glass {
  appearance: textfield;
  -moz-appearance: textfield;
  font-family: 'Fira Code', monospace;
}

input[type="number"].form-control-glass::-webkit-outer-spin-button,
input[type="number"].form-control-glass::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}