/* Bio Code Technology - Master Stylesheet */
/* Architecture: CSS3 with Glassmorphism & Dark Mode Enterprise Design */

:root {
  /* Modern Color Palette */
  --primary: #3b82f6;
  --primary-light: #60a5fa;
  --secondary: #1e40af;
  --accent: #6366f1;
  --accent-light: #818cf8;
  --dark-bg: #0a0e27;
  --dark-bg-secondary: #111b3d;
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-bg-hover: rgba(255, 255, 255, 0.06);
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-tertiary: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(255, 255, 255, 0.12);
  --success: #10b981;
  --warning: #f59e0b;
  --design: #a855f7;
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  /* Hide scrollbar for all browsers */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--dark-bg);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* Premium Animated Background with Radioactive Fog */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(59, 130, 246, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(99, 102, 241, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 0%,
      rgba(59, 130, 246, 0.05) 0%,
      transparent 50%
    ),
    linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-secondary) 100%);
  animation: bgShift 20s ease-in-out infinite;
}

.bg-animation::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      ellipse at 25% 45%,
      rgba(0, 255, 136, 0.15) 0%,
      rgba(0, 255, 136, 0.05) 25%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 75% 55%,
      rgba(255, 193, 7, 0.12) 0%,
      rgba(255, 193, 7, 0.03) 30%,
      transparent 65%
    ),
    radial-gradient(
      ellipse at 50% 20%,
      rgba(0, 255, 136, 0.08) 0%,
      transparent 50%
    );
  filter: blur(60px);
  animation: radioactiveFog 12s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes radioactiveFog {
  0% {
    opacity: 0.6;
    transform: translate(0, 0) scale(1);
  }
  50% {
    opacity: 0.85;
    transform: translate(-20px, 15px) scale(1.05);
  }
  100% {
    opacity: 0.6;
    transform: translate(0, 0) scale(1);
  }
}

@keyframes bgShift {
  0%,
  100% {
    background:
      radial-gradient(
        circle at 20% 50%,
        rgba(59, 130, 246, 0.08) 0%,
        transparent 50%
      ),
      radial-gradient(
        circle at 80% 80%,
        rgba(99, 102, 241, 0.08) 0%,
        transparent 50%
      ),
      radial-gradient(
        circle at 40% 0%,
        rgba(59, 130, 246, 0.05) 0%,
        transparent 50%
      ),
      linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-secondary) 100%);
  }
  50% {
    background:
      radial-gradient(
        circle at 80% 20%,
        rgba(99, 102, 241, 0.08) 0%,
        transparent 50%
      ),
      radial-gradient(
        circle at 20% 80%,
        rgba(59, 130, 246, 0.08) 0%,
        transparent 50%
      ),
      radial-gradient(
        circle at 60% 100%,
        rgba(99, 102, 241, 0.05) 0%,
        transparent 50%
      ),
      linear-gradient(135deg, var(--dark-bg-secondary) 0%, var(--dark-bg) 100%);
  }
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 2rem;
  background: rgba(
    10,
    14,
    39,
    0.75
  ); /* Dinâmico via JS, mas default 25% menos opacidade (0.75) */
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  z-index: 1000;
  transition: all var(--transition-normal);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1700px;
  gap: 1.25rem;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 180px; /* Aumentado em 50% de 120px para 180px */
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.4));
  transform: scale(1.5);
  transform-origin: left center;
  transition:
    transform var(--transition-normal),
    filter var(--transition-normal);
}

.logo:hover .logo-img {
  transform: scale(1.62);
  filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.6));
}

.logo-text {
  font-size: clamp(1.1rem, 1.8vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  line-height: 1.1;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: clamp(0.8rem, 1.35vw, 1.7rem);
  margin-left: 0.5rem;
  flex-wrap: nowrap;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(0.86rem, 0.95vw, 0.98rem);
  transition: all var(--transition-normal);
  position: relative;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

@media (max-width: 1440px) {
  .logo-text {
    display: none;
  }

  .logo-img {
    height: 96px;
  }

  .nav-links {
    gap: clamp(0.75rem, 1vw, 1.2rem);
  }
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width var(--transition-normal);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
  opacity: 0.4; /* Ajustado para manter a legibilidade do texto */
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Neon Amarelo Ouro Sutil */
  -webkit-text-stroke: 1px rgba(255, 215, 0, 0.5);
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3))
    drop-shadow(0 0 10px rgba(255, 215, 0, 0.1));
}

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

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.125rem 2.5rem;
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #8b5cf6 100%);
  background-size: 200% 200%;
  animation: btn-gradient-shift 4s ease infinite;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 0 0 0 rgba(99, 102, 241, 0),
    0 8px 32px rgba(59, 130, 246, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
}

@keyframes btn-gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.cta-button::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 54px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6, #3b82f6);
  background-size: 300% 300%;
  animation: btn-gradient-shift 4s ease infinite;
  opacity: 0;
  z-index: -1;
  filter: blur(8px);
  transition: opacity 0.35s ease;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transition: left 0.55s ease;
}

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

.cta-button:hover::after {
  opacity: 0.7;
}

.cta-button:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    0 0 0 4px rgba(99, 102, 241, 0.25),
    0 16px 40px rgba(59, 130, 246, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  letter-spacing: 1px;
}

.cta-outline {
  background: transparent;
  border: 1px solid rgba(59, 130, 246, 0.55);
  box-shadow: none;
}

.cta-outline:hover {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.95);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.15);
}

/* Sections */
.section {
  padding: 8rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section h2 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  overflow-wrap: anywhere;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Glass Cards */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.3s ease;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

.about-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.tech-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
}

.tech-item {
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 2rem;
  transition: all var(--transition-normal);
}

.tech-item:hover {
  background: var(--card-bg-hover);
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.1);
}

.tech-item h4 {
  color: var(--primary);
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.tech-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Clients Section */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.client-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  transition: all var(--transition-normal);
}

.client-card:hover {
  border-color: var(--primary);
  background: var(--card-bg-hover);
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.15);
}

