/* ==========================================================================
   EXODIEN TECHNOLOGIES - CUSTOM COZY CYBERPUNK CSS
   Theme: Cozy-Cyberpunk Dark-Theme (Hikend Focus Visual Style)
   ========================================================================== */

/* --- Custom Properties (CSS Variables) --- */
:root {
  --bg-dark: #070b13; /* Deep, atmospheric midnight slate background */
  --bg-darker: #03050a; /* Pitch black for high contrast */
  --bg-card: rgba(13, 20, 35, 0.65); /* Translucent midnight glass cards */
  --bg-card-hover: rgba(20, 29, 48, 0.8);
  --border-color: rgba(255, 255, 255, 0.06); /* Faint white borders */
  --border-hover: rgba(255, 255, 255, 0.15);
  
  --primary-cyan: #06b6d4; /* Glowing neon cyan */
  --primary-blue: #3b82f6; /* Royal tech blue */
  --primary-purple: #a855f7; /* Violet neon */
  --primary-amber: #f59e0b; /* Warm Cozy Amber */
  
  --text-primary: #f1f5f9; /* Off-white text for maximum readability */
  --text-secondary: #94a3b8; /* Slate 400 description text */
  --text-muted: #64748b; /* Slate 500 */
  
  --gradient-cyan-blue: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --gradient-blue-purple: linear-gradient(135deg, #3b82f6 0%, #a855f7 100%);
  --gradient-main: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #f59e0b 100%); /* Main cyberpunk flow */
  
  --shadow-glow-cyan: 0 10px 40px rgba(6, 182, 212, 0.12), 0 0 20px rgba(6, 182, 212, 0.05);
  --shadow-glow-purple: 0 10px 40px rgba(168, 85, 247, 0.12), 0 0 20px rgba(168, 85, 247, 0.05);
  
  --font-title: 'Nunito Sans', 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Nunito Sans', 'Inter', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Custom Interactive Follower Cursor (Antigravity Visual Effect) */
.custom-cursor {
  width: 8px;
  height: 8px;
  background: var(--primary-cyan);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10000;
  box-shadow: 0 0 10px var(--primary-cyan), 0 0 20px rgba(6, 182, 212, 0.5);
  transition: width 0.2s, height 0.2s;
}

.custom-cursor-follower {
  width: 32px;
  height: 32px;
  border: 2px solid var(--primary-blue);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
}

.mouse-glow-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    circle 250px at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(6, 182, 212, 0.08),
    transparent 80%
  );
}

#antigravity-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

/* Hide default cursor on desktop device when custom cursor is active */
@media (min-width: 769px) {
  body {
    cursor: none;
  }
  a, button, .pillar-card, .filter-tab, input, select, textarea {
    cursor: none;
  }
}

/* --- Base & Reset Rules --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff; /* Bright white for deep cyberpunk contrast */
}

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

ul {
  list-style: none;
}

input, select, textarea {
  font-family: var(--font-body);
}

/* --- Background Decorative Glows --- */
.glow-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.18; /* Rich glowing nebulas in dark mode */
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--primary-cyan);
  top: -100px;
  right: -50px;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: var(--primary-purple);
  top: 40%;
  left: -200px;
}

.orb-3 {
  width: 450px;
  height: 450px;
  background: var(--primary-blue);
  bottom: 50px;
  right: -100px;
}

/* --- Layout Container --- */
.container {
  width: 100%;
  max-width: 1480px; /* Expansive desktop container */
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* AI Hero Image Visual Styles */
.ai-hero-image-card {
  width: 380px;
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  background: rgba(7, 11, 19, 0.8);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.ai-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.ai-hero-image-card:hover .ai-hero-image {
  transform: scale(1.05);
}

.image-overlay-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 60%, rgba(3, 5, 10, 0.4));
  box-shadow: inset 0 0 30px rgba(6, 182, 212, 0.1);
}

