/* =========================
   GLOBAL RESET
========================= */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Quicksand", sans-serif;
  color: #111;
  background: #fff;
  overflow-x: hidden;
}

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

/* =========================
   HEADER / NAV
========================= */

.site-header {
  height: 72px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo img {
  height: 42px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 34px;
  align-items: center;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: #9fc7ff;
}

/* =========================
   DROPDOWN NAV FIX
========================= */

.nav-dropdown {
  position: relative;
  padding: 24px 0;
  margin: -24px 0;
}

.nav-dropdown > a::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255,255,255,0.8);
  vertical-align: middle;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: #fff;
  border: 1px solid #e1e6ef;
  border-radius: 12px;
  padding: 10px 0;
  min-width: 220px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 999;
}

.nav-dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  color: #111 !important;
  padding: 12px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.dropdown-menu a:hover {
  background: #f4f7ff;
  color: #126ee2 !important;
  padding-left: 24px;
}

/* =========================
   SHARED BUTTONS
========================= */

.primary-btn,
.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #16191d;
  color: #fff;
  padding: 16px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 10px 20px rgba(0,0,0,.15);
  transition: background 0.2s ease, transform 0.2s ease;
}

.primary-btn:hover,
.btn-dark:hover {
  background: #126ee2;
  transform: translateY(-2px);
}

.text-btn {
  display: inline-flex;
  color: #111;
  text-decoration: none;
  font-weight: 700;
  border-bottom: 2px solid #111;
  padding-bottom: 4px;
  font-size: 0.95rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-btn:hover {
  color: #126ee2;
  border-color: #126ee2;
}

.eyebrow {
  color: #126ee2;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  margin: 0 0 18px;
  font-size: 0.88rem;
}

/* =========================
   HOME PAGE HERO
========================= */

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: center;
  padding: 56px 0 30px 40px;
  gap: 0;
}

.hero-left {
  position: relative;
  z-index: 4;
}

.hero h1 {
  font-size: clamp(2.8rem, 4.2vw, 4.85rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin: 0 0 28px;
  font-weight: 800;
}

.intro {
  font-size: 1.2rem;
  margin: 0 0 12px;
  font-weight: 600;
}

.dynamic-row {
  margin-bottom: 26px;
}

#dynamic-text {
  color: #126ee2;
  font-size: 1.65rem;
  font-weight: 800;
  transition: opacity 0.25s ease;
  min-width: 240px;
  display: inline-block;
}

.summary {
  max-width: 570px;
  font-size: 1.06rem;
  line-height: 1.76;
  margin: 0 0 36px;
  color: #222;
}

.actions {
  display: flex;
  gap: 34px;
  align-items: center;
}

.hero-right {
  position: relative;
  height: 720px;
  overflow: visible;
}

.main-illustration {
  position: absolute;
  width: 318px;
  left: 220px;
  top: 75px;
  z-index: 5;
}

/* Floating skill icons */

.skill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
  font-weight: 800;
  font-size: 0.82rem;
  line-height: 1.2;
  cursor: pointer;
  animation: floatSoft 5s ease-in-out infinite;
}

.skill img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.skill span {
  max-width: 118px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.skill:hover img {
  transform: rotate(-8deg) scale(1.16);
  filter: drop-shadow(0 10px 14px rgba(74,144,226,0.30));
}

.skill:hover span {
  color: #126ee2;
  transform: translateX(4px);
}

.skill-ux,
.skill-systems,
.skill-code {
  text-align: right;
}

.skill-ux {
  left: 4px;
  top: 100px;
}

.skill-systems {
  left: 14px;
  top: 232px;
}

.skill-code {
  left: 16px;
  top: 360px;
}

.skill-workflows {
  left: 465px;
  top: 55px;
}

.skill-accessibility {
  left: 470px;
  top: 220px;
}

.skill-interaction {
  left: 470px;
  top: 355px;
}

/* UI Cards */

.ui-card,
.phone-card {
  position: absolute;
  background: #fff;
  border: 1px solid #e1e6ef;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: floatSoft 6s ease-in-out infinite;
}

.ui-card:hover,
.phone-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 60px rgba(0,0,0,0.14);
}

.health-card {
  width: 260px;
  left: 650px;
  top: 112px;
  padding: 16px;
}

.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.card-header-row h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
}

