/* Eltanin Labs — Premium Mobile-First & Desktop CSS Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Theme Variables — Dark Default */
  --bg-primary: #070c18;
  --bg-secondary: #0d1527;
  --bg-card: #121c33;
  --bg-card-hover: #182542;
  --bg-glass: rgba(18, 28, 51, 0.88);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(56, 114, 255, 0.4);
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --brand-blue: #2563eb;
  --brand-blue-glow: rgba(37, 99, 235, 0.35);
  --brand-cyan: #06b6d4;
  --brand-cyan-glow: rgba(6, 182, 212, 0.35);
  --brand-purple: #8b5cf6;
  --brand-emerald: #10b981;
  --brand-amber: #f59e0b;
  
  --gradient-brand: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --gradient-glow: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(37, 99, 235, 0.05) 50%, transparent 80%);
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-full: 9999px;
  
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Inter', system-ui, sans-serif;
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --border-color: #e2e8f0;
  --border-hover: rgba(37, 99, 235, 0.4);
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: -0.03em;
  overflow-wrap: break-word;
  word-break: break-word;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  touch-action: manipulation;
}

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

/* Container */
.container {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
  box-sizing: border-box;
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(37, 99, 235, 0.12);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.25);
  max-width: 100%;
  white-space: normal;
}

.badge-cyan {
  background: rgba(6, 182, 212, 0.12);
  color: var(--brand-cyan);
  border-color: rgba(6, 182, 212, 0.25);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
  flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-md);
  font-weight: 650;
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--brand-blue);
  border: 1.5px solid var(--brand-blue);
}

.btn-outline:hover {
  background: rgba(37, 99, 235, 0.1);
}

.btn-sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.84rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  min-height: 52px;
  padding: 0 28px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  transition: all var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  height: 70px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-main);
  letter-spacing: -0.04em;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--gradient-brand);
  color: white;
  font-weight: 900;
  font-size: 1.15rem;
  box-shadow: 0 4px 14px var(--brand-blue-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--brand-blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.6rem;
  color: var(--text-main);
  padding: 6px;
  line-height: 1;
}

/* Mobile Drawer Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 2500;
  padding: 80px 24px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform var(--transition-normal), visibility var(--transition-normal);
  overflow-y: auto;
  visibility: hidden; /* Prevent horizontal scroll trigger when offscreen */
}

.mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  font-size: 1.4rem;
  color: var(--text-main);
  display: grid;
  place-items: center;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-links a {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

/* Hero Section */
.hero {
  position: relative;
  padding-top: 130px;
  padding-bottom: 80px;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-content {
  min-width: 0; /* Prevent grid item stretching */
  width: 100%;
  box-sizing: border-box;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-top: 16px;
  margin-bottom: 20px;
  line-height: 1.08;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  width: 100%;
}

.metric-item {
  min-width: 0;
}

.metric-item b {
  display: block;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-family: var(--font-heading);
  color: var(--text-main);
  letter-spacing: -0.04em;
}

.metric-item span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* AI Match Interactive Widget */
.hero-widget {
  position: relative;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  backdrop-filter: blur(20px);
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  min-width: 0;
  box-sizing: border-box;
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  width: 100%;
}

.widget-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.role-selector {
  width: 100%;
  max-width: 100%;
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  box-sizing: border-box;
}
.role-selector::-webkit-scrollbar {
  display: none;
}

.role-tab {
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.role-tab.active {
  background: var(--brand-blue);
  color: white;
  border-color: var(--brand-blue);
  box-shadow: 0 4px 12px var(--brand-blue-glow);
}

.widget-role-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border-color);
  margin-bottom: 12px;
  width: 100%;
  box-sizing: border-box;
}

.role-card-header h3 {
  font-size: 1.1rem;
  color: var(--text-main);
  overflow-wrap: break-word;
  word-break: break-word;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.tag {
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.benchmark-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--bg-card);
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 8px;
  width: 100%;
  box-sizing: border-box;
}

.benchmark-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--brand-blue);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.benchmark-info {
  flex: 1;
  min-width: 0;
}

.benchmark-info h4 {
  font-size: 0.85rem;
  margin-bottom: 2px;
  white-space: normal;
  word-break: break-word;
  line-height: 1.3;
}

.benchmark-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: normal;
  word-break: break-word;
  line-height: 1.3;
}

.match-score {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: var(--brand-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Logos Ticker */
.partners-section {
  padding: 32px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.partners-title {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  opacity: 0.85;
}

.partner-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* Section Header */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-top: 10px;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
}

/* Features Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.12);
  color: var(--brand-blue);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Pod Explorer */
.pod-explorer-section {
  background: var(--bg-secondary);
}

.search-filter-box {
  max-width: 500px;
  width: 100%;
  margin: 0 auto 20px;
  position: relative;
}

.search-filter-box input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 44px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  outline: none;
  font-size: 0.88rem;
  transition: all var(--transition-fast);
}

.search-filter-box input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px var(--brand-blue-glow);
}

.search-filter-box svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

.talent-filter-tabs {
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.82rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.filter-btn.active, .filter-btn:hover {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 4px 12px var(--brand-blue-glow);
}

.pod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.pod-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  min-width: 0;
}

.pod-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}

.pod-card-header h3 {
  font-size: 1.1rem;
}

.pod-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.15);
  color: var(--brand-blue);
  white-space: nowrap;
}

.pod-specs-list {
  list-style: none;
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pod-specs-list li {
  font-size: 0.84rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.pod-specs-list li::before {
  content: "✓";
  color: var(--brand-emerald);
  font-weight: 800;
  margin-top: 1px;
}

.pod-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  margin-top: 12px;
}

.pod-sla {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 600;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 36px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-normal);
  min-width: 0;
}

