:root {
  --bg: #f5f7fb;
  --bg-alt: #ffffff;
  --fg: #0f172a;
  --muted: #475569;
  --accent: #2563eb;
  --accent-strong: #1d4ed8;
  --border: rgba(15, 23, 42, 0.1);
  --card-shadow: 0 18px 40px -20px rgba(37, 99, 235, 0.4);
  --transition: 180ms ease;
  font-size: 16px;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  background-image:
    radial-gradient(520px at 0% 0%, rgba(37, 99, 235, 0.16), transparent 60%),
    radial-gradient(680px at 90% -10%, rgba(14, 116, 144, 0.18), transparent 65%);
  color: var(--fg);
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
}

.top-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  padding: 1rem 1.25rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 24px 50px -40px rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(10px);
}

.brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 999px;
  padding: 0.25rem 0.9rem;
  transition: background var(--transition), color var(--transition);
}

.brand:hover {
  background: var(--accent);
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--muted);
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.nav-links a:hover {
  color: var(--accent);
  border-color: rgba(37, 99, 235, 0.25);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: rgba(37, 99, 235, 0.06);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.nav-toggle:hover {
  background: rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
}

.nav-toggle[aria-expanded="true"] {
  background: rgba(37, 99, 235, 0.18);
}

.nav-toggle__line {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--accent-strong);
  margin: 2px 0;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0));
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% 20% 20% -30%;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0) 65%);
  transform: rotate(8deg);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 30% -25% -40% 45%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, rgba(37, 99, 235, 0) 70%);
  filter: blur(0.5px);
}

.hero__content {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4.5rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
  align-items: start;
  gap: 3rem;
}

.hero__subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.hero__description {
  max-width: 640px;
  font-size: 1.15rem;
  color: var(--muted);
}

.hero__pill-group {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--accent-strong);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.15);
}

.hero__actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.9rem;
  padding: 0 1.8rem;
  font-weight: 600;
  border-radius: 999px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: white;
}

.btn--primary:hover {
  background: var(--accent-strong);
}

.btn--ghost {
  border: 1px solid var(--accent);
  color: var(--accent);
}

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

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
}

.hero__panel {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  padding: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 30px 70px -50px rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
}

.hero__panel-title {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.hero__panel-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
  color: var(--muted);
}

.hero__panel-list li {
  padding-left: 1.65rem;
  position: relative;
}

.hero__panel-list li::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  left: 0.5rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.hero__meta {
  margin-top: 2.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.5rem;
}

.meta-label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.meta-value {
  display: block;
  margin-top: 0.35rem;
  font-weight: 600;
}

.hero__stats {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.stat {
  background: var(--bg-alt);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(37, 99, 235, 0.14);
  box-shadow: 0 18px 50px -40px rgba(15, 23, 42, 0.65);
  transition: transform var(--transition), box-shadow var(--transition);
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 60px -45px rgba(37, 99, 235, 0.35);
}

.stat__number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.stat__label {
  display: block;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section--alt {
  position: relative;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.08), rgba(14, 116, 144, 0.04));
  border-radius: 22px;
  margin-top: 3rem;
  margin-bottom: 3rem;
  padding: 3.25rem 1.5rem;
  border: 1px solid rgba(37, 99, 235, 0.08);
  box-shadow: 0 18px 60px -45px rgba(15, 23, 42, 0.45);
}

.section--alt .section__header {
  padding-top: 1.25rem;
}

.section--tint {
  position: relative;
  background: linear-gradient(150deg, rgba(37, 99, 235, 0.1), rgba(14, 116, 144, 0.06));
  border-radius: 22px;
  margin-top: 3rem;
  margin-bottom: 3rem;
  padding: 3.25rem 1.5rem;
  border: 1px solid rgba(37, 99, 235, 0.1);
  box-shadow: 0 20px 65px -48px rgba(15, 23, 42, 0.5);
  overflow: hidden;
}

.section--tint::before {
  content: "";
  position: absolute;
  inset: 10% 65% -25% -20%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, rgba(37, 99, 235, 0) 70%);
  opacity: 0.7;
  pointer-events: none;
}

.section--tint > * {
  position: relative;
  z-index: 1;
}

.section__header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section__header p {
  color: var(--muted);
  max-width: 540px;
}

.cards {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
}

.card__header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.card__header h3 {
  font-size: 1.35rem;
}

.card__timeframe {
  font-size: 0.9rem;
  color: var(--muted);
}

.card__subtitle {
  margin-top: 0.5rem;
  color: var(--muted);
  font-weight: 600;
}

.card__chips {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid rgba(37, 99, 235, 0.18);
}

.chip--ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(37, 99, 235, 0.16);
  color: var(--muted);
}

.card__list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.section--capabilities {
  position: relative;
  overflow: hidden;
  box-shadow: 0 35px 80px -60px rgba(15, 23, 42, 0.5);
}

.section--capabilities::before {
  content: "";
  position: absolute;
  inset: 10% -20% -30% 40%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.14) 0%, rgba(37, 99, 235, 0) 70%);
  z-index: 0;
}

.section--capabilities .section__header,
.section--capabilities .capabilities-grid {
  position: relative;
  z-index: 1;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.capability-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 28px 60px -50px rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  transition: transform var(--transition), box-shadow var(--transition);
}

.capability-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 36px 70px -48px rgba(37, 99, 235, 0.35);
}

.capability-card__icon {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.capability-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.capability-card p {
  color: var(--muted);
}

.capability-card__list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.5rem;
  color: var(--fg);
  font-weight: 500;
}

.capability-card__list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
  font-weight: 500;
}

.capability-card__list li::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0.25rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--accent);
}

