/* ================================================================
   TEXT2AI - Cosmic Commander Landing Page
   "Glass & Glow" Design System
   ================================================================ */

/* ----------------------------------------------------------------
   1. CSS Custom Properties
   ---------------------------------------------------------------- */
:root {
  /* Cosmic Ignition Palette */
  --void-black: #0A0A0F;
  --void-black-rgb: 10, 10, 15;
  --solar-flare: #FF8C00;
  --solar-flare-end: #FF4500;
  --nebula-blue: #00BFFF;
  --nebula-blue-end: #4169E1;
  --plasma-purple: #8A2BE2;
  --plasma-purple-end: #9400D3;
  --starlight: #FFFFFF;
  --starlight-rgb: 255, 255, 255;

  /* Functional Colors */
  --text-primary: var(--starlight);
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.45);
  --online-green: #00FF88;
  --security-cyan: #00E5FF;

  /* Gradients */
  --gradient-solar: linear-gradient(135deg, var(--solar-flare), var(--solar-flare-end));
  --gradient-nebula: linear-gradient(135deg, var(--nebula-blue), var(--nebula-blue-end));
  --gradient-plasma: linear-gradient(135deg, var(--plasma-purple), var(--plasma-purple-end));
  --gradient-cosmic: linear-gradient(135deg, var(--solar-flare), var(--plasma-purple), var(--nebula-blue));

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.12);
  --glass-blur: 20px;

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --letter-spacing-heading: 0.08em;
  --letter-spacing-nav: 0.12em;

  /* Spacing */
  --section-padding: clamp(5rem, 10vw, 10rem);
  --container-max: 1200px;
  --gap-sm: 1rem;
  --gap-md: 2rem;
  --gap-lg: 4rem;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-glow-orange: 0 0 30px rgba(255, 140, 0, 0.3), 0 0 60px rgba(255, 69, 0, 0.15);
  --shadow-glow-blue: 0 0 30px rgba(0, 191, 255, 0.3), 0 0 60px rgba(65, 105, 225, 0.15);
  --shadow-glow-purple: 0 0 30px rgba(138, 43, 226, 0.3), 0 0 60px rgba(148, 0, 211, 0.15);
  --shadow-glow-cyan: 0 0 30px rgba(0, 229, 255, 0.3), 0 0 60px rgba(0, 229, 255, 0.15);

  /* Z-layers */
  --z-background: -1;
  --z-base: 1;
  --z-cards: 10;
  --z-header: 1000;
  --z-overlay: 2000;
}


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

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-primary);
  background-color: var(--void-black);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: rgba(255, 140, 0, 0.35);
  color: var(--starlight);
}

/* Backdrop-filter fallback */
@supports not (backdrop-filter: blur(20px)) {
  .glass-card,
  .header.scrolled,
  .cloud-container {
    background: rgba(10, 10, 15, 0.92) !important;
  }
}


/* ----------------------------------------------------------------
   3. Utility Classes
   ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 3rem);
}

/* Fade-in-up (activated by IntersectionObserver) */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Glass Card */
.glass-card {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.06),
    transparent 60%
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

/* Glow Text */
.glow-text {
  text-shadow:
    0 0 10px rgba(255, 140, 0, 0.4),
    0 0 30px rgba(255, 140, 0, 0.2),
    0 0 60px rgba(255, 69, 0, 0.1);
}

.glow-text-blue {
  text-shadow:
    0 0 10px rgba(0, 191, 255, 0.4),
    0 0 30px rgba(0, 191, 255, 0.2),
    0 0 60px rgba(65, 105, 225, 0.1);
}

.glow-text-cyan {
  text-shadow:
    0 0 10px rgba(0, 229, 255, 0.4),
    0 0 30px rgba(0, 229, 255, 0.2),
    0 0 60px rgba(0, 229, 255, 0.1);
}

/* Gradient Text Utility */
.gradient-text {
  background: var(--gradient-solar);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section base */
section {
  position: relative;
  padding: var(--section-padding) 0;
  overflow: hidden;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-heading);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}


/* ----------------------------------------------------------------
   4. Header
   ---------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-header);
  padding: 1.25rem 0;
  transition: background var(--transition-base),
              backdrop-filter var(--transition-base),
              border-color var(--transition-base),
              padding var(--transition-base);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(var(--void-black-rgb), 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 140, 0, 0.1);
  padding: 0.8rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

/* Logo */
.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 10;
}