.client-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform var(--transition-normal);
}

.client-card:hover .client-logo {
  transform: scale(1.05);
}

.client-logo i {
  color: var(--primary);
}

.client-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--accent);
  font-weight: 700;
}

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

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.service-icon {
  width: 50px;
  height: 50px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: white;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

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

.tech-card-mini:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--primary) !important;
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-8px);
  background: var(--card-bg-hover);
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.15);
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.project-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.project-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  margin-top: auto;
}

.project-link:hover {
  color: white;
  gap: 0.8rem;
}

/* Social Impact Card */
.social-card {
  border-color: rgba(16, 185, 129, 0.25);
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.08) 0%,
    rgba(16, 185, 129, 0.03) 50%,
    var(--card-bg) 100%
  );
  border: 2px solid rgba(16, 185, 129, 0.25);
  position: relative;
  overflow: hidden;
}

.social-card:hover {
  border-color: #10b981;
  box-shadow:
    0 20px 40px rgba(16, 185, 129, 0.18),
    inset 0 0 30px rgba(16, 185, 129, 0.05);
  transform: translateY(-15px) scale(1.02);
}

.social-card::before {
  background: linear-gradient(90deg, #10b981, #34d399, #6366f1);
}

.social-icon {
  color: #10b981;
  font-size: 2.8rem;
}

.social-tag {
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.12) 0%,
    rgba(16, 185, 129, 0.06) 100%
  );
  color: #10b981;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  transition: all 0.3s ease;
}

.social-tag:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10b981;
}

.social-link {
  color: #10b981;
  font-weight: 600;
}

.social-link:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

/* Garage — Silicon Valley Game Card */
.garage-card {
  border-color: rgba(245, 158, 11, 0.2);
  background: linear-gradient(
    145deg,
    rgba(245, 158, 11, 0.06) 0%,
    var(--card-bg) 100%
  );
  backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
}

.garage-card:hover {
  border-color: var(--warning);
  background: linear-gradient(
    145deg,
    rgba(245, 158, 11, 0.1) 0%,
    var(--card-bg-hover) 100%
  );
  box-shadow: 0 16px 40px rgba(245, 158, 11, 0.18);
  transform: translateY(-8px);
}

.garage-card::before {
  background: linear-gradient(90deg, var(--warning), #ef4444);
  transition: transform var(--transition-normal);
}

.garage-card:hover::before {
  transform: scaleX(1);
}

.garage-icon {
  color: var(--warning);
  transition: transform var(--transition-normal);
}

.garage-card:hover .garage-icon {
  transform: scale(1.1);
}

.garage-tag {
  background: rgba(245, 158, 11, 0.12);
  color: var(--warning);
  padding: 0.35rem 0.85rem;
  border-radius: 18px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(245, 158, 11, 0.25);
  transition: all var(--transition-fast);
}

.garage-card:hover .garage-tag {
  background: rgba(245, 158, 11, 0.18);
  border-color: var(--warning);
}

.garage-link {
  color: var(--warning);
  font-weight: 600;
  transition: all var(--transition-normal);
}

.garage-link:hover {
  color: white;
  transform: translateX(4px);
}

/* HFT Special Card */
.hft-card {
  grid-column: 1 / -1;
  background: linear-gradient(
    135deg,
    rgba(30, 64, 175, 0.1) 0%,
    rgba(15, 20, 25, 0.8) 100%
  );
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3rem;
}

.hft-content {
  flex: 1;
}

.hft-visual {
  flex: 0 0 300px;
  height: 200px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--primary);
  position: relative;
  overflow: hidden;
}

.hft-visual::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    transparent,
    rgba(59, 130, 246, 0.1),
    transparent
  );
  animation: scan 2s infinite linear;
}

@keyframes scan {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

/* Contact Form */
.contact-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 3rem;
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition-normal);
  backdrop-filter: blur(8px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-tertiary);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.06);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-submit {
  width: 100%;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.125rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
}

.form-submit:hover {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.45);
}

.form-submit:active {
  transform: translateY(0);
}

/* Modern Design & Frontend Excellence Section */
/* Social Impact Section - Special Highlight */
.social-impact-section {
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.08) 0%,
    rgba(16, 185, 129, 0.03) 50%,
    rgba(15, 20, 25, 0) 100%
  );
  border-top: 1px solid rgba(16, 185, 129, 0.25);
  border-bottom: 1px solid rgba(16, 185, 129, 0.25);
  position: relative;
}

.impact-dual-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.impact-card {
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.06) 0%,
    rgba(16, 185, 129, 0.02) 100%
  );
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  backdrop-filter: blur(12px);
}

.impact-card:hover {
  transform: translateY(-8px);
  border-color: #10b981;
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
}

.impact-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.impact-card-header i {
  font-size: 2.2rem;
  color: #10b981;
}

.impact-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.impact-card h3 {
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.impact-card-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

.impact-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem;
  background: rgba(16, 185, 129, 0.04);
  border-radius: 10px;
  border: 1px solid rgba(16, 185, 129, 0.12);
  transition: all 0.3s ease;
}

.feature:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateX(3px);
}

.feature i {
  font-size: 1.4rem;
  color: #10b981;
  flex-shrink: 0;
}

.feature span {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9rem;
}

