/* ============================================================
   EXPORTARIA V2 STYLESHEET
   Premium Glassmorphism · Dark Tech · Mobile Perfect
   ============================================================ */

:root {
  --bg-deep: #030712;
  --bg-panel: rgba(11, 18, 32, 0.82);
  --bg-panel-strong: rgba(7, 10, 18, 0.92);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-strong: rgba(255, 255, 255, 0.16);
  --primary: #10b981;
  --primary-strong: #34d399;
  --accent-purple: #6366f1;
  --text-white: #f8fafc;
  --text-muted: #94a3b8;
  --heading-font: "Outfit", sans-serif;
  --body-font: "Inter", sans-serif;
  --mono-font: "JetBrains Mono", monospace;
  --shadow-soft: 0 30px 80px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 45px rgba(16, 185, 129, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  background-color: var(--bg-deep);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

p {
  margin: 0;
}

.text-muted {
  color: var(--text-muted);
}

.text-green {
  color: var(--primary-strong);
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

body.menu-active {
  overflow: hidden;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.section-padding {
  padding: 120px 0;
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s ease, border-color 0.3s ease, box-shadow 0.4s;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border-strong);
  box-shadow: var(--shadow-glow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-ghost {
  border: 1px solid var(--glass-border);
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-glow {
  background: linear-gradient(
    120deg,
    var(--primary) 0%,
    var(--primary-strong) 100%
  );
  color: #020617;
  font-weight: 700;
  box-shadow: 0 15px 40px -10px rgba(16, 185, 129, 0.7);
  position: relative;
  overflow: hidden;
  animation: glowBreathe 4.5s ease-in-out infinite;
}

.btn-glow::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.3);
  opacity: 0;
  animation: pulseGlow 2.6s infinite;
}

.btn-glow:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 22px 45px -12px rgba(52, 211, 153, 0.9);
}

@keyframes pulseGlow {
  0% {
    opacity: 0;
  }

  40% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes glowBreathe {
  0% {
    box-shadow: 0 15px 40px -10px rgba(16, 185, 129, 0.55);
    transform: translateY(0);
  }

  50% {
    box-shadow: 0 20px 50px -12px rgba(52, 211, 153, 0.8);
    transform: translateY(-1px);
  }

  100% {
    box-shadow: 0 15px 40px -10px rgba(16, 185, 129, 0.55);
    transform: translateY(0);
  }
}

@keyframes ambientDrift {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(20px, -30px) scale(1.05);
  }

  100% {
    transform: translate(-15px, 25px) scale(0.95);
  }
}

.ambient-light {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.8;
  z-index: -1;
  animation: ambientDrift 18s ease-in-out infinite alternate;
}

.light-1 {
  top: -15%;
  left: -10%;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.22),
    transparent 65%
  );
}

.light-2 {
  bottom: 5%;
  right: -5%;
  background: radial-gradient(
    circle,
    rgba(16, 185, 129, 0.18),
    transparent 70%
  );
}

/* ===================== NAVIGATION ===================== */
.site-header {
  position: relative;
  z-index: 10;
}

.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, calc(100% - 32px));
  padding: 12px 28px;
  border-radius: 999px;
  background: rgba(3, 7, 18, 0.65);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s;
}

.navbar.active {
  background: rgba(3, 7, 18, 0.95);
  border-color: rgba(255, 255, 255, 0.2);
}

.navbar.scrolled {
  background: rgba(3, 7, 18, 0.9);
  border-color: rgba(255, 255, 255, 0.15);
  padding: 10px 26px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 36px;
  display: block;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.4));
  transition: transform 0.25s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-white);
}

.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
}

.menu-toggle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text-white);
  display: block;
  margin: 0 auto;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.9);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  text-align: center;
}

.nav-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-overlay ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.nav-overlay a {
  font-size: 1.5rem;
  font-weight: 600;
}

.nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: var(--text-white);
  cursor: pointer;
}