.logo-text {
  background: linear-gradient(135deg, var(--solar-flare), var(--nebula-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--solar-flare);
  margin-left: 2px;
  vertical-align: super;
  box-shadow: 0 0 8px rgba(255, 140, 0, 0.6);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-nav);
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gradient-solar);
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.cta-link {
  background: var(--gradient-solar);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.nav-link.cta-link::after {
  background: var(--gradient-solar);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 6px;
  z-index: 10;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
  border-radius: 1px;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


/* ----------------------------------------------------------------
   5. Hero Section
   ---------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255, 140, 0, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 30% 60%, rgba(138, 43, 226, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 70% 40%, rgba(0, 191, 255, 0.04) 0%, transparent 60%);
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: var(--z-cards);
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.03);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--online-green);
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-heading);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  text-shadow:
    0 0 20px rgba(255, 255, 255, 0.1),
    0 0 60px rgba(255, 140, 0, 0.08);
}

.hero-title .highlight {
  background: var(--gradient-solar);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(255, 140, 0, 0.3));
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

/* CTA Button */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gradient-solar);
  color: var(--void-black);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 20px rgba(255, 140, 0, 0.3),
    0 0 40px rgba(255, 69, 0, 0.15),
    0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-fast),
              box-shadow var(--transition-base);
  animation: pulse-glow 3s ease-in-out infinite;
}

.hero-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

.hero-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 30px rgba(255, 140, 0, 0.5),
    0 0 60px rgba(255, 69, 0, 0.25),
    0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-cta:hover::after {
  left: 100%;
}

.hero-cta .cta-icon {
  font-size: 1.2em;
  transition: transform var(--transition-fast);
}

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

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2.5s ease-in-out infinite;
  z-index: var(--z-cards);
}

.scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-indicator .chevron {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
}


/* ----------------------------------------------------------------
   6. Problem Section
   ---------------------------------------------------------------- */
.problem {
  background:
    radial-gradient(ellipse 50% 40% at 20% 50%, rgba(138, 43, 226, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 80% 40%, rgba(0, 191, 255, 0.03) 0%, transparent 60%);
}

.problem .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  align-items: center;
}

.problem-header {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 2rem;
}

/* Old Way */
.old-way {
  position: relative;
}

.old-way-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 69, 0, 0.6);
  margin-bottom: 1.5rem;
}

.wireframe-laptop {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.laptop-screen {
  background: rgba(255, 255, 255, 0.02);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px 8px 0 0;
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
}

.laptop-screen .wireframe-line {
  width: 80%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.laptop-screen .wireframe-line:nth-child(2) {
  width: 60%;
}

.laptop-screen .wireframe-line:nth-child(3) {
  width: 70%;
}

.laptop-screen .wireframe-block {
  width: 40%;
  height: 20px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  margin-top: 0.5rem;
}

.laptop-base {
  width: 110%;
  height: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0 0 8px 8px;
  margin-left: -5%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: none;
}

/* Chain links */
.chain-link {
  position: absolute;
  width: 28px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.chain-link:nth-child(1) {
  top: 20%;
  left: -10%;
  transform: rotate(-15deg);
}

.chain-link:nth-child(2) {
  top: 25%;
  left: -2%;
  transform: rotate(15deg);
}

.chain-link:nth-child(3) {
  bottom: 30%;
  right: -8%;
  transform: rotate(-20deg);
}

.chain-link:nth-child(4) {
  bottom: 35%;
  right: 0%;
  transform: rotate(10deg);
}

.old-way-text {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* New Way */
.new-way {
  position: relative;
}

.new-way-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--nebula-blue);
  margin-bottom: 1.5rem;
}

.cloud-container {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  padding: 2.5rem;
  position: relative;
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 8px 40px rgba(0, 0, 0, 0.3),
    0 0 60px rgba(0, 191, 255, 0.05);
}

.cloud-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.online-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--online-green);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

.cloud-header span {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--online-green);
}

.cloud-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.cloud-feature:last-child {
  margin-bottom: 0;
}

.cloud-feature-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(0, 191, 255, 0.1);
  color: var(--nebula-blue);
  font-size: 0.9rem;
}

.cloud-feature-text h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.cloud-feature-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Particle stream */
.particle-stream {
  position: absolute;
  top: 0;
  left: -60px;
  width: 60px;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--nebula-blue);
  box-shadow: 0 0 8px rgba(0, 191, 255, 0.6);
  opacity: 0;
}

/* VS Divider */
.vs-divider {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 15, 0.8);
  z-index: 5;
}


/* ----------------------------------------------------------------
   7. How It Works - Neural Loom
   ---------------------------------------------------------------- */
.neural-loom {
  background:
    radial-gradient(ellipse 50% 50% at 50% 30%, rgba(255, 140, 0, 0.04) 0%, transparent 60%);
}

.neural-loom-header {
  text-align: center;
  margin-bottom: 4rem;
}

.prism-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  position: relative;
}

.prism-card {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  padding: 2.5rem 2rem;
  flex: 0 1 340px;
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 8px 32px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  overflow: hidden;
}

.prism-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.06),
    transparent 60%
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.prism-card:hover {
  transform: translateY(-4px);
}

.prism-card .step-number {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.prism-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.prism-card.accent-orange .card-icon {
  background: rgba(255, 140, 0, 0.1);
  color: var(--solar-flare);
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.15);
}