.pill {
  font-size: 0.62rem;
  color: #667085;
  border: 1px solid #e3eaf4;
  border-radius: 8px;
  padding: 5px 8px;
}

.health-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.health-grid div {
  background: #f8fbff;
  border: 1px solid #e3eaf4;
  border-radius: 12px;
  padding: 12px;
  min-height: 125px;
}

.health-grid span,
.health-grid small {
  display: block;
  font-size: 0.64rem;
  color: #667085;
}

.health-grid strong {
  display: block;
  font-size: 1rem;
  margin: 6px 0 3px;
  font-weight: 800;
}

.mini-chart,
.mini-bars {
  width: 100%;
  height: 34px;
  margin-top: 10px;
}

.mini-bars rect {
  fill: #a875ff;
}

/* Health insights */

.insights-card {
  width: 260px;
  left: 650px;
  top: 340px;
  padding: 18px;
}

.insights-card h3 {
  font-size: 0.95rem;
  margin: 0 0 16px;
  font-weight: 800;
  color: #111;
}

.insight-row {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.insight-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.insight-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 800;
}

.insight-icon.green {
  background: #dcf8e9;
  color: #16a060;
}

.insight-icon.red {
  background: #ffe7eb;
  color: #ef476f;
}

.insight-icon.purple {
  background: #efe7ff;
  color: #8e44d8;
}

.insight-copy strong {
  display: block;
  font-size: 0.76rem;
  color: #344054;
  margin-bottom: 2px;
}

.insight-copy small {
  display: block;
  font-size: 0.72rem;
  color: #111;
  font-weight: 700;
}

.insight-status {
  font-size: 0.72rem;
  font-weight: 800;
  color: #16a060;
}

.report-link {
  display: inline-block;
  margin-top: 14px;
  color: #667085;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.report-link:hover {
  color: #126ee2;
}

/* Flow card */

.flow-card {
  width: 420px;
  left: 120px;
  bottom: 28px;
  padding: 16px 18px;
}

.flow-card h3 {
  margin: 0 0 16px;
  font-size: 0.9rem;
  font-weight: 800;
}

.flow-steps {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.flow-steps > div {
  width: 55px;
  text-align: center;
  font-size: 0.6rem;
  color: #667085;
  font-weight: 700;
}

.flow-steps img {
  width: 36px;
  height: 36px;
  border: 1px solid #cfd8e6;
  border-radius: 8px;
  background: #f8fbff;
  padding: 8px;
  display: block;
  margin: 0 auto 6px;
}

.flow-steps span {
  color: #aab;
  font-size: 0.9rem;
  margin-top: 10px;
}

/* Phone card */

.phone-card {
  width: 112px;
  height: 240px;
  left: 555px;
  bottom: 0;
  border-radius: 28px;
  padding: 22px 12px 16px;
  text-align: left;
  z-index: 6;
  border: 2px solid #111;
}

.phone-notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 4px;
  background: #111;
  border-radius: 10px;
}

.phone-card h3 {
  font-size: 0.75rem;
  margin-bottom: 3px;
}

.phone-card p {
  font-size: 0.55rem;
  margin: 0 0 12px;
  color: #667085;
}

.score {
  width: 54px;
  height: 54px;
  border: 5px solid #4A90E2;
  border-left-color: #6ed6a5;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 5px;
  font-weight: 800;
  font-size: 1.05rem;
}

.phone-card small {
  display: block;
  text-align: center;
  font-size: 0.5rem;
  color: #667085;
  margin-bottom: 8px;
}

.phone-stat {
  margin-top: 8px;
  font-size: 0.5rem;
  color: #667085;
}

.phone-stat span,
.phone-stat b {
  display: block;
}

.phone-stat i {
  display: block;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #2f80ed 70%, #e3eaf4 70%);
  border-radius: 999px;
  margin-top: 4px;
}

.phone-stat svg {
  width: 100%;
  height: 24px;
}

@keyframes floatSoft {
  0%, 100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -8px;
  }
}

/* =========================
   PROOF STRIP
========================= */

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #e5e7eb;
  background: #fff;
}

.proof-strip > div {
  padding: 28px 32px 34px;
  border-right: 1px solid #ddd;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: background 0.3s ease;
}

.proof-strip > div:last-child {
  border-right: none;
}

.proof-strip > div:hover {
  background: #16191d;
}

