/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Colors - Dark Theme First */
  --bg-primary: #0a0a0f;
  --bg-secondary: #1a1a2e;
  --bg-tertiary: #16213e;
  --bg-accent: #0f3460;
  
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-accent: #0ea5e9;
  --text-highlight: #00d9ff;
  
  --accent-primary: #00d9ff;
  --accent-secondary: #0ea5e9;
  --accent-tertiary: #3b82f6;
  
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  
  /* Neon colors for effects */
  --neon-blue: #00d9ff;
  --neon-purple: #a855f7;
  --neon-green: #10b981;
  --neon-orange: #ff6b35;
  
  /* Typography */
  --font-family-primary: 'JetBrains Mono', 'Fira Code', 'Source Code Pro', monospace;
  --font-family-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Font sizes - More dramatic scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.5rem;
  --text-6xl: 4.5rem;
  --text-7xl: 6rem;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  
  /* Border radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;
  
  /* Shadows with neon effects */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.4);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.5), 0 4px 6px -4px rgb(0 0 0 / 0.5);
  --shadow-neon: 0 0 20px var(--neon-blue), 0 0 40px var(--neon-blue), 0 0 60px var(--neon-blue);
  --shadow-neon-purple: 0 0 20px var(--neon-purple), 0 0 40px var(--neon-purple);
  --shadow-neon-green: 0 0 20px var(--neon-green), 0 0 40px var(--neon-green);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Layout */
  --container-max-width: 1400px;
  --content-max-width: 900px;
}

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

* {
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-family-display);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Animated background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
  z-index: -1;
  animation: bgFloat 20s ease-in-out infinite;
}

@keyframes bgFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(1deg); }
  66% { transform: translateY(10px) rotate(-1deg); }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-display);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: var(--space-6);
}

h1 {
  font-size: var(--text-6xl);
  font-weight: 900;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(0, 217, 255, 0.5);
}

h2 {
  font-size: var(--text-4xl);
  color: var(--text-highlight);
}

h3 {
  font-size: var(--text-2xl);
}

p {
  margin-bottom: var(--space-4);
  color: var(--text-secondary);
  line-height: 1.8;
}

.text-code {
  font-family: var(--font-family-primary);
  background: rgba(0, 217, 255, 0.1);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 217, 255, 0.3);
  color: var(--neon-blue);
}

/* ===== LAYOUT COMPONENTS ===== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

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

/* Hero Section - Completely redesigned */
.section--hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  max-width: var(--container-max-width);
  width: 100%;
  padding: 0 var(--space-6);
}

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

.hero-visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-terminal {
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid var(--accent-secondary);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  font-family: var(--font-family-primary);
  font-size: var(--text-sm);
  color: var(--neon-green);
  box-shadow: var(--shadow-neon);
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: 400px;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid rgba(0, 217, 255, 0.3);
}

.terminal-dots {
  display: flex;
  gap: var(--space-1);
}

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

