/* ============================================
   COMPLETE HOMEPAGE REDESIGN - CSS
   ============================================ */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #3b82f6;
  --primary-blue-dark: #2563eb;
  --primary-purple: #8b5cf6;
  --primary-green: #10b981;
  --primary-orange: #f97316;
  --primary-pink: #ec4899;
  --primary-cyan: #06b6d4;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #94a3b8;

  --bg-white: #ffffff;
  --bg-gray-50: #f8fafc;
  --bg-gray-100: #f1f5f9;

  --dark-bg: #0d1117;
  --dark-card: #161b22;
  --dark-border: #30363d;
  --dark-text: #e6edf3;
  --dark-text-muted: #8b949e;

  --border-gray: #e2e8f0;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg-white);
}

/* Container Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav-home {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  transition: all var(--transition-base);
}

.nav-home.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 20px;
  transition: opacity var(--transition-fast);
}

.nav-logo:hover {
  opacity: 0.8;
}

.logo-icon {
  color: var(--primary-blue);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
}

.close-icon {
  display: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-gray-50);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
}

.nav-link-auth {
  padding: 8px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.nav-link-auth:hover {
  color: var(--text-primary);
  background: var(--bg-gray-50);
}

.btn-nav-primary {
  padding: 10px 20px;
  background: var(--primary-blue);
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

/* ============================================
   HERO SECTION WITH CIRCUIT BOARD
   ============================================ */
.hero-section {
  padding: 140px 0 100px;
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circuit-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  pointer-events: none;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: white;
  border: 1px solid var(--border-gray);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-blue);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

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

.hero-description {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero-primary {
  padding: 16px 32px;
  background: var(--primary-blue);
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-hero-primary:hover {
  background: var(--primary-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.btn-hero-secondary {
  padding: 16px 32px;
  background: white;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  border: 2px solid var(--border-gray);
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-secondary:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.btn-arrow {
  transition: transform var(--transition-base);
}

.btn-hero-primary:hover .btn-arrow {
  transform: translateX(4px);
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.section-how {
  padding: 100px 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.step-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border-gray);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

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

.step-number-bg {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 4rem;
  font-weight: 800;
  color: var(--bg-gray-50);
  line-height: 1;
  z-index: 0;
  opacity: 0.6;
  user-select: none;
}

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

.step-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--primary-purple) 100%
  );
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 20px;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

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

/* ============================================
   IMPROVED HOW IT WORKS SECTION
   ============================================ */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  position: relative;
}

.step-card {
  background: white;
  border-radius: 20px;
  padding: 40px 32px;
  border: 1px solid var(--border-gray);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-blue);
}

.step-card:first-child {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-blue);
}

.step-number-bg {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 6rem;
  font-weight: 900;
  color: var(--primary-blue);
  line-height: 1;
  z-index: 1;
  opacity: 0.15;
  user-select: none;
  transition: all var(--transition-base);
}

.step-card:first-child .step-number-bg {
  color: var(--primary-purple);
  opacity: 0.2;
}

.step-card:hover .step-number-bg {
  opacity: 0.25;
  transform: scale(1.05);
  color: var(--primary-purple);
}

.step-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.step-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--primary-purple) 100%
  );
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 24px;
  transition: all var(--transition-base);
}

.step-card:hover .step-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4);
}

.step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.3;
}