.prism-card.accent-blue .card-icon {
  background: rgba(0, 191, 255, 0.1);
  color: var(--nebula-blue);
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.15);
}

.prism-card.accent-purple .card-icon {
  background: rgba(138, 43, 226, 0.1);
  color: var(--plasma-purple);
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.15);
}

.prism-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.prism-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Light beam connecting cards */
.light-beam {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 140, 0, 0.2), rgba(0, 191, 255, 0.2), transparent);
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}

/* Ripple effect on intersection */
.ripple {
  position: relative;
}

.ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 140, 0, 0.05);
  transform: translate(-50%, -50%);
  transition: width 1s ease, height 1s ease, opacity 1s ease;
  opacity: 0;
  pointer-events: none;
}

.ripple.visible::after {
  width: 300px;
  height: 300px;
  opacity: 1;
}


/* ----------------------------------------------------------------
   8. Agent Marketplace - Hall of Avatars
   ---------------------------------------------------------------- */
.hall-of-avatars {
  background:
    radial-gradient(ellipse 50% 50% at 30% 50%, rgba(138, 43, 226, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 70% 40%, rgba(0, 191, 255, 0.03) 0%, transparent 50%);
}

.hall-of-avatars-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Scroll container */
.avatar-scroll-wrapper {
  position: relative;
}

.avatar-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 2rem 0 3rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.avatar-scroll::-webkit-scrollbar {
  display: none;
}

/* Fade edges */
.avatar-scroll-wrapper::before,
.avatar-scroll-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 5;
  pointer-events: none;
}

.avatar-scroll-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--void-black), transparent);
}

.avatar-scroll-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--void-black), transparent);
}

/* Avatar Card */
.avatar-card {
  scroll-snap-align: start;
  flex: 0 0 300px;
  min-width: 300px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  padding: 2rem;
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 8px 32px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

.avatar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.06),
    transparent 60%
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.avatar-card:hover {
  transform: translateY(-6px);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 16px 48px rgba(0, 0, 0, 0.5);
}

/* Accent color stripe at top */
.avatar-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
}

.avatar-card.accent-blue::after {
  background: var(--gradient-nebula);
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.3);
}

.avatar-card.accent-purple::after {
  background: var(--gradient-plasma);
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.3);
}

.avatar-card.accent-orange::after {
  background: var(--gradient-solar);
  box-shadow: 0 0 15px rgba(255, 140, 0, 0.3);
}

.avatar-card.accent-white::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2));
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

.avatar-card.accent-gradient::after {
  background: var(--gradient-cosmic);
  box-shadow: 0 0 15px rgba(255, 140, 0, 0.2);
}

.avatar-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.accent-blue .avatar-icon {
  background: rgba(0, 191, 255, 0.1);
  color: var(--nebula-blue);
}

.accent-purple .avatar-icon {
  background: rgba(138, 43, 226, 0.1);
  color: var(--plasma-purple);
}

.accent-orange .avatar-icon {
  background: rgba(255, 140, 0, 0.1);
  color: var(--solar-flare);
}

.accent-white .avatar-icon {
  background: rgba(255, 255, 255, 0.08);
  color: var(--starlight);
}

.accent-gradient .avatar-icon {
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(138, 43, 226, 0.1));
  color: var(--solar-flare);
}

.avatar-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.avatar-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

/* HUD Stats */
.hud-stats {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
  min-width: 65px;
}

.stat-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.stat-bar-fill,
.stat-fill {
  height: 100%;
  border-radius: 2px;
  width: 0;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-bar.visible .stat-bar-fill {
  width: var(--fill-width, 0%);
}

.accent-blue .stat-bar-fill,
.accent-blue .stat-fill {
  background: var(--gradient-nebula);
  box-shadow: 0 0 8px rgba(0, 191, 255, 0.4);
}

.accent-purple .stat-bar-fill,
.accent-purple .stat-fill {
  background: var(--gradient-plasma);
  box-shadow: 0 0 8px rgba(138, 43, 226, 0.4);
}

.accent-orange .stat-bar-fill,
.accent-orange .stat-fill {
  background: var(--gradient-solar);
  box-shadow: 0 0 8px rgba(255, 140, 0, 0.4);
}

.accent-white .stat-bar-fill,
.accent-white .stat-fill {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.accent-gradient .stat-bar-fill,
.accent-gradient .stat-fill {
  background: var(--gradient-cosmic);
  box-shadow: 0 0 8px rgba(255, 140, 0, 0.3);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  min-width: 30px;
  text-align: right;
}

/* Scroll Arrows */
.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(var(--void-black-rgb), 0.8);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--transition-fast), border-color var(--transition-fast);
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.scroll-arrow:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

.scroll-arrow.left {
  left: -22px;
}

.scroll-arrow.right {
  right: -22px;
}

/* Tilt card (3D transform applied via JS) */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}


/* ----------------------------------------------------------------
   9. Security - Fortress
   ---------------------------------------------------------------- */
