/* ============================
   FLOSSX83 - ULTRA PREMIUM STYLES
   Apple-level Visual Experience
   ============================ */

:root {
  /* Color Palette - Cyberpunk Luxury */
  --primary-gradient: linear-gradient(
    135deg,
    #00ff88 0%,
    #00ccff 25%,
    #8b5cf6 50%,
    #ff0088 75%,
    #fbbf24 100%
  );
  --neon-green: #00ff88;
  --cyber-blue: #00ccff;
  --electric-purple: #8b5cf6;
  --hot-pink: #ff0088;
  --gold-accent: #fbbf24;

  /* Dark Theme */
  --dark-bg: #000000;
  --darker-bg: #0a0a0a;
  --card-bg: rgba(15, 15, 30, 0.95);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-accent: #00ff88;

  /* Spacing & Sizing */
  --container-width: 1400px;
  --border-radius: 24px;
  --border-radius-large: 32px;
  --blur-amount: 24px;

  /* Animations */
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-apple: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ============================
   GLOBAL STYLES & RESET
   ============================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  background: var(--dark-bg);
  color: var(--text-primary);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================
   BACKGROUND EFFECTS
   ============================ */

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(
      ellipse at 20% 70%,
      rgba(0, 255, 136, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 70% 20%,
      rgba(0, 204, 255, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 50% 50%,
      rgba(139, 92, 246, 0.1) 0%,
      transparent 50%
    ),
    linear-gradient(180deg, #000000 0%, #0a0a0a 50%, #000000 100%);
  animation: aurora-flow 30s ease-in-out infinite;
  pointer-events: none;
  z-index: -3;
}

@keyframes aurora-flow {
  0%,
  100% {
    background: radial-gradient(
        ellipse at 20% 70%,
        rgba(0, 255, 136, 0.15) 0%,
        transparent 50%
      ),
      radial-gradient(
        ellipse at 70% 20%,
        rgba(0, 204, 255, 0.15) 0%,
        transparent 50%
      ),
      radial-gradient(
        ellipse at 50% 50%,
        rgba(139, 92, 246, 0.1) 0%,
        transparent 50%
      ),
      linear-gradient(180deg, #000000 0%, #0a0a0a 50%, #000000 100%);
  }
  33% {
    background: radial-gradient(
        ellipse at 70% 30%,
        rgba(255, 0, 136, 0.15) 0%,
        transparent 50%
      ),
      radial-gradient(
        ellipse at 30% 80%,
        rgba(0, 255, 136, 0.15) 0%,
        transparent 50%
      ),
      radial-gradient(
        ellipse at 80% 60%,
        rgba(251, 191, 36, 0.1) 0%,
        transparent 50%
      ),
      linear-gradient(180deg, #000000 0%, #0a0a0a 50%, #000000 100%);
  }
  66% {
    background: radial-gradient(
        ellipse at 40% 90%,
        rgba(0, 204, 255, 0.15) 0%,
        transparent 50%
      ),
      radial-gradient(
        ellipse at 90% 40%,
        rgba(139, 92, 246, 0.15) 0%,
        transparent 50%
      ),
      radial-gradient(
        ellipse at 20% 20%,
        rgba(0, 255, 136, 0.1) 0%,
        transparent 50%
      ),
      linear-gradient(180deg, #000000 0%, #0a0a0a 50%, #000000 100%);
  }
}

/* Matrix Rain Effect */
.matrix-rain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -2;
  opacity: 0.08;
  overflow: hidden;
}

.matrix-column {
  position: absolute;
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  color: var(--neon-green);
  animation: matrix-fall linear infinite;
  text-shadow: 0 0 5px currentColor;
}

@keyframes matrix-fall {
  0% {
    top: -100px;
    opacity: 1;
    text-shadow: 0 0 5px currentColor;
  }
  50% {
    opacity: 0.8;
    text-shadow: 0 0 10px currentColor;
  }
  100% {
    top: 100vh;
    opacity: 0;
    text-shadow: 0 0 20px currentColor;
  }
}

/* Floating Geometric Shapes */
.floating-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.shape {
  position: absolute;
  opacity: 0.6;
  filter: blur(0.5px);
  animation: float-complex 12s ease-in-out infinite;
}

.shape.triangle {
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 20px solid var(--neon-green);
  filter: drop-shadow(0 0 8px var(--neon-green));
}

.shape.circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cyber-blue);
  filter: drop-shadow(0 0 8px var(--cyber-blue));
}

.shape.square {
  width: 14px;
  height: 14px;
  background: var(--hot-pink);
  transform: rotate(45deg);
  filter: drop-shadow(0 0 8px var(--hot-pink));
}

.shape.hexagon {
  width: 16px;
  height: 16px;
  background: var(--electric-purple);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  filter: drop-shadow(0 0 8px var(--electric-purple));
}

@keyframes float-complex {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.6;
  }
  25% {
    transform: translateY(-30px) rotate(90deg) scale(1.2);
    opacity: 1;
  }
  50% {
    transform: translateY(-15px) rotate(180deg) scale(0.8);
    opacity: 0.8;
  }
  75% {
    transform: translateY(-45px) rotate(270deg) scale(1.1);
    opacity: 1;
  }
}

/* Particle System */
.particle-system {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--neon-green);
  border-radius: 50%;
  animation: particle-float 8s linear infinite;
  opacity: 0.7;
  box-shadow: 0 0 4px currentColor;
}

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

/* ============================
   NAVIGATION
   ============================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(var(--blur-amount));
  backdrop-filter: blur(var(--blur-amount));
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.4s var(--ease-apple);
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 8px 32px rgba(0, 255, 136, 0.1);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--primary-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  transition: all 0.3s var(--ease-apple);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 255, 136, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link:hover {
  color: var(--text-primary);
  transform: translateY(-2px);
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.nav-link.cta-nav {
  background: linear-gradient(135deg, var(--neon-green), var(--cyber-blue));
  color: var(--dark-bg);
  font-weight: 600;
  border-radius: 16px;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
}

.nav-link.cta-nav:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 255, 136, 0.5);
  color: var(--dark-bg);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--neon-green);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============================
   CONTAINER & LAYOUT
   ============================ */

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================
   HERO SECTION
   ============================ */

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  padding: 8rem 0 4rem;
  position: relative;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.logo-container {
  margin-bottom: 3rem;
}

.logo {
  font-size: 4rem;
  font-weight: 900;
  background: var(--primary-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 0.5rem;
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%,
  100% {
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
  }
  50% {
    text-shadow: 0 0 40px rgba(0, 255, 136, 0.8),
      0 0 60px rgba(0, 204, 255, 0.4);
  }
}

.logo-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.tagline {
  margin-bottom: 3rem;
}

.tagline-main {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.tagline-sub {
  display: block;
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 2rem;
}

.tagline-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.badge {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--neon-green);
  box-shadow: 0 4px 20px rgba(0, 255, 136, 0.1);
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-apple);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-green), var(--cyber-blue));
  color: var(--dark-bg);
  box-shadow: 0 8px 32px rgba(0, 255, 136, 0.3);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0, 255, 136, 0.5);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

