/* ═══════════════════════════════════════════════════
   ikanisa.com — Soft Liquid Glass Design System
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --bg-primary: #06060f;
  --bg-secondary: #0c0c1d;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.15);
  --text-primary: #f0f0f5;
  --text-secondary: rgba(240, 240, 245, 0.65);
  --text-muted: rgba(240, 240, 245, 0.4);
  --accent-rw: #00a651;
  --accent-rw-gold: #fad201;
  --accent-rw-blue: #00a1de;
  --accent-mt: #cf142b;
  --accent-mt-white: #ffffff;
  --accent-global: #8b5cf6;
  --accent-gradient: linear-gradient(135deg, #00a651 0%, #00a1de 50%, #cf142b 100%);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --blur: 20px;
  --blur-heavy: 40px;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.4);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --max-width: 1280px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* --- Animated Background --- */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.bg-mesh .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  animation: orbFloat 20s ease-in-out infinite;
}

.bg-mesh .orb-1 {
  width: 600px;
  height: 600px;
  background: var(--accent-rw);
  top: -10%;
  left: -10%;
  animation-delay: 0s;
}

.bg-mesh .orb-2 {
  width: 500px;
  height: 500px;
  background: var(--accent-mt);
  top: 40%;
  right: -10%;
  animation-delay: -7s;
}

.bg-mesh .orb-3 {
  width: 400px;
  height: 400px;
  background: var(--accent-rw-blue);
  bottom: -5%;
  left: 30%;
  animation-delay: -14s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -40px) scale(1.05);
  }

  66% {
    transform: translate(-20px, 30px) scale(0.95);
  }
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 3rem);
  background: rgba(6, 6, 15, 0.7);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--transition-fast);
}

.nav.scrolled {
  background: rgba(6, 6, 15, 0.92);
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.footer-logo {
  width: 28px;
  height: 28px;
  border-radius: 5px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
  border-radius: 1px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 166, 81, 0.3);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* --- Country Switcher --- */
.country-switcher {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
}

.country-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-smooth);
  white-space: nowrap;
}

.country-btn.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.country-btn[data-country="rw"].active {
  background: rgba(0, 166, 81, 0.15);
  color: var(--accent-rw);
}

.country-btn[data-country="mt"].active {
  background: rgba(207, 20, 43, 0.15);
  color: var(--accent-mt);
}

.country-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

/* --- Sections --- */
section {
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 4vw, 3rem);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-rw);
  margin-bottom: 1rem;
}

.section-label .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: calc(var(--nav-height) + 3rem);
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-rw);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

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

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-region-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  max-width: 640px;
  margin: -1rem auto 2.25rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  animation: fadeInUp 0.8s ease-out 0.25s both;
}

.hero-region-note[data-country="rw"] {
  border-color: rgba(0, 166, 81, 0.3);
  color: var(--accent-rw);
}

.hero-region-note[data-country="mt"] {
  border-color: rgba(207, 20, 43, 0.32);
  color: #ff9dad;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.btn-primary {
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 166, 81, 0.3);
}

.btn-secondary {
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--glass-border-hover);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Agent Cards Grid --- */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.agent-card {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
  overflow: hidden;
  cursor: pointer;
  animation: fadeInUp 0.6s ease-out both;
}

.agent-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.agent-card .card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, var(--glow-color, rgba(0, 166, 81, 0.06)) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  pointer-events: none;
}

.agent-card:hover .card-glow {
  opacity: 1;
}

.agent-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.agent-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  overflow: hidden;
}

.agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.agent-name {
  font-size: 1.125rem;
  font-weight: 700;
}

.agent-role {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.agent-badges {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

.badge {
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid;
}

.badge-rw {
  color: var(--accent-rw);
  border-color: rgba(0, 166, 81, 0.3);
  background: rgba(0, 166, 81, 0.08);
}

.badge-mt {
  color: var(--accent-mt);
  border-color: rgba(207, 20, 43, 0.3);
  background: rgba(207, 20, 43, 0.08);
}

.badge-global {
  color: var(--accent-global);
  border-color: rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.08);
}

.agent-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.agent-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.pill {
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.agent-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.chat-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-fast);
}

.chat-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--glass-border-hover);
}

.slack-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e0b3ff;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(97, 31, 105, 0.15);
  border: 1px solid rgba(97, 31, 105, 0.35);
  transition: all var(--transition-fast);
}

.slack-link:hover {
  background: rgba(97, 31, 105, 0.3);
  border-color: rgba(97, 31, 105, 0.55);
  color: #f0d5ff;
  transform: translateY(-1px);
}

.slack-link svg {
  flex-shrink: 0;
}

