/* =========================================
   Smarters SaaS - Elite Vanilla CSS Framework
   ========================================= */

:root {
  /* Color Palette */
  --bg-color: #0B0E14;
  /* Sleek Dark Mode Background */
  --bg-surface: #141721;
  --text-primary: #FFFFFF;
  --text-secondary: #9CA3AF;

  /* Accents */
  --accent-primary: #7e22ce;
  /* Dark Neon Purple */
  --accent-primary-hover: #6b21a8;
  --accent-secondary: #d97706;
  /* Darker Amber */

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

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

/* =========================================
   Typography & Utilities
   ========================================= */

.text-gradient {
  background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Aurora Text Effect */
.aurora-text {
  background-image: linear-gradient(135deg, var(--accent-primary), #cbd5e1, #a855f7, #cbd5e1, var(--accent-primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: aurora-anim 10s linear infinite;
  display: inline-block;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-large {
  padding: 0.8rem 1.8rem;
  font-size: 1.1rem;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
}

.btn-primary:hover {
  background-color: var(--accent-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.23);
}

.btn-secondary {
  color: var(--text-secondary);
}

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

.btn-outline {
  background-color: rgba(11, 14, 20, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: var(--glass-border);
  color: var(--text-primary);
}

.btn-outline:hover {
  background-color: var(--glass-bg);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Ripple Button Effect */
.ripple-button {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  background-color: rgba(255, 255, 255, 0.2);
  /* Soft white without purple */
  width: 100px;
  height: 100px;
  margin-top: -50px;
  margin-left: -50px;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.glow-btn {
  position: relative;
  overflow: hidden;
}

.glow-btn::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), transparent);
  z-index: -1;
  border-radius: 10px;
  filter: blur(8px);
  opacity: 0.6;
  transition: opacity 0.3s;
}

.glow-btn:hover::before {
  opacity: 1;
}

/* Border Beam Button Component */
.border-beam-wrapper {
  position: relative;
  background: rgba(11, 14, 20, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-primary);
  border: none;
  z-index: 1;
  overflow: hidden;
  /* Necessary for clipping the beam strictly inside */
}

.border-beam-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(126, 34, 206, 0.2);
}

.border-beam-container {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid transparent;
  /* The track for the beam */

  /* Masking technique precisely matching magic-ui */
  mask: linear-gradient(transparent, transparent), linear-gradient(#000, #000);
  mask-clip: padding-box, border-box;
  mask-composite: intersect;
  -webkit-mask: linear-gradient(transparent, transparent), linear-gradient(#000, #000);
  -webkit-mask-clip: padding-box, border-box;
  -webkit-mask-composite: source-in;
  /* 'intersect' equivalent for webkit */
}

.border-beam {
  position: absolute;
  aspect-ratio: 1 / 1;
  width: 50px;
  /* size of the beam */

  /* Gradient trail matching magic-ui default styling */
  background: linear-gradient(to left, transparent, #9c40ff, #ffaa40, transparent);

  /* The motion logic */
  offset-path: rect(0 auto auto 0 round 50px);
  animation: magicui-border-beam 6s linear infinite;
}

@keyframes magicui-border-beam {
  0% {
    offset-distance: 0%;
  }

  100% {
    offset-distance: 100%;
  }
}

/* Shine Border Component */
.shine-border-wrapper {
  position: relative;
  border-radius: inherit;
  border-color: transparent !important;
}

.shine-border {
  --border-width: 1px;
  --duration: 3s;
  --shine-color: #ffffff;
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  overflow: hidden;
  padding: var(--border-width);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.shine-border::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: 50%;
  left: 50%;
  background: conic-gradient(from 0deg at 50% 50%, transparent, var(--shine-color) 20%, transparent 25%);
  animation: shine-rotate var(--duration) linear infinite;
  transform: translate(-50%, -50%) rotate(0deg);
}

@keyframes shine-rotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* MagicUI Ripple Effect */
.magicui-ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: magicui-rippling var(--duration, 600ms) ease-out;
  background-color: var(--ripple-color, rgba(255, 255, 255, 0.3));
  pointer-events: none;
}

@keyframes magicui-rippling {
  0% {
    opacity: 1;
  }

  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* =========================================
   Navbar
   ========================================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 85px;
  background: rgba(13, 14, 21, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo-img {
  height: 65px;
  width: auto;
  display: block;
  transform: scale(1.7);
  transform-origin: left center;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 1px;
}

.nav-links a {
  margin: 0 1.5rem;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

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

/* =========================================
   Hero Section
   ========================================= */

.hero {
  max-width: 1200px;
  margin: 120px auto 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 2;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  position: relative;
  z-index: 2;
}


.dots {
  display: flex;
  gap: 8px;
}

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

.dot.close {
  background: #FF5F56;
}

.dot.minimize {
  background: #FFBD2E;
}

.dot.expand {
  background: #27C93F;
}



/* =========================================
   Social Proof
   ========================================= */

.social-proof {
  padding: 3rem 2rem;
  text-align: center;
  border-bottom: 1px solid var(--glass-border);
}

.proof-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.logo-cloud {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  opacity: 0.5;
  filter: grayscale(100%);
}

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


/* =========================================
   Integrations & Animated Beam
   ========================================= */

.integrations-section {
  max-width: 1000px;
  margin: 6rem auto 2rem;
  padding: 0 2rem;
}

.ab-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  height: 350px;
  margin-top: 3rem;
  position: relative;
}

.ab-nodes {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 0;
}

.ab-nodes.ab-center {
  justify-content: center;
}

.ab-node {
  width: 65px;
  height: 65px;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
}

.ab-node:hover {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.ab-icon {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.rounded-icon {
  border-radius: 8px;
  mix-blend-mode: screen;
  /* Useful if it's a white background JPG */
}

.ab-main {
  width: 90px;
  height: 90px;
  font-size: 3rem;
  border-color: var(--accent-primary);
  box-shadow: 0 0 40px rgba(126, 34, 206, 0.4);
}

.ab-path {
  flex: 1;
  position: relative;
  min-width: 100px;
}

.ab-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: visible;
}

.ab-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.ab-glow {
  stroke: url(#beam-gradient);
  stroke-width: 3;
  stroke-dasharray: 100;
  stroke-dashoffset: 200;
  animation: beam-flow 3s linear infinite;
  stroke-linecap: round;
}

@keyframes beam-flow {
  0% {
    stroke-dashoffset: 200;
  }

  100% {
    stroke-dashoffset: -200;
  }
}


/* =========================================
   Bento Box Section
   ========================================= */

.features-bento {
  max-width: 1200px;
  margin: 6rem auto;
  padding: 0 2rem;
}

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

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(250px, auto);
  gap: 1.5rem;
}

.bento-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.bento-large {
  grid-column: span 2;
  grid-row: span 2;
}

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

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.05);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.bento-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}


/* =========================================
   Product Deep Dive (Dual Visibility)
   ========================================= */

.deep-dive-section {
  max-width: 1200px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.deep-dive-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.dive-card {
  display: flex;
  flex-direction: column;
  height: 400px;
  /* Fixed height for symmetry */
  padding: 0;
  /* Override glass-card padding */
  overflow: hidden;
  align-items: stretch;
  justify-content: flex-start;
}

.view-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
}

.view-pill {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.4rem 1rem;
  border-radius: 20px;
}

.business-pill {
  background: rgba(217, 119, 6, 0.2);
  color: var(--accent-secondary);
  border: 1px solid rgba(217, 119, 6, 0.4);
}

.tech-pill {
  background: rgba(126, 34, 206, 0.2);
  color: var(--accent-primary);
  border: 1px solid rgba(126, 34, 206, 0.4);
}

.view-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.view-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.view-content p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.roi-stats {
  display: flex;
  gap: 2rem;
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--accent-secondary), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Terminal Mockup */
.terminal-mockup {
  background: #0d1117;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.terminal-header {
  height: 40px;
  background: #161b22;
  border-bottom: 1px solid #30363d;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  position: relative;
}

.terminal-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.terminal-body {
  padding: 1.5rem;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.85rem;
  line-height: 1.5;
  overflow-x: auto;
}

.term-comment {
  color: #8b949e;
}

.term-cmd {
  color: #58a6ff;
  font-weight: bold;
}

.term-string {
  color: #a5d6ff;
}

.term-key {
  color: #7ee787;
}

.term-bool {
  color: #79c0ff;
}

.term-success {
  color: #3fb950;
  margin-top: 1rem;
  display: block;
}

/* Responsive adjustments for deep dive */
@media (max-width: 900px) {
  .deep-dive-container {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Security & Final CTA
   ========================================= */

.security-section {
  max-width: 1000px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.glass-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.security-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.security-content p {
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 1.5rem;
}

.security-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: #27C93F;
  font-weight: 500;
}

.security-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  width: 150px;
  height: 150px;
  border-radius: 50%;
}

.shield-icon {
  font-size: 3rem;
}

.final-cta {
  text-align: center;
  padding: 6rem 2rem;
  margin-bottom: 3rem;
}

.final-cta h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.final-cta p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}

/* =========================================
   Footer
   ========================================= */

footer {
  border-top: 1px solid var(--glass-border);
  padding: 3rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text-secondary);
}

.footer-links a {
  color: var(--text-secondary);
  margin-left: 2rem;
  font-size: 0.9rem;
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

  .bento-large,
  .bento-wide {
    grid-column: span 1;
    grid-row: span 1;
  }

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

  .glass-card {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .nav-links {
    display: none;
  }
}

/* =========================================
   Careers / Work With Us Architecture
   ========================================= */

.careers-section {
  max-width: 1200px;
  margin: 10rem auto 4rem;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 8rem;
  /* Strategic whitespace for cognitive pacing */
}

/* 1. Hook / Hero */
.text-center {
  text-align: center;
}

.careers-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.careers-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.careers-cta {
  font-size: 1.1rem;
  padding: 0.8rem 2.5rem;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 2. Vision Grid */
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.vision-card {
  padding: 3rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
}

.vision-heading {
  font-size: 1.7rem;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}

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

/* 3. Value Pillars */
.value-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  border-top: 1px solid var(--glass-border);
  padding-top: 5rem;
}

.pillar-card {
  background: transparent;
}

.pillar-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  background: var(--glass-bg);
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
}

.pillar-card h4 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.pillar-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* 4. Comparative Matrix (Table) */
.comparative-matrix {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: rgba(20, 23, 33, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.glass-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.glass-table th {
  padding: 1.5rem 2rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.glass-table td {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--glass-border);
  font-size: 1rem;
}

.glass-table tbody tr:last-child td {
  border-bottom: none;
}

.glass-table tbody tr {
  transition: background 0.2s ease;
}

.glass-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.glass-table td:nth-child(2) {
  color: var(--text-secondary);
  opacity: 0.8;
}

.glass-table td:nth-child(3) {
  color: #38bdf8;
  font-weight: 500;
}

/* 5. Validation Graph */
.validation-engine {
  display: flex;
  flex-direction: column;
  padding: 4rem;
  align-items: stretch;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0) 100%);
}

.graph-header {
  margin-bottom: 3rem;
  text-align: center;
}

.graph-header h3 {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

.graph-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.graph-container {
  width: 100%;
  position: relative;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--glass-border);
}

.trend-graph {
  width: 100%;
  height: auto;
  overflow: visible;
}

.plot-point {
  fill: var(--bg-surface);
  stroke: var(--accent-secondary);
  stroke-width: 2.5;
}

.plot-point-glow {
  fill: var(--bg-surface);
  stroke: var(--accent-primary);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 10px var(--accent-primary));
}

.plot-point-apex {
  fill: var(--accent-primary);
  filter: drop-shadow(0 0 15px var(--accent-primary));
}

.graph-label {
  font-family: var(--font-body);
  font-size: 13px;
  fill: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
  font-weight: 500;
}

.apex-label {
  fill: var(--text-primary);
  font-weight: 700;
  font-size: 14px;
}

/* 6. Terminal Node */
.terminal-node {
  text-align: center;
  padding: 5rem 2rem;
  border-radius: 24px;
  background: radial-gradient(circle at center, rgba(126, 34, 206, 0.15) 0%, transparent 60%);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.terminal-node::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjMDAwIiBmaWxsLW9wYWNpdHk9IjAuMDUiLz4KPC9zdmc+') repeat;
  z-index: 0;
}

.terminal-heading {
  font-size: 3rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.routing-paths {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.route-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 2.5rem;
  gap: 0.8rem;
  min-width: 320px;
  border-radius: 12px;
}

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

.route-desc {
  font-size: 0.95rem;
  opacity: 0.85;
  font-weight: 400;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .vision-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .careers-title {
    font-size: 2.8rem;
  }

  .value-pillars {
    grid-template-columns: 1fr;
  }

  .routing-paths {
    flex-direction: column;
    align-items: center;
  }

  .route-card {
    min-width: 100%;
  }

  .validation-engine {
    padding: 2rem 1rem;
  }
}

/* =========================================
   Application Form
   ========================================= */

.application-section {
  max-width: 650px;
  margin: 4rem auto 8rem;
  padding: 0 2rem;
}

.application-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.application-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.application-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.application-card {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.form-input {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 1px var(--accent-primary);
}

.form-input::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  margin-top: 1rem;
}

.form-checkbox {
  appearance: none;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--glass-border);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  transition: var(--transition-smooth);
}

.form-checkbox:checked {
  border-color: var(--accent-primary);
  background: rgba(126, 34, 206, 0.2);
}

.form-checkbox:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: var(--accent-primary);
  border-radius: 50%;
}

.form-checkbox-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  cursor: pointer;
  user-select: none;
}

.form-checkbox-label a {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 500;
}

.form-checkbox-label a:hover {
  text-decoration: underline;
}

.form-submit-btn {
  width: 100%;
  padding: 1.1rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 600;
  background: var(--glass-bg);
  color: #fff;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  background: rgba(255, 255, 255, 0.08);
  /* slightly lighter glass interaction */
  border-color: rgba(255, 255, 255, 0.2);
}

.form-footer {
  text-align: center;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.form-footer svg {
  width: 14px;
  height: 14px;
  fill: #fbbf24;
}

@media (max-width: 768px) {
  .application-card {
    padding: 1.5rem;
  }
}

/* =========================================
   Animated List - AI Agent Real-Time Feed
   ========================================= */

.animated-list-wrapper {
  flex: 1;
  position: relative;
  overflow: hidden;
  padding: 1rem;
}

.animated-list-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.animated-list-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.4), transparent);
  pointer-events: none;
}

.animated-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: top;
  opacity: 1;
  transform: scale(1) translateY(0);
}

.animated-item.anim-enter {
  animation: enterAnim 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animated-item.anim-leave {
  animation: leaveAnim 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes enterAnim {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes leaveAnim {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }

  100% {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
}

.animated-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.icon-marketing {
  background: rgba(217, 70, 239, 0.15);
  /* Fuchsia/Purple */
  color: #d946ef;
  border: 1px solid rgba(217, 70, 239, 0.3);
}

.icon-ventas {
  background: rgba(34, 197, 94, 0.15);
  /* Green Success */
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.icon-soporte {
  background: rgba(59, 130, 246, 0.15);
  /* Blue */
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.icon-operaciones {
  background: rgba(245, 158, 11, 0.15);
  /* Amber/Orange */
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.icon-data {
  background: rgba(139, 92, 246, 0.15);
  /* Violet */
  color: #8b5cf6;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.animated-item-content {
  display: flex;
  flex-direction: column;
}

.animated-item-agent {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.1rem;
}

.animated-item-action {
  font-size: 0.85rem;
  color: var(--text-secondary);
}