.hero-visual {
  flex: 1;
  max-width: 600px;
  position: relative;
}

.terminal-window {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  -webkit-backdrop-filter: blur(var(--blur-amount));
  backdrop-filter: blur(var(--blur-amount));
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  animation: float-gentle 6s ease-in-out infinite;
}

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

.terminal-header {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--glass-border);
}

.terminal-buttons {
  display: flex;
  gap: 0.5rem;
}

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

.btn-close {
  background: #ff5f57;
}

.btn-minimize {
  background: #ffbd2e;
}

.btn-maximize {
  background: #28ca42;
}

.terminal-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.terminal-content {
  padding: 2rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  min-height: 300px;
  background: linear-gradient(
    135deg,
    rgba(0, 255, 136, 0.02),
    rgba(0, 204, 255, 0.02)
  );
}

.terminal-line {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.prompt {
  color: var(--neon-green);
  font-weight: 600;
}

.command {
  color: var(--text-primary);
}

/* ============================
   STATS SECTION
   ============================ */

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
}

.stat-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--blur-amount));
  backdrop-filter: blur(var(--blur-amount));
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.4s var(--ease-apple);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: var(--primary-gradient);
  transition: left 0.8s ease;
}

.stat-card:hover::before {
  left: 100%;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 255, 136, 0.2);
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.stat-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--neon-green);
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.stat-detail {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ============================
   FEATURES SECTION
   ============================ */

.features-section {
  padding: 8rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 6rem;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--primary-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--blur-amount));
  backdrop-filter: blur(var(--blur-amount));
  border-radius: var(--border-radius-large);
  padding: 3rem;
  transition: all 0.5s var(--ease-apple);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: transform 0.6s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 80px rgba(0, 255, 136, 0.15);
  border-color: rgba(0, 255, 136, 0.3);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 2rem;
  display: block;
}