.fortress {
  color-scheme: dark;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 59px,
      rgba(0, 229, 255, 0.03) 59px,
      rgba(0, 229, 255, 0.03) 60px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 59px,
      rgba(0, 229, 255, 0.03) 59px,
      rgba(0, 229, 255, 0.03) 60px
    );
  position: relative;
}

.fortress::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 50% 30%, rgba(0, 229, 255, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 30% 70%, rgba(65, 105, 225, 0.04) 0%, transparent 50%);
  pointer-events: none;
  animation: gridSweep 8s ease-in-out infinite;
}

.geo-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
}

.fortress-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.fortress-header .section-title {
  text-shadow:
    0 0 15px rgba(0, 229, 255, 0.3),
    0 0 40px rgba(0, 229, 255, 0.1);
}

.fortress-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Hex Shield */
.hex-shield-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hex-shield {
  width: 250px;
  height: 250px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hex-shield-outer {
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: rgba(0, 229, 255, 0.06);
  border: 2px solid rgba(0, 229, 255, 0.15);
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hex-shield-inner {
  width: 70%;
  height: 70%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: rgba(0, 229, 255, 0.04);
  border: 1px solid rgba(0, 229, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rotate 20s linear infinite;
}

.hex-shield-core {
  width: 50%;
  height: 50%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.15);
  animation: rotate 15s linear infinite reverse;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hex-shield-icon {
  font-size: 2rem;
  color: var(--security-cyan);
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.5));
}

/* Security Keywords */
.security-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.security-keyword {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--security-cyan);
  text-shadow:
    0 0 10px rgba(0, 229, 255, 0.3),
    0 0 30px rgba(0, 229, 255, 0.1);
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.security-keyword.visible {
  opacity: 1;
  transform: translateX(0);
}

.security-keyword:nth-child(2) {
  transition-delay: 0.1s;
}

.security-keyword:nth-child(3) {
  transition-delay: 0.2s;
}

.security-keyword:nth-child(4) {
  transition-delay: 0.3s;
}

.security-keyword:nth-child(5) {
  transition-delay: 0.4s;
}

.security-keyword .keyword-desc {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  margin-top: 0.25rem;
  text-shadow: none;
}


/* ----------------------------------------------------------------
   10. Pricing - Clearance Levels
   ---------------------------------------------------------------- */
.clearance-levels {
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(255, 140, 0, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 60%, rgba(138, 43, 226, 0.03) 0%, transparent 50%);
}

.clearance-levels-header {
  text-align: center;
  margin-bottom: 4rem;
}

.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 2rem;
}

/* Base Pricing Card */
.pricing-card {
  flex: 0 1 340px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  padding: 2.5rem 2rem;
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 8px 32px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.pricing-card:hover {
  transform: translateY(-6px);
}

.pricing-card .tier-name {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.pricing-card .price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.pricing-card .price-period {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.pricing-card .price-currency {
  font-size: 1.5rem;
  font-weight: 400;
  vertical-align: super;
  opacity: 0.6;
}

.feature-list {
  margin-bottom: 2rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: '\2713';
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Pricing CTA */
.pricing-cta {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem;
  border-radius: 14px;
  transition: transform var(--transition-fast),
              box-shadow var(--transition-base),
              background var(--transition-base);
}

.pricing-cta:hover {
  transform: translateY(-2px);
}

/* Tier: Explorer */
.tier-explorer {
  background: rgba(255, 255, 255, 0.02);
}

.tier-explorer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--gradient-nebula);
  border-radius: 1px;
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
}

.tier-explorer .price {
  color: var(--nebula-blue);
}

.tier-explorer .feature-list li::before {
  color: var(--nebula-blue);
}

.tier-explorer .pricing-cta {
  background: rgba(0, 191, 255, 0.1);
  border: 1px solid rgba(0, 191, 255, 0.2);
  color: var(--nebula-blue);
}

.tier-explorer .pricing-cta:hover {
  background: rgba(0, 191, 255, 0.15);
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.15);
}

/* Tier: Commander (center, elevated) */
.tier-commander {
  transform: scale(1.05);
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.02),
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 3px
    ),
    var(--glass-bg);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 12px 48px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(255, 140, 0, 0.08);
  z-index: 2;
}

.tier-commander:hover {
  transform: scale(1.05) translateY(-6px);
}

.tier-commander .popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-solar);
  color: var(--void-black);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1.25rem;
  border-radius: 0 0 12px 12px;
}

.tier-commander .price {
  background: var(--gradient-solar);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tier-commander .feature-list li::before {
  color: var(--solar-flare);
}

.tier-commander .pricing-cta {
  background: var(--gradient-solar);
  color: var(--void-black);
  box-shadow:
    0 0 20px rgba(255, 140, 0, 0.2),
    0 4px 15px rgba(0, 0, 0, 0.3);
}

.tier-commander .pricing-cta:hover {
  box-shadow:
    0 0 30px rgba(255, 140, 0, 0.4),
    0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Holographic shimmer for commander */
.tier-commander::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 140, 0, 0.03) 40%,
    rgba(138, 43, 226, 0.03) 50%,
    rgba(0, 191, 255, 0.03) 60%,
    transparent 70%
  );
  animation: shimmer 6s linear infinite;
  pointer-events: none;
}