.garage-play-cta {
  background: linear-gradient(135deg, var(--warning) 0%, #f97316 100%);
  color: white;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.garage-play-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(245, 158, 11, 0.45);
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
}

.social-impact-cta {
  background: linear-gradient(135deg, var(--success) 0%, #34d399 100%);
  color: #0a0e27;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}

.social-impact-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(16, 185, 129, 0.45);
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.impact-connection {
  background: rgba(16, 185, 129, 0.08);
  border-left: 4px solid #10b981;
  padding: 2rem;
  border-radius: 12px;
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.impact-connection p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

.impact-connection strong {
  color: #10b981;
  font-weight: 700;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* Footer */
footer {
  background: linear-gradient(
    180deg,
    rgba(10, 14, 39, 0) 0%,
    rgba(10, 14, 39, 0.5) 100%
  );
  border-top: 1px solid var(--border-color);
  padding: 4rem 2rem;
  text-align: center;
  margin-top: 6rem;
  opacity: 1;
  visibility: visible;
}

footer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.3px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.social-links a {
  color: var(--text-secondary);
  font-size: 1.5rem;
  transition: all var(--transition-normal);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.social-links a:hover {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-4px);
}

.social-links a:hover {
  color: var(--primary);
  transform: translateY(-3px);
}

/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

footer .reveal {
  opacity: 1;
  transform: translateY(0);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
  z-index: 1001;
  transition: transform 0.3s ease;
}

.mobile-menu-btn:hover {
  color: var(--primary);
}

/* Responsive Design */

/* Tablet (1024px and down) */
@media (max-width: 1024px) {
  header {
    padding: 1rem 1.5rem;
  }

  .logo-img {
    height: 100px;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .section {
    padding: 6rem 2rem;
  }

  .hft-card {
    gap: 2rem;
  }

  .hft-visual {
    flex: 0 0 250px;
  }

  /* Social Impact Responsive */
  .impact-dual-container {
    gap: 2rem;
    padding: 0 1rem;
  }

  .impact-card h3 {
    font-size: 1.5rem;
  }
}

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

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(15, 20, 25, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    gap: 2rem;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
  }

  .nav-links.active a {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links.active li:nth-child(1) a {
    transition-delay: 0.1s;
  }
  .nav-links.active li:nth-child(2) a {
    transition-delay: 0.2s;
  }
  .nav-links.active li:nth-child(3) a {
    transition-delay: 0.3s;
  }
  .nav-links.active li:nth-child(4) a {
    transition-delay: 0.4s;
  }
  .nav-links.active li:nth-child(5) a {
    transition-delay: 0.5s;
  }
  .nav-links.active li:nth-child(6) a {
    transition-delay: 0.6s;
  }
  .nav-links.active li:nth-child(7) a {
    transition-delay: 0.7s;
  }
  .nav-links.active li:nth-child(8) a {
    transition-delay: 0.8s;
  }
  .nav-links.active li:nth-child(9) a {
    transition-delay: 0.9s;
  }
  .nav-links.active li:nth-child(10) a {
    transition-delay: 1s;
  }

  .logo-img {
    height: 80px;
  }

  .hero {
    padding: 6rem 1.5rem 3rem;
  }

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

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

  .section {
    padding: 4rem 1.5rem;
  }

  .section h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .contact-container {
    padding: 2rem 1.5rem;
  }

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

  .hft-visual {
    width: 100%;
    height: 180px;
    flex: none;
  }

  .glass-card,
  .project-card,
  .service-card,
  .client-card {
    padding: 1.5rem 1rem;
  }

  .client-logo {
    font-size: 1.2rem;
  }

  .client-card h3 {
    font-size: 1rem;
  }

  .client-card p {
    font-size: 0.85rem;
  }

  .impact-connection {
    padding: 1.5rem;
  }

  .impact-connection p {
    font-size: 0.95rem;
  }

  /* Social Impact Mobile adjustments */
  .impact-dual-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .impact-card {
    padding: 1.5rem;
  }

  .impact-features {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .impact-card h3 {
    font-size: 1.4rem;
  }

  .social-impact-section {
    padding: 4rem 1rem;
  }
}

@media (min-width: 1025px) {
  .live-coding-content {
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
  }

  .live-coding-content > div {
    flex: 1 1 48%;
    max-width: 48%;
  }

  .live-coding-content .video-description {
    width: 100%;
  }

  .live-coding-content .video-container {
    max-width: none;
  }

  .live-coding-content hr {
    display: none;
  }
}

/* ============================================================================
 * SECTION THEMES - Technological & Disruptive Design
 * ============================================================================ */

/* THEME 1: ABOUT US - "Origin Code" */
#about {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(15, 20, 25, 0.95) 0%,
    rgba(5, 15, 35, 0.95) 100%
  );
}

#about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(34, 197, 94, 0.03) 0px,
      rgba(34, 197, 94, 0.03) 1px,
      transparent 1px,
      transparent 2px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(34, 197, 94, 0.03) 0px,
      rgba(34, 197, 94, 0.03) 1px,
      transparent 1px,
      transparent 2px
    );
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

#about > .reveal {
  position: relative;
  z-index: 1;
}

#about .section-header h2 {
  background: linear-gradient(135deg, #22c55e 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#about .tech-item {
  background: linear-gradient(
    145deg,
    rgba(34, 197, 94, 0.05) 0%,
    rgba(59, 130, 246, 0.05) 100%
  );
  border: 1px solid rgba(34, 197, 94, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

#about .tech-item::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(34, 197, 94, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

#about .tech-item:hover {
  background: linear-gradient(
    145deg,
    rgba(34, 197, 94, 0.1) 0%,
    rgba(59, 130, 246, 0.1) 100%
  );
  border-color: #22c55e;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
  transform: translateY(-8px);
}

#about .tech-item:hover::before {
  opacity: 1;
}

/* THEME 2: OUR CLIENTS - "Enterprise Matrix" */
#clients {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(15, 20, 25, 0.95) 0%,
    rgba(30, 15, 50, 0.95) 100%
  );
}

#clients::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(
      circle at 20% 50%,
      rgba(99, 102, 241, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(168, 85, 247, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 0;
}

#clients > .reveal {
  position: relative;
  z-index: 1;
}

#clients .section-header h2 {
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#clients .client-card {
  background: linear-gradient(
    145deg,
    rgba(99, 102, 241, 0.05) 0%,
    rgba(168, 85, 247, 0.05) 100%
  );
  border: 1px solid rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

#clients .client-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(168, 85, 247, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

#clients .client-card:hover::after {
  left: 100%;
}

#clients .client-card:hover {
  background: linear-gradient(
    145deg,
    rgba(99, 102, 241, 0.15) 0%,
    rgba(168, 85, 247, 0.15) 100%
  );
  border-color: #a855f7;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
  transform: translateY(-10px);
}