.feature-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.feature-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.feature-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-tag {
  background: rgba(0, 255, 136, 0.1);
  color: var(--neon-green);
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(0, 255, 136, 0.2);
}

/* ============================
   FLOW SECTION
   ============================ */

.flow-section {
  padding: 8rem 0;
  background: var(--glass-bg);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.flow-diagram {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.flow-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4rem;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  -webkit-backdrop-filter: blur(var(--blur-amount));
  backdrop-filter: blur(var(--blur-amount));
  transition: all 0.4s var(--ease-apple);
}

.flow-step:nth-child(even) {
  flex-direction: row-reverse;
}

.flow-step:hover {
  transform: translateX(10px);
  box-shadow: 0 15px 40px rgba(0, 255, 136, 0.1);
}

.flow-step:nth-child(even):hover {
  transform: translateX(-10px);
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: var(--dark-bg);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 255, 136, 0.3);
}

.step-content {
  text-align: left;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.step-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================
   SECURITY SECTION
   ============================ */

.security-section {
  padding: 8rem 0;
}

.security-banner {
  background: linear-gradient(
    135deg,
    rgba(0, 255, 136, 0.1),
    rgba(0, 204, 255, 0.1)
  );
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-large);
  -webkit-backdrop-filter: blur(var(--blur-amount));
  backdrop-filter: blur(var(--blur-amount));
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

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

.security-icon {
  font-size: 4rem;
  margin-bottom: 2rem;
}

.security-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.security-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.security-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: all 0.3s var(--ease-apple);
}

.security-feature:hover {
  background: rgba(0, 255, 136, 0.1);
  transform: translateY(-4px);
}

.security-feature-icon {
  font-size: 1.5rem;
  color: var(--neon-green);
}

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

/* ============================
   FOOTER
   ============================ */

.footer {
  background: #13181c;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 8px 32px rgba(0, 255, 136, 0.05);
  border-top: 2px solid var(--glass-border);
  margin-top: 0;
  padding-top: 3rem;
  padding-bottom: 2rem;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #1de9b6, #00ccff, #8b5cf6, #1de9b6);
  background-size: 200% 100%;
  filter: blur(4px);
  opacity: 0.7;
  animation: gradient-move 6s linear infinite alternate;
  border-radius: 8px 8px 0 0;
  z-index: 1;
  pointer-events: none;
}
.footer-content {
  gap: 3rem;
  justify-content: space-between;
  animation: fade-in-up 1.5s var(--ease-apple);
}
.footer-links a {
  color: var(--neon-green);
  background: rgba(0, 255, 136, 0.08);
  border-radius: 6px;
  padding: 0.4em 1em;
  margin-right: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, text-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(0, 255, 136, 0.1);
}
.footer-links a:hover {
  background: var(--neon-green);
  color: #000;
  text-shadow: 0 0 12px var(--neon-green), 0 0 4px #fff;
  box-shadow: 0 2px 12px var(--neon-green);
}

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

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

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s var(--ease-apple);
}

.social-link:hover {
  background: var(--neon-green);
  color: var(--dark-bg);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 255, 136, 0.3);
}

/* ============================
   RESPONSIVE DESIGN
   ============================ */