/* Tier: Overlord */
.tier-overlord {
  background: rgba(10, 10, 15, 0.6);
  border-color: rgba(255, 140, 0, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 8px 32px rgba(0, 0, 0, 0.5),
    inset 0 0 30px rgba(255, 69, 0, 0.03),
    0 0 1px rgba(255, 140, 0, 0.2);
}

.tier-overlord:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 16px 48px rgba(0, 0, 0, 0.5),
    inset 0 0 30px rgba(255, 69, 0, 0.05),
    0 0 2px rgba(255, 140, 0, 0.3);
}

.tier-overlord .price {
  background: linear-gradient(135deg, var(--solar-flare), var(--plasma-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tier-overlord .feature-list li::before {
  color: var(--plasma-purple);
}

.tier-overlord .pricing-cta {
  background: rgba(138, 43, 226, 0.12);
  border: 1px solid rgba(138, 43, 226, 0.2);
  color: var(--plasma-purple);
}

.tier-overlord .pricing-cta:hover {
  background: rgba(138, 43, 226, 0.18);
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.15);
}


/* ----------------------------------------------------------------
   11. Footer - Deep Field
   ---------------------------------------------------------------- */
.deep-field {
  background: #000000;
  padding: 6rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.star-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--starlight);
  border-radius: 50%;
  animation: twinkle var(--twinkle-duration, 3s) ease-in-out infinite;
  animation-delay: var(--twinkle-delay, 0s);
  opacity: 0;
}

.star.large {
  width: 3px;
  height: 3px;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.3);
}

.deep-field .container {
  position: relative;
  z-index: 2;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-logo .logo-text {
  background: linear-gradient(135deg, var(--solar-flare), var(--nebula-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Footer Links */
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-link-group h4 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.footer-link-group a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  transition: color var(--transition-fast);
}

.footer-link-group a:hover {
  color: var(--text-primary);
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 1rem;
  transition: background var(--transition-fast),
              color var(--transition-fast),
              box-shadow var(--transition-base),
              border-color var(--transition-fast);
}

.social-icon:hover {
  color: var(--solar-flare);
  background: rgba(255, 140, 0, 0.08);
  border-color: rgba(255, 140, 0, 0.15);
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.15);
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

/* Footer fog effect */
.deep-field::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.015), transparent);
  pointer-events: none;
  z-index: 1;
}


/* ----------------------------------------------------------------
   12. Animations & Keyframes
   ---------------------------------------------------------------- */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 8px currentColor;
  }
  50% {
    opacity: 0.6;
    box-shadow: 0 0 16px currentColor;
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow:
      0 0 20px rgba(255, 140, 0, 0.3),
      0 0 40px rgba(255, 69, 0, 0.15),
      0 4px 15px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow:
      0 0 30px rgba(255, 140, 0, 0.45),
      0 0 60px rgba(255, 69, 0, 0.2),
      0 4px 15px rgba(0, 0, 0, 0.3);
  }
}

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

@keyframes twinkle {
  0%, 100% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.8;
  }
}

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

@keyframes sweep {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-12px);
  }
  60% {
    transform: translateX(-50%) translateY(-6px);
  }
}

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

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

@keyframes fadeInStagger {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ----------------------------------------------------------------
   INTEGRATION PATCH - Missing styles for HTML elements
   ---------------------------------------------------------------- */

/* Section header/subtitle */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Header CTA button */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  background: var(--gradient-solar);
  color: var(--void-black);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 50px;
  transition: transform var(--transition-fast), box-shadow var(--transition-base);
  box-shadow: 0 0 15px rgba(255, 140, 0, 0.2);
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 25px rgba(255, 140, 0, 0.35);
}

/* Problem section layout */
.problem-visual {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

.old-label {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 69, 0, 0.5);
}

.laptop-text {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.laptop-cursor {
  width: 8px;
  height: 14px;
  background: var(--text-muted);
  animation: blink 1s step-end infinite;
  margin-top: 0.5rem;
}

@keyframes blink {
  50% { opacity: 0; }
}

.cloud-icon {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--nebula-blue);
  filter: drop-shadow(0 0 10px rgba(0, 191, 255, 0.3));
}

.online-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--online-green);
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
  animation: pulse 2s ease-in-out infinite;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.online-indicator {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--online-green);
  margin-bottom: 0.75rem;
}

.cloud-label {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--nebula-blue);
}

/* Stream particles */
.particle-stream {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
}

.stream-particle {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nebula-blue);
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.6);
  position: absolute;
  opacity: 0;
  animation: streamFlow 2s ease-in-out infinite;
}

