/**
 * Main Stylesheet
 * Global DNA - Core styles for Ubaid Cyber-Helix Theme
 * 
 * @package Ubaid_Cyber_Helix
 * @author Ubaid Ur Rehman
 * @version 1.0.0
 */

/* ============================================
   CSS CUSTOM PROPERTIES - DESIGN SYSTEM
   ============================================ */
:root {
  /* Core Color Palette */
  --matrix-green: #00FF41;
  --cyber-blue: #00d9ff;
  --deep-void: #050505;
  --void-secondary: #0a0a0a;
  --void-tertiary: #111111;
  --void-quaternary: #1a1a1a;
  --glass-bg: rgba(10, 10, 10, 0.7);
  --glass-bg-light: rgba(17, 17, 17, 0.8);
  --glass-border: rgba(0, 255, 65, 0.15);
  --glass-border-blue: rgba(0, 217, 255, 0.15);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.85);
  --text-muted: rgba(255, 255, 255, 0.6);
  
  /* Typography Scale */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.65vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  --text-2xl: clamp(2rem, 1.5rem + 2.5vw, 4rem);
  --text-3xl: clamp(2.5rem, 2rem + 3vw, 5.5rem);
  --text-hero: clamp(3rem, 2.5rem + 4vw, 8rem);
  
  /* Spacing Scale */
  --space-xs: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
  --space-sm: clamp(0.75rem, 0.6rem + 0.75vw, 1.25rem);
  --space-md: clamp(1rem, 0.8rem + 1vw, 1.75rem);
  --space-lg: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  --space-xl: clamp(2rem, 1.5rem + 2.5vw, 4rem);
  --space-2xl: clamp(3rem, 2rem + 5vw, 8rem);
  
  /* Animation Timing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-expo: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 600ms;
  --duration-slower: 1000ms;
  
  /* Z-Index Scale */
  --z-background: -100;
  --z-content: 10;
  --z-header: 100;
  --z-modal: 1000;
  --z-shader: -50;
  
  /* Layout */
  --header-height: 80px;
  --header-height-mobile: 64px;
  --container-max: 1400px;
  --container-narrow: 900px;
}

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

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

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--deep-void);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Selection Styling */
::selection {
  background: var(--matrix-green);
  color: var(--deep-void);
}

::-moz-selection {
  background: var(--matrix-green);
  color: var(--deep-void);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--void-secondary);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--matrix-green), var(--cyber-blue));
  border-radius: 4px;
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

a {
  color: var(--cyber-blue);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-smooth);
}

a:hover {
  color: var(--matrix-green);
}

.mono {
  font-family: var(--font-mono);
}

.gradient-text {
  background: linear-gradient(135deg, var(--matrix-green) 0%, var(--cyber-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  position: relative;
  padding: var(--space-2xl) 0;
}

.section-full {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

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

.glass-card {
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: var(--space-xl);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.glass-card:hover {
  border-color: var(--matrix-green);
  box-shadow: 0 0 40px rgba(0, 255, 65, 0.15);
  transform: translateY(-4px);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--matrix-green), var(--cyber-blue));
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-smooth);
}

.btn span {
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--matrix-green) 0%, var(--cyber-blue) 100%);
  color: var(--deep-void);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 255, 65, 0.4);
}

.btn-primary:active {
  transform: scale(0.96);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--matrix-green);
  background: rgba(0, 255, 65, 0.05);
}

.btn-large {
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-base);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-content {
  text-align: center;
  z-index: var(--z-content);
  padding: 0 var(--space-lg);
  max-width: 1000px;
}

.hero-title {
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.hero-title .wavy-text {
  display: inline-block;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

/* Scroll Indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  opacity: 0.6;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--glass-border);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--matrix-green);
  border-radius: 2px;
}

.scroll-text {
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Hero Decorations */
.hero-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--matrix-green);
  top: 10%;
  left: -10%;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: var(--cyber-blue);
  bottom: 10%;
  right: -5%;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 255, 65, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 65, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
}

/* ============================================
   COO MATRIX SECTION
   ============================================ */
.coo-matrix-section {
  position: relative;
  padding: var(--space-2xl) 0;
  overflow: hidden;
}

.matrix-background {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.matrix-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 217, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 217, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(500px) rotateX(60deg);
  transform-origin: center top;
}

.matrix-particles {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, var(--deep-void) 70%);
}

.matrix-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

/* Role Card */
.role-card {
  margin-bottom: var(--space-xl);
}

.role-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--matrix-green);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.role-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.company-badge {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: rgba(0, 255, 65, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.company-badge:hover {
  border-color: var(--matrix-green);
  background: rgba(0, 255, 65, 0.1);
}

.company-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--matrix-green), var(--cyber-blue));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--deep-void);
}

.company-info {
  display: flex;
  flex-direction: column;
}

.company-name {
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--text-primary);
}

