* {
  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: -100px;
  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: #415358;
  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: #2c3e50;
  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, #f0f3f4 0%, #f0f3f4 100%);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #415358;
  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: #f0f3f4;
  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: #f0f3f4;
}

.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(-8px);
}

.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: #0f3359;
  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)
    ),
    #0f3359;
  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;
  }
}

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

.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-radius: 20px;
  padding: 2rem 1.5rem;
  min-width: 280px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.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-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;
  box-shadow: 0 4px 15px rgba(124, 92, 255, 0.3);
}

.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;
  font-size: 4rem;
}

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

.job-stats-dark {
  min-width: 280px;
}

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

.faang-logo {
  width: 230px;
  height: auto;
  margin: 12px 0;
}

/* === Animated Company Labels === */
.company-label-animated {
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  position: relative;
  display: inline-block;
}

.faang-label-animated {
  background: linear-gradient(
    135deg,
    #667eea 0%,
    #764ba2 25%,
    #667eea 50%,
    #764ba2 75%,
    #667eea 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite, shimmer 2s ease-in-out infinite;
}

.fortune-label-animated {
  background: linear-gradient(
    135deg,
    #f093fb 0%,
    #f5576c 25%,
    #ffd140 50%,
    #f5576c 75%,
    #f093fb 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite,
    shimmer 2s ease-in-out infinite 0.5s;
}

/* === Animations === */
@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes subtleGradient {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.6);
  }
}

/* === Hover Enhancements === */
.faang-card:hover .faang-label-animated {
  animation: gradientShift 2s ease infinite, shimmer 1s ease-in-out infinite;
}

.fortune-card:hover .fortune-label-animated {
  animation: gradientShift 2s ease infinite, shimmer 1s ease-in-out infinite;
}

/* 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) {
  .cta-stats-dark {
    flex-direction: column;
    align-items: center;
    gap: 1.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;
  }
}

/* ============================================
   EARNWAVE HERO - COMPLETE STYLES
   ============================================ */