.stream-particle:nth-child(odd) {
  background: var(--solar-flare);
  box-shadow: 0 0 10px rgba(255, 140, 0, 0.6);
}

@keyframes streamFlow {
  0% { transform: translateX(-40px); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateX(40px); opacity: 0; }
}

/* Prism card inner elements */
.prism-icon {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

.prism-icon svg {
  display: inline-block;
}

.prism-card[data-step="1"] .prism-icon { color: var(--solar-flare); }
.prism-card[data-step="2"] .prism-icon { color: var(--nebula-blue); }
.prism-card[data-step="3"] .prism-icon { color: var(--plasma-purple); }

.prism-step {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.prism-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.prism-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Light beam active state */
.light-beam.is-active {
  animation: beamSweep 2s ease-in-out forwards;
}

@keyframes beamSweep {
  0% { opacity: 0; clip-path: inset(0 100% 0 0); }
  50% { opacity: 1; }
  100% { opacity: 0.6; clip-path: inset(0 0 0 0); }
}

/* Pricing inner elements */
.tier-badge {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.tier-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.price .currency {
  font-size: 1.5rem;
  font-weight: 400;
  vertical-align: super;
  opacity: 0.6;
}

.price .period {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* Fortress visual */
.fortress-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
}

.fortress-title {
  text-shadow:
    0 0 15px rgba(0, 229, 255, 0.3),
    0 0 40px rgba(0, 229, 255, 0.1);
}

.shield-plate {
  position: absolute;
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.shield-plate-1 {
  background: rgba(0, 229, 255, 0.06);
}

.shield-plate-2 {
  width: 75%;
  height: 75%;
  left: 12.5%;
  top: 12.5%;
  background: rgba(0, 229, 255, 0.04);
  animation: rotate 20s linear infinite;
}

.shield-plate-3 {
  width: 50%;
  height: 50%;
  left: 25%;
  top: 25%;
  background: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.15);
  animation: rotate 15s linear infinite reverse;
}

.shield-inner {
  position: relative;
  z-index: 2;
  color: var(--security-cyan);
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.5));
}

.shield-inner svg {
  display: inline-block;
}

.security-keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

/* Scroll arrow selectors */
.scroll-arrow-left,
.scroll-arrow-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(var(--void-black-rgb), 0.8);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  font-size: 1.5rem;
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background var(--transition-fast), border-color var(--transition-fast), opacity var(--transition-fast);
}

.scroll-arrow-left { left: 1rem; }
.scroll-arrow-right { right: 1rem; }

.scroll-arrow-left:hover,
.scroll-arrow-right:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

/* Footer integration */
.footer-content {
  position: relative;
  z-index: 2;
}

.footer-brand {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

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

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--text-primary);
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-fog {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.01), transparent);
  pointer-events: none;
  z-index: 1;
}