.pricing-card.popular {
  border-color: var(--brand-blue);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.08) 0%, var(--bg-card) 100%);
  box-shadow: var(--shadow-glow);
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-card-header h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.pricing-card-header p {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.price-box {
  margin: 18px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.price-amount {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-unit {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.pricing-features li {
  font-size: 0.86rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.pricing-features li::before {
  content: "✦";
  color: var(--brand-cyan);
  font-size: 0.78rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Calculator */
.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.calc-group {
  margin-bottom: 20px;
}

.calc-group label {
  display: block;
  font-weight: 600;
  font-size: 0.86rem;
  margin-bottom: 8px;
}

.range-slider {
  width: 100%;
  accent-color: var(--brand-blue);
  height: 8px;
  border-radius: 4px;
}

.calc-values {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.calc-result-box {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  border: 1px solid var(--border-color);
  text-align: center;
}

.calc-result-box h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.calc-amount {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--brand-cyan);
  margin-bottom: 6px;
}

.calc-details {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.5;
}

/* Tech Stack */
.stack-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.stack-tab-btn {
  padding: 8px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.82rem;
  transition: all var(--transition-fast);
}

.stack-tab-btn.active {
  background: var(--brand-blue);
  color: white;
  border-color: var(--brand-blue);
}

.stack-display-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.stack-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
}

.stack-item b {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 2px;
}

.stack-item span {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* Process Timeline */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  min-width: 0;
}

.step-num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--brand-blue);
  opacity: 0.85;
  margin-bottom: 8px;
}

.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: left;
  color: var(--text-main);
  line-height: 1.35;
}

.faq-toggle-icon {
  font-size: 1rem;
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 18px;
}

/* -------------------------------------------------------------
   PREMIUM CTA BANNER STYLING
   ------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.03) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-md), var(--shadow-glow);
  position: relative;
  overflow: hidden;
  max-width: 960px;
  margin: 40px auto;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: var(--gradient-glow);
  pointer-events: none;
  z-index: 0;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.cta-banner .btn {
  position: relative;
  z-index: 1;
}

/* -------------------------------------------------------------
   PREMIUM FOOTER STYLING
   ------------------------------------------------------------- */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.87fr);
  gap: 48px;
  margin-bottom: 60px;
  width: 100%;
}

.footer-col {
  min-width: 0;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-main);
  margin-bottom: 20px;
}

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

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

.footer-links a:hover {
  color: var(--brand-blue);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  font-size: 0.84rem;
  color: var(--text-dim);
  width: 100%;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  transition: color var(--transition-fast);
}

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

/* @media sizes */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-widget {
    margin-left: auto;
    margin-right: auto;
    max-width: 480px;
  }

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

  .pricing-card.popular {
    margin-top: 14px;
    margin-bottom: 14px;
  }

  .calculator-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

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

@media (max-width: 768px) {
  .container {
    width: calc(100% - 24px);
  }

  .nav-links, .nav-actions .btn {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 50px;
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 6vw, 2.4rem); /* Balanced text size for tablets/mobile */
  }

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

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    text-align: center;
  }

  .partner-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 10px;
    text-align: center;
  }

  /* Search & Filter Bar Segment for Mobile */
  .search-filter-box {
    margin-bottom: 14px;
    width: 100%;
    max-width: 100%;
  }

  .search-filter-box input {
    height: 44px;
    font-size: 0.84rem;
    padding-left: 40px;
  }

  .talent-filter-tabs {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 4px 2px 12px;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-sizing: border-box;
  }

  .talent-filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    padding: 7px 14px;
    font-size: 0.8rem;
    flex-shrink: 0;
  }

  .pod-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .pod-footer .btn {
    width: 100%;
  }

  .process-timeline {
    grid-template-columns: 1fr;
  }

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

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

  .footer-bottom-links {
    justify-content: center;
    gap: 12px 16px;
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 50px 0;
  }

  .hero-content h1 {
    font-size: clamp(1.6rem, 8vw, 2.1rem); /* Prevents technical team clipping on small viewports */
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .partner-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .partner-logo {
    font-size: 0.82rem;
  }

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

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

  .pricing-card {
    padding: 24px 16px;
  }

  .calculator-card {
    padding: 18px 14px;
  }

  .cta-banner {
    padding: 40px 20px;
    margin: 24px auto;
  }

  .cta-banner h2 {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }

  footer {
    padding: 50px 0 30px;
    margin-top: 40px;
  }
}

/* -------------------------------------------------------------
   PREMIUM MODAL SYSTEM STYLING
   ------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 7, 20, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  padding: 20px;
  visibility: hidden;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  width: min(540px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(37, 99, 235, 0.12);
  box-sizing: border-box;
  transform: scale(0.96) translateY(10px);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.modal-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.close-modal-btn {
  font-size: 1.15rem;
  color: var(--text-dim);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  display: grid;
  place-items: center;
  transition: all var(--transition-fast);
}

.close-modal-btn:hover {
  color: var(--text-main);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: rotate(90deg);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  outline: none;
  font-size: 0.88rem;
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.form-control::placeholder {
  color: var(--text-dim);
}

.form-control:hover {
  border-color: var(--border-hover);
}

.form-control:focus {
  border-color: var(--brand-blue);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px var(--brand-blue-glow);
}

textarea.form-control {
  height: 110px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.5;
}

/* Modal mobile styles */
@media (max-width: 480px) {
  .modal-card {
    padding: 24px 18px;
  }
  .modal-title {
    font-size: 1.15rem;
  }
  .close-modal-btn {
    width: 30px;
    height: 30px;
    font-size: 0.95rem;
  }
}