.step-description {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

/* ============================================
   TECHNICAL SECTION - NETWORK MESH
   ============================================ */
.section-technical {
  padding: 100px 0;
  background: var(--bg-gray-50);
  position: relative;
}

.technical-stage-wrapper {
  position: relative;
  min-height: 800px;
  background: radial-gradient(120% 100% at 50% 20%, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 24px;
  overflow: hidden;
  margin-top: 48px;
}

.technical-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.tech-nodes {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.tech-node {
  position: absolute;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dff7ff;
  font-size: 1.2rem;
  border-radius: 12px;
  border: 2px solid #37a6b3;
  background: rgba(55, 166, 179, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
  pointer-events: auto;
  transition: all var(--transition-base);
  cursor: pointer;
}

.tech-node:hover {
  transform: scale(1.1);
  border-color: #4cc9d7;
  box-shadow: 0 12px 40px rgba(55, 166, 179, 0.3);
}

.tech-node::after {
  content: attr(data-label);
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: var(--text-secondary);
  white-space: nowrap;
  font-weight: 600;
  background: white;
  padding: 4px 8px;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.tech-node:hover::after {
  opacity: 1;
}

.tech-node.ai-node {
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.15);
}

.tech-node.ai-node::before {
  content: attr(data-model);
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  color: var(--primary-purple);
  font-weight: 700;
  background: white;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.tech-node.worker-node {
  border-color: #f97316;
  background: rgba(249, 115, 22, 0.15);
}

.tech-node.search-node {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.15);
}

.tech-node.recruiter-node {
  border-color: #ec4899;
  background: rgba(236, 72, 153, 0.15);
}

/* ============================================
   FEATURES SECTION - DARK BENTO GRID
   ============================================ */
.section-features {
  padding: 100px 0;
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}

.floating-bg-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.float-element-dark {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, #238636, #2ea043);
  opacity: 0.08;
  animation: floatDark 20s infinite ease-in-out;
}

.float-element-dark:nth-child(1) {
  width: 300px;
  height: 300px;
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.float-element-dark:nth-child(2) {
  width: 200px;
  height: 200px;
  top: 60%;
  right: -5%;
  animation-delay: -7s;
}

.float-element-dark:nth-child(3) {
  width: 150px;
  height: 150px;
  top: 30%;
  right: 20%;
  animation-delay: -14s;
}

@keyframes floatDark {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-30px) rotate(120deg);
  }
  66% {
    transform: translateY(20px) rotate(240deg);
  }
}

.section-title-light {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 16px;
}

.section-subtitle-light {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--dark-text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.bento-card {
  background: rgba(33, 38, 45, 0.8);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-slow);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 200px;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: #58a6ff;
  box-shadow: 0 12px 40px rgba(88, 166, 255, 0.15);
}

.bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #238636, #2ea043, #58a6ff);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

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

.hero-card {
  grid-column: span 3;
  grid-row: span 2;
  padding: 3rem;
}

.illuminated-card {
  grid-column: span 2;
  grid-row: span 2;
}

.wide-card {
  grid-column: span 3;
}

.card-icon-bento {
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  flex-shrink: 0;
}

.card-title-bento {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--dark-text);
  line-height: 1.3;
}

.card-description-bento {
  color: var(--dark-text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
  flex-grow: 1;
}

.hero-card .card-icon-bento {
  font-size: 2.5rem;
}

.hero-card .card-title-bento {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.hero-card .card-description-bento {
  font-size: 1.1rem;
  max-width: 90%;
}

/* Illuminated Card Effects */
.illuminated-card {
  position: relative;
}

.light-layer {
  position: absolute;
  left: 0;
  top: 30%;
  height: 100%;
  width: 100%;
  transform-style: preserve-3d;
  perspective: 400px;
  pointer-events: none;
}

.slit {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 64%;
  height: 1.2rem;
  transform: rotateX(-76deg);
  background: #121212;
  box-shadow: 0 0 4px 0 rgba(255, 255, 255, 0);
  transition: all 0.4s ease-in-out;
}

.lumen {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  pointer-events: none;
  perspective: 400px;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.lumen .min {
  width: 70%;
  height: 3rem;
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6));
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 2.5rem;
  margin: auto;
  transform: rotateX(-42deg);
  opacity: 0.4;
}

.lumen .mid {
  width: 74%;
  height: 13rem;
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6));
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 10em;
  margin: auto;
  transform: rotateX(-42deg);
  filter: blur(1rem);
  opacity: 0.8;
  border-radius: 100% 100% 0 0;
}

.lumen .hi {
  width: 50%;
  height: 13rem;
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6));
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 12em;
  margin: auto;
  transform: rotateX(22deg);
  filter: blur(1rem);
  opacity: 0.6;
  border-radius: 100% 100% 0 0;
}

.darken {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  pointer-events: none;
  perspective: 400px;
  transition: opacity 0.4s ease-in-out;
  opacity: 0.5;
}

.darken > * {
  transition: opacity 0.4s ease-in-out;
}

.darken .sl {
  width: 64%;
  height: 10rem;
  background: linear-gradient(#000, rgba(0, 0, 0, 0));
  position: absolute;
  left: 0;
  right: 0;
  top: 9.6em;
  bottom: 0;
  margin: auto;
  filter: blur(0.2rem);
  opacity: 0.1;
  border-radius: 0 0 100% 100%;
  transform: rotateX(-22deg);
}

.darken .ll {
  width: 62%;
  height: 10rem;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
  position: absolute;
  left: 0;
  right: 0;
  top: 11em;
  bottom: 0;
  margin: auto;
  filter: blur(0.8rem);
  opacity: 0.4;
  border-radius: 0 0 100% 100%;
  transform: rotateX(22deg);
}

.darken .slt {
  width: 0.5rem;
  height: 4rem;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
  position: absolute;
  left: 0;
  right: 11.5rem;
  top: 3.9em;
  bottom: 0;
  margin: auto;
  opacity: 0.6;
  border-radius: 0 0 100% 100%;
  transform: skewY(42deg);
}

.darken .srt {
  width: 0.5rem;
  height: 4rem;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
  position: absolute;
  right: 0;
  left: 11.5rem;
  top: 3.9em;
  bottom: 0;
  margin: auto;
  opacity: 0.6;
  border-radius: 0 0 100% 100%;
  transform: skewY(-42deg);
}

.illuminated-card:hover .slit {
  background: #fff;
  box-shadow: 0 0 4px 0 #fff;
}

.illuminated-card:hover .lumen {
  opacity: 0.5;
}

.illuminated-card:hover .darken {
  opacity: 0.8;
}

.illuminated-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

/* Color Palette Demo */
.color-palette {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.color-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--dark-border);
  transition: transform var(--transition-fast);
  cursor: pointer;
}