.expand-btn {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

/* Card hidden state for filtering */
.agent-card.hidden {
  display: none;
}

/* --- Agent Detail Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
  padding: 1rem;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-spring);
}

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

.modal-close {
  float: right;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.modal h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  margin-top: 0.5rem;
}

.modal .modal-role {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.modal .modal-section {
  margin-bottom: 1.5rem;
}

.modal .modal-section h3 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.modal .modal-section p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.modal .capabilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.modal .cap-item {
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.modal .modal-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 600;
  margin-top: 0.5rem;
  transition: transform var(--transition-fast);
}

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

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: center;
}

.about-visual {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--blur));
}

.about-visual .orbit {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-center {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.orbit-ring {
  position: absolute;
  inset: 10%;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}

.orbit-ring:nth-child(3) {
  inset: 25%;
  animation-duration: 30s;
  animation-direction: reverse;
}

.orbit-dot {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 2px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.orbit-dot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
}

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

.about-values {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.value-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  transition: background var(--transition-fast);
}

.value-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.value-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
}

.value-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.value-item p {
  font-size: 0.825rem;
  color: var(--text-secondary);
}

/* --- Services / Capabilities Section --- */
.services-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.services-tabs button {
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-fast);
}

.services-tabs button.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-color: var(--glass-border-hover);
}

.services-tabs button:hover:not(.active) {
  background: rgba(255, 255, 255, 0.06);
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.service-item {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-fast);
}

.service-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--glass-border-hover);
}

.service-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.service-item p {
  font-size: 0.825rem;
  color: var(--text-secondary);
}

/* --- Contact / CTA Section --- */
.cta-section {
  text-align: center;
  padding: clamp(5rem, 10vw, 10rem) clamp(1rem, 4vw, 3rem);
}

.cta-card {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--blur));
  position: relative;
  overflow: hidden;
}

.cta-card .cta-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 166, 81, 0.08), transparent 70%);
  pointer-events: none;
}

.cta-card h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  position: relative;
}

.cta-card p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  position: relative;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* --- Footer --- */
.footer {
  padding: 4rem clamp(1rem, 4vw, 3rem) 2rem;
  border-top: 1px solid var(--glass-border);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

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

.footer-brand {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-size: 0.825rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  text-decoration: none;
}

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

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact-link svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-locations {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Star Particles Canvas --- */
.particles-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* --- Enhanced Card Effects --- */
.agent-card {
  will-change: transform;
}

.agent-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  z-index: -1;
}

.agent-card:hover::before {
  opacity: 0.15;
}

.agent-card:active {
  transform: scale(0.98);
}

/* --- Shimmer Effect on Hero Badge --- */
.hero-badge {
  overflow: hidden;
  position: relative;
}

.hero-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  animation: shimmer 4s ease-in-out infinite;
}

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

  50%,
  100% {
    left: 200%;
  }
}

/* --- Number Counter Glow --- */
.hero-stat .number {
  text-shadow: 0 0 30px rgba(0, 166, 81, 0.2);
}

/* --- Floating Dots in About Orbit --- */
.orbit-dot {
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.orbit-dot:nth-child(2) {
  animation-delay: -1.5s;
}

.orbit-dot:nth-child(3) {
  animation-delay: -3s;
}

.orbit-dot:nth-child(4) {
  animation-delay: -4.5s;
}

@keyframes float {

  0%,
  100% {
    transform: translate(var(--tx, -50%), var(--ty, -50%));
  }

  50% {
    transform: translate(var(--tx, -50%), calc(var(--ty, -50%) - 8px));
  }
}

/* --- Smooth Section Divider Lines --- */
#agents,
#about {
  position: relative;
}

#agents::before,
#about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(80%, 600px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

/* --- Touch-Friendly Mobile Improvements --- */
@media (hover: none) {
  .agent-card:hover {
    transform: none;
    box-shadow: var(--shadow-card);
  }

  .agent-card:active {
    transform: scale(0.97);
    transition: transform 0.1s;
  }

  .chat-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .country-btn {
    min-height: 44px;
  }

  .hero-region-note {
    padding-inline: 1.1rem;
  }

  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* --- Scrollbar Styling --- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* --- Selection Color --- */
::selection {
  background: rgba(0, 166, 81, 0.3);
  color: var(--text-primary);
}

/* --- Animation Utilities --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    background: rgba(6, 6, 15, 0.97);
    backdrop-filter: blur(var(--blur-heavy));
    padding: 2rem;
    gap: 1.5rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 8vw, 3.5rem);
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .hero-stat .number {
    font-size: 1.5rem;
  }

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

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

  .about-visual {
    order: -1;
  }

  .modal .capabilities-grid {
    grid-template-columns: 1fr;
  }

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

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

  .country-switcher {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .services-list {
    grid-template-columns: 1fr;
  }
}