/* Hero background layer */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(255, 140, 0, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 30% 60%, rgba(138, 43, 226, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 70% 40%, rgba(0, 191, 255, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* Cloud container padding */
.cloud-container {
  padding: 2rem;
  text-align: center;
}

/* Problem section override - use flex for section-header + visual */
.problem .container {
  display: flex;
  flex-direction: column;
}


/* ----------------------------------------------------------------
   13. Responsive Breakpoints
   ---------------------------------------------------------------- */

/* Tablet & small laptops */
@media (max-width: 1024px) {
  .prism-cards {
    gap: 1.5rem;
  }

  .prism-card {
    flex: 0 1 300px;
    padding: 2rem 1.5rem;
  }

  .fortress-content {
    gap: var(--gap-md);
  }

  .hex-shield {
    width: 200px;
    height: 200px;
  }

  .pricing-cards {
    gap: 1.5rem;
  }

  .pricing-card {
    flex: 0 1 300px;
  }

  .tier-commander {
    transform: scale(1.02);
  }

  .tier-commander:hover {
    transform: scale(1.02) translateY(-6px);
  }

  .footer-links {
    gap: 2rem;
  }
}

/* Tablets */
@media (max-width: 768px) {
  :root {
    --section-padding: clamp(4rem, 8vw, 6rem);
  }

  /* Header mobile menu */
  .mobile-menu-btn {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 80vw);
    height: 100vh;
    background: rgba(var(--void-black-rgb), 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--glass-border);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: 5;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .nav-link {
    font-size: 1rem;
  }

  /* Hero */
  .hero-title {
    font-size: clamp(2.5rem, 7vw, 4rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-cta {
    padding: 1rem 2.5rem;
    font-size: 0.85rem;
  }

  /* Problem section */
  .problem-visual {
    grid-template-columns: 1fr;
    gap: var(--gap-md);
  }

  .header-cta {
    display: none;
  }

  .vs-divider {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 1rem auto;
  }

  .particle-stream {
    display: none;
  }

  /* Neural Loom */
  .prism-card {
    flex: 0 1 100%;
  }

  .light-beam {
    display: none;
  }

  /* Fortress */
  .fortress-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hex-shield-container {
    order: -1;
    margin-bottom: 2rem;
  }

  /* Pricing */
  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card {
    flex: 0 1 auto;
    width: 100%;
    max-width: 400px;
  }

  .tier-commander {
    transform: none;
    order: -1;
  }

  .tier-commander:hover {
    transform: translateY(-6px);
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

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

/* Mobile phones */
@media (max-width: 480px) {
  :root {
    --section-padding: clamp(3rem, 6vw, 5rem);
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-cta {
    padding: 0.9rem 2rem;
    font-size: 0.8rem;
  }

  .hero-badge {
    font-size: 0.65rem;
    padding: 0.4rem 1rem;
  }

  .section-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  .avatar-card {
    flex: 0 0 260px;
    min-width: 260px;
    padding: 1.5rem;
  }

  .hex-shield {
    width: 160px;
    height: 160px;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .pricing-card .price {
    font-size: 2.5rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .scroll-arrow {
    display: none;
  }
}

/* Hover-capable devices only */
@media (hover: hover) {
  .glass-card:hover {
    box-shadow:
      inset 0 1px 0 var(--glass-highlight),
      0 16px 48px rgba(0, 0, 0, 0.5),
      0 0 0 1px rgba(255, 255, 255, 0.05);
  }

  .nav-link:hover::after {
    width: 100%;
  }

  .social-icon:hover {
    transform: translateY(-2px);
  }
}


/* ----------------------------------------------------------------
   14. 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;
  }

  .fade-in-up {
    opacity: 1;
    transform: none;
  }

  .hero-cta {
    animation: none;
  }

  .hex-shield-inner,
  .hex-shield-core {
    animation: none;
  }

  .star {
    animation: none;
    opacity: 0.4;
  }

  .tier-commander::before {
    animation: none;
  }

  .scroll-indicator {
    animation: none;
  }
}

/* Forced colors / high contrast */
@media (forced-colors: active) {
  .glass-card,
  .pricing-card,
  .avatar-card,
  .prism-card {
    border: 1px solid CanvasText;
  }

  .hero-cta,
  .pricing-cta {
    border: 2px solid ButtonText;
  }
}

/* Focus styles for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--nebula-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.nav-link:focus-visible,
.pricing-cta:focus-visible,
.hero-cta:focus-visible,
.social-icon:focus-visible {
  outline: 2px solid var(--solar-flare);
  outline-offset: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-solar);
  color: var(--void-black);
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}


/* ----------------------------------------------------------------
   15. Integration Patches - HTML/JS alignment
   ---------------------------------------------------------------- */

/* Header inner wrapper */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Header CTA button */
.header-cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  background: var(--gradient-solar);
  color: var(--void-black);
  transition: transform var(--transition-fast), box-shadow var(--transition-base);
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.3);
}

@media (max-width: 768px) {
  .header-cta {
    display: none;
  }
}

/* Section header block */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* Section subtitle */
.section-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.7;
}

/* Hero background overlay */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255, 140, 0, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 30% 60%, rgba(138, 43, 226, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* CTA shine span */
.cta-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  pointer-events: none;
}

.hero-cta:hover .cta-shine {
  left: 100%;
  transition: left 0.6s ease;
}

/* Problem visual layout */
.problem-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.old-way,
.new-way {
  flex: 0 1 350px;
  text-align: center;
}

.old-label {
  display: block;
  margin-top: 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 69, 0, 0.6);
}

.laptop-text {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.laptop-cursor {
  width: 8px;
  height: 14px;
  border-right: 2px solid var(--text-muted);
  animation: blink 1s step-end infinite;
  margin-top: 0.5rem;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Cloud container content */
.cloud-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--nebula-blue);
  filter: drop-shadow(0 0 15px rgba(0, 191, 255, 0.4));
}

.cloud-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--nebula-blue);
  margin-top: 0.75rem;
}

.online-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--online-green);
}

.online-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--online-green);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

/* Particle stream between old/new way */
.particle-stream {
  position: relative;
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stream-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--nebula-blue);
  box-shadow: 0 0 8px rgba(0, 191, 255, 0.6);
  animation: streamFloat 3s ease-in-out infinite;
  opacity: 0;
}

@keyframes streamFloat {
  0% { transform: translateX(-30px); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateX(30px); opacity: 0; }
}

/* Prism card inner elements */
.prism-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--solar-flare);
}

.prism-icon svg {
  display: block;
}

.prism-step {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.prism-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.prism-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Prism card step accent colors */
.prism-card[data-step="1"] .prism-icon {
  color: var(--solar-flare);
}

.prism-card[data-step="2"] .prism-icon {
  color: var(--nebula-blue);
}

.prism-card[data-step="3"] .prism-icon {
  color: var(--plasma-purple);
}

/* Light beam active state */
.light-beam.is-active {
  animation: beamGlow 2s ease-in-out forwards;
}

@keyframes beamGlow {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* Avatar cards - data-accent attribute selectors */
.avatar-card[data-accent="blue"]::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
  background: var(--gradient-nebula);
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.3);
}