.color-dot:hover {
  transform: scale(1.2);
}

/* Customization Demo */
.customization-demo {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.demo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(88, 166, 255, 0.1);
  border-radius: 8px;
  color: var(--dark-text);
  font-size: 0.85rem;
}

.demo-item svg {
  color: #58a6ff;
}

/* ============================================
   TEMPLATES SECTION
   ============================================ */
.section-templates {
  padding: 100px 0;
  background: white;
}

.templates-grid-four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.template-card-hover {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-gray);
  transition: all var(--transition-base);
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  height: 470px;
  display: flex;
  flex-direction: column;
}

.template-card-hover:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.template-card-hover.extra-template {
  height: 420px;
}

.template-image {
  width: 100%;
  padding: 16px;
  max-height: 340px;
  object-fit: cover;
  transition: height var(--transition-base);
  margin-bottom: -10px;
}

.template-image.extra-template {
  max-height: 300px;
  margin-bottom: -30px;
  object-fit: contain;
  padding: 0;
}

.template-info-section {
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  /* flex: 1; */
}

.template-info-section.extra-template {
  padding-top: 5px;
}

.template-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  transition: all var(--transition-base);
}

.template-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  transition: all var(--transition-base) 0.1s;
  flex-grow: 1;
}

.template-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-base) 0.2s;
}

.template-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-blue);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ============================================
   PRICING SECTION WITH SLIDER
   ============================================ */
.section-pricing {
  padding: 100px 0;
  background: var(--bg-gray-50);
}

/* Pricing Control Slider */
.pricing-control {
  scale: 1.2;
  letter-spacing: 0.5px;
  position: relative;
  width: 400px;
  height: 44px;
  background: var(--bg-white);
  border-radius: 100px;
  border: 1px solid var(--border-gray);
  padding: 3px;
  box-shadow: var(--shadow-md);
  margin: 0 auto 64px;
}

.pricing-control__track {
  display: grid;
  place-items: center;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  height: 100%;
  position: relative;
}

.pricing-indicator {
  position: absolute;
  width: 50%;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--primary-blue);
  border-radius: 100px;
  transition: translate 0.22s ease-out;
}

.pricing-control__track > label {
  display: inline-block;
  height: 100%;
  width: 100%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 0.85rem;
  color: white;
  z-index: 2;
  font-weight: 600;
  transition: color 0.22s ease-out;
}

.pricing-control__track:not(:has(> input:checked)) > label {
  color: var(--text-primary);
}

.pricing-control__track:has(> input:checked) .pricing-indicator {
  translate: 100% 0;
}

.pricing-premium {
  width: 100%;
  height: 100%;
  display: grid;
  position: relative;
  grid-template-columns: 1fr 1fr;
  container-type: size;
}

.pricing-premium .pricing-indicator {
  background: var(--primary-blue);
  left: 50%;
  top: 0;
  translate: -50% 0;
  clip-path: inset(0 50% 0 0 round 100px);
  transition: translate 0.22s ease-out, clip-path 0.22s ease-out;
}

.pricing-premium:has(input:nth-of-type(1):checked) .pricing-indicator {
  translate: -100% 0;
}

.pricing-premium:has(input:nth-of-type(2):checked) .pricing-indicator {
  translate: 0 0;
}

.pricing-premium:has(input:checked) .pricing-indicator {
  clip-path: inset(0 0 0 0 round 100px);
}

.pricing-premium label {
  display: grid;
  place-items: center;
  height: 100%;
  width: 100%;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-secondary);
  z-index: 2;
  font-weight: 600;
  transition: color 0.22s ease-out;
}

.pricing-premium:has(input:nth-of-type(1):checked) label:nth-of-type(1),
.pricing-premium:has(input:nth-of-type(2):checked) label:nth-of-type(2) {
  color: white;
}

.pricing-control__track > label:nth-of-type(1),
.pricing-premium {
  grid-column: span 2;
}

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