/* ===================== HERO ===================== */
.hero {
  padding-top: 135px;
  padding-bottom: 110px;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 60px;
  align-items: center;
}

.badge-ai {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono-font);
  font-size: 0.8rem;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary-strong);
  margin-bottom: 26px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.3;
  }

  100% {
    transform: scale(1);
    opacity: 0.9;
  }
}

.hero-title {
  font-size: clamp(2.8rem, 4vw, 4rem);
  margin-bottom: 20px;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 34px;
  max-width: 520px;
}

.hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 28px;
}

.hero-meta i {
  color: var(--primary);
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  perspective: 1200px;
}

.glass-terminal {
  background: linear-gradient(
    140deg,
    rgba(30, 42, 60, 0.9),
    rgba(12, 20, 34, 0.95)
  );
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7);
  transform: rotateY(-8deg) rotateX(5deg);
  transition: transform 0.2s ease-out;
}

.terminal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
  opacity: 0.7;
}

.window-dots {
  display: flex;
  gap: 8px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #475569;
}

.window-dots .dot-red {
  background: #ef4444;
}

.window-dots .dot-yellow {
  background: #f59e0b;
}

.window-dots .dot-green {
  background: #10b981;
}

.code-block {
  font-family: var(--mono-font);
  font-size: 0.95rem;
  color: #cbd5e1;
}

.code-line {
  margin-bottom: 10px;
}

.cursor {
  border-right: 2px solid var(--primary);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

.result-card {
  margin-top: 22px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.result-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.result-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #020617;
  font-size: 1rem;
}

/* ===================== LOGOS ===================== */
.logos-section {
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.25);
  padding: 36px 0;
}

.logos-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
  opacity: 0.6;
}

.logos-flex i {
  font-size: clamp(2rem, 4vw, 2.8rem);
  transition: transform 0.3s ease, color 0.3s ease;
}

.logos-flex i:hover {
  transform: translateY(-4px);
  color: var(--primary);
}

/* ===================== FEATURES ===================== */
.features {
  padding: 120px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
}

.section-head span {
  display: inline-block;
  font-family: var(--mono-font);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--text-muted);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  padding: 32px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card span {
  color: var(--text-muted);
}

.bento-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.3rem;
  color: var(--primary);
}

.span-2 {
  grid-column: span 2;
}

/* ===================== METRICS ===================== */
.metrics-strip {
  padding: 90px 0;
  text-align: center;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: radial-gradient(
    circle,
    rgba(16, 185, 129, 0.08),
    transparent 60%
  );
}

.metrics-flex {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 6vw, 80px);
  flex-wrap: wrap;
}

.metric h3 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.metric p {
  font-family: var(--mono-font);
  letter-spacing: 0.2em;
  color: var(--primary);
  font-size: 0.9rem;
}

/* ===================== CTA & FOOTER ===================== */
.cta-final {
  text-align: center;
  padding: 120px 0;
}

.cta-final h2 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  margin-bottom: 18px;
}

.cta-final p {
  color: var(--text-muted);
  margin-bottom: 36px;
}

.footer {
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 40px;
  background: #020617;
  text-align: center;
  font-size: 0.9rem;
  color: #64748b;
}

.footer img {
  height: 34px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  margin-bottom: 16px;
}

.footer-legal {
  margin-top: 25px;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
}

.fiscal-data {
  color: #64748b; /* Using strictly slate-500 per consistency, can adjust to a1a1aa if needed but user said 'gris' */
  margin-bottom: 10px;
}

.legal-links {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.legal-links a {
  color: #a1a1aa;
  text-decoration: none;
  transition: color 0.3s;
}

.legal-links a:hover {
  color: var(--primary);
}

/* ===================== NEW SECTIONS (CRO) ===================== */
.fda-focus {
  position: relative;
  z-index: 1;
}

.fda-card {
  padding: 60px;
  background: linear-gradient(
    140deg,
    rgba(239, 68, 68, 0.05),
    rgba(7, 10, 18, 0.95)
  );
  border-color: rgba(239, 68, 68, 0.2);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.fda-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 24px;
}

.fda-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 800px;
  margin-bottom: 32px;
}