:root {
  --ew-hue: 193;
  --ew-sat: 15%;
  --ew-primary: hsl(var(--ew-hue), var(--ew-sat), 25%);
  --ew-gray-50: hsl(var(--ew-hue), var(--ew-sat), 95%);
  --ew-gray-100: hsl(var(--ew-hue), var(--ew-sat), 90%);
  --ew-gray-150: hsl(var(--ew-hue), var(--ew-sat), 85%);
  --ew-gray-200: hsl(var(--ew-hue), var(--ew-sat), 80%);
  --ew-gray-300: hsl(var(--ew-hue), var(--ew-sat), 70%);
  --ew-gray-600: hsl(var(--ew-hue), var(--ew-sat), 40%);
  --ew-gray-700: hsl(var(--ew-hue), var(--ew-sat), 30%);
  --ew-gray-800: hsl(var(--ew-hue), var(--ew-sat), 20%);
  --ew-gray-900: hsl(var(--ew-hue), var(--ew-sat), 10%);
  --ew-shadow: hsla(0, 0%, 0%, 0.05);
  --ew-glass: hsla(0, 0%, 100%, 0.3);
  --ew-accent: #3b82f6;
  --ew-ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --ew-ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Fixed Navigation - Hidden by default */
.nav-home {
  position: fixed;
  top: -100px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: top 0.3s var(--ew-ease-out);
}

.nav-home.visible {
  top: 0;
}

/* Hero Section */
.hero-section-earnwave {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: var(--ew-gray-50);
}

/* Background Shapes */
.hero-bg-earnwave {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-shape-earnwave {
  position: absolute;
  background: var(--ew-gray-150);
  mask-image: linear-gradient(to bottom, black, transparent);
  border-top-right-radius: 100%;
  width: 11.5em;
  height: 60em;
  animation: fadeSlideUpFar 1.5s var(--ew-ease-out);
}

.bg-shape-left-earnwave {
  top: 0;
  left: 0;
}

.bg-shape-right-earnwave {
  top: 0;
  right: 0;
  border-top-right-radius: 0;
  border-top-left-radius: 100%;
}

/* Hero Header (In-Hero Navigation) */
.hero-header-earnwave {
  width: 100%;
  padding: 1.5em 0;
  position: relative;
  z-index: 10;
  animation: fadeIn 0.5s var(--ew-ease-out);
}

.hero-header-container {
  max-width: 79em;
  margin: 0 auto;
  padding: 0 1.5em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-logo {
  display: flex;
  align-items: center;
}

.hero-logo img,
.hero-logo svg {
  height: auto;
  width: 100px;
  margin-top: 6px;
}

.hero-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ew-gray-900);
}

.hero-mobile-toggle .close-icon {
  display: none;
}

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

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

.hero-nav {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.hero-nav-link {
  padding: 0.5em 1em;
  color: var(--ew-gray-700);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.15s;
}

.hero-nav-link:hover {
  color: var(--ew-gray-900);
  background: var(--ew-gray-100);
}

.hero-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-left: 1em;
}

.hero-nav-link-auth {
  padding: 0.5em 1em;
  color: var(--ew-gray-700);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.15s;
}

.hero-nav-link-auth:hover {
  color: var(--ew-gray-900);
  background: var(--ew-gray-100);
}

.btn-hero-nav-primary {
  padding: 0.625em 1.25em;
  background: var(--ew-gray-700);
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s;
  box-shadow: 0 0.125em 0.125em var(--ew-shadow) inset,
    0 -0.125em 0 var(--ew-shadow);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-nav-primary:hover {
  background: #2c3e50;
  transform: translateY(-1px);
}

/* Hero Container */
.hero-container-earnwave {
  max-width: 900px;
  margin: 0 auto;
  padding: 2em 1.5em 0;
  text-align: center;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.hero-content-earnwave {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero Badge */
.hero-badge-earnwave {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: white;
  border: 1px solid var(--ew-gray-200);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ew-accent);
  margin-bottom: 1.5em;
  box-shadow: 0 1px 2px var(--ew-shadow);
}

/* Hero Title */
.hero-title-earnwave {
  line-height: 1.1;
  color: var(--ew-gray-900);
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.gradient-text-earnwave {
  background: linear-gradient(135deg, var(--ew-accent) 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Description */
.hero-description-earnwave {
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--ew-gray-700);
  margin-bottom: 2em;
  max-width: 48rem;
}

/* Locks */
.locks-earnwave {
  display: flex;
  gap: 0.75em;
  justify-content: center;
  align-items: center;
  margin: 1.5em auto 2em;
}

.locks__center-dot-earnwave,
.locks__dot-earnwave {
  border-radius: 50%;
  flex-shrink: 0;
}

.locks__center-dot-earnwave {
  background-color: var(--ew-gray-50);
  box-shadow: 0 0 0 1px white inset, 0 1.5em 2.25em var(--ew-shadow);
  display: grid;
  place-items: center;
  width: 2.5em;
  height: 2.5em;
  color: var(--ew-gray-200);
}

.locks__dot-earnwave {
  box-shadow: 0 0 0 2px var(--ew-gray-200) inset;
  width: 0.5em;
  height: 0.5em;
}

.locks__dot--lg-earnwave {
  box-shadow: 0 0 0 4px var(--ew-gray-200) inset;
  width: 0.75em;
  height: 0.75em;
}

.locks__line-earnwave {
  background-color: var(--ew-gray-200);
  width: 30px;
  max-width: 1.5em;
  height: 1px;
}

/* Hero CTA */
.hero-cta-earnwave {
  display: flex;
  gap: 1em;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3em;
}

.btn-earnwave {
  padding: 1em 1.75em;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 2em;
  transition: all 200ms var(--ew-ease-inout);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  font-family: inherit;
  white-space: nowrap;
}

.btn-earnwave-primary {
  background-color: var(--ew-gray-700);
  color: white;
  box-shadow: 0 0.125em 0.125em var(--ew-shadow) inset,
    0 -0.125em 0 var(--ew-shadow);
}

.btn-earnwave-primary:hover {
  background-color: var(--ew-gray-600);
  transform: translateY(-1px);
}

.btn-earnwave-secondary {
  background-color: var(--ew-gray-100);
  color: var(--ew-gray-700);
  box-shadow: none;
}

.btn-earnwave-secondary:hover {
  background-color: var(--ew-gray-200);
}

/* Widgets Section - Inside Hero */
.widgets-section-earnwave {
  width: 100%;
  padding: 0 1.5em 6em;
  position: relative;
  z-index: 3;
  flex-shrink: 0;
}

.widgets-container-earnwave {
  max-width: 79em;
  margin: 0 auto;
}

.widgets-grid-earnwave {
  display: grid;
  gap: 1.5em;
  perspective: 79em;
}

/* Widget Base */
.widget-earnwave {
  background-color: var(--ew-gray-50);
  border-radius: 4em;
  box-shadow: 0 0 0 1px white inset, 0 1.5em 2.25em var(--ew-shadow);
  color: var(--ew-gray-700);
  padding: 2.25em;
  min-height: 20em;
  position: relative;
  overflow: hidden;
}

.widget-earnwave--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.widget-entering-earnwave {
  opacity: 0;
  animation: fadeRollInMiddle 1s 1s var(--ew-ease-out) forwards;
}

.widget-entering-earnwave:nth-child(1) {
  animation-delay: 1s;
}

.widget-entering-earnwave:nth-child(2) {
  animation-delay: 0.7s;
}

.widget-entering-earnwave:nth-child(3) {
  animation-delay: 1s;
}

.widget-content-earnwave {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Widget Elements */
.widget-badge-earnwave {
  background-color: var(--ew-gray-100);
  border-radius: 0.875rem;
  color: var(--ew-gray-800);
  font-size: 0.875em;
  font-weight: 600;
  margin-bottom: 0.75rem;
  padding: 0.375rem 1rem;
  width: max-content;
}

.widget-title-earnwave {
  font-size: 1.4em;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  color: var(--ew-gray-900);
}

.widget-amount-earnwave {
  font-weight: 600;
  font-size: 1.25em;
  color: #415358;
}

.widget-amount--lg {
  font-size: 3.75em;
  font-weight: 400;
  line-height: 1.2;
}

.widget-label-earnwave {
  font-size: 0.875em;
  color: var(--ew-gray-600);
}

.widget-description-earnwave {
  font-size: 1em;
  line-height: 1.6;
  color: var(--ew-gray-700);
  margin: 0;
}

/* Widget Circles */
.widget-circle-earnwave {
  aspect-ratio: 1;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  background-color: var(--ew-glass);
  border-radius: 50%;
  box-shadow: 0 0 0 0.125em var(--ew-glass) inset, 0 0 1em var(--ew-shadow);
  position: absolute;
}

.widget-circle-wrap-earnwave {
  background: linear-gradient(var(--ew-gray-50), var(--ew-gray-100)),
    linear-gradient(hsla(0, 0%, 100%, 0) 50%, var(--ew-glass));
  border: 0.5em solid transparent;
  border-radius: 4em;
  overflow: hidden;
  position: absolute;
  inset: 0;
  z-index: 0;
  background-clip: padding-box, border-box;
  background-origin: border-box;
}

/* Bottom Center Circles */
.widget-circle-bc1 {
  width: 48em;
  transform: translate(-50%, 0);
  top: 50%;
  left: 50%;
  z-index: 2;
}

.widget-circle-bc2 {
  width: 41em;
  transform: translate(-50%, 3.5em);
  top: 50%;
  left: 50%;
  z-index: 4;
}

.widget-circle-bc3 {
  width: 34em;
  transform: translate(-50%, 7em);
  top: 50%;
  left: 50%;
  z-index: 5;
}

/* Top Start Circles */
.widget-circles-ts-earnwave {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.widget-circle-ts1 {
  width: 11em;
  top: 0;
  left: 0;
}

.widget-circle-ts2 {
  width: 7.5em;
  top: 1.75em;
  left: 1.75em;
}

.widget-circle-ts3 {
  width: 4em;
  top: 3.5em;
  left: 3.5em;
}

/* Widget Rays */
.widget-ray-earnwave {
  background-color: var(--ew-gray-150);
  mask-image: linear-gradient(to bottom, transparent, black, transparent);
  position: absolute;
  bottom: -15%;
  left: 50%;
  width: 2px;
  height: 10em;
  transform-origin: 50% 100%;
}

.widget-ray-earnwave:nth-child(1) {
  transform: rotate(-48deg) translateY(-18em);
}
.widget-ray-earnwave:nth-child(2) {
  transform: rotate(-36deg) translateY(-18em);
}
.widget-ray-earnwave:nth-child(3) {
  transform: rotate(-24deg) translateY(-18em);
}
.widget-ray-earnwave:nth-child(4) {
  transform: rotate(-12deg) translateY(-18em);
}
.widget-ray-earnwave:nth-child(5) {
  transform: rotate(0deg) translateY(-18em);
}
.widget-ray-earnwave:nth-child(6) {
  transform: rotate(12deg) translateY(-18em);
}
.widget-ray-earnwave:nth-child(7) {
  transform: rotate(24deg) translateY(-18em);
}
.widget-ray-earnwave:nth-child(8) {
  transform: rotate(36deg) translateY(-18em);
}

/* Widget Graph */
.widget-graph-earnwave {
  display: block;
  position: absolute;
  bottom: 0.75em;
  right: 0.75em;
  width: 75%;
  max-width: 18em;
  height: auto;
  color: var(--ew-accent);
}

/* Widget Switch */
.widget-switch-earnwave {
  margin: 1.5em 0 2em;
}

.switch-earnwave {
  display: inline-block;
  position: relative;
}

.switch-input-earnwave {
  background-color: var(--ew-gray-200);
  border-radius: 1.25em;
  box-shadow: 0 0 0.0625em 0.0625em var(--ew-shadow) inset,
    0 0 0.0625em 0.125em var(--ew-shadow);
  cursor: pointer;
  display: block;
  position: relative;
  width: 4em;
  height: 2.5em;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color 0.3s var(--ew-ease-inout);
}

.switch-input-earnwave:before {
  background-color: white;
  border-radius: 50%;
  box-shadow: 0.125em -0.125em 0.25em var(--ew-gray-100) inset,
    0 0 0.0625em 0.125em var(--ew-shadow);
  content: "";
  display: block;
  position: absolute;
  top: 0.25em;
  left: 0.25em;
  width: 2em;
  height: 2em;
  transition: transform 0.3s var(--ew-ease-inout);
}

.switch-input-earnwave:checked {
  background-color: var(--ew-gray-600);
}

.switch-input-earnwave:checked:before {
  transform: translateX(1.5em);
}

/* Source Icons */
.source-icons-earnwave {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1em;
  margin: 2em 0;
  width: 500px;
  max-width: 20em;
}

.source-icon-earnwave {
  width: 15%;
  min-width: 48px;
  max-width: 56px;
  filter: drop-shadow(0 0.25em 0.125em var(--ew-shadow));
  color: var(--ew-gray-300);
}

.source-icon-earnwave.icon-hover {
  transform: scale(1.1);
}

.source-icons-earnwave {
  position: relative;
  width: 500px;
  max-width: 24em;
  height: 8em;
  margin: 2em auto;
  z-index: 2;
}

.back-front-layer-earnwave {
  margin-top: 3em;
  z-index: 0;
}

.source-icon--front {
  width: 22%;
  min-width: 64px;
  max-width: 72px;
  color: var(--ew-accent);
}

/* Widget Graphics */
.widget-graphic-wrap-earnwave {
  margin: 1em auto 2em;
  position: relative;
  width: 100%;
  max-width: 12em;
}

.widget-fake-icon-earnwave {
  font-size: 1em;
  margin-bottom: 1em;
}

.question-tags-earnwave {
  display: block;
  width: 100%;
  height: auto;
  color: var(--ew-gray-700);
}

/* Widget Actions */
.widget-actions-earnwave {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-top: auto;
}

.widget-link-earnwave {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: var(--ew-gray-900);
  text-decoration: none;
  font-weight: 600;
  transition: all 200ms;
  justify-content: center;
}

.widget-link-earnwave:hover {
  color: var(--ew-accent);
  gap: 0.75em;
}

/* Animation Classes */
.hero-animate-1,
.hero-animate-2,
.hero-animate-3,
.hero-animate-4,
.hero-animate-5 {
  opacity: 0;
}

.hero-animate-1 {
  animation: fadePopOut 1s 0.3s var(--ew-ease-out) forwards;
}
.hero-animate-2 {
  animation: fadePopOut 1s 0.4s var(--ew-ease-out) forwards;
}
.hero-animate-3 {
  animation: fadePopOut 1s 0.5s var(--ew-ease-out) forwards;
}
.hero-animate-4 {
  animation: fadePopOut 1s 0.6s var(--ew-ease-out) forwards;
}
.hero-animate-5 {
  animation: fadePopOut 1s 0.7s var(--ew-ease-out) forwards;
}

/* Animations */
@keyframes fadePopOut {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeSlideUpFar {
  from {
    opacity: 0;
    transform: translateY(12em);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeRollInLeft {
  from {
    opacity: 0;
    transform: translate(-15%, 15%) rotateX(10deg) rotateY(5deg);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) rotateX(0);
  }
}

@keyframes fadeRollInMiddle {
  from {
    opacity: 0;
    transform: translate(0, 15%) rotateX(10deg);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) rotateX(0);
  }
}

@keyframes fadeRollInRight {
  from {
    opacity: 0;
    transform: translate(15%, 15%) rotateX(10deg) rotateY(-5deg);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) rotateX(0);
  }
}

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

/* Desktop Layout */
@media (min-width: 768px) {
  .hero-mobile-toggle {
    display: none;
  }

  .widgets-grid-earnwave {
    grid-template-columns: 1fr 1.25fr 1fr;
  }

  .widget-entering-earnwave:nth-child(1) {
    animation-name: fadeRollInLeft;
    animation-delay: 1s;
  }

  .widget-entering-earnwave:nth-child(2) {
    animation-delay: 0.7s;
  }

  .widget-entering-earnwave:nth-child(3) {
    animation-name: fadeRollInRight;
    animation-delay: 1s;
  }
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .hero-header-earnwave {
    padding: 1em 0;
  }

  .hero-mobile-toggle {
    display: block;
  }

  .hero-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ew-gray-50);
    flex-direction: column;
    align-items: flex-start;
    padding: 5em 1.5em 2em;
    transform: translateX(-100%);
    transition: transform 0.3s var(--ew-ease-out);
    overflow-y: auto;
    z-index: 1000;
  }

  .hero-nav.active {
    transform: translateX(0);
  }

  .hero-nav-link {
    width: 100%;
    padding: 1em;
    font-size: 1.1rem;
  }

  .hero-nav-actions {
    width: 100%;
    flex-direction: column;
    margin-left: 0;
    margin-top: 1em;
    gap: 0.75em;
  }

  .hero-nav-link-auth,
  .btn-hero-nav-primary {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 1em;
  }

  .hero-container-earnwave {
    padding: 1em 1.5em 0;
  }

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

  .hero-cta-earnwave {
    flex-direction: column;
    width: 100%;
  }

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

  .widgets-section-earnwave {
    padding: 0 1em 3em;
  }

  .widgets-grid-earnwave {
    grid-template-columns: 1fr;
    gap: 1.5em;
  }

  .widget-earnwave {
    padding: 1.5em;
    min-height: 18em;
  }

  .widget-entering-earnwave:nth-child(1),
  .widget-entering-earnwave:nth-child(2),
  .widget-entering-earnwave:nth-child(3) {
    animation-name: fadeRollInMiddle;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-logo img,
  .hero-logo svg {
    width: 80px;
  }

  .hero-title-earnwave {
    font-size: 2rem;
  }

  .widget-amount--lg {
    font-size: 3rem;
  }

  .source-icons-earnwave {
    max-width: 20em;
  }

  .widget-graphic-wrap-earnwave {
    max-width: 10em;
  }
}

/* ============================================
   WIDGET FIXES
   ============================================ */

/* Widget 1 - Remove circle wrap, keep content clean */
.widget-earnwave:first-child .widget-circle-wrap-earnwave {
  display: none;
}

/* Widget 2 - Company Icons Layering */
.source-icons-earnwave {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
}

.source-icon-earnwave {
  position: absolute;
  width: 3.5em;
  filter: drop-shadow(0 0.25em 0.125em var(--ew-shadow));
  transition: transform 0.3s var(--ew-ease-out);
}

.source-icon-earnwave svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Back layer icons - behind second circle */
.source-icon-back:nth-child(1) {
  left: 20%;
  bottom: 0;
  z-index: 1;
}

.source-icon-back:nth-child(2) {
  right: 20%;
  bottom: 0;
  z-index: 1;
}

/* Front layer icons - behind third circle */
.source-icon-front:nth-child(3) {
  left: 35%;
  bottom: 0.5em;
  width: 4.5em;
  z-index: 3;
}

.source-icon-front:nth-child(4) {
  right: 35%;
  bottom: 0.5em;
  width: 4.5em;
  z-index: 3;
}

/* Adjust circle z-indexes for proper layering */
.widget-circle-bc1 {
  z-index: 0;
}

.widget-circle-bc2 {
  z-index: 2;
}

.widget-circle-bc3 {
  z-index: 4;
}

/* Widget 3 Fixes */
.widget-circles-ts-earnwave {
  position: absolute;
  top: 0.5em;
  left: 0.5em;
  pointer-events: none;
  z-index: 1;
}

.widget-circle-ts1 {
  width: 11em;
  top: 0;
  left: 0;
}

.widget-circle-ts2 {
  width: 7.5em;
  top: 1.75em;
  left: 1.75em;
}

.widget-circle-ts3 {
  width: 4em;
  top: 3.5em;
  left: 3.5em;
}

/* Refresh Icon */
.widget-refresh-icon-earnwave {
  position: absolute;
  top: 0.75em;
  left: 0.75em;
  width: 2.5em;
  height: 2.5em;
  z-index: 1;
}

/* Question Tags - Larger Size */
.question-tags-earnwave {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  color: var(--ew-gray-700);
  margin: 1em 0;
  position: relative;
  z-index: 2;
}

.widget-graphic-wrap-earnwave {
  margin: 0 auto 1.5em;
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 10em;
}

/* Widget Actions - Flex Row */
.widget-actions-earnwave {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
  margin-top: auto;
  width: 100%;
}

.widget-description-earnwave {
  font-size: 1em;
  line-height: 1.6;
  color: var(--ew-gray-700);
  margin: 0;
  flex: 1;
}

.widget-link-earnwave {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: #181818;
  text-decoration: none;
  font-weight: 700;
  transition: all 200ms;
  flex-shrink: 0;
}

.widget-link-icon-earnwave {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2em;
  height: 2em;
  background: #e2e8e9;
  border-radius: 20%;
  transition: all 200ms;
}

.widget-link-icon-earnwave svg {
  width: 1.3em;
  height: 1.3em;
}

.widget-link-earnwave:hover {
  color: var(--ew-accent);
}

.widget-link-earnwave:hover .widget-link-icon-earnwave {
  background: var(--ew-gray-200);
  color: #181818;
}

/* Mobile Responsive for Widget 3 */
@media (max-width: 767px) {
  .widget-circles-ts-earnwave {
    top: 1em;
    left: 1em;
  }

  .widget-circle-ts1 {
    width: 8em;
  }

  .widget-circle-ts2 {
    width: 5.5em;
  }

  .widget-circle-ts3 {
    width: 3em;
  }

  .widget-actions-earnwave {
    flex-direction: column;
    align-items: flex-start;
  }

  .widget-link-earnwave {
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .question-tags-earnwave {
    transform: scale(0.85);
    transform-origin: center;
  }

  .source-icons-earnwave {
    max-width: 16em;
    height: 4em;
  }

  .source-icon-earnwave {
    width: 2.8em;
  }

  .source-icon-front:nth-child(3),
  .source-icon-front:nth-child(4) {
    width: 3.5em;
  }
}

/* ============================================
   EARNWAVE HERO FIXES
   ============================================ */

/* Fix widget height to match template */
.widget-earnwave {
  min-height: 18em !important; /* Shorter height like template */
  padding: 2em !important;
}

/* Fix first card metrics layout */
.widget-metrics-earnwave {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.widget-metric-earnwave {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.widget-metric-earnwave:first-child {
  margin-bottom: 0.75em;
}

/* Fix source icons positioning and layering */
.source-icons-earnwave {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.source-icon-earnwave {
  position: absolute;
  filter: drop-shadow(0 0.25em 0.125em var(--ew-shadow));
  transition: transform 0.3s var(--ew-ease-out);
}

.source-icon-earnwave svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Back layer positioning */
.source-icon--back:nth-child(1) {
  width: 15%;
  max-width: 3.5em;
  left: 10%;
  bottom: 0;
  z-index: 1;
}

.source-icon--back:nth-child(2) {
  width: 15%;
  max-width: 3.5em;
  right: 10%;
  bottom: 0;
  z-index: 1;
}

/* Front layer positioning */
.source-icon--front:nth-child(3) {
  width: 22%;
  max-width: 5.25em;
  left: 30%;
  bottom: 1em;
  z-index: 3;
}

.source-icon--front:nth-child(4) {
  width: 22%;
  max-width: 5.25em;
  right: 30%;
  bottom: 1em;
  z-index: 3;
}

/* Fix App Store button styling */
.btn-earnwave--apple {
  background-color: var(--ew-gray-700);
  color: white;
  border-radius: 2em;
  padding: 0.875em 1.375em;
  padding-inline-end: 1.875em;
  text-align: start;
  z-index: 9;
  box-shadow: 0 0.125em 0.125em var(--ew-shadow) inset,
    0 -0.125em 0 var(--ew-shadow);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 1em;
}

.btn-earnwave--apple:hover {
  background-color: var(--ew-gray-600);
}

.btn__label-group {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
}

.btn__label {
  font-size: 1.25em;
  line-height: 1;
}

.btn-earnwave--apple small {
  font-size: 0.7em;
  font-weight: 300;
  line-height: 1;
}

/* Fix widget actions layout */
.widget-actions-earnwave {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5em;
  margin-top: auto;
  width: 100%;
}

.widget-description-earnwave {
  font-size: 1em;
  line-height: 1.6;
  color: var(--ew-gray-700);
  margin: 0;
  flex: 1;
}

.widget-link-earnwave {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: var(--ew-gray-900);
  text-decoration: none;
  font-weight: 600;
  transition: all 200ms;
  flex-shrink: 0;
  padding: 0.5em;
  border-radius: 0.625em;
  background-color: var(--ew-gray-100);
}

.widget-link-earnwave:hover {
  background-color: var(--ew-gray-200);
  color: var(--ew-gray-900);
}

/* Fix question tags positioning */
.widget-graphic-wrap-earnwave {
  margin: 0 auto 1.5em;
  position: relative;
  width: 100%;
  max-width: 20em;
  min-height: 12em;
}

.widget-fake-icon-earnwave {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  font-size: 2.5em;
}

.question-tags-earnwave {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 2em;
}

/* Fix circle layering for proper icon positioning */
.widget-circle-bc1 {
  z-index: 2;
}
.widget-circle-bc2 {
  z-index: 4;
}
.widget-circle-bc3 {
  z-index: 5;
}

/* Mobile responsive fixes */
@media (max-width: 767px) {
  .widget-metrics-earnwave {
    gap: 0.75em;
  }

  .widget-metric-earnwave {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25em;
  }

  .source-icons-earnwave {
    max-width: 20em;
    height: 7em;
  }

  .widget-actions-earnwave {
    flex-direction: column;
    align-items: flex-start;
    gap: 1em;
  }

  .widget-link-earnwave {
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .source-icons-earnwave {
    max-width: 12em;
    height: 6em;
  }

  .source-icon--back {
    width: 20% !important;
  }

  .source-icon--front {
    width: 12% !important;
  }
}

.widget-metric-earnwave.faang-metric-earnwave {
  flex-direction: column;
  align-items: flex-start;
}

.widget-amount-earnwave.widget-amount--md {
  font-size: 2rem;
}

/* Fix for first card metrics layout */
.widget-metrics-earnwave {
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  margin-bottom: 1.5em;
}

.widget-metric-earnwave {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.source-icon-earnwave {
  position: absolute;
  filter: drop-shadow(0 0.25em 0.125em var(--ew-shadow));
  transition: transform 0.3s var(--ew-ease-out);
}

/* Back layer positioning - behind second circle */
.source-icon--back.source-icon--meta {
  width: 25%;
  max-width: 5em;
  left: 5%;
  bottom: -7.5em;
  z-index: 2; /* Behind second circle */
}

.source-icon--back.source-icon--apple {
  width: 25%;
  max-width: 5em;
  right: 5%;
  bottom: -7.5em;
  z-index: 2; /* Behind second circle */
}

/* Front layer positioning - behind third circle */
.source-icon--front.source-icon--amazon {
  width: 15%;
  max-width: 3em;
  left: 30%;
  bottom: 3.75em;
  z-index: 0; /* Behind third circle */
}

.source-icon--front.source-icon--google {
  width: 15%;
  max-width: 3em;
  right: 30%;
  bottom: 3.75em;
  z-index: 0; /* Behind third circle */
}

.hero-cta-earnwave.hero-animate-5 {
  z-index: 8;
}

/* Fix circle z-indexes for proper layering */
.widget-circle-bc1 {
  z-index: 1;
}
.widget-circle-bc2 {
  z-index: 3;
} /* Icons with z-index:1 are behind this */
.widget-circle-bc3 {
  z-index: 5;
} /* Icons with z-index:3 are behind this */

/* Fix refresh icon position in third card */
.widget-fake-icon-earnwave {
  position: absolute;
  top: 0em;
  left: 0em;
  width: 2.5em;
  height: 2.5em;
  z-index: 0;
}

/* Ensure circles in third card have proper z-index */
.widget-circle-ts1 {
  z-index: 1;
}
.widget-circle-ts2 {
  z-index: 2;
}
.widget-circle-ts3 {
  z-index: 3;
}

.widget-graph-earnwave {
  display: block;
  position: absolute;
  bottom: 0.75em;
  right: 0.75em;
  width: 75%;
  max-width: 18em;
  height: auto;
  color: var(--ew-accent);
  overflow: visible;
}

.widget-graph-earnwave g {
  overflow: visible;
}

/* ============================================
   AI INTERACTION VISUALIZER - PURE CSS
   ============================================ */

@property --a {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}

@property --l {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

@property --x {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}

@property --y {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}

@property --o {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

@property --value {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}

@property --width-ratio {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

@property --scale {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

:root {
  --count: 4;
  --radius: 6vmin;
  --width: 1vmin;
  --duration: 8s;
}

/* AI Container */
.ai-visualizer {
  --s: 40vmin;
  --p: calc(var(--s) / 4);
  width: var(--s);
  aspect-ratio: 1;
  --bg-color: color-mix(in srgb, #7b7bf4, transparent 90%);
  background: radial-gradient(
      60% 75% at center,
      var(--bg-color) 50%,
      transparent 50%
    ),
    radial-gradient(75% 60% at center, var(--bg-color) 50%, transparent 50%);
  padding: var(--p);
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 50%;
  transform: scale(1.4);
}

.ai-visualizer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%);
  z-index: 0;
}

/* backdrop and transparency */
.technical-stage-wrapper {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(50px);
}

/* Animation */
@keyframes ai {
  from {
    --a: 360deg;
    --l: 0.35;
    --o: 1;
  }
  30% {
    --l: 1.5;
  }
  70% {
    --o: 0.4;
    --l: 0.05;
  }
  98% {
    --o: 0.7;
  }
  to {
    --a: 0deg;
    --l: 0.35;
    --o: 1;
  }
}

/* Circles */
.ai-visualizer .c {
  opacity: 0.9;
  position: absolute;
  width: 10vmin;
  aspect-ratio: 1;
  border-radius: 50%;
  --offset-per-item: calc(360deg / var(--count));
  --current-angle-offset: calc(var(--offset-per-item) * var(--i) + var(--a));
  translate: calc(
      cos(var(--current-angle-offset)) * var(--radius) + var(--x, 0)
    )
    calc(sin(var(--current-angle-offset)) * var(--radius) * -1);
  scale: calc(0.6 + var(--l));
  animation: ai 5.5s cubic-bezier(0.45, -0.35, 0.16, 1.5) infinite;
  transition: opacity 0.3s linear;
  opacity: var(--o, 1);
}

.ai-visualizer .c:nth-child(1) {
  --i: 0;
}
.ai-visualizer .c:nth-child(2) {
  --i: 1;
}
.ai-visualizer .c:nth-child(3) {
  --i: 2;
}
.ai-visualizer .c:nth-child(4) {
  --i: 3;
}
.ai-visualizer .c:nth-child(5) {
  --i: 4;
}

.ai-visualizer .c1 {
  background: radial-gradient(50% 50% at center, #c979ee, #74bcd6);
  --x: 1vmin;
  width: 16vmin;
  animation-timing-function: cubic-bezier(0.12, 0.32, 0.68, 0.24);
}

.ai-visualizer .c2 {
  background: radial-gradient(50% 50% at center, #ef788c, #e7e7fb);
  width: 15vmin;
}

.ai-visualizer .c3 {
  background: radial-gradient(50% 50% at center, #eb7fc6, transparent);
  width: 5vmin;
  opacity: 0.6;
  --x: -1vmin;
}

.ai-visualizer .c4 {
  background: #6d67c8;
  animation-timing-function: cubic-bezier(0.39, -0.03, 0.75, 0.47);
}

/* Container */
.ai-visualizer .container {
  overflow: hidden;
  background: #b6a9f8;
  width: 100%;
  border-radius: 50%;
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
}

/* Glass Effect */
.ai-visualizer .glass {
  overflow: hidden;
  position: absolute;
  --w: 0.5vmin;
  inset: calc(var(--p) - var(--w));
  border-radius: 50%;
  backdrop-filter: blur(1.3vmin);
  box-shadow: 0 0 8vmin color-mix(in srgb, black, transparent 70%);
  background: radial-gradient(
    10vmin at 70% 30%,
    rgba(255, 255, 255, 0.7),
    transparent
  );
}

.ai-visualizer .glass::after {
  content: "";
  position: absolute;
  inset: 0;
  --c: rgba(255, 255, 255, 0.03);
  --w: 0.0625rem;
  --g: 0.1875rem;
  background: repeating-linear-gradient(
    var(--c),
    var(--c),
    var(--w),
    transparent var(--w),
    transparent calc(var(--w) + var(--g))
  );
  border-radius: inherit;
  border: 1vmin rgba(255, 255, 255, 0.1) solid;
}

/* Rings */
.ai-visualizer .rings {
  aspect-ratio: 1;
  border-radius: 50%;
  position: absolute;
  inset: 0;
  perspective: 11rem;
  opacity: 0.9;
}

.ai-visualizer .rings::before,
.ai-visualizer .rings::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 0, 0, 1);
  border-radius: 50%;
  --width-ratio: 1;
  border: calc(var(--width) * var(--width-ratio)) solid transparent;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  background: linear-gradient(white, blue, magenta, violet, lightyellow)
    border-box;
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  animation: ring var(--duration) ease-in-out infinite;
  --start: 180deg;
  --value: var(--start);
  --scale: 1;
  transform: rotateY(var(--value)) rotateX(var(--value)) rotateZ(var(--value))
    scale(var(--scale));
}

.ai-visualizer .rings::before {
  --start: 180deg;
}

.ai-visualizer .rings::after {
  --start: 90deg;
}

@keyframes ring {
  from {
    --value: var(--start);
    --scale: 1;
  }
  50% {
    --scale: 1.2;
    --width-ratio: 1.5;
  }
  70% {
    --scale: 1;
    --value: calc(var(--start) + 180deg);
    --width-ratio: 1;
  }
  80% {
    --scale: 1.2;
    --width-ratio: 1.5;
  }
  to {
    --value: calc(var(--start) + 360deg);
    --scale: 1;
    --width-ratio: 1;
  }
}

/* ============================================
   INTEGRATION STYLES FOR TECHNICAL SECTION
   ============================================ */

/* Update tech center icon to be larger container */
.tech-center-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  pointer-events: none;
}

/* Center text moved below visualizer */
.tech-center-text {
  font-size: clamp(1.5rem, 1vw, 1.5rem);
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  max-width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(
      135deg,
      rgb(78, 105, 135) 0%,
      rgb(15, 51, 89) 25%,
      rgb(15, 51, 89) 50%,
      rgb(93, 46, 93) 65%,
      rgb(71, 1, 71) 75%,
      rgb(15, 51, 89) 90%,
      rgb(78, 105, 135) 100%
    )
    0% 0% / 200% text;
  animation: 4s linear 0s infinite normal none running shimmer;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* Make visualizer responsive */
@media (max-width: 768px) {
  .ai-visualizer {
    --s: 50vmin;
    transform: scale(1.2);
  }

  .tech-center-text {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .ai-visualizer {
    --s: 60vmin;
    transform: scale(1);
  }

  .ai-visualizer {
    left: 20%;
    bottom: 25%;
  }

  .tech-center-text {
    font-size: 1.25rem;
  }

  .bg-shape-left-earnwave {
    left: -11%;
  }

  .bg-shape-right-earnwave {
    right: -11%;
  }
}

/* ============================================
   MOBILE RESPONSIVE IMPROVEMENTS
   ============================================ */

/* Desktop Layout */
@media (min-width: 768px) {
  .hero-mobile-toggle {
    display: none !important;
  }

  .widgets-grid-earnwave {
    grid-template-columns: 1fr 1.25fr 1fr;
  }
}

/* Tablet and Mobile */
@media (max-width: 767px) {
  .hero-header-earnwave {
    padding: 1em 0;
  }

  .hero-mobile-toggle {
    display: block;
  }

  .hero-section-earnwave.toggle-active .hero-nav {
    background: var(--toggle-gray-50);
  }

  .hero-nav.active {
    transform: translateX(0);
  }

  .hero-nav-link {
    width: 100%;
    padding: 1em;
    font-size: 1.1rem;
  }

  .hero-nav-actions {
    width: 100%;
    flex-direction: column;
    margin-left: 0;
    margin-top: 1em;
    gap: 0.75em;
  }

  .hero-nav-link-auth,
  .btn-hero-nav-primary {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 1em;
  }

  .hero-container-earnwave {
    padding: 1em 1.5em 0;
  }

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

  .hero-cta-earnwave {
    flex-direction: column;
    width: 70%;
    margin: auto;
  }

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

  .widgets-section-earnwave {
    padding: 0 1em 3em;
  }

  .widgets-grid-earnwave {
    grid-template-columns: 1fr;
    gap: 1.5em;
  }

  /* Increase widget heights for mobile */
  .widget-earnwave {
    padding: 2em;
    min-height: 22em !important;
  }

  .widget-earnwave--centered {
    min-height: 28em !important;
  }

  /* Adjust first widget graph for mobile */
  .widget-graph-earnwave {
    bottom: 1em;
    right: 0.5em;
    width: 70%;
    max-width: 14em;
  }

  .widget-metrics-earnwave {
    max-width: 55%;
  }

  /* Company icons mobile adjustments */
  .source-icons-earnwave {
    height: 14em;
    max-width: 24em;
  }

  .source-icon--back.source-icon--meta,
  .source-icon--back.source-icon--apple {
    width: 30%;
    max-width: 4em;
  }

  .source-icon--front.source-icon--amazon,
  .source-icon--front.source-icon--google {
    width: 15%;
    max-width: 2.5em;
  }

  /* Ensure dashboard button is visible */
  .hero-cta-earnwave {
    margin-bottom: 2em;
  }

  .widget-entering-earnwave:nth-child(1),
  .widget-entering-earnwave:nth-child(2),
  .widget-entering-earnwave:nth-child(3) {
    animation-name: fadeRollInMiddle;
  }

  .source-icon--front {
    min-width: 15%;
  }
}

/* Small Mobile - Further adjustments */
@media (max-width: 480px) {
  .hero-logo img,
  .hero-logo svg {
    width: 80px;
  }

  .hero-title-earnwave {
    font-size: 2rem;
  }

  .widget-amount--lg {
    font-size: 3rem;
  }

  /* Ensure widgets aren't too cramped */
  .widget-earnwave {
    min-height: 24em !important;
    padding: 1.75em;
  }

  .widget-earnwave--centered {
    min-height: 32em !important;
  }

  /* Company icons - maintain visibility */
  .source-icons-earnwave {
    height: 16em;
    max-width: 20em;
  }

  .source-icon--back.source-icon--meta {
    left: 5%;
    bottom: -6em;
  }

  .source-icon--back.source-icon--apple {
    right: 5%;
    bottom: -6em;
  }

  .source-icon--front.source-icon--amazon {
    left: 30%;
    bottom: 7em;
  }

  .source-icon--front.source-icon--google {
    right: 30%;
    bottom: 7em;
  }

  /* Adjust graph for small screens */
  .widget-graph-earnwave {
    width: 75%;
    max-width: 12em;
  }

  .widget-metrics-earnwave {
    max-width: 50%;
  }

  /* Widget actions responsive */
  .widget-actions-earnwave {
    flex-direction: column;
    align-items: flex-start;
    gap: 1em;
  }

  .widget-link-earnwave {
    align-self: flex-start;
  }

  /* Question tags scaling */
  .question-tags-earnwave {
    transform: scale(0.9);
    transform-origin: center;
  }
}

/* Very Small Mobile - 375px and below */
@media (max-width: 375px) {
  .hero-title-earnwave {
    font-size: 1.75rem;
  }

  .widget-earnwave {
    min-height: 26em !important;
  }

  .widget-earnwave--centered {
    min-height: 34em !important;
  }

  .source-icons-earnwave {
    height: 18em;
  }

  .widget-amount--lg {
    font-size: 2.5rem;
  }

  .source-icon--front.source-icon--amazon {
    left: 30%;
    bottom: 8em;
  }

  .source-icon--front.source-icon--google {
    right: 30%;
    bottom: 8em;
  }
}

/* Landscape Mobile Adjustments */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-section-earnwave {
    min-height: auto;
  }

  .widget-earnwave {
    min-height: 20em !important;
  }

  .widget-earnwave--centered {
    min-height: 24em !important;
  }

  .source-icons-earnwave {
    height: 12em;
  }
}

/* Fix for widget content visibility on mobile */
@media (max-width: 767px) {
  .widget-content-earnwave {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  /* Ensure CTA button stays visible */
  .hero-cta-earnwave.hero-animate-5 {
    z-index: 8;
    position: relative;
  }
}

@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .hero-section-earnwave {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .hero-header-earnwave {
    padding: 1em 0;
    max-width: 100vw;
    overflow: hidden;
  }

  .hero-header-container {
    max-width: 100%;
    padding: 0 1em;
    box-sizing: border-box;
  }
}

.hero-badge-earnwave svg path {
  fill: orange;
}

/* ============================================
   AI TOGGLE ANIMATION STYLES
   ============================================ */

/* Toggle Message */

/* Toggle Message - Paper with Dog-Ear Design */
.widget-switch-earnwave {
  position: relative;
  margin: 1.5em 0 2em;
}

.toggle-message-earnwave {
  position: absolute;
  top: calc(100% + 0.5em);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  opacity: 0;
  width: 100%;
  max-width: 300px;
  visibility: hidden;
  white-space: normal;
  font-size: 0.9em;
  font-weight: 600;
  color: #2c3e50;
  background: #ffffff;
  padding: 0.8em 1.4em 0.8em 1.2em;
  border-radius: 20px;
  transition: all 0.4s var(--ew-ease-out);
  z-index: 10;
  pointer-events: none;
  background-image: linear-gradient(
      0deg,
      transparent 95%,
      rgba(0, 0, 0, 0.03) 100%
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 1.2em,
      rgba(100, 150, 200, 0.08) 1.2em,
      rgba(100, 150, 200, 0.08) calc(1.2em + 1px)
    );
}

/* Paper texture overlay */
.toggle-message-earnwave::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 20% 30%,
      rgba(0, 0, 0, 0.02) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(0, 0, 0, 0.015) 1px,
      transparent 1px
    ),
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.01) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px, 7px 7px;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0.5;
}

/* Dog-eared corner */
.toggle-message-earnwave::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 20px 20px 0;
  border-color: transparent #ecf0f1 transparent transparent;
  border-radius: 0 20px 0 0;
  box-shadow: -2px 2px 3px rgba(0, 0, 0, 0.1),
    inset -1px 1px 1px rgba(255, 255, 255, 0.5);
  transition: all 0.3s var(--ew-ease-out);
}

/* Folded corner shadow effect */
.toggle-message-earnwave {
  background: linear-gradient(
      135deg,
      transparent 0%,
      transparent calc(100% - 20px),
      rgba(0, 0, 0, 0) calc(100% - 20px)
    ),
    #ffffff;
}

/* Active state - show message with lift effect */
.widget-earnwave.toggle-active .toggle-message-earnwave {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Hover effect - lift the corner slightly */
.widget-earnwave.toggle-active .toggle-message-earnwave::after {
  border-width: 0 22px 22px 0;
  box-shadow: -3px 3px 5px rgba(0, 0, 0, 0.15),
    inset -1px 1px 2px rgba(255, 255, 255, 0.6);
}

/* Company Icons Animation */
.source-icons-earnwave {
  transition: transform 0.3s var(--ew-ease-out);
}

.widget-earnwave.toggle-active
  .source-icons-earnwave
  .source-icon--back.source-icon--meta {
  transform: translateY(3.5em) translateX(-1.5em);
}
3
  .widget-earnwave.toggle-active
  .source-icons-earnwave
  .source-icon--back.source-icon--meta.icon-hover {
  transform: translateY(3.5em) translateX(-1.5em) scale(1.1);
}

.widget-earnwave.toggle-active
  .source-icons-earnwave
  .source-icon--back.source-icon--apple {
  transform: translateY(3.5em) translateX(1.5em);
}

.widget-earnwave.toggle-active
  .source-icons-earnwave
  .source-icon--back.source-icon--apple.icon-hover {
  transform: translateY(3.5em) translateX(1.5em) scale(1.1);
}

.widget-earnwave.toggle-active
  .source-icons-earnwave
  .source-icon--front.source-icon--amazon {
  transform: translateY(3.5em) translateX(-0.5em);
}

.widget-earnwave.toggle-active
  .source-icons-earnwave
  .source-icon--front.source-icon--amazon.icon-hover {
  transform: translateY(3.5em) translateX(-0.5em) scale(1.1);
}

.widget-earnwave.toggle-active
  .source-icons-earnwave
  .source-icon--front.source-icon--google {
  transform: translateY(3.5em) translateX(0.5em);
}

.widget-earnwave.toggle-active
  .source-icons-earnwave
  .source-icon--front.source-icon--google.icon-hover {
  transform: translateY(3.5em) translateX(0.5em) scale(1.1);
}

/* Adjust individual icon positions when active */
.widget-earnwave.toggle-active .source-icon--back.source-icon--meta {
  transition: all 0.3s var(--ew-ease-out);
}

.widget-earnwave.toggle-active .source-icon--back.source-icon--apple {
  transition: all 0.3s var(--ew-ease-out);
}

/* Amazon and Google - increase z-index and reposition */
.source-icon--front.source-icon--amazon,
.source-icon--front.source-icon--google {
  transition: all 0.3s var(--ew-ease-out);
}

.widget-earnwave.toggle-active .source-icon--front.source-icon--amazon {
  z-index: 3 !important;
  left: 20%;
  bottom: 3em;
}

.widget-earnwave.toggle-active .source-icon--front.source-icon--google {
  z-index: 3 !important;
  right: 20%;
  bottom: 3em;
}

/* Circles Animation - move down */
.widget-circle-bc1,
.widget-circle-bc2,
.widget-circle-bc3 {
  transition: transform 0.3s var(--ew-ease-out);
}

.widget-earnwave.toggle-active .widget-circle-bc1 {
  transform: translate(-50%, 2em);
}

.widget-earnwave.toggle-active .widget-circle-bc2 {
  transform: translate(-50%, 5.5em);
}

.widget-earnwave.toggle-active .widget-circle-bc3 {
  transform: translate(-50%, 9em);
}

/* Rays Animation - subtle response */
.widget-ray-earnwave {
  transition: opacity 0.5s var(--ew-ease-out), transform 0.5s var(--ew-ease-out);
}

.widget-earnwave.toggle-active .widget-ray-earnwave:nth-child(1) {
  transform: rotate(-48deg) translateY(-19em);
  opacity: 0.7;
}

.widget-earnwave.toggle-active .widget-ray-earnwave:nth-child(2) {
  transform: rotate(-36deg) translateY(-19em);
  opacity: 0.8;
}

.widget-earnwave.toggle-active .widget-ray-earnwave:nth-child(3) {
  transform: rotate(-24deg) translateY(-19em);
  opacity: 0.9;
}

.widget-earnwave.toggle-active .widget-ray-earnwave:nth-child(4) {
  transform: rotate(-12deg) translateY(-19em);
  opacity: 1;
}

.widget-earnwave.toggle-active .widget-ray-earnwave:nth-child(5) {
  transform: rotate(0deg) translateY(-19em);
  opacity: 1;
}

.widget-earnwave.toggle-active .widget-ray-earnwave:nth-child(6) {
  transform: rotate(12deg) translateY(-19em);
  opacity: 1;
}

.widget-earnwave.toggle-active .widget-ray-earnwave:nth-child(7) {
  transform: rotate(24deg) translateY(-19em);
  opacity: 0.9;
}

.widget-earnwave.toggle-active .widget-ray-earnwave:nth-child(8) {
  transform: rotate(36deg) translateY(-19em);
  opacity: 0.8;
}

/* Button Size Animation */
.widget-earnwave.toggle-active .hero-cta-earnwave {
  transition: transform 0.4s var(--ew-ease-out);
  transform: scale(0.95);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .toggle-message-earnwave {
    white-space: normal;
    text-align: center;
  }

  .widget-earnwave.toggle-active .widget-circle-bc1 {
    transform: translate(-50%, 3em);
  }

  .widget-earnwave.toggle-active .widget-circle-bc2 {
    transform: translate(-50%, 6.5em);
  }

  .widget-earnwave.toggle-active .widget-circle-bc3 {
    transform: translate(-50%, 10em);
  }

  .widget-earnwave.toggle-active
    .source-icons-earnwave
    .source-icon--back.source-icon--meta {
    transform: translateY(3.5em) translateX(-1.5em);
  }

  .widget-earnwave.toggle-active
    .source-icons-earnwave
    .source-icon--back.source-icon--meta.icon-hover {
    transform: translateY(3.5em) translateX(-1.5em) scale(1.1);
  }

  .widget-earnwave.toggle-active
    .source-icons-earnwave
    .source-icon--back.source-icon--apple {
    transform: translateY(3.5em) translateX(1.5em);
  }

  .widget-earnwave.toggle-active
    .source-icons-earnwave
    .source-icon--back.source-icon--apple.icon-hover {
    transform: translateY(3.5em) translateX(1.5em) scale(1.1);
  }

  .widget-earnwave.toggle-active
    .source-icons-earnwave
    .source-icon--front.source-icon--amazon {
    transform: translateY(0.5em) translateX(-0.5em);
  }

  .widget-earnwave.toggle-active
    .source-icons-earnwave
    .source-icon--front.source-icon--amazon.icon-hover {
    transform: translateY(0.5em) translateX(-0.5em) scale(1.1);
  }

  .widget-earnwave.toggle-active
    .source-icons-earnwave
    .source-icon--front.source-icon--google {
    transform: translateY(0.5em) translateX(0.5em);
  }

  .widget-earnwave.toggle-active
    .source-icons-earnwave
    .source-icon--front.source-icon--google.icon-hover {
    transform: translateY(0.5em) translateX(0.5em) scale(1.1);
  }

  .widget-title-earnwave {
    font-size: 1.2em;
    margin-bottom: 0.6rem;
  }
}

@media (max-width: 480px) {
  .toggle-message-earnwave {
    max-width: 300px;
  }

  .widget-earnwave.toggle-active .widget-circle-bc1 {
    transform: translate(-50%, 2em);
  }

  .widget-earnwave.toggle-active .widget-circle-bc2 {
    transform: translate(-50%, 5em);
  }

  .widget-earnwave.toggle-active .widget-circle-bc3 {
    transform: translate(-50%, 8em);
  }

  .widget-earnwave.toggle-active
    .source-icons-earnwave
    .source-icon--back.source-icon--meta {
    transform: translateY(2.5em) translateX(-0.5em);
  }

  .widget-earnwave.toggle-active
    .source-icons-earnwave
    .source-icon--back.source-icon--meta.icon-hover {
    transform: translateY(2.5em) translateX(-0.5em) scale(1.1);
  }

  .widget-earnwave.toggle-active
    .source-icons-earnwave
    .source-icon--back.source-icon--apple {
    transform: translateY(2.5em) translateX(0.5em);
  }

  .widget-earnwave.toggle-active
    .source-icons-earnwave
    .source-icon--back.source-icon--apple.icon-hover {
    transform: translateY(2.5em) translateX(0.5em) scale(1.1);
  }

  .widget-earnwave.toggle-active
    .source-icons-earnwave
    .source-icon--front.source-icon--amazon {
    transform: translateY(-0.5em) translateX(-0.2em);
  }

  .widget-earnwave.toggle-active
    .source-icons-earnwave
    .source-icon--front.source-icon--amazon.icon-hover {
    transform: translateY(-0.5em) translateX(-0.2em) scale(1.1);
  }

  .widget-earnwave.toggle-active
    .source-icons-earnwave
    .source-icon--front.source-icon--google {
    transform: translateY(-0.5em) translateX(0.2em);
  }

  .widget-earnwave.toggle-active
    .source-icons-earnwave
    .source-icon--front.source-icon--google.icon-hover {
    transform: translateY(-0.5em) translateX(0.2em) scale(1.1);
  }
}

@media (max-width: 375px) {
  .toggle-message-earnwave {
    max-width: 250px;
  }

  .widget-earnwave.toggle-active
    .source-icons-earnwave
    .source-icon--front.source-icon--amazon {
    transform: translateY(-1.5em) translateX(-0.2em);
  }

  .widget-earnwave.toggle-active
    .source-icons-earnwave
    .source-icon--front.source-icon--amazon.icon-hover {
    transform: translateY(-1.5em) translateX(-0.2em) scale(1.1);
  }

  .widget-earnwave.toggle-active
    .source-icons-earnwave
    .source-icon--front.source-icon--google {
    transform: translateY(-1.5em) translateX(0.2em);
  }

  .widget-earnwave.toggle-active
    .source-icons-earnwave
    .source-icon--front.source-icon--google.icon-hover {
    transform: translateY(-1.5em) translateX(0.2em) scale(1.1);
  }

  .widget-title-earnwave {
    font-size: 1.1em;
    margin-bottom: 0.6rem;
  }
}

/* ============================================
   TABLET SPECIFIC STYLES (768px - 1024px)
   ============================================ */

@media (min-width: 760px) and (max-width: 1024px) {
  .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;
  }

  /* Show Mobile Toggle on Tablet */
  .hero-mobile-toggle {
    display: block !important;
    z-index: 1001;
  }

  /* Hero Section - Full Screen Fit */
  .hero-section-earnwave {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  /* Hero Header */
  .hero-header-earnwave {
    padding: 1em 0;
    flex-shrink: 0;
  }

  .hero-header-container {
    padding: 0 1.5em;
  }

  .hero-nav {
    display: none;
  }

  .hero-nav.active {
    transform: translateY(0);
  }

  .hero-nav-link {
    width: 100%;
    padding: 0.9em 1em;
    font-size: 1rem;
    border-radius: 6px;
  }

  .hero-nav-actions {
    width: 100%;
    flex-direction: column;
    margin-left: 0;
    margin-top: 1em;
    gap: 0.75em;
  }

  .hero-nav-link-auth,
  .btn-hero-nav-primary {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.9em 1.2em;
  }

  /* Hero Container - Adjusted for better fit */
  .hero-container-earnwave {
    padding: 1em 1.5em 0;
    max-width: 100%;
    flex-shrink: 0;
  }

  .hero-content-earnwave {
    max-width: 700px;
    margin: 0 auto;
  }

  /* Hero Title */
  .hero-title-earnwave {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
  }

  /* Hero Description */
  .hero-description-earnwave {
    font-size: 1rem;
    margin-bottom: 1.5em;
  }

  /* Hero Badge */
  .hero-badge-earnwave {
    font-size: 13px;
    padding: 6px 14px;
    margin-bottom: 1em;
  }

  /* Locks */
  .locks-earnwave {
    margin: 1em auto 1.5em;
    gap: 0.6em;
  }

  .locks__center-dot-earnwave {
    width: 2em;
    height: 2em;
  }

  .locks__center-dot-earnwave svg {
    width: 1.2em;
    height: 1.2em;
  }

  .locks__line-earnwave {
    width: 25px;
  }

  /* Hero CTA */
  .hero-cta-earnwave {
    gap: 0.8em;
    margin-bottom: 2em;
    flex-wrap: wrap;
    justify-content: center;
  }

  .btn-earnwave {
    padding: 0.85em 1.4em;
    font-size: 14px;
  }

  /* Widgets Section - Flex Layout */
  .widgets-section-earnwave {
    padding: 0 1.5em 4em;
    flex-shrink: 0;
  }

  .widgets-container-earnwave {
    max-width: 100%;
  }

  .widgets-grid-earnwave {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
    justify-content: center;
    perspective: 79em;
  }

  /* Two cards on top, one at bottom */
  .widget-earnwave:nth-child(1),
  .widget-earnwave:nth-child(3) {
    flex: 1 1 calc(50% - 0.75em);
    min-width: 280px;
    max-width: 400px;
  }

  .widget-earnwave:nth-child(2) {
    flex: 1 1 100%;
    max-width: 450px;
    margin: 0 auto;
  }

  /* Widget sizing */
  .widget-earnwave {
    min-height: 18em !important;
    padding: 1.8em;
  }

  .widget-earnwave--centered {
    min-height: 22em !important;
  }

  /* Widget 1 - Stats Card */
  .widget-badge-earnwave {
    font-size: 0.75em;
    padding: 0.3rem 0.9rem;
  }

  .widget-amount--lg {
    font-size: 3em;
  }

  .widget-amount--md {
    font-size: 1.6rem;
  }

  .widget-label-earnwave {
    font-size: 0.8em;
  }

  .widget-graph-earnwave {
    width: 68%;
    max-width: 15em;
    bottom: 0.8em;
    right: 0.8em;
  }

  .widget-metrics-earnwave {
    max-width: 65%;
  }

  .widget-metric-earnwave {
    gap: 0.3em;
  }

  /* Widget 2 - Company Icons */
  .source-icons-earnwave {
    height: 9em;
    max-width: 20em;
  }

  .source-icon--back.source-icon--meta,
  .source-icon--back.source-icon--apple {
    width: 24%;
    max-width: 4em;
  }

  .source-icon--front.source-icon--amazon,
  .source-icon--front.source-icon--google {
    width: 16%;
    max-width: 3.2em;
  }

  .widget-title-earnwave {
    font-size: 1.2em;
    margin-bottom: 0.6rem;
  }

  /* Widget Circles - Adjusted */
  .widget-circle-bc1 {
    width: 44em;
  }

  .widget-circle-bc2 {
    width: 38em;
    transform: translate(-50%, 3.2em);
  }

  .widget-circle-bc3 {
    width: 31em;
    transform: translate(-50%, 6.5em);
  }

  /* Widget Rays - Adjusted */
  .widget-ray-earnwave {
    height: 9em;
  }

  .widget-ray-earnwave:nth-child(1) {
    transform: rotate(-48deg) translateY(-16em);
  }
  .widget-ray-earnwave:nth-child(2) {
    transform: rotate(-36deg) translateY(-16em);
  }
  .widget-ray-earnwave:nth-child(3) {
    transform: rotate(-24deg) translateY(-16em);
  }
  .widget-ray-earnwave:nth-child(4) {
    transform: rotate(-12deg) translateY(-16em);
  }
  .widget-ray-earnwave:nth-child(5) {
    transform: rotate(0deg) translateY(-16em);
  }
  .widget-ray-earnwave:nth-child(6) {
    transform: rotate(12deg) translateY(-16em);
  }
  .widget-ray-earnwave:nth-child(7) {
    transform: rotate(24deg) translateY(-16em);
  }
  .widget-ray-earnwave:nth-child(8) {
    transform: rotate(36deg) translateY(-16em);
  }

  /* Widget 3 - Graphics */
  .widget-graphic-wrap-earnwave {
    max-width: 16em;
    min-height: 9em;
  }

  .widget-circles-ts-earnwave {
    top: 0.6em;
    left: 0.6em;
  }

  .widget-circle-ts1 {
    width: 9.5em;
  }

  .widget-circle-ts2 {
    width: 6.8em;
  }

  .widget-circle-ts3 {
    width: 3.5em;
  }

  .widget-fake-icon-earnwave {
    font-size: 2.2em;
  }

  .question-tags-earnwave {
    transform: scale(0.9);
    margin-top: 1.5em;
  }

  /* Widget Actions */
  .widget-actions-earnwave {
    gap: 1em;
  }

  .widget-description-earnwave {
    font-size: 0.9em;
  }

  .widget-link-earnwave {
    padding: 0.4em;
  }

  .widget-link-icon-earnwave {
    width: 1.8em;
    height: 1.8em;
  }

  /* Toggle Animation Adjustments for Tablet */
  .toggle-message-earnwave {
    font-size: 0.82em;
    max-width: 210px;
  }

  .widget-earnwave.toggle-active .source-icon--front.source-icon--amazon {
    left: 23%;
    bottom: 2.2em;
  }

  .widget-earnwave.toggle-active .source-icon--front.source-icon--google {
    right: 23%;
    bottom: 2.2em;
  }

  .widget-earnwave.toggle-active .widget-circle-bc1 {
    transform: translate(-50%, 2.2em);
  }

  .widget-earnwave.toggle-active .widget-circle-bc2 {
    transform: translate(-50%, 5.7em);
  }

  .widget-earnwave.toggle-active .widget-circle-bc3 {
    transform: translate(-50%, 9.2em);
  }

  /* Background Shapes */
  .bg-shape-earnwave {
    width: 10em;
    height: 55em;
  }

  /* Animation adjustments */
  .widget-entering-earnwave:nth-child(1),
  .widget-entering-earnwave:nth-child(3) {
    animation-name: fadeRollInMiddle;
  }

  /* Fixed Nav (top nav when scrolling) */
  .nav-home.visible {
    backdrop-filter: blur(10px);
    max-width: 100vw;
  }

  .nav-container {
    padding: 0 1.5em;
    height: 64px;
  }

  .bg-shape-left-earnwave {
    left: -6%;
  }

  .bg-shape-right-earnwave {
    right: -6%;
  }
}

/* Tablet Landscape Specific */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .hero-section-earnwave {
    min-height: auto;
  }

  .hero-container-earnwave {
    padding: 0.8em 1.5em 0;
  }

  .hero-title-earnwave {
    font-size: 2rem;
  }

  .hero-cta-earnwave {
    margin-bottom: 1.5em;
  }

  .widgets-section-earnwave {
    padding: 0 1.5em 3em;
  }

  .widget-earnwave {
    min-height: 16em !important;
    padding: 1.6em;
  }

  .widget-earnwave--centered {
    min-height: 20em !important;
  }

  .source-icons-earnwave {
    height: 8em;
  }

  .widget-graph-earnwave {
    max-width: 13em;
  }
}