/* Pay As You Go Grid */
.pricing-grid-payg {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card-compact {
  background: white;
  border-radius: 16px;
  padding: 28px 24px;
  border: 2px solid var(--border-gray);
  transition: all var(--transition-base);
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.pricing-card-compact.pricing-card-popular {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 1px var(--primary-blue);
}

.pricing-badge-compact {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  background: var(--primary-blue);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-name-compact {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.pricing-price-compact {
  display: flex;
  align-items: baseline;
  margin-bottom: 8px;
}

.price-currency-compact {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.price-amount-compact {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-desc-compact {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  min-height: 40px;
  line-height: 1.4;
}

.pricing-credits-compact {
  padding: 12px;
  background: var(--bg-gray-50);
  border-radius: 10px;
  margin-bottom: 16px;
  text-align: center;
}

.credits-main-compact {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.credits-bonus-compact {
  font-size: 0.8rem;
  color: var(--primary-green);
  font-weight: 600;
  margin-top: 4px;
}

.pricing-features-compact {
  list-style: none;
  margin-bottom: 20px;
  flex-grow: 1;
}

.pricing-features-compact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.pricing-features-compact li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary-green);
}

.btn-pricing-compact {
  width: 100%;
  padding: 12px 24px;
  background: var(--primary-blue);
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all var(--transition-base);
  display: inline-block;
  text-align: center;
}

.btn-pricing-compact:hover {
  background: var(--primary-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* Subscription Grid */
.pricing-grid-subscription {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card-sub {
  background: white;
  border-radius: 20px;
  padding: 40px 32px;
  border: 2px solid var(--border-gray);
  transition: all var(--transition-base);
  position: relative;
}

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

.pricing-card-sub.pricing-card-popular {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 1px var(--primary-blue);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: var(--primary-blue);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  margin-bottom: 8px;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.price-amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.price-period {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-left: 4px;
}

.pricing-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  min-height: 48px;
}

.pricing-credits {
  padding: 16px;
  background: var(--bg-gray-50);
  border-radius: 12px;
  margin-bottom: 24px;
  text-align: center;
}

.credits-main {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.pricing-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary-green);
}

.btn-pricing {
  width: 100%;
  padding: 16px 32px;
  background: var(--primary-blue);
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all var(--transition-base);
  display: inline-block;
  text-align: center;
}

.btn-pricing:hover {
  background: var(--primary-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.pricing-note {
  text-align: center;
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.pricing-note svg {
  flex-shrink: 0;
  color: var(--primary-blue);
}

/* ============================================
   CTA SECTION WITH STATS
   ============================================ */
.section-cta {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--primary-purple) 100%
  );
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-description {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.cta-stats {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.cta-stat-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 24px 32px;
  text-align: center;
  min-width: 200px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-icon {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  display: block;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.btn-cta {
  padding: 18px 40px;
  background: white;
  color: var(--primary-blue);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 12px;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.cta-note {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 16px;
}

.footer-endless {
  margin-top: 8px;
}

.endless-text {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(90deg, #fff 0%, #a5f3fc 50%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(165, 243, 252, 0.5);
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 8px rgba(165, 243, 252, 0.6));
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(165, 243, 252, 0.9));
  }
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: white;
}

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

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

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

/* Tablets and below (1024px) */
@media (max-width: 1024px) {
  .hero-section {
    padding: 120px 0 80px;
  }

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

  .technical-stage-wrapper {
    min-height: 600px;
  }

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

  .hero-card {
    grid-column: span 2;
    grid-row: span 2;
  }

  .illuminated-card {
    grid-column: span 2;
    grid-row: span 2;
  }

  .wide-card {
    grid-column: span 4;
  }

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

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

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

/* Mobile (768px and below) */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    box-shadow: var(--shadow-xl);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link,
  .nav-link-auth {
    padding: 12px 16px;
  }

  .nav-actions {
    margin-left: 0;
    margin-top: 8px;
    flex-direction: column;
  }

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

  .menu-icon {
    display: block;
  }

  .mobile-menu-toggle.active .menu-icon {
    display: none;
  }

  .mobile-menu-toggle.active .close-icon {
    display: block;
  }

  .hero-section {
    padding: 100px 0 60px;
    min-height: auto;
  }

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

  .hero-description {
    font-size: 1.1rem;
  }

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

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }

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

  .section-subtitle {
    font-size: 1.1rem;
  }

  .steps-container {
    grid-template-columns: 1fr;
  }

  .step-number-bg {
    font-size: 3rem;
  }

  .technical-stage-wrapper {
    min-height: 500px;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-card,
  .illuminated-card,
  .wide-card,
  .bento-card {
    grid-column: 1;
    grid-row: auto;
  }

  .hero-card {
    padding: 2rem;
  }

  .templates-grid-four {
    grid-template-columns: 1fr;
  }

  .template-card-hover {
    height: auto;
  }

  .pricing-control {
    scale: 1;
    width: 90%;
    max-width: 400px;
  }

  .pricing-grid-payg {
    grid-template-columns: 1fr;
  }

  .pricing-grid-subscription {
    grid-template-columns: 1fr;
  }

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

  .cta-stat-card {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .endless-text {
    font-size: 1.5rem;
  }
}

/* Small mobile (480px and below) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

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

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

  .cta-title {
    font-size: 1.75rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .price-amount-compact {
    font-size: 2rem;
  }

  .price-amount {
    font-size: 3rem;
  }

  .hero-card .card-title-bento {
    font-size: 1.5rem;
  }

  .customization-demo {
    gap: 8px;
  }

  .demo-item {
    font-size: 0.75rem;
    padding: 6px 10px;
  }
}

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

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

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

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 8px;
}

.mb-2 {
  margin-bottom: 16px;
}

.mb-3 {
  margin-bottom: 24px;
}

.mb-4 {
  margin-bottom: 32px;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 8px;
}

.mt-2 {
  margin-top: 16px;
}

.mt-3 {
  margin-top: 24px;
}

.mt-4 {
  margin-top: 32px;
}

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

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

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

.animate-slide-up {
  animation: slideUp 0.6s ease-out;
}

.animate-slide-down {
  animation: slideDown 0.6s ease-out;
}

.animate-scale-in {
  animation: scaleIn 0.6s ease-out;
}

/* Smooth scroll offset for fixed nav */
html {
  scroll-padding-top: 80px;
}

/* Focus styles for accessibility */
*:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* Selection color */
::selection {
  background: var(--primary-blue);
  color: white;
}

::-moz-selection {
  background: var(--primary-blue);
  color: white;
}

/* Print styles */
@media print {
  .nav-home,
  .mobile-menu-toggle,
  .hero-cta,
  .section-cta,
  .footer-social,
  .btn-use-template,
  .btn-pricing,
  .btn-pricing-compact {
    display: none !important;
  }

  body {
    background: white !important;
  }

  .section-features,
  .section-pricing {
    background: white !important;
  }

  * {
    box-shadow: none !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border-gray: #000;
  }

  .bento-card,
  .pricing-card-compact,
  .pricing-card-sub {
    border-width: 3px;
  }
}

/* Reduced motion support */
@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;
  }

  .circuit-canvas {
    display: none;
  }

  .floating-bg-dark,
  .float-element-dark {
    display: none;
  }
}

/* Dark mode support (optional future enhancement) */
@media (prefers-color-scheme: dark) {
  /* Can be implemented if dark mode is desired */
}

.tech-center-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  text-align: center;
}

.center-icon-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-purple)
  );
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4);
  margin: 0 auto 16px;
}

.center-icon-wrapper i {
  font-size: 2rem;
  color: white;
}

.center-text {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  background: white;
  padding: 8px 16px;
  border-radius: 8px;
  white-space: nowrap;
}

.tech-node i {
  color: inherit;
}

.tech-node.user-node {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.tech-node.ai-node {
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.15);
  color: #8b5cf6;
}

.tech-node.criteria-node {
  border-color: #06b6d4;
  background: rgba(6, 182, 212, 0.15);
  color: #06b6d4;
}

.tech-node.worker-node {
  border-color: #f97316;
  background: rgba(249, 115, 22, 0.15);
  color: #f97316;
}

.tech-node.search-node {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.tech-node.profile-node {
  border-color: #ec4899;
  background: rgba(236, 72, 153, 0.15);
  color: #ec4899;
}

.tech-node.notification-node {
  border-color: #eab308;
  background: rgba(234, 179, 8, 0.15);
  color: #eab308;
}

.tech-node.template-node {
  border-color: #a855f7;
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
}

.tech-node.recruiter-node {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

@keyframes dash {
  to {
    stroke-dashoffset: -20;
  }
}

.animated-line {
  animation: dash 1.5s linear infinite;
}

.pricing-control-fixed {
  position: relative;
  width: 400px;
  height: 50px;
  background: white;
  border-radius: 25px;
  border: 2px solid var(--border-gray);
  padding: 4px;
  margin: 0 auto 64px;
  display: flex;
  box-shadow: var(--shadow-md);
}

.pricing-tab {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  z-index: 2;
  transition: color 0.3s ease;
  border-radius: 20px;
}

.pricing-tab.active {
  color: white;
}

.pricing-slider-pill {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: var(--primary-blue);
  border-radius: 20px;
  transition: transform 0.3s ease;
  z-index: 1;
}

.pricing-slider-pill.subscription {
  transform: translateX(100%);
}

.footer-endless-banner {
  text-align: center;
  padding: 60px 0;
  margin-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.endless-possibilities-text {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  background: linear-gradient(
    90deg,
    #fff 0%,
    #a5f3fc 30%,
    #3b82f6 50%,
    #a5f3fc 70%,
    #fff 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
  letter-spacing: 0.02em;
  margin: 0;
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

@media (max-width: 768px) {
  .pricing-control-fixed {
    width: 90%;
    max-width: 400px;
  }

  .endless-possibilities-text {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .footer-endless-banner {
    padding: 40px 0;
    margin-bottom: 40px;
  }
}

/* ============================================
   DARK THEME CARD FOR STEP 6
   ============================================ */
.step-card.dark-card {
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.02)
    ),
    #181818;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #eef2ff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 10px 50px rgba(10, 12, 22, 0.6), 0 0 120px 20px rgba(124, 92, 255, 0.12);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

.step-card.dark-card .step-number-bg {
  color: #7c5cff;
  opacity: 0.1;
}

.step-card.dark-card:hover .step-number-bg {
  color: #00d4ff;
  opacity: 0.15;
}

.step-card.dark-card .step-title {
  color: #eef2ff;
  font-size: 50px;
}

.step-card.dark-card .step-description {
  color: #b9c0ff;
}

.step-card.dark-card .step-icon {
  background: linear-gradient(135deg, #7c5cff 0%, #00d4ff 100%);
  box-shadow: 0 8px 20px rgba(124, 92, 255, 0.4);
}

/* AI Badges Styling */
.ai-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.25rem 0 0.75rem;
}

.ai-badge {
  --ring: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.84rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.02)
    ),
    rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  position: relative;
  color: #eef2ff;
}

.ai-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  box-shadow: 0 0 0 1px var(--ring) inset;
  pointer-events: none;
}

.ai-badge[data-variant="hot"] {
  --ring: rgba(255, 61, 129, 0.45);
}

.ai-badge[data-variant="cool"] {
  --ring: rgba(0, 212, 255, 0.35);
}

.ai-badge[data-variant="warm"] {
  --ring: rgba(255, 179, 0, 0.35);
}

.ai-pill {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* AI Meta Information */
.ai-meta {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-top: 0.5rem;
  color: #b9c0ff;
  opacity: 0.9;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.ai-meta .sep {
  opacity: 0.5;
}

/* Animation for the dark card */
.step-card.dark-card .step-icon svg {
  animation: aiGlow 4s ease-in-out infinite;
}

@keyframes aiGlow {
  0%,
  100% {
    filter: drop-shadow(0 4px 8px rgba(124, 92, 255, 0.3));
  }
  50% {
    filter: drop-shadow(0 4px 16px rgba(0, 212, 255, 0.5));
  }
}

/* Responsive adjustments for badges */
@media (max-width: 768px) {
  .ai-badges {
    gap: 0.5rem;
  }

  .ai-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
  }

  .ai-meta {
    font-size: 0.8rem;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .ai-badges {
    justify-content: center;
  }

  .ai-badge {
    font-size: 0.75rem;
  }

  .ai-meta {
    justify-content: center;
    text-align: center;
  }
}

/* ============================================
   STUNNING DARK CTA SECTION WITH GLASSMORPHISM
   ============================================ */
.section-cta-dark {
  padding: 120px 0;
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}

.cta-dark-container {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pixel Animation Background */
.pixel-animation-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.4;
}

/* Scrim for readability */
.cta-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(
      800px 400px at 70% 20%,
      rgba(124, 92, 255, 0.15),
      transparent 60%
    ),
    radial-gradient(
      1000px 600px at 30% 80%,
      rgba(0, 212, 255, 0.15),
      transparent 60%
    ),
    linear-gradient(
      to bottom,
      rgba(11, 15, 26, 0.9),
      rgba(11, 15, 26, 0.7) 35%,
      rgba(11, 15, 26, 0.9)
    );
  backdrop-filter: saturate(140%) contrast(110%);
}

.cta-dark-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 800px;
  text-align: center;
}

.cta-text-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.cta-title-dark {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--dark-text);
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  background: linear-gradient(135deg, #eef2ff 0%, #b9c0ff 50%, #8b93ad 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-description-dark {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--dark-text-muted);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Glassmorphic Stats Cards */
.cta-stats-dark {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.stat-card-glass {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  min-width: 200px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

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

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

.stat-card-glass:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 92, 255, 0.4);
  box-shadow: 0 15px 40px rgba(124, 92, 255, 0.2),
    0 5px 15px rgba(255, 255, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.stat-icon-glass {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #7c5cff, #00d4ff);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin: 0 auto 1rem;
  color: white;
}

.stat-number-glass {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark-text);
  display: block;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #eef2ff, #b9c0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label-glass {
  font-size: 0.9rem;
  color: var(--dark-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* CTA Button */
.btn-cta-dark {
  padding: 18px 40px;
  background: linear-gradient(135deg, #7c5cff 0%, #00d4ff 100%);
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 12px;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn-cta-dark::before {
  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;
}

.btn-cta-dark:hover::before {
  left: 100%;
}

.btn-cta-dark:hover {
  transform: translateY(-3px);
}

.cta-note-dark {
  margin-top: 1rem;
  color: var(--dark-text-muted);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-cta-dark {
    padding: 80px 0;
  }

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

  .stat-card-glass {
    min-width: 180px;
    padding: 1.5rem 1rem;
  }

  .stat-number-glass {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .cta-title-dark {
    font-size: 2rem;
  }

  .cta-description-dark {
    font-size: 1rem;
  }

  .btn-cta-dark {
    padding: 16px 32px;
    font-size: 1rem;
  }
}

/* ===== MOBILE RESPONSIVE STYLES ===== */

/* Tablet */
@media (max-width: 1024px) {
  .section-technical {
    padding: 80px 0;
  }

  .technical-stage-wrapper {
    min-height: 600px;
    margin-top: 40px;
    border-radius: 20px;
  }

  .tech-node {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }

  .center-icon-wrapper {
    width: 90px;
    height: 90px;
  }

  .center-icon-wrapper i {
    font-size: 1.8rem;
  }

  .center-text {
    font-size: 1.6rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .section-technical {
    padding: 60px 0;
  }

  .technical-stage-wrapper {
    min-height: 500px;
    margin-top: 32px;
    border-radius: 16px;
    background: radial-gradient(100% 80% at 50% 20%, #f8fafc 0%, #f1f5f9 100%);
  }

  .tech-node {
    width: 44px;
    height: 44px;
    font-size: 1rem;
    border-radius: 10px;
    border-width: 1.5px;
  }

  .tech-node:hover {
    transform: scale(1.05);
  }

  .tech-node::after {
    font-size: 0.7rem;
    padding: 3px 6px;
    top: 50px;
  }

  .tech-node.ai-node::before {
    font-size: 0.6rem;
    top: -20px;
    padding: 2px 4px;
  }

  .center-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    margin-bottom: 12px;
  }

  .center-icon-wrapper i {
    font-size: 1.6rem;
  }

  .center-text {
    font-size: 1.4rem;
    padding: 6px 12px;
  }
}

/* Small Mobile */
@media (max-width: 640px) {
  .section-technical {
    padding: 48px 0;
  }

  .technical-stage-wrapper {
    min-height: 450px;
    margin-top: 24px;
    border-radius: 12px;
  }

  .tech-node {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
    border-radius: 8px;
  }

  .tech-node::after {
    font-size: 0.65rem;
    top: 44px;
    white-space: normal;
    text-align: center;
    width: 80px;
  }

  .center-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 14px;
  }

  .center-icon-wrapper i {
    font-size: 1.4rem;
  }

  .center-text {
    font-size: 1.2rem;
    padding: 4px 10px;
  }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
  .technical-stage-wrapper {
    min-height: 400px;
    margin-top: 20px;
  }

  .tech-node {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
    border-radius: 6px;
  }

  .tech-node::after {
    font-size: 0.6rem;
    top: 40px;
    width: 70px;
    padding: 2px 4px;
  }

  .tech-node.ai-node::before {
    font-size: 0.55rem;
    top: -18px;
    padding: 1px 3px;
  }

  .center-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
  }

  .center-icon-wrapper i {
    font-size: 1.2rem;
  }

  .center-text {
    font-size: 1rem;
    padding: 3px 8px;
  }
}

/* Very Small Mobile */
@media (max-width: 375px) {
  .technical-stage-wrapper {
    min-height: 350px;
  }

  .tech-node {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }

  .tech-node::after {
    font-size: 0.55rem;
    top: 36px;
    width: 60px;
  }

  .center-icon-wrapper {
    width: 50px;
    height: 50px;
  }

  .center-icon-wrapper i {
    font-size: 1rem;
  }

  .center-text {
    font-size: 0.8rem;
    padding: 2px 6px;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .tech-node:hover {
    transform: none;
  }

  .tech-node:active {
    transform: scale(0.95);
  }

  /* Show labels on tap for mobile */
  .tech-node.active::after {
    opacity: 1;
  }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .technical-stage-wrapper {
    min-height: 300px;
  }

  .section-technical {
    padding: 40px 0;
  }
}

/* High DPI Screens */
@media (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2),
  (max-width: 768px) and (min-resolution: 192dpi) {
  .tech-node {
    border-width: 1px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .tech-node {
    transition: none;
  }

  .tech-node:hover {
    transform: none;
  }

  .animated-line {
    animation: none;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  @media (max-width: 768px) {
    .technical-stage-wrapper {
      background: radial-gradient(
        100% 80% at 50% 20%,
        #1e293b 0%,
        #0f172a 100%
      );
    }

    .tech-node::after {
      background: #334155;
      color: #f1f5f9;
    }

    .tech-node.ai-node::before {
      background: #334155;
      color: #c4b5fd;
    }

    .center-text {
      background: #334155;
      color: #f1f5f9;
    }
  }
}

/* ===== PLAY BUTTON AND ANIMATION STYLES ===== */
.tech-play-controls {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 100;
}

.tech-play-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
}

.tech-play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

.tech-play-btn:active {
  transform: translateY(0);
}

.tech-play-btn.playing {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Running border animation - node specific */
.tech-node.animated-highlight {
  animation: runningBorder 1s ease-in-out;
  position: relative;
}

/* Node-specific border animations */
.tech-node.user-node.animated-highlight {
  animation: runningBorderUser 1s ease-in-out;
}

.tech-node.ai-node.animated-highlight {
  animation: runningBorderAI 1s ease-in-out;
}

.tech-node.criteria-node.animated-highlight {
  animation: runningBorderCriteria 1s ease-in-out;
}

.tech-node.worker-node.animated-highlight {
  animation: runningBorderWorker 1s ease-in-out;
}

.tech-node.search-node.animated-highlight {
  animation: runningBorderSearch 1s ease-in-out;
}

.tech-node.profile-node.animated-highlight {
  animation: runningBorderProfile 1s ease-in-out;
}

.tech-node.notification-node.animated-highlight {
  animation: runningBorderNotification 1s ease-in-out;
}

.tech-node.template-node.animated-highlight {
  animation: runningBorderTemplate 1s ease-in-out;
}

.tech-node.recruiter-node.animated-highlight {
  animation: runningBorderRecruiter 1s ease-in-out;
}

/* User node (blue) - darker/glowier version */
@keyframes runningBorderUser {
  0% {
    box-shadow: 0 0 0 0px rgba(59, 130, 246, 0);
  }
  25% {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.8);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.9);
  }
  75% {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.8);
  }
  100% {
    box-shadow: 0 0 0 0px rgba(59, 130, 246, 0);
  }
}

/* AI node (purple) - darker/glowier version */
@keyframes runningBorderAI {
  0% {
    box-shadow: 0 0 0 0px rgba(139, 92, 246, 0);
  }
  25% {
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.8);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.9);
  }
  75% {
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.8);
  }
  100% {
    box-shadow: 0 0 0 0px rgba(139, 92, 246, 0);
  }
}

/* Criteria node (cyan) - darker/glowier version */
@keyframes runningBorderCriteria {
  0% {
    box-shadow: 0 0 0 0px rgba(6, 182, 212, 0);
  }
  25% {
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.8);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.9);
  }
  75% {
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.8);
  }
  100% {
    box-shadow: 0 0 0 0px rgba(6, 182, 212, 0);
  }
}

/* Worker node (orange) - darker/glowier version */
@keyframes runningBorderWorker {
  0% {
    box-shadow: 0 0 0 0px rgba(249, 115, 22, 0);
  }
  25% {
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.8);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.9);
  }
  75% {
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.8);
  }
  100% {
    box-shadow: 0 0 0 0px rgba(249, 115, 22, 0);
  }
}

/* Search node (green) - darker/glowier version */
@keyframes runningBorderSearch {
  0% {
    box-shadow: 0 0 0 0px rgba(16, 185, 129, 0);
  }
  25% {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.8);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.9);
  }
  75% {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.8);
  }
  100% {
    box-shadow: 0 0 0 0px rgba(16, 185, 129, 0);
  }
}

/* Profile node (pink) - darker/glowier version */
@keyframes runningBorderProfile {
  0% {
    box-shadow: 0 0 0 0px rgba(236, 72, 153, 0);
  }
  25% {
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.8);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(219, 39, 119, 0.9);
  }
  75% {
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.8);
  }
  100% {
    box-shadow: 0 0 0 0px rgba(236, 72, 153, 0);
  }
}