/* --- Reusable Components (Glassmorphism & Buttons) --- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 0 10px 35px -10px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.6);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 40px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--gradient-cyan-blue);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.btn-outline:hover {
  background: rgba(6, 182, 212, 0.08);
  border-color: var(--primary-cyan);
  color: #ffffff;
}

.btn-block {
  width: 100%;
}

/* Helper Text Formatting */
.gradient-text {
  background: var(--gradient-cyan-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

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

.section-header {
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* --- Header & Navigation --- */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.2rem 0;
  transition: var(--transition-smooth);
}

#main-header.scrolled {
  background: rgba(7, 11, 19, 0.75); /* Dark translucent background */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  padding: 0.8rem 0;
}

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

.logo {
  font-size: 2.35rem; /* Highly prominent branding */
  font-weight: 900;
  letter-spacing: -0.04em;
}

.logo-glow {
  background: var(--gradient-cyan-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.logo-light {
  color: #ffffff; /* Bright white text in logo */
}

.nav-menu {
  display: flex;
  gap: 0.8rem; /* Pill gaps */
}

.nav-link {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.55rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
}

.nav-link:hover:not(.active) {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: translateY(-1px);
}

.nav-link.active {
  background: var(--gradient-cyan-blue);
  color: #ffffff !important;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.25);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Burger Menu */
.burger-menu {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  width: 28px;
}

.burger-menu span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff; /* White burger stripes */
  transition: var(--transition-fast);
}

/* --- Hero Section --- */
.hero-section {
  padding: 10rem 0 6rem 0;
  min-height: 95vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4.5rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--primary-cyan);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-family: var(--font-title);
  width: fit-content;
}

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

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 15px var(--primary-cyan); }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 620px;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
}

/* Hero Visuals & Mockups */
.hero-visual {
  position: relative;
}

.visual-card-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-card {
  width: 340px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  z-index: 2;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.header-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.header-dot.red { background-color: #ef4444; }
.header-dot.yellow { background-color: #f59e0b; }
.header-dot.green { background-color: #10b981; }

.header-title {
  font-size: 0.75rem;
  font-family: var(--font-title);
  color: var(--text-secondary);
  margin-left: 0.5rem;
  font-weight: 600;
}

.card-body {
  padding: 1.5rem;
}

.system-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.stat-circle-container {
  position: relative;
  width: 120px;
  height: 120px;
}

.progress-ring {
  transform: rotate(-90deg);
}

.progress-ring__circle {
  transition: stroke-dashoffset 0.35s;
  transform-origin: 50% 50%;
}

.stat-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-title);
  color: #ffffff;
}

.stat-label {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  width: max-content;
  font-weight: 700;
}

.stat-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-indicator.active { background-color: #10b981; box-shadow: 0 0 8px #10b981; }
.status-indicator.warning { background-color: var(--primary-amber); box-shadow: 0 0 8px var(--primary-amber); } /* Warm amber indicator */

.stat-item-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-item-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Badge Cards */
.badge-card {
  position: absolute;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  z-index: 3;
  width: 200px;
}

.badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.badge-text {
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.badge-1 {
  top: 15%;
  left: 0%;
}

.badge-2 {
  bottom: 15%;
  right: 0%;
}

/* Float Animations */
.animate-float {
  animation: float 5s ease-in-out infinite;
}

.animate-float-delay {
  animation: float 5s ease-in-out infinite;
  animation-delay: 2.5s;
}

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

/* --- Service Pillars Section --- */
.pillars-section {
  padding: 6rem 0;
  position: relative;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.5);
}

.pillar-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.08;
  transition: var(--transition-smooth);
}

.pillar-card:hover .pillar-glow {
  opacity: 0.18;
  transform: scale(1.2);
}

.pillar-glow.bg-cyan { background: var(--primary-cyan); }
.pillar-glow.bg-blue { background: var(--primary-blue); }
.pillar-glow.bg-purple { background: var(--primary-purple); }

.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-cyan);
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.pillar-card:hover .pillar-icon {
  background: var(--gradient-cyan-blue);
  border-color: transparent;
  color: #ffffff;
}

.pillar-title {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.pillar-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  min-height: 72px;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--primary-cyan);
}