@media (max-width: 1200px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero-section {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .flow-step {
    flex-direction: column !important;
    text-align: center;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    width: 200px;
    box-shadow: 0 8px 32px rgba(0, 255, 136, 0.1);
    border-radius: 0 0 16px 16px;
    z-index: 1001;
    padding: 1rem 0;
  }
  .nav-menu.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero-section {
    padding: 6rem 0 2rem;
  }

  .logo {
    font-size: 3rem;
  }

  .tagline-main {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .feature-card,
  .stat-card {
    padding: 2rem;
  }

  .security-banner {
    padding: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .demo-section {
    margin-bottom: 3rem;
  }

  .cta-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .footer {
    margin-top: 3rem;
    padding-top: 2rem;
    padding-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .nav-container {
    padding: 1rem;
  }

  .logo {
    font-size: 2.5rem;
  }

  .tagline-main {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .terminal-content {
    padding: 1rem;
    font-size: 0.8rem;
  }

  .feature-card,
  .stat-card {
    padding: 1.5rem;
  }

  .tagline-badges {
    justify-content: center;
  }

  .security-features {
    grid-template-columns: 1fr;
  }
}

/* ============================
   PERFORMANCE OPTIMIZATIONS
   ============================ */

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

/* ============================
   PRINT STYLES
   ============================ */

@media print {
  .navbar,
  .footer,
  .floating-shapes,
  .matrix-rain,
  .particle-system {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .hero-section,
  .features-section,
  .security-section {
    padding: 2rem 0;
  }
}

.demo-section {
  margin-bottom: 5rem;
}

.cta-section {
  background: linear-gradient(120deg, #1de9b6, #00ccff, #8b5cf6, #1a1a2e);
  background-size: 300% 300%;
  animation: gradient-move 8s ease-in-out infinite alternate;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 0 32px 0 rgba(0, 255, 136, 0.18),
    0 8px 32px rgba(0, 255, 136, 0.1);
  border-bottom: 2px solid var(--glass-border);
  padding: 5rem 2rem 5rem 2rem;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}
.cta-content {
  animation: fade-in-up 1.2s var(--ease-apple);
}
.cta-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  animation: fade-in-up 1.6s var(--ease-apple);
}
.cta-stat {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.25rem 2.5rem;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0, 255, 136, 0.1);
  transition: box-shadow 0.2s, transform 0.2s;
}
.cta-stat:hover {
  box-shadow: 0 4px 32px 0 var(--neon-green), 0 2px 16px rgba(0, 255, 136, 0.18);
  transform: translateY(-4px) scale(1.04);
}

.features-section,
.flow-section,
.security-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-title {
  margin-bottom: 0.75rem;
  font-size: 2.2rem;
}

.features-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card,
.stat-card,
.security-feature {
  padding: 1.5rem;
}

.footer-content {
  gap: 3rem;
  justify-content: space-between;
}

.footer-links a {
  color: var(--neon-green);
  text-decoration: underline;
  margin-right: 1rem;
  font-weight: 500;
}
.footer-links a:hover {
  text-shadow: 0 0 8px var(--neon-green);
}

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

@media (max-width: 768px) {
  .features-section,
  .flow-section,
  .security-section {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  .features-grid {
    gap: 1rem;
  }
  .footer-content {
    gap: 1rem;
  }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 10000;
  background: var(--neon-green);
  color: #000;
  padding: 0.5em 1em;
  border-radius: 4px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  font-size: 1rem;
  outline: 2px solid #000;
}

@keyframes gradient-move {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}
@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

.minimal-footer {
  background: #101418;
  border-radius: 0 0 16px 16px;
  border-top: 1px solid var(--glass-border);
  box-shadow: none;
  padding: 1.5rem 0 0.5rem 0;
  margin-top: 0;
}
.minimal-footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}
.footer-brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--neon-green);
  letter-spacing: 0.04em;
}
.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.footer-links {
  display: flex;
  gap: 1.2rem;
  margin-top: 0.2rem;
}
.footer-links a {
  color: var(--neon-green);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.97rem;
  opacity: 0.85;
  transition: color 0.2s, opacity 0.2s;
}
.footer-links a:hover {
  color: #fff;
  opacity: 1;
  text-shadow: 0 0 8px var(--neon-green);
}
.minimal-footer-bottom {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  padding-bottom: 0.5rem;
}
@media (max-width: 600px) {
  .minimal-footer-content {
    gap: 0.3rem;
    font-size: 0.97rem;
  }
  .footer-links {
    gap: 0.7rem;
  }
}