.terminal-dot--red { background: #ff5f56; }
.terminal-dot--yellow { background: #ffbd2e; }
.terminal-dot--green { background: #27ca3f; }

.terminal-title {
  color: var(--text-secondary);
  font-size: var(--text-xs);
  margin-left: auto;
}

.terminal-line {
  margin-bottom: var(--space-2);
  opacity: 0;
  animation: typewriter 0.8s ease forwards;
}

.terminal-line:nth-child(2) { animation-delay: 0.5s; }
.terminal-line:nth-child(3) { animation-delay: 1s; }
.terminal-line:nth-child(4) { animation-delay: 1.5s; }
.terminal-line:nth-child(5) { animation-delay: 2s; }
.terminal-line:nth-child(6) { animation-delay: 2.5s; }

.terminal-prompt {
  color: var(--neon-blue);
}

.terminal-command {
  color: var(--neon-green);
}

.terminal-output {
  color: var(--text-secondary);
  padding-left: var(--space-4);
}

.cursor::after {
  content: '█';
  color: var(--neon-blue);
  animation: blink 1s infinite;
}

@keyframes typewriter {
  to { opacity: 1; }
}

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

.hero-title {
  font-size: clamp(var(--text-5xl), 8vw, var(--text-7xl));
  margin-bottom: var(--space-6);
  position: relative;
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ===== INNOVATIVE BUTTON DESIGNS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  min-height: 54px;
  font-family: var(--font-family-display);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left var(--transition-slow);
}

.btn:hover::before {
  left: 100%;
}

.btn--primary {
  background: linear-gradient(135deg, var(--neon-blue), var(--accent-secondary));
  color: var(--bg-primary);
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
  border: 1px solid var(--neon-blue);
}

.btn--primary:hover {
  box-shadow: var(--shadow-neon);
  transform: translateY(-2px);
  color: var(--bg-primary);
}

.btn--secondary {
  background: transparent;
  color: var(--neon-blue);
  border: 2px solid var(--neon-blue);
  box-shadow: inset 0 0 0 0 var(--neon-blue);
  transition: all var(--transition-normal);
}

.btn--secondary:hover {
  box-shadow: inset 200px 0 0 0 var(--neon-blue);
  color: var(--bg-primary);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--text-secondary);
  position: relative;
}

.btn--outline::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(45deg, var(--neon-purple), var(--neon-blue));
  transition: width var(--transition-normal);
  z-index: -1;
}

.btn--outline:hover::after {
  width: 100%;
}

.btn--outline:hover {
  color: var(--bg-primary);
  border-color: transparent;
}

/* ===== CARDS WITH GLASSMORPHISM ===== */
.card {
  background: rgba(26, 26, 46, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.card:hover {
  transform: translateY(-8px);
  border-color: var(--neon-blue);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 217, 255, 0.2);
}

.card__icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  margin-bottom: var(--space-6);
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.card__title {
  color: var(--text-primary);
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}

.card__description {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== FLOATING ELEMENTS ===== */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.floating-code {
  position: absolute;
  font-family: var(--font-family-primary);
  font-size: var(--text-xs);
  color: rgba(0, 217, 255, 0.2);
  animation: float 15s linear infinite;
  opacity: 0;
}

.floating-code:nth-child(odd) {
  animation-duration: 20s;
  color: rgba(168, 85, 247, 0.2);
}

@keyframes float {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) translateX(100px);
    opacity: 0;
  }
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: var(--space-4);
}

h1 {
  font-size: var(--text-5xl);
  font-weight: 800;
}

h2 {
  font-size: var(--text-3xl);
}

h3 {
  font-size: var(--text-2xl);
}

p {
  margin-bottom: var(--space-4);
  color: var(--gray-600);
  line-height: 1.7;
}

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

a:hover {
  color: var(--primary-dark);
}

/* ===== LAYOUT COMPONENTS ===== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

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

.section--hero {
  padding: var(--space-20) 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: var(--white);
  text-align: center;
}

.section--hero h1 {
  color: var(--white);
  margin-bottom: var(--space-6);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
}

.section--hero p {
  color: var(--primary-light);
  font-size: var(--text-xl);
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

/* ===== BUTTON COMPONENTS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
  font-weight: 500;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  min-height: 44px; /* Accessibility: minimum touch target */
}

.btn--primary {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background-color: var(--primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  color: var(--white);
}

.btn--secondary {
  background-color: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn--secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

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

.btn--outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  min-height: 36px;
}

/* ===== CARD COMPONENTS ===== */
.card {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
}

.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}

.card__header {
  margin-bottom: var(--space-6);
}

.card__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
  color: var(--gray-900);
}

.card__description {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

/* ===== APPS SECTION ===== */
.apps-grid {
  display: grid;
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.app-card {
  position: relative;
  overflow: hidden;
}

.app-card__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background-color: var(--success-color);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.app-card__features {
  list-style: none;
  margin: var(--space-6) 0;
}

.app-card__features li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-3);
  color: var(--gray-600);
}

.app-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: 600;
}

/* ===== INNOVATIVE SECTIONS ===== */
.section--apps {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  position: relative;
}

.section--apps::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(0,217,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)" /></svg>');
  opacity: 0.3;
}

.apps-showcase {
  position: relative;
  z-index: 2;
}

.app-card {
  background: rgba(10, 10, 15, 0.8);
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-slow);
}

.app-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(0, 217, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  transition: all var(--transition-slow);
  opacity: 0;
}