/* THEME 3: SERVICES - "Innovation Spectrum" */
#services {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(15, 20, 25, 0.95) 0%,
    rgba(35, 15, 25, 0.95) 100%
  );
}

#services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(249, 115, 22, 0.05) 0%, transparent 25%),
    linear-gradient(90deg, transparent 25%, rgba(236, 72, 153, 0.05) 50%),
    linear-gradient(90deg, transparent 50%, rgba(99, 102, 241, 0.05) 75%),
    linear-gradient(90deg, transparent 75%, rgba(34, 197, 94, 0.05) 100%);
  background-size: 200% 100%;
  pointer-events: none;
  z-index: 0;
  animation: spectrumShift 8s linear infinite;
}

@keyframes spectrumShift {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 0%;
  }
}

#services > .reveal {
  position: relative;
  z-index: 1;
}

#services .section-header h2 {
  background: linear-gradient(
    90deg,
    #f97316 0%,
    #ec4899 25%,
    #6366f1 50%,
    #22c55e 75%,
    #06b6d4 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 100%;
  animation: gradientFlow 4s ease infinite;
}

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

#services .service-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.02) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

#services .service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    #f97316,
    #ec4899,
    #6366f1,
    #22c55e,
    #06b6d4
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

#services .service-card:hover::before {
  transform: scaleX(1);
}

#services .service-card:hover {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.2);
  transform: translateY(-8px);
}

#services .service-icon {
  background: linear-gradient(
    135deg,
    rgba(249, 115, 22, 0.2) 0%,
    rgba(236, 72, 153, 0.2) 100%
  );
  color: #f97316;
  transition: all 0.3s ease;
}

#services .service-card:hover .service-icon {
  background: linear-gradient(135deg, #f97316 0%, #ec4899 100%);
  color: white;
  transform: rotate(360deg) scale(1.1);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.5);
}

/* THEME 5: TALK TO A SPECIALIST - "Executive Brief" */
#specialist {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(15, 20, 25, 0.96) 0%,
    rgba(10, 20, 35, 0.96) 100%
  );
}

#specialist::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(59, 130, 246, 0.16) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(99, 102, 241, 0.12) 0%,
      transparent 50%
    );
}

#specialist > .reveal {
  position: relative;
  z-index: 1;
}

#specialist .section-header h2 {
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 60%, #ffffff 120%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.specialist-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: stretch;
}

.specialist-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 2.5rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  height: 100%;
  transition: all var(--transition-normal);
}

.specialist-card:hover {
  border-color: var(--border-color-hover);
  box-shadow: 0 24px 72px rgba(59, 130, 246, 0.12);
}

.specialist-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  transition: all var(--transition-fast);
}

.pill-primary {
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.12);
}

.pill-primary:hover {
  border-color: rgba(59, 130, 246, 0.6);
  background: rgba(59, 130, 246, 0.18);
}

.pill-secondary {
  border-color: rgba(99, 102, 241, 0.35);
  background: rgba(99, 102, 241, 0.12);
}

.pill-secondary:hover {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(99, 102, 241, 0.18);
}

.specialist-card h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.specialist-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.specialist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.specialist-notes {
  display: grid;
  gap: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
}

.note-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.note-item i {
  color: var(--primary);
  margin-top: 0.1rem;
}

.note-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.note-item a:hover {
  color: #ffffff;
}

.specialist-figure {
  margin: 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  overflow: hidden;
}

.specialist-photo {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 12%;
  max-height: clamp(340px, 46vh, 560px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  filter: saturate(1.03) contrast(1.02);
}

.specialist-figure figcaption {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* THEME 4: LIVE CODING - "Execution Arena" */
#live-coding {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(15, 20, 25, 0.98) 0%,
    rgba(20, 30, 15, 0.98) 100%
  );
}

#live-coding::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(34, 197, 94, 0.03) 0px,
    rgba(34, 197, 94, 0.03) 2px,
    transparent 2px,
    transparent 4px
  );
  background-size: 100% 20px;
  animation: scanlines 8s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes scanlines {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 20px;
  }
}

#live-coding > .reveal {
  position: relative;
  z-index: 1;
}

#live-coding .section-header h2 {
  font-family: "Courier New", monospace;
  color: #22c55e;
  text-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
  letter-spacing: 2px;
}

#live-coding .video-container {
  border: 2px solid #22c55e;
  box-shadow:
    0 0 20px rgba(34, 197, 94, 0.3),
    inset 0 0 20px rgba(34, 197, 94, 0.1);
  background: rgba(0, 0, 0, 0.8);
  position: relative;
}

#live-coding .video-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    0deg,
    transparent 24%,
    rgba(34, 197, 94, 0.05) 25%,
    rgba(34, 197, 94, 0.05) 26%,
    transparent 27%,
    transparent 74%,
    rgba(34, 197, 94, 0.05) 75%,
    rgba(34, 197, 94, 0.05) 76%,
    transparent 77%,
    transparent
  );
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 2;
  animation: crtFlicker 0.15s infinite;
}

@keyframes crtFlicker {
  0% {
    opacity: 0.97;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.97;
  }
}

#live-coding .video-description {
  background: linear-gradient(
    145deg,
    rgba(34, 197, 94, 0.05) 0%,
    rgba(34, 197, 94, 0.02) 100%
  );
  border: 1px solid rgba(34, 197, 94, 0.3);
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.2);
}

#live-coding .video-description h3 {
  color: #22c55e;
  text-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

/* ============================================================================
 * TYPEWRITER EFFECT - Hacker/Retro Computer Style
 * ============================================================================ */

.typewriter {
  font-family: "Courier New", Courier, monospace !important;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid #ffffff;
  text-align: center;
  margin: 0 auto;
  display: inline-block;
  max-width: 100%;
  min-height: 1.5em;
  animation: blink 0.75s step-end infinite;
}

@keyframes blink {
  0%,
  100% {
    border-color: transparent;
  }
  50% {
    border-color: #fff;
  }
}