.pillar-card:hover .pillar-link svg {
  transform: translateX(4px);
}

.pillar-link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition-fast);
}

/* --- Detailed Services Section --- */
.services-section {
  padding: 6rem 0;
  position: relative;
  background: rgba(3, 5, 10, 0.2);
}

/* Filter tabs styling */
.filter-container {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 0.4rem;
  border-radius: 100px;
  margin-top: 1.5rem;
}

.filter-tab {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-tab:hover {
  color: #ffffff;
}

.filter-tab.active {
  background: var(--gradient-cyan-blue);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.25);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-banner-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
  transition: transform 0.5s ease;
}

.service-card:hover .card-banner-img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  height: 100%;
}

/* Custom Spiceworks-inspired Mockup: Person Pointing at Automation Interface */
.card-banner-spiceworks-mockup {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, #020617 0%, #0f172a 40%, #1e1b4b 100%);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

/* Glowing background lines representing data flow grid */
.mockup-grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(6, 182, 212, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.05) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.8;
}

/* Luminous overlay circles simulating screen glow */
.mockup-glow-circle {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 70%);
  top: 20px;
  left: 30px;
  filter: blur(10px);
}

.mockup-glow-circle-alt {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
  bottom: -20px;
  right: 20px;
  filter: blur(15px);
}

/* Conceptual Automation Node Map */
.mockup-nodes-container {
  width: 85%;
  height: 80%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 1;
}

/* Individual Interactive Touch Node */
.mockup-node-item {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  border: 2px solid rgba(6, 182, 212, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #06b6d4;
  position: relative;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
  transition: all 0.3s ease;
}

/* Node ripples representing touch trigger */
.node-ripple-wave {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(6, 182, 212, 0.4);
  animation: pulse-ripple 2s infinite ease-out;
}

.node-ripple-wave-delay {
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  border-radius: 50%;
  border: 1px solid rgba(6, 182, 212, 0.15);
  animation: pulse-ripple 2s infinite ease-out 1s;
}

@keyframes pulse-ripple {
  0% {
    transform: scale(0.9);
    opacity: 1;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* Center node (automation center of touch) */
.node-active-center {
  border-color: #06b6d4;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, rgba(15, 23, 42, 0.95) 100%);
  animation: glow-cyan-active 2.5s infinite ease-in-out;
}

@keyframes glow-cyan-active {
  0%, 100% {
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3), inset 0 0 10px rgba(6, 182, 212, 0.2);
    border-color: rgba(6, 182, 212, 0.5);
  }
  50% {
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.6), inset 0 0 15px rgba(6, 182, 212, 0.4);
    border-color: rgba(6, 182, 212, 0.9);
  }
}

/* Spinning gear inside active node */
.gear-spin-icon {
  animation: gear-rotate 8s infinite linear;
}

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

/* Connecting network lines between nodes */
.mockup-link-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.4) 0%, rgba(236, 72, 153, 0.2) 100%);
  width: 32%;
  top: 50%;
  left: 18%;
  transform: translateY(-50%);
  z-index: 0;
}

.mockup-link-line-alt {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, rgba(236, 72, 153, 0.2) 0%, rgba(6, 182, 212, 0.4) 100%);
  width: 32%;
  top: 50%;
  right: 18%;
  transform: translateY(-50%);
  z-index: 0;
}

/* Futuristic labeling text */
.mockup-hud-label {
  position: absolute;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(6, 182, 212, 0.7);
  top: 10px;
  right: 15px;
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(2px);
}

/* Stylish finger pointing / touching indicator */
.mockup-pointing-hand-wrapper {
  position: absolute;
  bottom: -32px;
  right: 28%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: finger-tap 3.5s infinite ease-in-out;
}

.pointing-hand-icon {
  width: 44px;
  height: 44px;
  color: rgba(255, 255, 255, 0.85);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
  transform: rotate(-15deg);
}

