/* ============================================
   BionicPulse — Stylesheet
   ============================================ */

:root {
  --bg:          #09090b;
  --bg-surface:  #111113;
  --bg-card:     #18181b;
  --border:      #27272a;
  --text:        #fafafa;
  --text-muted:  #71717a;
  --text-dim:    #3f3f46;
  --accent:      #6366f1;
  --accent-glow: rgba(99, 102, 241, 0.15);
  --accent-2:    #818cf8;
  --radius:      12px;
  --radius-sm:   8px;
  --font:        -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono:   'SF Mono', 'Fira Code', ui-monospace, monospace;
  --max-w:       1140px;
  --transition:  0.2s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
svg { display: block; }

/* ---- Container ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover {
  background: var(--accent-2);
  box-shadow: 0 0 20px var(--accent-glow);
}
.btn--outline {
  border-color: var(--border);
  color: var(--text-muted);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--text);
}
.btn--ghost {
  color: var(--text-muted);
}
.btn--ghost:hover {
  color: var(--text);
}
.btn--lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

/* ---- Section helpers ---- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-header--left {
  text-align: left;
  margin: 0 0 3.5rem;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
}
.accent { color: var(--accent-2); }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav__logo {
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: -0.01em;
}
.logo-mark {
  color: var(--accent);
  font-size: 0.6rem;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav__links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--text); }
.nav__links .btn { margin-left: 0.5rem; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 6rem 0 5rem;
  overflow: hidden;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 760px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  background: var(--bg-surface);
}
.hero__badge::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero__headline {
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.hero__sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}
.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero__glow {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ============================================
   DISCIPLINES CALLOUT
   ============================================ */
.disciplines {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}
.disciplines__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.discipline-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  font-family: var(--font-mono);
}
.discipline-pill__dot {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ============================================
   PRODUCTS
   ============================================ */
.products {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}
.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}
.product-card {
  background: linear-gradient(180deg, rgba(24,24,27,0.96) 0%, rgba(17,17,19,0.96) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  min-height: 100%;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--accent-glow);
}
.product-card--featured {
  background:
    linear-gradient(135deg, rgba(99,102,241,0.12) 0%, rgba(24,24,27,0.98) 55%),
    linear-gradient(180deg, rgba(24,24,27,0.98) 0%, rgba(17,17,19,0.98) 100%);
}
.product-card__eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.85rem;
  font-family: var(--font-mono);
}
.product-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.product-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}
.services__grid {
  display: grid;
  gap: 1.25rem;
}
.services__grid--featured {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  margin-bottom: 1.25rem;
}
.services__grid--supporting {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
}
.service-card--featured {
  border-color: rgba(99,102,241,0.3);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(99,102,241,0.05) 100%);
}
.service-card--featured:hover {
  border-color: var(--accent);
}
.service-card__label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.6rem;
  font-family: var(--font-mono);
}
.service-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  color: var(--accent);
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.service-card__tags li {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(99,102,241,0.1);
  color: var(--accent-2);
  border: 1px solid rgba(99,102,241,0.2);
  font-family: var(--font-mono);
}

/* ============================================
   WHY US
   ============================================ */
.why {
  padding: 6rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.why__inner .section-header--left h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
}
.why__points {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.why__point {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.why__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  padding-top: 0.2rem;
  min-width: 28px;
}
.why__point h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.why__point p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   STRATEGY
   ============================================ */
.strategy {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at top right, rgba(99,102,241,0.08), transparent 28%),
    var(--bg-surface);
}
.strategy__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}
.strategy__thesis {
  padding: 1.5rem;
  border: 1px solid rgba(99,102,241,0.28);
  border-radius: var(--radius);
  background: rgba(24,24,27,0.75);
}
.strategy__thesis p {
  color: var(--text);
  line-height: 1.7;
}
.strategy__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.strategy-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: rgba(9,9,11,0.5);
}
.strategy-card__num {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
}
.strategy-card h3 {
  font-size: 1rem;
  margin-bottom: 0.55rem;
  line-height: 1.45;
}
.strategy-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ============================================
   WORK
   ============================================ */
.work {
  padding: 6rem 0;
}
.work__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.work-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color var(--transition);
}
.work-card:hover { border-color: var(--text-dim); }
.work-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.9rem;
  font-family: var(--font-mono);
}
.work-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  line-height: 1.45;
}
.work-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 6rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}
.contact__inner {
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.contact__inner h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
}
.contact__inner p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer__copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .nav__links a:not(.btn) { display: none; }
  .hero { padding: 4rem 0 3.5rem; }
  .why__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .strategy__intro { grid-template-columns: 1fr; }
  .work__grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero__headline { font-size: 2rem; }
  .services__grid { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   THE SHIFT (Timeline)
   ============================================ */
.shift {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.shift__timeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1rem;
}
.shift__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: center;
}
.shift__year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dim);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: inline-block;
  margin: 0 auto;
}
.shift__year.active {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(99, 102, 241, 0.1);
}
.shift__item h4 {
  font-size: 1.1rem;
  font-weight: 600;
}
.shift__item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.shift__arrow {
  font-size: 1.5rem;
  color: var(--text-dim);
  padding-top: 2.5rem;
}

@media (max-width: 768px) {
  .shift__timeline {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }
  .shift__arrow {
    transform: rotate(90deg);
    padding-top: 0;
  }
}