.avatar-card[data-accent="blue"] .avatar-icon {
  background: rgba(0, 191, 255, 0.1);
  color: var(--nebula-blue);
}

.avatar-card[data-accent="blue"] .stat-fill {
  background: var(--gradient-nebula);
  box-shadow: 0 0 8px rgba(0, 191, 255, 0.4);
}

.avatar-card[data-accent="purple"]::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
  background: var(--gradient-plasma);
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.3);
}

.avatar-card[data-accent="purple"] .avatar-icon {
  background: rgba(138, 43, 226, 0.1);
  color: var(--plasma-purple);
}

.avatar-card[data-accent="purple"] .stat-fill {
  background: var(--gradient-plasma);
  box-shadow: 0 0 8px rgba(138, 43, 226, 0.4);
}

.avatar-card[data-accent="orange"]::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
  background: var(--gradient-solar);
  box-shadow: 0 0 15px rgba(255, 140, 0, 0.3);
}

.avatar-card[data-accent="orange"] .avatar-icon {
  background: rgba(255, 140, 0, 0.1);
  color: var(--solar-flare);
}

.avatar-card[data-accent="orange"] .stat-fill {
  background: var(--gradient-solar);
  box-shadow: 0 0 8px rgba(255, 140, 0, 0.4);
}

.avatar-card[data-accent="white"]::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2));
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

.avatar-card[data-accent="white"] .avatar-icon {
  background: rgba(255, 255, 255, 0.08);
  color: var(--starlight);
}

.avatar-card[data-accent="white"] .stat-fill {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.avatar-card[data-accent="gradient"]::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
  background: var(--gradient-cosmic);
  box-shadow: 0 0 15px rgba(255, 140, 0, 0.2);
}

.avatar-card[data-accent="gradient"] .avatar-icon {
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(138, 43, 226, 0.1));
  color: var(--solar-flare);
}

.avatar-card[data-accent="gradient"] .stat-fill {
  background: var(--gradient-cosmic);
  box-shadow: 0 0 8px rgba(255, 140, 0, 0.3);
}

/* Stat fill - match HTML class name */
.stat-fill {
  height: 100%;
  border-radius: 2px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scroll arrow position classes */
.scroll-arrow-left {
  left: 1rem;
}

.scroll-arrow-right {
  right: 1rem;
}

/* Avatar icon containers */
.avatar-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.avatar-icon svg {
  display: block;
}

/* Fortress visual & shield */
.fortress-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4rem;
}

.hex-shield {
  width: 220px;
  height: 220px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-plate {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 50%;
}

.shield-plate-1 {
  animation: rotate 20s linear infinite;
  border-style: dashed;
}

.shield-plate-2 {
  inset: 15%;
  animation: rotate 15s linear infinite reverse;
  border-color: rgba(0, 229, 255, 0.1);
}

.shield-plate-3 {
  inset: 30%;
  animation: rotate 10s linear infinite;
  border-color: rgba(0, 229, 255, 0.2);
}

.shield-inner {
  position: relative;
  z-index: 2;
  color: var(--security-cyan);
  filter: drop-shadow(0 0 15px rgba(0, 229, 255, 0.5));
}

.shield-inner svg {
  display: block;
}

/* Fortress title glow */
.fortress-title {
  text-shadow:
    0 0 15px rgba(0, 229, 255, 0.3),
    0 0 40px rgba(0, 229, 255, 0.1);
}

/* Security keywords layout */
.security-keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  position: relative;
  z-index: 2;
}

/* Pricing tier badge */
.tier-badge {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Pricing tier description */
.tier-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Price styling */
.price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.currency {
  font-size: 1.5rem;
  font-weight: 400;
  vertical-align: super;
  opacity: 0.6;
}

.period {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* Featured card popular badge */
.popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-solar);
  color: var(--void-black);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1.25rem;
  border-radius: 0 0 12px 12px;
  z-index: 2;
}

/* Featured pricing card */
.pricing-card.featured {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 12px 48px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(255, 140, 0, 0.08);
  z-index: 2;
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-6px);
}

@media (max-width: 768px) {
  .pricing-card.featured {
    transform: none;
    order: -1;
  }
  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }
}

/* Footer content layout */
.footer-content {
  position: relative;
  z-index: 2;
}

.footer-brand {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--solar-flare), var(--nebula-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Footer columns */
.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--text-primary);
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Footer fog overlay */
.footer-fog {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.015), transparent);
  pointer-events: none;
  z-index: 1;
}

/* Star twinkle animation for dynamically created stars */
.star {
  animation-name: twinkle;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

/* Scroll indicator SVG color */
.scroll-indicator svg {
  color: var(--text-muted);
}