.fda-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}


/* ===================== SERVICES PAGE ===================== */
.page-header {
  padding-top: 135px;
  padding-bottom: 80px;
  text-align: center;
}

.page-header .glow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono-font);
  font-size: 0.8rem;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 20px;
}

.modules-container {
  padding-bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 90px;
}

.module-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 50px;
  align-items: center;
}

.module-row.reverse {
  direction: rtl;
}

.module-row.reverse > * {
  direction: ltr;
}

.module-text p {
  color: var(--text-muted);
  margin-bottom: 22px;
}

.tech-list li {
  display: flex;
  gap: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.tech-list i {
  color: var(--primary);
  margin-top: 4px;
}

.visual-card {
  padding: 36px;
  position: relative;
}

.mock-code {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 18px;
  padding: 24px;
  font-family: var(--mono-font);
  font-size: 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.kwd {
  color: #c084fc;
}

.str {
  color: #4ade80;
}

.num {
  color: #fbbf24;
}

.window-dots.compact span {
  width: 12px;
  height: 12px;
}

.cta-section {
  text-align: center;
  padding: 100px 0;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1), transparent 65%);
}

/* ===================== TOOLS PAGE ===================== */
.tools-header {
  padding-top: 135px;
  padding-bottom: 70px;
  text-align: center;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 120px;
}

.tool-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.col-span-7 {
  grid-column: span 7;
}

.col-span-6 {
  grid-column: span 6;
}

.col-span-5 {
  grid-column: span 5;
}

.col-span-4 {
  grid-column: span 4;
}

.card-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.card-header p {
  color: var(--text-muted);
}

.icon-square {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
}

.input-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.input-group label {
  font-family: var(--mono-font);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  display: block;
}

.tech-input,
.tech-select {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 12px;
  color: var(--text-white);
  font-size: 0.95rem;
  font-family: var(--mono-font);
  transition: border-color 0.3s ease;
}

.tech-input:focus,
.tech-select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.input-error {
  border-color: #f87171 !important;
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.2);
}

.tool-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-action {
  flex: 1;
  min-width: 120px;
  background: #ffffff;
  color: #020617;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  padding: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(255, 255, 255, 0.12);
}

.btn-reset {
  flex: 1;
  min-width: 120px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--text-white);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-reset:hover {
  background: rgba(255, 255, 255, 0.05);
}

.lcd-screen {
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(2, 6, 23, 0.9);
}

.lcd-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--mono-font);
  letter-spacing: 0.15em;
}

.lcd-value {
  font-size: 1.9rem;
  font-family: var(--mono-font);
  color: var(--primary-strong);
  text-shadow: 0 0 18px rgba(16, 185, 129, 0.6);
}

.resource-link {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.res-icon {
  font-size: 2rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.tool-card:hover .res-icon {
  color: var(--primary);
}

.arrow-link {
  margin-top: auto;
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ===================== CONTACT PAGE ===================== */
.contact-wrapper {
  padding-top: 135px;
  padding-bottom: 110px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 80px;
  position: relative;
}

.info-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono-font);
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary);
  margin-bottom: 18px;
}

.contact-title {
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  margin-bottom: 18px;
}

.contact-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 34px;
}

.process-list {
  border-left: 1px solid var(--glass-border);
  padding-left: 26px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.process-item {
  position: relative;
}

.process-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--text-muted);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.process-item:hover::before {
  border-color: var(--primary);
  background: var(--primary);
}

.terminal-card {
  padding: 0;
  overflow: hidden;
}

.terminal-header {
  padding: 18px 28px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--glass-border);
}

.form-body {
  padding: 32px;
}