.company-tagline {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.stat-item {
  background: var(--glass-bg-light);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: var(--space-md);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.stat-item:hover {
  border-color: var(--cyber-blue);
  transform: translateY(-4px);
}

.stat-number {
  font-size: var(--text-xl);
  font-weight: 800;
  background: linear-gradient(135deg, var(--matrix-green), var(--cyber-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-suffix {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--cyber-blue);
}

.stat-label {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

/* Vision Card */
.vision-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
}

.vision-text {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.vision-highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background: rgba(0, 217, 255, 0.05);
  border-radius: 8px;
  border-left: 3px solid var(--cyber-blue);
}

.highlight-icon {
  color: var(--cyber-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-item span {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ============================================
   SYNERGY GRID SECTION
   ============================================ */
.synergy-section {
  padding: var(--space-2xl) 0;
}

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

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  color: var(--matrix-green);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

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

.section-description {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* Synergy Grid */
.synergy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.synergy-card {
  position: relative;
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: var(--space-xl);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.card-glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, rgba(0, 255, 65, 0.15) 0%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out-expo);
}

.card-content {
  position: relative;
  z-index: 1;
}

.card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(0, 255, 65, 0.1), rgba(0, 217, 255, 0.1));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--matrix-green);
  margin-bottom: var(--space-md);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.synergy-card:hover .card-icon {
  background: linear-gradient(135deg, var(--matrix-green), var(--cyber-blue));
  color: var(--deep-void);
  border-color: transparent;
}

.card-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.card-description {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.card-metrics {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.card-metrics .metric {
  display: flex;
  flex-direction: column;
}

.card-metrics .metric-value {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--matrix-green);
}

.card-metrics .metric-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.card-hover-reveal {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-xl);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.reveal-text {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--cyber-blue);
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects-section {
  padding: var(--space-2xl) 0;
}

/* Filter Buttons */
.projects-filter {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.filter-btn {
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--deep-void);
  background: linear-gradient(135deg, var(--matrix-green), var(--cyber-blue));
  border-color: transparent;
}

/* Masonry Grid */
.projects-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.project-card {
  background: var(--glass-bg-light);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.project-card:nth-child(3n+1) {
  grid-row: span 2;
}

.project-card:hover {
  border-color: var(--cyber-blue);
  box-shadow: 0 0 40px rgba(0, 217, 255, 0.1);
}

.project-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.project-card:nth-child(3n+1) .project-image {
  aspect-ratio: 16/20;
}

.project-image img,
.project-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.project-placeholder {
  background: linear-gradient(135deg, var(--void-tertiary), var(--void-quaternary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-pattern {
  width: 60%;
  height: 60%;
  background: 
    linear-gradient(45deg, var(--glass-border) 25%, transparent 25%),
    linear-gradient(-45deg, var(--glass-border) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--glass-border) 75%),
    linear-gradient(-45deg, transparent 75%, var(--glass-border) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  opacity: 0.3;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out-expo);
}

.project-actions {
  display: flex;
  gap: var(--space-md);
}

.project-action {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--matrix-green), var(--cyber-blue));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-void);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.project-action:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 255, 65, 0.4);
}

.project-info {
  padding: var(--space-md);
}

.project-title {
  font-size: var(--text-base);
  margin-bottom: var(--space-xs);
}

.project-excerpt {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.project-metrics {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.project-metric {
  display: flex;
  flex-direction: column;
}

.project-metric .metric-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.project-metric .metric-value {
  font-size: var(--text-sm);
  font-weight: 700;
}

.project-metric .metric-value.positive {
  color: var(--matrix-green);
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.tech-tag {
  padding: 4px 10px;
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  color: var(--cyber-blue);
  background: rgba(0, 217, 255, 0.1);
  border: 1px solid var(--glass-border-blue);
  border-radius: 4px;
}

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

.no-projects {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-xl);
  color: var(--text-muted);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  padding: var(--space-2xl) 0;
}

.contact-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contact-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
}

.contact-description {
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}

.contact-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

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

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.trust-badge svg {
  color: var(--matrix-green);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  position: relative;
  padding: var(--space-2xl) 0 0;
  background: linear-gradient(180deg, transparent 0%, var(--void-secondary) 100%);
  overflow: hidden;
}

.footer-background {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.footer-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 255, 65, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 65, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--glass-border);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer-logo .logo-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--matrix-green), var(--cyber-blue));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: var(--deep-void);
}

.footer-logo .logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-logo .logo-text span {
  background: linear-gradient(135deg, var(--matrix-green), var(--cyber-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.leadership-badge {
  margin-bottom: var(--space-md);
}

.badge-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.company-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background: rgba(0, 255, 65, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.company-link:hover {
  border-color: var(--matrix-green);
  background: rgba(0, 255, 65, 0.1);
}

.company-link .company-name {
  font-weight: 700;
  color: var(--text-primary);
}

.company-link .company-role {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-heading {
  font-size: var(--text-base);
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-link {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.footer-link:hover {
  color: var(--matrix-green);
  transform: translateX(4px);
}

.link-arrow {
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out-expo);
}

.footer-link:hover .link-arrow {
  opacity: 1;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: color var(--duration-normal) var(--ease-out-expo);
}

.contact-item:hover {
  color: var(--cyber-blue);
}

.contact-item svg {
  color: var(--matrix-green);
}

.whatsapp-link:hover {
  color: var(--matrix-green);
}

.social-links {
  display: flex;
  gap: var(--space-sm);
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--glass-bg-light);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.social-link:hover {
  background: linear-gradient(135deg, var(--matrix-green), var(--cyber-blue));
  border-color: transparent;
  color: var(--deep-void);
  transform: translateY(-4px);
}

.footer-bottom {
  padding: var(--space-md) 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.copyright {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0;
}

.footer-meta {
  display: flex;
  gap: var(--space-md);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-family: var(--font-mono);
}

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

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

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--matrix-green), var(--cyber-blue));
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-void);
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--duration-normal) var(--ease-out-expo);
  z-index: var(--z-modal);
}

.back-to-top:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 255, 65, 0.4);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.grid {
  display: grid;
  gap: var(--space-lg);
}

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

/* Visibility States for Animation */
.reveal-element {
  opacity: 0;
  transform: translateY(30px);
}

.reveal-element.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

:focus-visible {
  outline: 2px solid var(--matrix-green);
  outline-offset: 2px;
}