.skills-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
  padding: 0 1.5rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.skills-block h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.skills-block ul {
  display: grid;
  gap: 0.6rem;
  color: var(--muted);
}

.skills-badges {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0.5rem 1.5rem 0;
}

.skills-badges .chip {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.15);
  color: var(--accent-strong);
}

.skills-badges .chip--ghost {
  background: rgba(15, 23, 42, 0.05);
  color: var(--muted);
}

.timeline {
  position: relative;
  margin-top: 3rem;
  padding-left: 1.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.65rem;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 2px;
  background: rgba(37, 99, 235, 0.25);
}

.timeline__item {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 2.5rem;
}

.timeline__marker {
  position: absolute;
  left: -0.9rem;
  top: 0.4rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background: #fff;
  border: 3px solid var(--accent);
}

.timeline__content {
  background: var(--bg-alt);
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 25px 40px -35px rgba(15, 23, 42, 0.35);
}

.timeline__content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.timeline__content p {
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  margin-right: 0.5rem;
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--accent-strong);
  background: rgba(37, 99, 235, 0.12);
}

.process-list {
  list-style: none;
  margin-top: 3rem;
  display: grid;
  gap: 1.75rem;
  padding: 0 1rem 2rem;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.75rem;
  border-radius: 20px;
  background: var(--bg-alt);
  border: 1px solid rgba(37, 99, 235, 0.1);
  box-shadow: 0 18px 45px -40px rgba(15, 23, 42, 0.55);
  transition: transform var(--transition), box-shadow var(--transition);
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 60px -50px rgba(37, 99, 235, 0.28);
}

.process-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid rgba(37, 99, 235, 0.2);
  flex-shrink: 0;
}

.process-step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--muted);
}

.educ-card {
  margin: 0 1.25rem 2.25rem;
  padding: 1.75rem;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.1), rgba(14, 116, 144, 0.05));
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.educ-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.educ-card__meta {
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--accent-strong);
}

.cert-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cert-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.cert-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -28px rgba(37, 99, 235, 0.4);
}

.cert-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.cta-section {
  padding-top: 0;
}

.cta-card {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(37, 99, 235, 0.6));
  color: #fff;
  text-align: center;
  box-shadow: 0 40px 80px -50px rgba(15, 23, 42, 0.75);
}

.cta-card h2 {
  font-size: clamp(2.1rem, 5vw, 2.8rem);
  margin-bottom: 1rem;
}

.cta-card p {
  max-width: 540px;
  margin: 0.5rem auto 2rem;
  color: rgba(255, 255, 255, 0.8);
}

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

.cta-card .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.cta-card .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.footer {
  background: #0b1220;
  color: rgba(255, 255, 255, 0.85);
  padding: 4rem 1.5rem;
}

.footer__content {
  max-width: 960px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.footer__content h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.footer__content p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
}

.footer__links a {
  color: #fff;
  opacity: 0.85;
  transition: opacity var(--transition);
}

.footer__links a:hover {
  opacity: 1;
}

.footer__note {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    background: var(--bg-alt);
    padding: 1.25rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px -24px rgba(15, 23, 42, 0.35);
    min-width: 220px;
    z-index: 5;
  }

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

  .nav-links a {
    border: none;
    padding: 0.5rem 0;
  }

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

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero__panel {
    order: 2;
    padding: 2rem;
  }

  .hero__stats {
    margin-top: 2.75rem;
    gap: 1.2rem;
  }

  .skills-grid {
    padding: 0;
  }

  .card__chips {
    gap: 0.4rem;
  }

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

  .section {
    padding: 4rem 1.35rem;
  }

  .section--tint,
  .section--alt {
    padding: 3rem 1.35rem;
    margin-top: 2.75rem;
    margin-bottom: 2.75rem;
    border-radius: 20px;
  }

  .timeline {
    padding-left: 1rem;
  }

  .timeline__content {
    padding: 1.25rem;
  }

  .educ-card {
    margin: 0;
  }

  .process-step {
    flex-direction: column;
    align-items: flex-start;
  }

  .process-step__number {
    width: 2.75rem;
    height: 2.75rem;
  }

  .cta-card {
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 720px) {
  .hero__title {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .hero__description {
    font-size: 1.05rem;
  }

  .hero__stats {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

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

  .capabilities-grid {
    gap: 1.25rem;
  }

  .timeline {
    padding-left: 0;
  }

  .timeline::before {
    display: none;
  }

  .timeline__item {
    padding-left: 0;
    margin-bottom: 2rem;
  }

  .timeline__marker {
    display: none;
  }

  .timeline__content {
    padding: 1.35rem 1.2rem;
  }

  .process-step {
    padding: 1.5rem;
  }
}

@media (max-width: 540px) {
  :root {
    font-size: 15px;
  }

  .top-nav {
    padding: 0.85rem 1rem;
    border-radius: 16px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__pill-group {
    gap: 0.5rem;
  }

  .hero__content {
    padding: 3rem 1.1rem 4rem;
  }

  .section {
    padding: 3.5rem 1.1rem;
  }

  .section--tint,
  .section--alt {
    padding: 2.75rem 1.1rem;
    margin-top: 2.4rem;
    margin-bottom: 2.4rem;
    border-radius: 18px;
  }

  .timeline::before {
    left: 0.4rem;
  }

  .timeline__marker {
    left: -1.15rem;
  }

  .stat {
    padding: 1.35rem 1.1rem;
  }

  .process-list {
    padding: 0 0 2rem;
  }

  .cta-card {
    padding: 2.25rem 1.6rem;
  }

  .cta-card__actions {
    flex-direction: column;
  }
}

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