/* Mobile typewriter responsiveness */
@media (max-width: 768px) {
  .typewriter {
    font-size: 0.95rem;
    letter-spacing: 0.25px;
    border-right: 0;
    width: auto;
    max-width: 100%;
    padding: 0 1rem;
    white-space: normal;
    overflow: visible;
    display: block;
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .typewriter {
    border-right: 0;
    width: auto;
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    display: block;
    animation: none;
  }
}

/* Mobile responsiveness for Specialist section */
@media (max-width: 768px) {
  .specialist-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .specialist-card {
    padding: 1.75rem 1.25rem;
  }

  .specialist-figure {
    padding: 1rem;
  }

  .specialist-photo {
    max-height: min(420px, 52vh);
    object-position: 50% 10%;
  }
}

/* ============================================================================
 * BIO CODE TECH PAY — Financial Intelligence Platform
 * Theme: Electric Blue + Deep Purple | Fintech Enterprise
 * ============================================================================ */

/* Section container */
.biopay-section {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(10, 13, 17, 0.98) 0%,
    rgba(15, 10, 40, 0.98) 50%,
    rgba(10, 13, 17, 0.98) 100%
  );
}

.biopay-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 40% at 15% 20%,
      rgba(59, 130, 246, 0.06) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 50% 35% at 85% 75%,
      rgba(168, 85, 247, 0.07) 0%,
      transparent 70%
    );
  pointer-events: none;
}

/* Section badge */
.biopay-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.1),
    rgba(168, 85, 247, 0.1)
  );
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #c084fc;
  padding: 0.4rem 1.2rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Hero statement */
.biopay-hero-statement {
  max-width: 860px;
  margin: 0 auto 3.5rem;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.06),
    rgba(168, 85, 247, 0.06)
  );
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  text-align: center;
}

.biopay-hero-statement p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
}

/* ---- Media Grid (videos) ---- */
.biopay-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.biopay-video-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.biopay-media-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #c084fc;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.biopay-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: #000;
  border: 1px solid rgba(168, 85, 247, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  display: block;
  object-fit: cover;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.biopay-video:hover {
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.18);
}

.biopay-video--full {
  width: 100%;
  height: auto;
  min-height: 320px;
  aspect-ratio: 16 / 9;
}

.biopay-teaser-right .biopay-video-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.biopay-teaser-right .biopay-video-wrapper .biopay-video--full {
  flex: 1;
  min-height: 0;
}

/* ---- Image Gallery ---- */
.biopay-image-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.biopay-img-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  aspect-ratio: 16 / 10;
  background: rgba(0, 0, 0, 0.4);
}

.biopay-img-card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.18);
}

.biopay-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Intelligent Agent Container ---- */
.biopay-agent-container {
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.06) 0%,
    rgba(59, 130, 246, 0.04) 50%,
    rgba(10, 13, 17, 0.9) 100%
  );
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 3rem;
}

.biopay-agent-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.biopay-agent-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.2),
    rgba(59, 130, 246, 0.15)
  );
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #c084fc;
}

.biopay-agent-header h3 {
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.biopay-agent-subtitle {
  color: #c084fc;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
}

.biopay-agent-desc {
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

/* ---- Capabilities Grid ---- */
.biopay-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.biopay-capability {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(168, 85, 247, 0.12);
  border-radius: 12px;
  padding: 1.25rem;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

.biopay-capability:hover {
  background: rgba(168, 85, 247, 0.06);
  border-color: rgba(168, 85, 247, 0.3);
}

.biopay-cap-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.15),
    rgba(168, 85, 247, 0.1)
  );
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #93c5fd;
}

.biopay-capability h4 {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.biopay-capability p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* ---- AI Statement ---- */
.biopay-ai-statement {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.08),
    rgba(168, 85, 247, 0.06)
  );
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-left: 4px solid #3b82f6;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.biopay-ai-statement i {
  font-size: 1.6rem;
  color: #60a5fa;
  min-width: 28px;
  margin-top: 0.1rem;
}

.biopay-ai-statement p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0;
  font-style: italic;
}

/* ---- Tech Pillars ---- */
.biopay-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

.biopay-pillar {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.biopay-pillar:hover {
  background: rgba(59, 130, 246, 0.06);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-4px);
}

.biopay-pillar i {
  font-size: 1.8rem;
  color: #60a5fa;
  margin-bottom: 0.75rem;
  display: block;
}

.biopay-pillar h4 {
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.biopay-pillar p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* ---- Project Card (in Projects grid) ---- */
.biopaytechcard {
  border: 2px solid rgba(168, 85, 247, 0.25);
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.07) 0%,
    rgba(59, 130, 246, 0.04) 50%,
    var(--card-bg) 100%
  );
}

.biopaytechcard:hover {
  border-color: #a855f7;
  box-shadow:
    0 20px 40px rgba(168, 85, 247, 0.18),
    inset 0 0 30px rgba(168, 85, 247, 0.04);
  transform: translateY(-8px);
}

.biopaytechcard::before {
  background: linear-gradient(90deg, #3b82f6, #a855f7, #8b5cf6);
}

.biopay-card-header {
  margin-bottom: 1rem;
}

.biopay-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.12),
    rgba(59, 130, 246, 0.08)
  );
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #c084fc;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.biopay-icon {
  color: #a855f7;
  font-size: 2.2rem;
}

.biopay-tag {
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.1),
    rgba(59, 130, 246, 0.08)
  );
  color: #c084fc;
  padding: 0.3rem 0.8rem;
  border-radius: 18px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(168, 85, 247, 0.28);
  transition: all 0.3s ease;
}

.biopaytechcard:hover .biopay-tag {
  background: rgba(168, 85, 247, 0.15);
  border-color: #a855f7;
}

.biopay-link {
  color: #a855f7;
  font-weight: 600;
}

.biopay-link:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
}

/* ---- Teaser Card (in main index) ---- */
.biopay-teaser-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.07) 0%,
    rgba(59, 130, 246, 0.04) 50%,
    rgba(10, 13, 17, 0.9) 100%
  );
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.biopay-teaser-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #a855f7, #8b5cf6, #3b82f6);
  background-size: 200% 100%;
  animation: biopay-gradient-slide 3s linear infinite;
}