.app-card:hover::before {
  opacity: 1;
  animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.app-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--neon-blue);
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(0, 217, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: linear-gradient(135deg, var(--neon-green), #059669);
  color: var(--bg-primary);
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.app-title {
  font-size: var(--text-3xl);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  font-weight: 800;
}

.app-description {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

.app-features {
  list-style: none;
  margin: var(--space-6) 0;
}

.app-features li {
  position: relative;
  padding: var(--space-3) 0 var(--space-3) var(--space-8);
  color: var(--text-secondary);
  border-left: 2px solid rgba(0, 217, 255, 0.2);
  margin-bottom: var(--space-3);
  transition: all var(--transition-normal);
}

.app-features li::before {
  content: '▶';
  position: absolute;
  left: var(--space-3);
  top: var(--space-3);
  color: var(--neon-blue);
  font-size: var(--text-sm);
  transition: all var(--transition-normal);
}

.app-features li:hover {
  color: var(--text-primary);
  border-left-color: var(--neon-blue);
  padding-left: var(--space-10);
}

.app-features li:hover::before {
  color: var(--neon-green);
  transform: scale(1.2);
}

/* ===== ENHANCED ACCORDION ===== */
.accordion {
  margin: var(--space-12) 0;
}

.accordion__item {
  background: rgba(26, 26, 46, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-6);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.accordion__item:hover {
  border-color: var(--neon-blue);
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.2);
}

.accordion__toggle {
  width: 100%;
  padding: var(--space-6) var(--space-8);
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-normal);
  position: relative;
}

.accordion__toggle::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  transition: width var(--transition-normal);
}

.accordion__toggle:hover::before {
  width: 100%;
}

.accordion__toggle[aria-expanded="true"] {
  color: var(--neon-blue);
}

.accordion__toggle[aria-expanded="true"]::before {
  width: 100%;
}

.accordion__icon {
  font-size: var(--text-2xl);
  transition: all var(--transition-normal);
  color: var(--neon-blue);
}

.accordion__toggle[aria-expanded="true"] .accordion__icon {
  transform: rotate(180deg);
  color: var(--neon-purple);
}

.accordion__content {
  display: none;
  padding: 0 var(--space-8) var(--space-8);
  animation: slideDown var(--transition-normal) ease-out;
}

.accordion__content.active {
  display: block;
}

/* ===== FOOTER REDESIGN ===== */
.footer {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border-top: 1px solid rgba(0, 217, 255, 0.2);
  padding: var(--space-20) 0 var(--space-8);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
}

.footer__content {
  text-align: center;
}

.footer__logo {
  font-size: var(--text-3xl);
  font-weight: 800;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-6);
}

.footer__description {
  max-width: 600px;
  margin: 0 auto var(--space-8);
  color: var(--text-secondary);
  line-height: 1.8;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.footer__link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  position: relative;
}

.footer__link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  border-radius: var(--radius-md);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: -1;
}

.footer__link:hover::before {
  opacity: 0.1;
}

.footer__link:hover {
  color: var(--neon-blue);
  transform: translateY(-2px);
}

.footer__bottom {
  border-top: 1px solid rgba(0, 217, 255, 0.1);
  padding-top: var(--space-8);
  text-align: center;
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (min-width: 640px) {
  .container {
    padding: 0 var(--space-6);
  }
  
  .apps-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }
  
  .footer__links {
    gap: var(--space-12);
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-8);
  }
  
  .section {
    padding: var(--space-20) 0;
  }
  
  .section--hero {
    padding: var(--space-24) 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: var(--space-24) 0;
  }
  
  .section--hero {
    padding: 6rem 0;
  }
}

/* ===== ADDITIONAL UTILITY CLASSES ===== */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

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

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

@media (min-width: 768px) {
  .md\\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .md\\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; }

.h-16 { height: 4rem; }
.w-16 { width: 4rem; }

.bg-primary-light { background-color: var(--primary-light); }
.rounded-full { border-radius: var(--radius-full); }

.text-2xl { font-size: var(--text-2xl); }

.bg-warning-50 { background-color: #fffbeb; }
.border-warning-200 { border-color: #fed7aa; }
.text-warning-800 { color: #92400e; }

/* ===== FOCUS IMPROVEMENTS FOR ACCESSIBILITY ===== */
.using-keyboard .btn:focus,
.using-keyboard .accordion__toggle:focus,
.using-keyboard a:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in {
  animation: fadeIn 0.4s ease-out;
}

/* ===== LOADING STATES ===== */
.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--gray-300);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* ===== IMPROVED CARD HOVER EFFECTS ===== */
.card-interactive {
  transition: all var(--transition-normal);
  cursor: pointer;
}

.card-interactive:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.card-interactive:active {
  transform: translateY(-1px) scale(1.01);
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }

.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-4 { gap: var(--space-4); }
.gap-8 { gap: var(--space-8); }

.w-full { width: 100%; }
.max-w-none { max-width: none; }

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

.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;
}

/* Focus styles for keyboard navigation */
.btn:focus-visible,
.accordion__toggle:focus-visible,
a:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}