.input-group-field {
  margin-bottom: 18px;
}

.input-label {
  display: block;
  font-family: var(--mono-font);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.input-field,
.select-field,
.textarea-field {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text-white);
  padding: 12px 14px;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

.input-field:focus,
.select-field:focus,
.textarea-field:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.checkbox-wrapper {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.custom-check {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}

.btn-submit {
  width: 100%;
  margin-top: 12px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(
    120deg,
    var(--primary) 0%,
    var(--primary-strong) 100%
  );
  color: #020617;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* ===================== ABOUT PAGE ===================== */
.bio-section {
  padding-top: 135px;
  padding-bottom: 110px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 70px;
  align-items: start;
}

.founder-card {
  position: sticky;
  top: 120px;
  padding: 26px;
  text-align: center;
}

.founder-img {
  border-radius: 18px;
  margin-bottom: 16px;
  filter: grayscale(80%);
  transition: filter 0.4s ease;
}

.founder-card:hover .founder-img {
  filter: grayscale(0%);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 12px;
  font-size: 1.2rem;
  color: var(--text-muted);
}

.social-links a:hover {
  color: var(--primary);
}

.bio-text p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

.values-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.value-item {
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 20px;
  padding: 22px;
  background: rgba(16, 185, 129, 0.05);
}

.value-item h4 {
  color: var(--primary-strong);
  margin-bottom: 10px;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1200px) {
  .container {
    width: calc(100% - 40px);
  }

  .navbar {
    width: calc(100% - 32px);
  }
}

@media (max-width: 968px) {
  .navbar {
    padding: 10px 18px;
    backdrop-filter: blur(20px);
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .hero-visual {
    perspective: none;
    /* Remove extreme perspective on mobile */
    max-width: 500px;
    margin: 0 auto;
  }

  .glass-terminal {
    transform: rotateX(0) rotateY(0) !important;
    /* Flatten for better readability */
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  }

  .hero {
    padding-top: 130px;
    padding-bottom: 80px;
  }

  .hero-desc,
  .hero-meta {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns {
    justify-content: center;
  }

  /* Fluid Grids */
  .bento-grid,
  .modules-container .module-row,
  .dashboard-grid,
  .values-grid,
  .bio-section,
  .contact-wrapper {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }

  .bento-card,
  .glass-card {
    min-height: auto;
    /* Allow auto height on mobile */
  }

  .dashboard-grid > * {
    grid-column: span 12;
  }

  .hero,
  .features,
  .page-header,
  .tools-header,
  .contact-wrapper,
  .bio-section {
    padding-top: 130px;
  }

  .contact-wrapper {
    gap: 60px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 7vw, 3.2rem);
    line-height: 1.1;
  }

  .founder-card {
    position: relative;
    top: 0;
    margin: 0 auto;
    max-width: 400px;
  }
}

@media (max-width: 640px) {
  .navbar {
    border-radius: 99px;
    /* Keep pill shape */
    top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .container {
    width: calc(100% - 32px);
    /* More breathing room */
  }

  .hero-title {
    font-size: 2.2rem;
    /* Fixed size for consistency on small phones */
  }

  .hero-desc {
    font-size: 1rem;
  }

  .glass-terminal {
    padding: 20px;
  }

  .hero-meta {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .tool-actions {
    flex-direction: column;
  }

  .logos-flex {
    flex-wrap: wrap;
    gap: 30px;
  }

  .logos-flex i {
    font-size: 2rem;
  }

  .contact-wrapper {
    gap: 50px;
  }

  /* Better touch targets */
  .btn,
  .btn-submit {
    padding: 16px 24px;
    width: 100%;
    /* Full width buttons on mobile usually feel better */
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .hero-btns .btn {
    width: 100%;
  }

  .glass-card {
    padding: 24px;
    border-radius: 20px;
  }
}

/* ============================================================ 
   MOBILE OPTIMIZATION (MAX-WIDTH: 768px)
   "Mobile First" Adjustments
   ============================================================ */
@media (max-width: 768px) {
  /* --- 1. NAVIGATION & HEADER --- */
  .navbar {
    width: calc(100% - 24px);
    top: 10px;
    padding: 10px 16px;
    justify-content: space-between;
  }

  .navbar.scrolled {
    padding: 10px 16px; /* Consistency */
  }

  .nav-links {
    display: none; /* Hide desktop links */
  }

  .menu-toggle {
    display: flex; /* Show hamburger */
    border-color: rgba(255, 255, 255, 0.1);
  }

  .nav-cta {
    display: none; /* Hide header CTA to clear space, moved to mobile menu or bottom */
  }

  /* Keep logo small but visible */
  .logo-img {
    height: 28px;
  }

  /* --- 2. STRUCTURE & LAYOUT --- */
  .container {
    width: calc(100% - 40px); /* 20px padding each side */
  }

  .section-padding {
    padding: 60px 0; /* Reduced vertical spacing */
  }

  /* Grid Collapse */
  .hero-container,
  .bento-grid,
  .features .container, /* Assuming flex/grid used here */
  .metrics-flex,
  .footer .container {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    align-items: center !important; /* Fixes logo stretching */
  }

  /* Keep logos horizontal but wrap if needed */
  .logos-flex {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
  }

  .span-2,
  .span-3 {
    grid-column: span 1 !important;
  }

  /* Hero specific text alignment fix if needed, usually center on mobile looks best */
  .hero-container {
    text-align: center;
    gap: 40px !important;
  }

  .hero-meta {
    justify-content: center;
  }

  .hero-btns {
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }

  .glass-terminal {
    margin-top: 20px;
    transform: none !important; /* Remove 3D tilt for performance */
    padding: 20px;
  }

  /* Code Block Scroll */
  .code-block {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px; /* Space for scrollbar */
    max-width: 100%;
    display: block;
  }

  /* --- 3. TYPOGRAPHY & BUTTONS --- */
  body,
  p {
    font-size: 16px !important; /* Legibility minimum */
  }

  h1,
  .hero-title {
    font-size: 2.2rem !important;
    line-height: 1.2;
  }

  h2 {
    font-size: 1.8rem !important;
  }

  h3 {
    font-size: 1.5rem !important;
  }

  /* Full width buttons with touch-friendly height */
  .btn,
  .hero-btns .btn,
  .nav-cta a {
    width: 100%;
    min-height: 48px; /* >44px requirement */
    justify-content: center;
    margin-bottom: 10px;
  }

  /* Special fix for nav overlay links */
  .nav-overlay a {
    font-size: 1.8rem; /* Larger tap targets */
    padding: 10px;
    display: block;
  }

  /* --- 4. PERFORMANCE & FLUIDITY --- */
  .scroll-reveal {
    transition: opacity 0.4s ease, transform 0.4s ease; /* Faster */
    transform: translateY(15px); /* Reduced movement */
  }

  .ambient-light {
    opacity: 0.5; /* Reduce heavy blur rendering load */
    animation: none; /* Disable complex background animation */
  }

  /* Footer adjustments */
  .footer {
    padding: 40px 0 30px; /* Reduce total footer padding */
  }

  .footer .container {
    gap: 15px !important; /* MIO: Reduced from 30px to make it stick together */
  }

  .footer p {
    font-size: 0.9rem !important; /* Slightly smaller for mobile footer harmony */
    line-height: 1.4;
    padding: 0 10px; /* Prevent edge touching */
  }

  .footer-legal {
    margin-top: 15px; /* Bring legal section closer */
    padding-top: 15px;
    width: 100%;
  }

  .legal-links {
    flex-direction: column;
    gap: 8px; /* Tighter links */
  }

  /* FDA Focus Mobile Fix */
  .fda-card {
    padding: 30px 20px !important;
  }
}