.biopay-teaser-live {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.biopay-teaser-left h3 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.biopay-teaser-left p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.biopay-teaser-proofs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.biopay-teaser-proofs span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: 20px;
  padding: 0.38rem 0.9rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.biopay-teaser-proofs span i {
  color: #a855f7;
  font-size: 0.85rem;
}

.biopay-teaser-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.biopay-teaser-right {
  position: relative;
  border-radius: 18px;
  overflow: visible;
}

.biopay-teaser-right > img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(59, 130, 246, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  display: block;
  object-fit: cover;
  aspect-ratio: 16/10;
}

.biopay-teaser-img-overlay {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 55%;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(168, 85, 247, 0.4);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.25);
}

.biopay-teaser-img-overlay img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/10;
}

@media (max-width: 1024px) {
  .biopay-teaser-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .biopay-teaser-right {
    display: block;
  }

  .biopay-teaser-right .biopay-media-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .biopay-teaser-card {
    padding: 2rem 1.5rem;
  }
  .biopay-teaser-left h3 {
    font-size: 1.35rem;
  }
  .biopay-teaser-actions {
    flex-direction: column;
  }
  .biopay-teaser-actions .biopay-cta-primary,
  .biopay-teaser-actions .biopay-cta-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .biopay-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .biopay-image-gallery {
    grid-template-columns: 1fr 1fr;
  }

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

  .biopay-agent-container {
    padding: 1.5rem;
  }

  .biopay-agent-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .biopay-hero-statement {
    padding: 1.5rem;
  }

  .biopay-ai-statement {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .biopay-image-gallery {
    grid-template-columns: 1fr;
  }

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

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

/* ---- CTA Block — Open Account ---- */
.biopay-cta-block {
  margin-top: 3.5rem;
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.1) 0%,
    rgba(59, 130, 246, 0.08) 40%,
    rgba(10, 13, 17, 0.95) 100%
  );
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.biopay-cta-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #a855f7, #8b5cf6, #3b82f6);
  background-size: 200% 100%;
  animation: biopay-gradient-slide 3s linear infinite;
}

@keyframes biopay-gradient-slide {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 200% 0%;
  }
}

.biopay-cta-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  padding: 0.4rem 1.1rem;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.biopay-live-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: biopay-pulse 1.8s ease-out infinite;
}

@keyframes biopay-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.biopay-cta-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.biopay-cta-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

/* Proof items */
.biopay-cta-proofs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.biopay-proof-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: 30px;
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.biopay-proof-item i {
  color: #a855f7;
  font-size: 0.95rem;
}

.biopay-proof-item:hover {
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.4);
  color: var(--text-primary);
}

/* Action buttons */
.biopay-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.biopay-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #a855f7, #3b82f6);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95rem 2rem;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.35);
  letter-spacing: 0.01em;
}

.biopay-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(168, 85, 247, 0.55);
  background: linear-gradient(135deg, #9333ea, #2563eb);
}

.biopay-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: transparent;
  color: #c084fc;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 1.75rem;
  border-radius: 14px;
  text-decoration: none;
  border: 1.5px solid rgba(168, 85, 247, 0.4);
  transition: all 0.3s ease;
}

.biopay-cta-secondary:hover {
  background: rgba(168, 85, 247, 0.08);
  border-color: #a855f7;
  color: #fff;
  transform: translateY(-3px);
}

.biopay-cta-footnote {
  color: var(--text-secondary);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  opacity: 0.7;
  margin: 0;
}

.biopay-cta-footnote i {
  color: #60a5fa;
}

/* CTA Responsive */
@media (max-width: 768px) {
  .biopay-cta-block {
    padding: 2rem 1.5rem;
  }

  .biopay-cta-title {
    font-size: 1.5rem;
  }

  .biopay-cta-actions {
    flex-direction: column;
    gap: 0.85rem;
  }

  .biopay-cta-primary,
  .biopay-cta-secondary {
    width: 100%;
    justify-content: center;
  }

  .biopay-cta-proofs {
    gap: 0.65rem;
  }
}

/* ============================================================================
 * INSTITUTIONAL REDESIGN
 * A restrained visual system for an engineering company operating critical
 * software. One accent color, flat surfaces and evidence-first hierarchy.
 * ============================================================================ */

:root {
  --primary: #4f8edc;
  --primary-light: #77a9e8;
  --secondary: #2f6db8;
  --accent: #4f8edc;
  --accent-light: #77a9e8;
  --dark-bg: #07111f;
  --dark-bg-secondary: #0a1626;
  --card-bg: #0d1b2e;
  --card-bg-hover: #102238;
  --text-primary: #f4f7fb;
  --text-secondary: #aebdd0;
  --text-tertiary: #7f91a8;
  --border-color: #1d3048;
  --border-color-hover: #365575;
  --success: #5f9d82;
  --warning: #b9a06a;
  --design: #4f8edc;
}

html {
  scrollbar-width: auto;
  -ms-overflow-style: auto;
  scroll-padding-top: 84px;
}

html::-webkit-scrollbar {
  display: block;
  width: 10px;
}

html::-webkit-scrollbar-track {
  background: #07111f;
}

html::-webkit-scrollbar-thumb {
  background: #263b55;
  border: 2px solid #07111f;
  border-radius: 999px;
}

body {
  background: var(--dark-bg);
  line-height: 1.65;
  letter-spacing: 0;
}

.bg-animation {
  display: none;
}

