@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* --- Design Tokens & Variables --- */
:root {
  --bg-primary: #03050c;
  --bg-secondary: #080d1a;
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-indigo: #6366f1;
  --accent-violet: #8b5cf6;
  --accent-whatsapp: #25d366;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #475569;
  --glass-bg: rgba(8, 13, 26, 0.5);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-hover: rgba(6, 182, 212, 0.25);
  --card-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.9);
  --glow-cyan: 0 0 30px rgba(6, 182, 212, 0.4);
  --glow-blue: 0 0 30px rgba(59, 130, 246, 0.4);
  --glow-indigo: 0 0 30px rgba(99, 102, 241, 0.4);
  --glow-whatsapp: 0 0 30px rgba(37, 211, 102, 0.4);
  --nav-height: 80px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base & Reset Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* GPU-accelerated static background gradient mesh to eliminate scroll lag */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(99, 102, 241, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 90% 40%, rgba(6, 182, 212, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 35% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 45%);
  z-index: -2;
  pointer-events: none;
}

/* --- Scrollbar Customization --- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #111827;
  border: 2px solid var(--bg-primary);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1f2937;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

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

li {
  list-style: none;
}

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

/* --- Background Gradient Mesh Placeholder --- */
/* Transferred to body::before for 100% lag-free GPU execution */

/* --- Layout Utility Classes --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 120px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 80px 0;
  }
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 15%, var(--accent-cyan) 45%, var(--accent-blue) 75%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 7s linear infinite;
}

@keyframes textShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.text-gradient-alt {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 50%, var(--accent-indigo) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 70px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.section-badge {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.05);
}

.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.section-description {
  color: var(--text-secondary);
  font-size: 1.15rem;
  font-weight: 400;
}

/* --- Button Styles --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  color: #03050c;
  border: none;
  box-shadow: var(--glow-cyan);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-indigo) 100%);
  opacity: 0;
  z-index: -1;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(6, 182, 212, 0.7);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.15);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
  border-radius: 8px;
}

/* --- Glass Card Style (with 3D perspective setup) --- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  transition: transform 0.1s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s, border-color 0.4s;
  transform-style: preserve-3d;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.glass-card.resetting {
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s, border-color 0.4s;
  transform: rotateX(0deg) rotateY(0deg) scale(1) !important;
}

.glass-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--card-shadow), 0 10px 30px rgba(6, 182, 212, 0.1);
}

/* Depth levels for internal elements when card tilts */
.glass-card .service-icon-box, 
.glass-card .service-title,
.glass-card .service-desc,
.glass-card .portfolio-img-box,
.glass-card .portfolio-details {
  transform: translateZ(24px);
}