/* Notification node (yellow) - darker/glowier version */
@keyframes runningBorderNotification {
  0% {
    box-shadow: 0 0 0 0px rgba(234, 179, 8, 0);
  }
  25% {
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.8);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(202, 138, 4, 0.9);
  }
  75% {
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.8);
  }
  100% {
    box-shadow: 0 0 0 0px rgba(234, 179, 8, 0);
  }
}

/* Template node (purple) - darker/glowier version */
@keyframes runningBorderTemplate {
  0% {
    box-shadow: 0 0 0 0px rgba(168, 85, 247, 0);
  }
  25% {
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.8);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(147, 51, 234, 0.9);
  }
  75% {
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.8);
  }
  100% {
    box-shadow: 0 0 0 0px rgba(168, 85, 247, 0);
  }
}

/* Recruiter node (red) - darker/glowier version */
@keyframes runningBorderRecruiter {
  0% {
    box-shadow: 0 0 0 0px rgba(239, 68, 68, 0);
  }
  25% {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.8);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.9);
  }
  75% {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.8);
  }
  100% {
    box-shadow: 0 0 0 0px rgba(239, 68, 68, 0);
  }
}

/* Label animation - 1 second */
.tech-node.animated-label::after {
  animation: labelFade 1s ease-in-out;
}

@keyframes labelFade {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  20% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  80% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
}

/* Mobile responsive play button */
@media (max-width: 768px) {
  .tech-play-controls {
    top: 15px;
    right: 15px;
  }

  .tech-play-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .tech-play-controls {
    top: 10px;
    right: 10px;
  }

  .tech-play-btn {
    padding: 8px 16px;
    font-size: 12px;
  }
}

.tech-node.animated-label::after {
  animation: labelFade 1s ease-in-out;
  z-index: 1000;
}

.higher-zindex {
  z-index: 1000 !important;
}

@media (max-width: 768px) {
  .cpu-icon {
    width: 70px;
    height: 70px;
  }

  .card-icon-bento {
    margin-bottom: 0;
  }

  .light-layer {
    margin-top: 50px;
  }
}