header {
  padding: 0.7rem 2rem;
  background: rgba(7, 17, 31, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #17283d;
  box-shadow: none;
}

header.is-scrolled {
  background: rgba(7, 17, 31, 0.985);
  border-bottom-color: #223750;
}

nav {
  max-width: 1240px;
  gap: 2rem;
}

.logo-img,
.logo:hover .logo-img {
  height: 72px;
  transform: none;
  filter: none;
}

.nav-links {
  gap: 0.15rem;
}

.nav-links a {
  padding: 0.65rem 0.75rem;
  color: #9fb0c4;
  font-size: 0.84rem;
  font-weight: 550;
  letter-spacing: 0.01em;
}

.nav-links a::after {
  bottom: 0.3rem;
  height: 1px;
  background: var(--primary-light);
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.hero {
  min-height: 780px;
  padding: 10.5rem 2rem 6.5rem;
  justify-content: flex-start;
  text-align: left;
  background: linear-gradient(180deg, #07111f 0%, #0a1626 100%);
  border-bottom: 1px solid #17283d;
}

.hero-content {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  animation: none;
}

.hero-copy,
.hero-brief {
  min-width: 0;
}

.hero-kicker,
.section-eyebrow {
  color: var(--primary-light);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-kicker {
  margin-bottom: 1.4rem;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 1.6rem;
  color: var(--text-primary);
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: currentColor;
  background-clip: initial;
  -webkit-text-stroke: 0;
  filter: none;
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  font-weight: 720;
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.hero-subtitle {
  max-width: 680px;
  margin: 0 0 2.2rem;
  color: #afbed0;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.35rem;
  margin-bottom: 2.5rem;
}

.cta-button,
.biopay-cta-primary,
.form-submit {
  background: var(--primary);
  background-size: auto;
  animation: none;
  border: 1px solid var(--primary);
  border-radius: 5px;
  box-shadow: none;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  padding: 0.9rem 1.25rem;
  text-transform: none;
}

.cta-button::before,
.cta-button::after {
  display: none;
}

.cta-button:hover,
.biopay-cta-primary:hover,
.form-submit:hover {
  background: #65a0e3;
  border-color: #65a0e3;
  box-shadow: none;
  letter-spacing: 0.01em;
  transform: none;
}

.cta-outline {
  background: transparent;
  border-color: #375675;
  color: #dbe5f0;
}

.cta-outline:hover {
  background: #102238;
  border-color: #56799e;
}

.hero-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #d7e1ec;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.hero-secondary-link:hover {
  color: #ffffff;
}

.hero-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.4rem;
  color: #8497ad;
  font-size: 0.78rem;
  font-weight: 550;
}

.hero-proof-list span {
  position: relative;
  padding-left: 0.85rem;
}

.hero-proof-list span::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--primary-light);
}

.hero-brief {
  border-top: 1px solid #2a405a;
  border-bottom: 1px solid #2a405a;
  padding: 1.8rem 0 0;
}

.hero-brief-label {
  margin-bottom: 0.8rem;
  color: #7f92a8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-brief-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.8rem;
  padding: 1.15rem 0;
  border-top: 1px solid #172b41;
}

.hero-brief-item > span {
  color: var(--primary-light);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
}

.hero-brief-item strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #e9eff6;
  font-size: 0.98rem;
  font-weight: 650;
}

.hero-brief-item p {
  color: #899bb0;
  font-size: 0.83rem;
  line-height: 1.55;
}

.hero-brief-footer {
  margin: 0 -1px;
  padding: 1rem 0;
  border-top: 1px solid #2a405a;
  color: #8294a9;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-brief-footer span {
  margin: 0 0.45rem;
  color: var(--primary-light);
}

.section {
  max-width: 1240px;
  padding: 6.5rem 2rem;
  border-top: 1px solid #14263a;
}

.section-header {
  max-width: 850px;
  margin: 0 0 3rem;
  text-align: left;
}

.section-eyebrow {
  margin-bottom: 0.9rem;
}

.section h2 {
  max-width: 840px;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 680;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-desc {
  max-width: 680px;
  margin: 0;
  color: #93a5ba;
  font-size: 1rem;
}

#about,
#clients,
#services,
#specialist,
#live-coding,
.social-impact-section,
.biopay-section {
  background: transparent;
}

#about::before,
#clients::before,
#services::before,
#specialist::before,
#live-coding::before,
.biopay-section::before {
  display: none;
}

#about .section-header h2,
#clients .section-header h2,
#services .section-header h2,
#specialist .section-header h2,
#live-coding .section-header h2 {
  color: var(--text-primary);
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: currentColor;
  background-clip: initial;
  animation: none;
  font-family: inherit;
  letter-spacing: -0.04em;
  text-shadow: none;
}

.about-text {
  max-width: 820px;
  margin: 0;
  color: #b1c0d1;
  font-size: 1.08rem;
  text-align: left;
}

.tech-stack,
.services-grid,
.projects-grid,
.clients-grid {
  gap: 1rem;
}

.glass-card,
.tech-item,
.client-card,
.service-card,
.project-card,
.impact-card,
.specialist-card,
.specialist-figure,
.contact-container,
.biopay-teaser-card,
.biopay-video-wrapper,
#about .tech-item,
#clients .client-card,
#services .service-card,
.garage-card,
.social-card,
.hft-card {
  background: var(--card-bg);
  backdrop-filter: none;
  border: 1px solid var(--border-color);
  border-radius: 7px;
  box-shadow: none;
}

.tech-item,
.client-card,
.service-card,
.project-card,
.impact-card {
  padding: 1.65rem;
}

.tech-item:hover,
.client-card:hover,
.service-card:hover,
.project-card:hover,
.impact-card:hover,
.specialist-card:hover,
.biopay-teaser-card:hover,
#about .tech-item:hover,
#clients .client-card:hover,
#services .service-card:hover,
.garage-card:hover {
  background: var(--card-bg-hover);
  border-color: var(--border-color-hover);
  box-shadow: none;
  transform: none;
}

.tech-item::before,
.client-card::after,
.service-card::before,
.project-card::before,
.impact-card::before,
.biopay-teaser-card::before,
#live-coding .video-container::before {
  display: none;
}

.tech-item h4,
.client-card h3,
.service-card h3,
.project-card h3 {
  color: #e9eff6;
}

.tech-item h4 i,
.client-logo i,
.service-icon,
.project-icon,
.impact-card-header i,
.garage-icon,
.social-icon {
  color: var(--primary-light);
}