@keyframes finger-tap {
  0%, 100% {
    transform: translateY(0) scale(1) rotate(-15deg);
    opacity: 0.9;
  }
  45% {
    transform: translateY(-38px) scale(0.95) rotate(-18deg);
    opacity: 1;
  }
  55% {
    transform: translateY(-38px) scale(0.9) rotate(-18deg);
    opacity: 1;
  }
  80% {
    transform: translateY(0) scale(1) rotate(-15deg);
    opacity: 0.9;
  }
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow-cyan);
}

.service-card[data-category="cloud"]:hover {
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
}

.service-card[data-category="infra"]:hover {
  box-shadow: var(--shadow-glow-purple);
}

.service-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.service-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.service-name {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  color: #ffffff;
}

.service-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.2rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.service-features li svg {
  width: 14px;
  height: 14px;
}

/* Service Animation States for Filter */
.service-card.hidden {
  display: none !important;
}

/* --- Why Choose Us Section --- */
.why-choose-section {
  padding: 8rem 0;
  position: relative;
}

.why-choose-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.why-choose-text .section-title {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-bullet {
  display: flex;
  gap: 1.2rem;
}

.bullet-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-cyan);
}

.bullet-icon svg {
  width: 20px;
  height: 20px;
}

.feature-bullet h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: #ffffff;
}

.feature-bullet p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Grid Stats panel */
.why-choose-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-card-detail {
  padding: 2rem 1.5rem;
  text-align: center;
}

.stat-card-detail:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.2);
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: var(--gradient-cyan-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-lbl {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
  line-height: 1.3;
}

/* --- Contact & Inquiry Section --- */
.contact-section {
  padding: 6rem 0 8rem 0;
  position: relative;
  background: var(--bg-dark); /* Sleek dark contact background */
}

.contact-card-wrapper {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2.5rem;
  align-items: stretch;
}

.contact-info-card {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
}

.contact-intro {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-top: auto;
}

.contact-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-cyan);
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.contact-item h5 {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.contact-item p {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff; /* Bright white links */
}

.contact-item p a:hover {
  color: var(--primary-cyan);
  text-decoration: underline;
}

/* Form Card Style */
.contact-form-card {
  padding: 3rem 2.5rem;
}

.form-title {
  font-size: 1.6rem;
  margin-bottom: 1.8rem;
}

.form-group {
  margin-bottom: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
}

input, select, textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: #ffffff;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-cyan);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.15);
}

/* Dropdown arrow custom styling */
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.1rem;
  padding-right: 2.5rem;
}

select option {
  background-color: #070b13;
  color: #ffffff;
}

.form-response-msg {
  margin-top: 1.2rem;
  padding: 0.8rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  display: none;
  font-weight: 500;
}

.form-response-msg.success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.form-response-msg.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

/* Button loading spinner */
.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: button-spin 0.8s linear infinite;
  margin-left: 0.5rem;
}

@keyframes button-spin {
  to { transform: rotate(360deg); }
}

/* --- Footer Area --- */
footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 3rem 0;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 1.2rem;
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-links h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #ffffff;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  width: fit-content;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

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


/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================= */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-visual {
    margin-top: 2rem;
  }
  
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-choose-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .contact-card-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  /* Force global viewport lock */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  .container {
    padding: 0 1.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.6rem;
  }
  
  .logo {
    font-size: 1.65rem; /* Resize header logo to fit small mobile screens */
  }

  /* Responsive Hero Dashboard card sizing to prevent overflows */
  .visual-card-wrapper {
    height: auto;
    min-height: 320px;
    padding: 1.5rem 0;
  }

  .main-card {
    width: 100% !important;
    max-width: 320px;
    margin: 0 auto;
  }

  /* Hide absolutely positioned decorative badges on small screens to avoid screen stretching */
  .badge-card {
    display: none !important;
  }
  
  /* Navigation mobile menu */
  .burger-menu {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(7, 11, 19, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    padding: 6rem 2.5rem;
    gap: 2rem;
    z-index: 99;
    transition: cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .burger-menu.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .burger-menu.open span:nth-child(2) {
    opacity: 0;
  }
  
  .burger-menu.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .header-cta .btn {
    display: none;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .why-choose-stats {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