.proof-strip > div:hover strong,
.proof-strip > div:hover p {
  color: #fff;
}

.strip-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.strip-icon img {
  width: 40px;
  height: 40px;
}

.strip-text {
  flex: 1;
}

.proof-strip strong {
  font-size: 1rem;
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
}

.proof-strip p {
  margin: 0;
  color: #4d5563;
  line-height: 1.45;
  font-size: 0.88rem;
}

/* =========================
   RESUME PAGE
========================= */

.resume-page {
  background: #f7f8fb;
  padding: 72px 40px 80px;
}

.resume-hero {
  max-width: 1100px;
  margin: 0 auto 36px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.05);
}

.resume-hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
}

.resume-hero p {
  max-width: 820px;
  font-size: 1.08rem;
  line-height: 1.75;
  color: #344054;
}

.resume-actions {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  align-items: center;
}

.resume-impact {
  max-width: 1100px;
  margin: 0 auto 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.resume-impact div {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.04);
}

.resume-impact strong {
  display: block;
  font-size: 2rem;
  color: #126ee2;
  margin-bottom: 8px;
}

.resume-impact span {
  display: block;
  color: #475467;
  line-height: 1.4;
  font-weight: 700;
}

.resume-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 32% 68%;
  gap: 24px;
  align-items: start;
}

.resume-card,
.resume-role {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.04);
}

.resume-card {
  margin-bottom: 20px;
}

.resume-card h2,
.resume-role h2 {
  margin: 0 0 14px;
  font-size: 1.1rem;
  font-weight: 800;
}

.resume-card ul,
.resume-role ul {
  padding-left: 20px;
  margin: 0;
}

.resume-card li,
.resume-role li {
  margin-bottom: 10px;
  color: #344054;
  line-height: 1.6;
}

.resume-card p {
  color: #344054;
  line-height: 1.55;
  margin: 0 0 16px;
}

.resume-role {
  margin-bottom: 22px;
}

.role-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #eef1f6;
  padding-bottom: 16px;
  margin-bottom: 18px;
}

.role-header p {
  margin: 0;
  color: #667085;
  font-weight: 700;
}

.role-header span {
  white-space: nowrap;
  font-size: 0.9rem;
  color: #126ee2;
  font-weight: 800;
}

/* =========================
   ABOUT PAGE
========================= */

.about-page {
  background: #fff;
  padding: 72px 40px 90px;
}

.about-hero {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 58% 42%;
  align-items: center;
  gap: 70px;
}

.about-copy h1 {
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0 0 28px;
}

.about-copy p {
  font-size: 1.12rem;
  line-height: 1.75;
  color: #222;
  margin: 0 0 20px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.about-tags span {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  background: #f3f6ff;
  border: 1px solid #dce7ff;
  color: #126ee2;
  font-size: 0.82rem;
  font-weight: 800;
}

.about-personal {
  padding-top: 8px;
}

.about-actions {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-top: 34px;
}

.about-image-wrap {
  display: flex;
  justify-content: center;
}

.about-photo {
  width: min(100%, 390px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}

/* =========================
   FOOTER
========================= */

footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 18px;
  font-size: 0.85rem;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 40px;
  }

  .hero-right {
    width: 920px;
    max-width: 100%;
    margin: 20px auto 0;
    height: 720px;
  }

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

  .resume-impact,
  .resume-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .about-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-wrap {
    order: -1;
  }

  .about-page,
  .resume-page {
    padding: 48px 24px 70px;
  }

  .resume-hero {
    padding: 32px;
  }

  .role-header {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: auto;
    padding: 18px 24px;
    flex-direction: column;
    gap: 18px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .nav-dropdown {
    padding: 0;
    margin: 0;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    margin-top: 10px;
  }

  .hero {
    padding: 40px 24px;
  }

  .hero h1,
  .about-copy h1 {
    font-size: 2.6rem;
  }

  .actions,
  .about-actions,
  .resume-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .hero-right {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .main-illustration,
  .skill,
  .ui-card,
  .phone-card {
    position: static;
    transform: none;
    animation: none;
  }

  .main-illustration {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .phone-card,
  .flow-card,
  .health-card,
  .insights-card {
    width: 100%;
    height: auto;
  }

  .flow-steps {
    flex-wrap: wrap;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip > div {
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding: 20px 24px;
  }
}