#services .service-icon,
.service-icon {
  width: 42px;
  height: 42px;
  border: 1px solid #29445f;
  border-radius: 5px;
  background: #102239;
  font-size: 1.15rem;
}

#services .service-card:hover .service-icon,
.service-card:hover .service-icon {
  background: #132b46;
  box-shadow: none;
  color: var(--primary-light);
  transform: none;
}

#services .service-card .service-icon,
#services .service-card .service-icon i {
  background: #102239;
  color: var(--primary-light) !important;
}

.client-card:hover .client-logo,
.garage-card:hover .garage-icon {
  transform: none;
}

.hft-card {
  background: #0b192a;
}

.hft-visual {
  color: #345d87;
  opacity: 0.7;
}

.garage-tag,
.social-tag,
.biopay-tag,
.impact-badge,
.pill,
.biopay-section-badge,
.biopay-teaser-live,
.biopay-teaser-proofs span {
  background: #102239;
  border: 1px solid #29445f;
  border-radius: 999px;
  color: #a9c8eb;
}

.impact-dual-container {
  gap: 1rem;
}

.impact-card h3 {
  color: #e9eff6;
  font-size: 1.45rem;
}

.feature,
.feature:hover {
  background: #0d2135;
  border: 1px solid #213f5c;
  border-radius: 5px;
  transform: none;
}

.feature i,
.impact-connection strong {
  color: var(--primary-light);
}

.impact-connection {
  background: transparent;
  border: 1px solid #223851;
  border-radius: 6px;
  color: #aebdd0;
}

.garage-play-cta,
.social-impact-cta {
  background: #102239;
  border: 1px solid #315373;
  color: #dce7f2;
  box-shadow: none;
}

.garage-play-cta:hover,
.social-impact-cta:hover {
  background: #162c45;
  box-shadow: none;
  transform: none;
}

.project-link,
.garage-link,
.social-link,
.biopay-link {
  color: #8ab7e8;
}

.project-link:hover,
.garage-link:hover,
.social-link:hover,
.biopay-link:hover {
  color: #c7def5;
  gap: 0.5rem;
  transform: none;
}

.biopay-section-badge {
  margin-bottom: 1rem;
  background: #102239;
  color: #a9c8eb;
}

.biopay-teaser-card {
  gap: 2.5rem;
  padding: 2.25rem;
}

.biopay-teaser-live {
  color: #9fc2e6;
}

.biopay-live-dot {
  background: #77a9e8;
  box-shadow: none;
  animation: none;
}

.biopay-teaser-left h3 {
  color: #eef3f8;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 650;
  letter-spacing: -0.035em;
}

.biopay-teaser-proofs span i {
  color: var(--primary-light);
}

.biopay-media-label {
  background: #0a1626;
  color: #9baec3;
  border-bottom: 1px solid #223750;
}

.biopay-video,
#live-coding .video-container {
  border: 0;
  border-radius: 5px;
  box-shadow: none;
  filter: none;
}

.biopay-video:hover {
  box-shadow: none;
  transform: none;
}

#live-coding .video-container {
  border: 1px solid #273e58;
}

#live-coding .video-container::after {
  display: none;
}

#live-coding .video-description {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  box-shadow: none;
}

#live-coding .video-description h3 {
  color: #dfe8f2;
  text-shadow: none;
}

#servicenow .tech-card-mini {
  background: #0b192a !important;
  border: 1px solid #213850 !important;
  border-radius: 5px !important;
}

#servicenow .tech-card-mini:hover {
  background: #102238 !important;
  border-color: #365575 !important;
  transform: none;
}

#servicenow .tech-card-mini i {
  color: var(--primary-light) !important;
}

.typewriter {
  width: auto;
  border-right: 0;
  animation: none;
  white-space: normal;
}

.specialist-grid {
  gap: 1rem;
}

.specialist-card,
.specialist-figure {
  padding: 1.6rem;
}

.specialist-card h3 {
  font-weight: 650;
  letter-spacing: -0.025em;
}

.specialist-notes {
  border-top-color: #21364f;
}

.specialist-photo {
  border: 0;
  border-radius: 5px;
  box-shadow: none;
  filter: saturate(0.92) contrast(1.03);
}

.contact-container {
  max-width: 820px;
  margin: 0;
  padding: 2rem;
}

.form-group input,
.form-group textarea {
  background: #091626;
  border: 1px solid #263d58;
  border-radius: 4px;
  backdrop-filter: none;
}

.form-group input:focus,
.form-group textarea:focus {
  background: #0b1a2c;
  border-color: #5c8fc7;
  box-shadow: 0 0 0 3px rgba(79, 142, 220, 0.12);
}

footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2.5rem 2rem 3rem;
  background: transparent;
  border-top: 1px solid #20334b;
}

footer .reveal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.social-links a,
.social-links a:hover {
  border-color: #263d58;
  border-radius: 4px;
  background: transparent;
  color: #8fa2b8;
  transform: none;
}

.whatsapp-float {
  display: none;
}

.reveal,
.reveal.show,
footer .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: 9rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-brief {
    max-width: 720px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 0.55rem 1rem;
  }

  .logo-img,
  .logo:hover .logo-img {
    height: 58px;
  }

  .nav-links {
    top: 70px;
    background: #081523;
    border-top: 1px solid #1c3148;
    border-bottom: 1px solid #1c3148;
  }

  .nav-links a {
    font-size: 0.92rem;
  }

  .mobile-menu-btn {
    color: #d9e3ee;
  }

  .hero {
    padding: 8.5rem 1.25rem 5rem;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
    letter-spacing: -0.05em;
  }

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

  .hero-proof-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-subtitle,
  .hero-proof-list span {
    overflow-wrap: anywhere;
  }

  .section h2 {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .section {
    padding: 5rem 1.25rem;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .biopay-teaser-card {
    padding: 1.25rem;
  }

  .contact-container {
    padding: 1.25rem;
  }

  footer .reveal {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-proof-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }
}