/* --- Preloader --- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader {
  position: relative;
  width: 60px;
  height: 60px;
}

.loader-ring {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 48px;
  height: 48px;
  margin: 6px;
  border: 4px solid var(--accent-cyan);
  border-radius: 50%;
  animation: loader-spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: var(--accent-cyan) transparent transparent transparent;
}

.loader-ring:nth-child(1) { animation-delay: -0.45s; }
.loader-ring:nth-child(2) { animation-delay: -0.3s; }
.loader-ring:nth-child(3) { animation-delay: -0.15s; }

@keyframes loader-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* --- Floating Glassmorphic Navbar --- */
.header {
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;
  width: calc(100% - 40px);
  height: 76px;
  display: flex;
  align-items: center;
  z-index: 900;
  background: rgba(8, 13, 26, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: var(--transition-smooth);
}

.header.scrolled {
  top: 10px;
  height: 66px;
  background: rgba(3, 5, 12, 0.75);
  border-color: rgba(6, 182, 212, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(6, 182, 212, 0.08);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 24px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-svg {
  height: 24px;
  color: var(--text-primary);
  fill: currentColor;
  opacity: 0.95;
  animation: logoShimmer 4s infinite ease-in-out;
  transition: var(--transition-smooth);
}

.logo-svg .accent-fill {
  fill: var(--accent-cyan);
  transition: var(--transition-smooth);
}

@keyframes logoShimmer {
  0% {
    filter: brightness(1) drop-shadow(0 0 0 rgba(6, 182, 212, 0));
    opacity: 0.95;
  }
  15% {
    filter: brightness(1.4) drop-shadow(0 0 10px rgba(6, 182, 212, 0.45));
    opacity: 1;
  }
  30% {
    filter: brightness(1) drop-shadow(0 0 0 rgba(6, 182, 212, 0));
    opacity: 0.95;
  }
  100% {
    filter: brightness(1) drop-shadow(0 0 0 rgba(6, 182, 212, 0));
    opacity: 0.95;
  }
}



.nav-menu {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: 100px;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

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

/* Active Class corresponding to Scroll-Spy */
.nav-link.active {
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.15);
  box-shadow: inset 0 0 10px rgba(6, 182, 212, 0.05);
}

.nav-cta {
  display: flex;
  align-items: center;
}

/* Hamburger Menu Icon */
.hamburger {
  display: none;
  cursor: pointer;
  background: transparent;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.hamburger span:nth-child(1) { top: 0px; }
.hamburger span:nth-child(2), .hamburger span:nth-child(3) { top: 9px; }
.hamburger span:nth-child(4) { top: 18px; }

.hamburger.open span:nth-child(1) {
  top: 18px;
  width: 0%;
  left: 50%;
}

.hamburger.open span:nth-child(2) {
  transform: rotate(45deg);
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg);
}

.hamburger.open span:nth-child(4) {
  top: 0px;
  width: 0%;
  left: 50%;
}

.hamburger.open span {
  background: var(--accent-cyan) !important;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
}

@media (max-width: 991px) {
  .hamburger {
    display: block;
    margin-right: 12px;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .hamburger.open {
    position: fixed;
    top: 48px;
    right: 40px;
    z-index: 1002;
    margin-right: 0;
  }

  .nav-menu {
    position: fixed;
    top: 20px;
    right: -100%;
    width: 290px;
    height: calc(100vh - 40px);
    background: rgba(4, 7, 20, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: 24px;
    flex-direction: column;
    align-items: flex-start;
    padding: 85px 20px 40px;
    gap: 10px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.95), 0 0 30px rgba(6, 182, 212, 0.05);
  }

  .nav-menu.active {
    right: 20px;
  }

  .nav-menu .nav-link {
    width: 100%;
    text-align: left;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    background: transparent;
    color: var(--text-secondary);
    box-shadow: none;
    -webkit-tap-highlight-color: transparent !important;
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link:active {
    background: rgba(255, 255, 255, 0.03);
    color: var(--accent-cyan);
  }

  .nav-menu .nav-link.active {
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.06);
    border-left: 3px solid var(--accent-cyan);
    border-radius: 0 12px 12px 0;
    padding-left: 17px;
    box-shadow: none;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.25);
  }

  .nav-cta {
    margin-top: 20px;
    width: 100%;
    padding: 0 20px;
  }

  .nav-cta .btn {
    width: 100%;
    -webkit-tap-highlight-color: transparent !important;
  }
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-indigo);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.05);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(6, 182, 212, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

.hero-title {
  font-size: clamp(2.0rem, 8vw, 4.8rem);
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--accent-cyan);
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  font-weight: 600;
  text-transform: uppercase;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Futuristic Dashboard Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

.dashboard-mockup {
  width: 100%;
  max-width: 540px;
  aspect-ratio: 16/11;
  background: rgba(8, 12, 26, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 35px 80px -20px rgba(0, 0, 0, 0.95);
  position: relative;
  z-index: 2;
  overflow: hidden;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  animation: dashboardFloat 6s ease-in-out infinite alternate;
  transform: rotateX(5deg) rotateY(-5deg);
}

@keyframes dashboardFloat {
  0% { transform: translateY(0) rotateX(5deg) rotateY(-5deg); }
  100% { transform: translateY(-15px) rotateX(7deg) rotateY(-3deg); }
}

.dashboard-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  transform: skewX(-25deg);
  animation: shine 7s infinite ease-in-out;
}

@keyframes shine {
  0% { left: -200%; }
  60%, 100% { left: 100%; }
}

.db-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.db-dots {
  display: flex;
  gap: 8px;
}

.db-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.db-dot.red { background: #ef4444; }
.db-dot.yellow { background: #eab308; }
.db-dot.green { background: #22c55e; }

.db-title {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.ide-grid {
  display: grid;
  grid-template-columns: 130px 1fr;
  height: calc(100% - 32px);
  gap: 0;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}

/* Sidebar explorer styles */
.ide-sidebar {
  background: rgba(4, 7, 16, 0.8);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 10px;
  font-family: 'Space Grotesk', sans-serif;
  text-align: left;
}

.ide-sidebar-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.ide-file-tree {
  font-size: 0.72rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ide-tree-item {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: color 0.2s ease;
}
.ide-tree-item:hover {
  color: var(--text-primary);
}
.ide-tree-item.active {
  color: var(--accent-cyan);
  font-weight: 600;
}
.ide-tree-item.indent {
  padding-left: 10px;
}

.ide-icon {
  width: 12px;
  height: 12px;
  stroke-width: 2.5;
  stroke: currentColor;
  fill: none;
}

/* Main workspace area styling */
.ide-main {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Code Editor pane styling */
.ide-editor {
  flex: 1;
  background: rgba(3, 5, 12, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
}

.ide-tabs {
  display: flex;
  background: rgba(4, 7, 16, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.ide-tab {
  padding: 8px 16px;
  font-family: monospace;
  font-size: 0.7rem;
  color: var(--text-secondary);
  border-right: 1px solid rgba(255, 255, 255, 0.03);
  background: rgba(3, 5, 12, 0.2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.ide-tab.active {
  background: rgba(3, 5, 12, 0.45);
  color: var(--text-primary);
  border-top: 2px solid var(--accent-cyan);
  font-weight: 600;
}

.ide-code-view {
  padding: 16px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--text-secondary);
  text-align: left;
  overflow: hidden;
  flex-grow: 1;
}

/* Syntax Highlighting */
.code-keyword { color: #f43f5e; } /* pink */
.code-string { color: #10b981; }  /* green */
.code-function { color: #3b82f6; } /* blue */
.code-comment { color: var(--text-muted); font-style: italic; }
.code-number { color: #f59e0b; } /* orange */

/* Terminal Panel styling */
.ide-terminal {
  height: 110px;
  background: rgba(3, 5, 12, 0.75);
  padding: 12px 16px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.7rem;
  color: #10b981;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}

.ide-terminal-header {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.ide-terminal-output {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  overflow-y: auto;
}

/* Blinking terminal cursor */
.terminal-cursor {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: #10b981;
  margin-left: 2px;
  animation: blink 0.8s steps(2, start) infinite;
  vertical-align: middle;
}

@keyframes blink {
  to { visibility: hidden; }
}

.visual-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
  z-index: 1;
  filter: blur(50px);
}

.visual-glow.cyan { top: -30px; right: -30px; }
.visual-glow.indigo { bottom: -50px; left: -50px; background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%); }

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
  }
}

@media (max-width: 1024px) {
  .hero-visual {
    display: none !important;
  }
}

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

/* --- Services/About Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  perspective: 1000px;
}

.service-card {
  padding: 45px 40px;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 10%, rgba(6, 182, 212, 0.08), transparent 50%);
  opacity: 0;
  transition: var(--transition-smooth);
}

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

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.18);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-cyan);
  margin-bottom: 28px;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
  background: var(--accent-cyan);
  color: #03050c;
  box-shadow: var(--glow-cyan);
  transform: scale(1.05) translateZ(10px);
}

.service-icon-svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* --- Features Section --- */
.features-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 60px;
}

.features-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.features-visual-card {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  border-radius: 28px;
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15) 0%, var(--glass-bg) 60%);
  border: 1px solid var(--glass-border);
  padding: 35px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: featuresVisualFloat 5s ease-in-out infinite alternate;
}

@keyframes featuresVisualFloat {
  0% { transform: translateY(0) rotateY(-5deg); }
  100% { transform: translateY(-10px) rotateY(5deg); }
}

.f-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
}

.f-badge-circle {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.f-badge-text {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.f-graphic-lines {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 30px 0;
}

.f-line {
  height: 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  width: 100%;
}
.f-line.short { width: 55%; }
.f-line.mid { width: 75%; }
.f-line.accent { background: linear-gradient(90deg, var(--accent-indigo), var(--accent-cyan)); }

.f-status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.f-status-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  padding: 18px;
  border-radius: 14px;
  text-align: center;
}

.f-status-val {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  font-family: 'Space Grotesk', sans-serif;
}

.f-status-lbl {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 6px;
}

.features-content h3 {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  margin-bottom: 24px;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 576px) {
  .features-list {
    grid-template-columns: 1fr;
  }
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px;
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.feature-item:hover {
  background: rgba(255,255,255,0.02);
}

.feature-check-box {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
  transition: var(--transition-smooth);
}

.feature-item:hover .feature-check-box {
  background: var(--accent-cyan);
  color: #03050c;
  box-shadow: var(--glow-cyan);
}

.feature-check-svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.5;
}

.feature-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.feature-subtext {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

@media (max-width: 991px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .features-image-container {
    order: -1;
  }
}

/* --- Stats/Counters Section --- */
.stats {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 70px 0;
  position: relative;
}

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

@media (max-width: 991px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.stat-number {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--accent-cyan);
  line-height: 1;
  margin-bottom: 10px;
  text-shadow: 0 0 25px rgba(6, 182, 212, 0.25);
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* --- Tutorials / Video Gallery Section --- */
.tutorials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.video-card {
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 16/9;
}

.video-thumb-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-card:hover .video-thumb {
  transform: scale(1.06);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(3, 5, 12, 0.15), rgba(3, 5, 12, 0.85));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  transition: var(--transition-smooth);
}

.video-card:hover .video-overlay {
  background: linear-gradient(to bottom, rgba(6, 182, 212, 0.08), rgba(3, 5, 12, 0.95));
}

.video-badge {
  align-self: flex-start;
  padding: 6px 12px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 6px;
  color: #f87171;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.video-play-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--accent-cyan);
  color: #03050c;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  box-shadow: var(--glow-cyan);
  transform: scale(0.9);
  opacity: 0.85;
  transition: var(--transition-smooth);
}

.video-card:hover .video-play-btn {
  transform: scale(1) translateZ(10px);
  opacity: 1;
  box-shadow: 0 0 35px var(--accent-cyan);
}

.video-play-svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  margin-left: 2px;
}

.video-details h4 {
  font-size: 1.25rem;
  color: #fff;
  margin-top: auto;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 5, 12, 0.92);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  width: 90%;
  max-width: 840px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.9);
  transform: scale(0.93);
  transition: var(--transition-smooth);
  position: relative;
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--accent-cyan);
}

.lightbox-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Portfolio & Filter System --- */
.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover {
  border-color: var(--accent-blue);
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  color: #03050c;
  border-color: transparent;
  box-shadow: var(--glow-cyan);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
  perspective: 1000px;
}

@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.portfolio-item.hidden {
  display: none;
}

.portfolio-img-box {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  border-radius: 20px 20px 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover .portfolio-img {
  transform: scale(1.04);
}

.portfolio-details {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.portfolio-details h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #fff;
}

.portfolio-details p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
  line-height: 1.7;
}

.portfolio-link-wrapper {
  margin-top: auto;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.portfolio-link:hover {
  color: var(--accent-cyan);
}

.portfolio-link-svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: transform 0.2s ease;
}

.portfolio-link:hover .portfolio-link-svg {
  transform: translateX(5px);
}

/* --- Pricing Section --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

@media (max-width: 991px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

.pricing-card {
  padding: 45px 35px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.pricing-card.popular {
  border-color: var(--accent-blue);
  box-shadow: 0 15px 40px -10px rgba(59, 130, 246, 0.2);
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.08) 0%, var(--glass-bg) 60%);
}

/* Animated Neon border effect for standard cards */
.pricing-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: 0.5s;
}

.pricing-card:hover::after {
  left: 100%;
}

.popular-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  color: #03050c;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  box-shadow: var(--glow-cyan);
}

.pricing-header h3 {
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.pricing-header p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 28px;
}

.pricing-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 30px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-features {
  margin-bottom: 45px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex-grow: 1;
}

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

.pricing-feature-check {
  color: var(--accent-cyan);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.pricing-action {
  margin-top: auto;
}

.pricing-action .btn {
  width: 100%;
}

/* Subscribe Banner Area */
.subscribe-banner {
  margin-top: 80px;
}

.subscribe-box {
  padding: 55px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.subscribe-content h3 {
  font-size: 1.95rem;
  margin-bottom: 8px;
}

.subscribe-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  .subscribe-box {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }
}

/* --- FAQ Section --- */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  background: var(--glass-bg);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(6, 182, 212, 0.15);
}

.faq-header {
  padding: 24px 28px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  gap: 16px;
}

.faq-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.02);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition-smooth);
  color: var(--text-secondary);
  flex-shrink: 0;
  border: 1px solid var(--glass-border);
}

.faq-icon-svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-content {
  padding: 0 28px 28px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-content a {
  color: var(--accent-cyan);
}

/* Active FAQ Item State */
.faq-item.active {
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 10px 20px -10px rgba(6, 182, 212, 0.1);
}

.faq-item.active .faq-icon-box {
  background: var(--accent-cyan);
  color: #03050c;
  box-shadow: var(--glow-cyan);
  border-color: transparent;
}

.faq-item.active .faq-icon-svg {
  transform: rotate(180deg);
}

.faq-item.active .faq-body {
  max-height: 1000px;
  transition: max-height 0.5s cubic-bezier(1, 0, 1, 0);
}

/* --- Testimonials Section --- */
.testimonials-slider-container {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  padding: 0 16px;
}

.testimonials-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.testimonial-slide {
  min-width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
  padding: 10px;
}

.testimonial-card {
  padding: 45px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.t-quote-box {
  color: var(--accent-cyan);
  margin-bottom: 24px;
  opacity: 0.15;
}

.t-quote-svg {
  width: 50px;
  height: 50px;
  fill: currentColor;
}

.t-text {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #e2e8f0;
  line-height: 1.85;
  margin-bottom: 30px;
  direction: rtl; /* Testimonials in Arabic */
  max-width: 680px;
}

.t-user {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.t-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--accent-blue);
  object-fit: cover;
  box-shadow: var(--glow-blue);
}

.t-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.t-review-link {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.t-review-link:hover {
  text-decoration: underline;
}

/* Slider Controls */
.t-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.t-dot.active {
  background: var(--accent-cyan);
  width: 26px;
  border-radius: 50px;
  box-shadow: var(--glow-cyan);
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  padding: 45px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-icon-box {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.06);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-blue);
  margin-bottom: 26px;
  border: 1px solid rgba(59, 130, 246, 0.15);
  transition: var(--transition-smooth);
}

.contact-card:hover .contact-icon-box {
  background: var(--accent-blue);
  color: #03050c;
  box-shadow: var(--glow-blue);
  transform: translateY(-3px) scale(1.03);
}

.contact-icon-svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.contact-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.contact-val {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 24px;
}

.contact-action-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contact-action-link:hover {
  text-decoration: underline;
}

/* --- Footer Section --- */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 100px 0 0;
  position: relative;
  background: rgba(3, 5, 12, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 60px;
  margin-bottom: 80px;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.footer-brand p {
  color: var(--text-secondary);
  margin: 24px 0;
  max-width: 340px;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.social-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

.social-svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-nav h4, .footer-contact h4 {
  font-size: 1.2rem;
  margin-bottom: 26px;
  letter-spacing: -0.01em;
}

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

.footer-link {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-link:hover {
  color: var(--accent-cyan);
  padding-left: 6px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.footer-contact-icon {
  color: var(--accent-cyan);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.footer-contact-icon-svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.footer-contact-item a:hover {
  color: var(--accent-cyan);
}

/* Copyright Row */
.copyright-bar {
  border-top: 1px solid var(--glass-border);
  padding: 35px 0;
}

.copyright-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

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

@media (max-width: 576px) {
  .copyright-container {
    flex-direction: column;
    text-align: center;
  }
}

/* --- Scroll to Top Circular Progress Indicator --- */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(8, 13, 26, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 12px 25px rgba(0,0,0,0.6);
  transition: var(--transition-smooth);
  padding: 0;
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-progress-svg {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.progress-ring-bar {
  stroke-linecap: round;
  transition: stroke-dashoffset 0.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-top-chevron {
  position: relative;
  width: 16px;
  height: 16px;
  z-index: 2;
  transition: var(--transition-smooth);
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
}

.scroll-top:hover {
  background: var(--accent-cyan);
  color: #03050c;
  box-shadow: var(--glow-cyan);
  border-color: transparent;
}

.scroll-top:hover .scroll-top-chevron {
  transform: translateY(-3px);
}

/* --- Scroll Animation Triggers --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* --- Interactive Mouse Light Spotlight --- */
.mouse-light {
  position: fixed;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.035) 0%, rgba(99, 102, 241, 0.01) 50%, transparent 80%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: -1;
  mix-blend-mode: screen;
  will-change: left, top;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.mouse-light.active {
  opacity: 1;
}

/* --- Legal Text Pages styling --- */
.legal-card {
  background: rgba(8, 13, 26, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 2.5rem;
  border-radius: 16px;
  text-align: left;
  margin-top: 40px;
  box-shadow: var(--card-shadow);
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 8px;
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.3rem;
  color: var(--accent-cyan);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

.legal-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* WhatsApp button custom color styling */
.social-btn.whatsapp-btn {
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.25);
  background: rgba(37, 211, 102, 0.03);
}

.social-btn.whatsapp-btn:hover {
  background: #25d366;
  color: #03050c;
  border-color: #25d366;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.45);
}

/* WhatsApp contact card custom styling */
.contact-card.whatsapp-card .contact-icon-box {
  background: rgba(37, 211, 102, 0.06);
  color: var(--accent-whatsapp);
  border-color: rgba(37, 211, 102, 0.15);
}

.contact-card.whatsapp-card:hover .contact-icon-box {
  background: var(--accent-whatsapp);
  color: #03050c;
  box-shadow: var(--glow-whatsapp);
  transform: translateY(-3px) scale(1.03);
}

.contact-card.whatsapp-card .contact-action-link {
  color: var(--accent-whatsapp);
}

