:root {
  color-scheme: light;
  --ink: #0f172a;
  --muted: #566174;
  --paper: #f7f9fc;
  --panel: #ffffff;
  --line: #dfe6ef;
  --navy: #07111f;
  --blue: #1769ff;
  --cyan: #00a7b5;
  --mint: #18b28f;
  --violet: #6657f5;
  --amber: #f4a62a;
  --soft: #eef5ff;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  font-size: 15.5px;
}

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

p,
h1,
h2,
h3,
li {
  overflow-wrap: anywhere;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(7, 17, 31, 0.94);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(23, 105, 255, 0.28);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 270px;
  color: #fff;
  font-weight: 950;
}

.code-mark {
  color: #28f0df;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  letter-spacing: 0;
}

.logo-text {
  display: inline-flex;
  color: #f8fafc;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  letter-spacing: 0;
  perspective: 900px;
}

.logo-text span {
  display: inline-block;
  transform-origin: 50% 60%;
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1), color 220ms ease;
}

.brand-logo:hover .logo-text span {
  color: #67e8f9;
  transform: rotateX(360deg);
}

.brand-logo:hover .logo-text span:nth-child(2n) {
  transform: rotateY(360deg);
}

.brand-logo:hover .logo-text span:nth-child(3n) {
  transform: rotateZ(8deg) translateY(-2px);
}

.brand {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.site-header nav {
  display: flex;
  gap: clamp(14px, 3vw, 30px);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
}

.site-header nav a:hover,
.site-footer a:hover {
  color: var(--cyan);
}

.primary-button,
.secondary-button,
.tertiary-button,
.chat-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 17px;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}

.primary-button,
.chat-form button {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  box-shadow: 0 18px 34px rgba(23, 105, 255, 0.22);
}

.secondary-button {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.tertiary-button {
  border-color: rgba(0, 167, 181, 0.36);
  background: rgba(0, 167, 181, 0.1);
  color: var(--navy);
}

.tertiary-button:hover {
  border-color: rgba(0, 167, 181, 0.62);
  background: rgba(0, 167, 181, 0.16);
}

.download-menu {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: stretch;
}

.download-toggle {
  gap: 8px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.download-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 80;
  display: none;
  min-width: 210px;
  padding: 8px;
  border: 1px solid rgba(191, 207, 230, 0.92);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 56px rgba(15, 23, 42, 0.26);
}

.download-menu.is-open .download-options {
  display: grid;
  gap: 4px;
}

.download-options a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.download-options a:hover,
.download-options a:focus {
  background: rgba(23, 105, 255, 0.09);
  color: var(--blue);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - 64px);
  padding: clamp(34px, 6vw, 82px) clamp(18px, 4vw, 56px);
  background:
    radial-gradient(circle at 18% 18%, rgba(23, 105, 255, 0.22), transparent 32%),
    radial-gradient(circle at 78% 28%, rgba(0, 167, 181, 0.16), transparent 34%),
    linear-gradient(135deg, #07111f, #132235 58%, #223449);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 24%, rgba(23, 105, 255, 0.16), transparent 26%),
    linear-gradient(90deg, rgba(7, 17, 31, 0.34), rgba(7, 17, 31, 0.1) 48%, rgba(7, 17, 31, 0.2)),
    linear-gradient(180deg, rgba(7, 17, 31, 0.08), rgba(7, 17, 31, 0.34));
  pointer-events: none;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: saturate(1.55) contrast(1.28) brightness(1.22);
  transform: scale(1.035);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.31fr) minmax(0, 0.69fr);
  gap: clamp(24px, 4vw, 54px);
  max-width: 1560px;
  margin: 0 auto;
  align-items: stretch;
}

.profile-card,
.hero-main,
.chat-panel,
.credential-grid article,
.role-grid article,
.skills-matrix article {
  border: 1px solid rgba(223, 230, 239, 0.92);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hero .profile-card,
.hero .hero-main {
  background: rgba(255, 255, 255, 0.54);
  border-color: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(5px) saturate(1.35);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.hero .hero-main {
  background: rgba(255, 255, 255, 0.5);
}

.profile-card,
.hero-main,
.credential-grid article,
.role-grid article,
.skills-matrix article,
.chat-panel {
  border-radius: 22px;
}

.profile-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.profile-photo-slot {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.profile-photo-slot img {
  display: block;
  width: clamp(190px, 13vw, 220px);
  height: clamp(238px, 16.25vw, 275px);
  object-fit: cover;
  object-position: 50% 44%;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
}

.photo-placeholder {
  display: grid;
  width: min(100%, 220px);
  aspect-ratio: 4 / 5;
  place-items: center;
  border: 2px dashed #b7c8df;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(23, 105, 255, 0.1), rgba(0, 167, 181, 0.1)),
    #f8fbff;
  color: #1f4fb8;
  font-weight: 900;
  text-align: center;
}

.profile-photo-slot span {
  color: var(--muted);
  font-size: 0.86rem;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-eyebrow {
  max-width: 820px;
  color: #005fee;
  font-size: clamp(0.72rem, 0.9vw, 0.84rem);
  line-height: 1.45;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2rem, 2.8vw, 2.85rem);
  line-height: 1.02;
  font-weight: 860;
}

h2 {
  max-width: 1180px;
  font-size: clamp(1.8rem, 2.05vw, 2.35rem);
  line-height: 1.1;
  font-weight: 760;
}

h3 {
  font-size: clamp(1.08rem, 1.3vw, 1.28rem);
}

.title {
  display: inline-block;
  width: fit-content;
  margin: 14px 0 0;
  color: #005f73;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  font-weight: 850;
  line-height: 1.35;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
}

.contact-list .icon {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--cyan);
}

.contact-list a:hover {
  color: var(--blue);
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-top: 2px;
  border: 1px solid #c7d7f1;
  border-radius: 999px;
  background: #f3f8ff;
  color: #0a66c2;
  padding: 8px 12px;
  font-weight: 850;
}

.linkedin-link .icon {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  font-size: 1.15rem;
}

.cert-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  align-items: stretch;
}

.cert-badges a {
  display: flex;
  width: 100%;
  min-width: 0;
  height: 112px;
  border-radius: 16px;
}

.cert-badges img {
  display: block;
  width: 100%;
  height: 112px;
  object-fit: contain;
  object-position: center;
  background: #fff;
  padding: 10px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.cert-badges a img {
  height: 100%;
}

.cert-badges a:first-child img {
  padding: 11px;
}

.cert-badges a:nth-child(2) img,
.cert-badges > img:nth-child(3) {
  padding: 14px;
}

.cert-badges a:hover img {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.hero-main {
  position: relative;
  display: grid;
  align-content: start;
  overflow: hidden;
  padding: clamp(28px, 5vw, 56px);
  min-height: 0;
}

.hero-main::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--mint), var(--violet));
}

.lead {
  max-width: 900px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  margin: 26px 0;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.metric-grid div {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(76, 104, 142, 0.62);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 14%, rgba(0, 167, 181, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(7, 17, 31, 0.94), rgba(15, 27, 45, 0.92));
  color: #f8fafc;
  box-shadow: 0 16px 40px rgba(7, 17, 31, 0.24);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.hero .metric-grid div {
  background:
    radial-gradient(circle at 88% 14%, rgba(0, 167, 181, 0.2), transparent 28%),
    linear-gradient(145deg, rgba(7, 17, 31, 0.88), rgba(15, 27, 45, 0.78));
  border-color: rgba(112, 146, 190, 0.58);
  backdrop-filter: blur(6px) saturate(1.2);
}

.metric-grid div::after {
  content: "";
  position: absolute;
  inset: auto 16px 0 16px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(54, 215, 208, 0.88), transparent);
  opacity: 0.7;
}

.metric-grid div:hover {
  transform: translateY(-4px);
  border-color: rgba(54, 215, 208, 0.78);
  box-shadow: 0 22px 52px rgba(0, 167, 181, 0.2);
}

.metric-grid .icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 12px;
  background: rgba(54, 215, 208, 0.13);
  color: #36d7d0;
  font-size: 1rem;
}

.metric-grid strong {
  display: block;
  color: #fff;
  font-size: clamp(1.18rem, 1.75vw, 1.62rem);
  line-height: 1.12;
  font-weight: 850;
}

.metric-grid span {
  display: block;
  margin-top: 8px;
  color: #d9e7f7;
  font-weight: 750;
}

.metric-grid small {
  display: block;
  margin-top: 8px;
  color: #9fb2ca;
  font-size: 0.84rem;
  line-height: 1.35;
}

.content-section,
.chat-section {
  max-width: 1560px;
  margin: 0 auto;
  padding: clamp(52px, 7vw, 92px) clamp(18px, 4vw, 56px);
}

.compact-section {
  padding-top: 34px;
}

.section-heading {
  max-width: 1120px;
  margin-bottom: 28px;
}

.decorated-heading {
  position: relative;
  padding-left: 22px;
}

.decorated-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 5px;
  height: calc(100% - 12px);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
}

.section-heading > p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.about-section {
  position: relative;
  max-width: none;
  overflow: hidden;
  padding-top: clamp(58px, 7vw, 86px);
  padding-bottom: clamp(58px, 7vw, 86px);
  background:
    radial-gradient(circle at 18% 22%, rgba(0, 212, 255, 0.16), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(23, 105, 255, 0.12), transparent 30%),
    radial-gradient(circle at 62% 86%, rgba(0, 167, 181, 0.1), transparent 26%),
    linear-gradient(135deg, #f8fbff 0%, #eef5ff 48%, #f7f9fc 100%);
  isolation: isolate;
}

.about-section::before,
.about-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.about-section::before {
  z-index: -2;
  background:
    linear-gradient(rgba(23, 105, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 167, 181, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0.85), transparent 76%);
}

.about-section::after {
  z-index: -1;
  background:
    radial-gradient(circle at 12% 72%, rgba(0, 167, 181, 0.34) 0 2px, transparent 3px),
    radial-gradient(circle at 32% 28%, rgba(23, 105, 255, 0.3) 0 1px, transparent 2px),
    radial-gradient(circle at 74% 34%, rgba(0, 167, 181, 0.32) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 76%, rgba(23, 105, 255, 0.26) 0 1px, transparent 2px),
    linear-gradient(118deg, transparent 14%, rgba(0, 167, 181, 0.08) 14.2%, transparent 14.6% 42%, rgba(23, 105, 255, 0.07) 42.2%, transparent 42.6%),
    linear-gradient(28deg, transparent 24%, rgba(30, 58, 138, 0.1) 24.2%, transparent 24.7% 66%, rgba(0, 167, 181, 0.06) 66.2%, transparent 66.7%);
  opacity: 0.48;
  animation: aboutSignal 11s ease-in-out infinite alternate;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.76fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
  max-width: 1560px;
  margin: 0 auto;
}

.about-copy,
.about-panels article {
  border: 1px solid rgba(191, 207, 230, 0.86);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(14px) saturate(1.14);
}

.about-copy {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 46px);
}

.about-copy::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--mint));
}

.about-copy h2 {
  max-width: 940px;
  font-size: clamp(1.8rem, 2.6vw, 2.7rem);
  color: var(--navy);
}

.about-copy > p {
  max-width: 980px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.statement-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.statement-list span {
  position: relative;
  padding: 13px 14px 13px 38px;
  border: 1px solid rgba(191, 207, 230, 0.84);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  font-weight: 720;
  line-height: 1.4;
}

.statement-list span::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(0, 167, 181, 0.12);
}

.about-copy blockquote {
  margin: 28px 0 0;
  padding: 20px 22px;
  border-left: 4px solid var(--cyan);
  border-radius: 0 18px 18px 0;
  background: linear-gradient(90deg, rgba(0, 167, 181, 0.1), rgba(23, 105, 255, 0.06));
  color: var(--navy);
  font-size: clamp(1.04rem, 1.4vw, 1.22rem);
  font-weight: 760;
}

.philosophy-card p {
  margin: 8px 0 0;
  color: var(--ink);
  font-weight: 650;
  line-height: 1.58;
}

.about-panels {
  display: grid;
  gap: 14px;
  align-content: start;
}

.about-panels article {
  position: relative;
  overflow: hidden;
  padding: 18px;
  background:
    radial-gradient(circle at 92% 12%, rgba(0, 167, 181, 0.12), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(248, 251, 255, 0.82));
  border-color: rgba(191, 207, 230, 0.9);
  color: var(--ink);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.1);
}

.about-panels article::after {
  content: "";
  position: absolute;
  inset: auto 18px 0 18px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(54, 215, 208, 0.8), transparent);
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-title .icon {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 13px;
  background: rgba(0, 167, 181, 0.12);
  color: var(--cyan);
}

.panel-title h3 {
  font-size: 1.05rem;
}

.expertise-list {
  display: grid;
  gap: 8px;
}

.expertise-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 12px;
  border: 1px solid rgba(191, 207, 230, 0.78);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.66);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.expertise-list div:hover {
  transform: translateX(4px);
  border-color: rgba(54, 215, 208, 0.42);
  background: rgba(54, 215, 208, 0.08);
}

.expertise-list span,
.focus-tags span,
.domain-grid span {
  color: var(--muted);
}

.expertise-list strong {
  color: var(--cyan);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.focus-tags,
.domain-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.focus-tags span,
.domain-grid span {
  border: 1px solid rgba(191, 207, 230, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  padding: 8px 11px;
  font-size: 0.9rem;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.focus-tags span:hover,
.domain-grid span:hover {
  transform: translateY(-2px);
  border-color: rgba(54, 215, 208, 0.42);
  background: rgba(54, 215, 208, 0.08);
}

@keyframes aboutSignal {
  from {
    transform: translate3d(-8px, -4px, 0) scale(1);
    opacity: 0.42;
  }

  to {
    transform: translate3d(8px, 5px, 0) scale(1.03);
    opacity: 0.68;
  }
}

.role-grid,
.skills-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.role-grid article,
.skills-matrix article {
  min-height: 360px;
  padding: 18px;
  box-shadow: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.role-grid article:hover,
.skills-matrix article:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 105, 255, 0.32);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.role-grid span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--blue);
  font-weight: 950;
}

.card-media,
.skill-icon-slot {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 128px;
  margin-bottom: 18px;
  border: 1px solid rgba(23, 105, 255, 0.18);
  border-radius: 18px;
  background: #07111f;
  color: #eaf5ff;
  padding: 14px;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 850;
  isolation: isolate;
}

.card-media {
  aspect-ratio: 16 / 9;
  min-height: 150px;
}

.card-media::before,
.skill-icon-slot::before {
  content: "";
  position: absolute;
  inset: -35%;
  z-index: -2;
  background:
    radial-gradient(circle at 22% 22%, rgba(23, 105, 255, 0.85), transparent 26%),
    radial-gradient(circle at 78% 30%, rgba(0, 167, 181, 0.75), transparent 24%),
    radial-gradient(circle at 54% 80%, rgba(102, 87, 245, 0.55), transparent 24%),
    linear-gradient(135deg, #081322, #10243a);
  animation: mediaFlow 8s ease-in-out infinite alternate;
}

.card-media::after,
.skill-icon-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent);
}

.card-media span,
.skill-icon-slot {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.skill-icon-slot {
  min-height: 132px;
}

@keyframes mediaFlow {
  from {
    transform: translate3d(-2%, -1%, 0) rotate(0deg) scale(1);
  }

  to {
    transform: translate3d(2%, 1%, 0) rotate(8deg) scale(1.08);
  }
}

.role-grid p,
.skills-matrix p,
.timeline p,
.credential-grid p,
.credential-grid li,
.chat-copy p {
  color: var(--muted);
}

.skills-matrix {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.skills-matrix article {
  background: linear-gradient(180deg, #fff, #fbfdff);
  min-height: 380px;
}

.architecture-focus,
.expertise-levels,
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.architecture-focus {
  margin-bottom: 16px;
}

.architecture-focus span {
  border: 1px solid rgba(0, 167, 181, 0.22);
  border-radius: 999px;
  background: rgba(0, 167, 181, 0.08);
  color: #005f73;
  padding: 9px 13px;
  font-weight: 800;
}

.expertise-levels {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 22px;
}

.expertise-levels div {
  padding: 14px;
  border: 1px solid rgba(191, 207, 230, 0.86);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
}

.expertise-levels strong {
  display: block;
  color: var(--cyan);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.expertise-levels span {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-weight: 760;
}

.expertise-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
  isolation: isolate;
}

.expertise-grid::before {
  content: "";
  position: absolute;
  inset: 42px 24px 42px 24px;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(0, 167, 181, 0.18) 8.2%, transparent 8.6% 32%, rgba(0, 167, 181, 0.14) 32.2%, transparent 32.6% 58%, rgba(0, 167, 181, 0.12) 58.2%, transparent 58.6%),
    linear-gradient(180deg, transparent 0 42%, rgba(23, 105, 255, 0.12) 42.2%, transparent 42.8%);
  pointer-events: none;
}

.expertise-grid article {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  padding: 20px;
  border-color: rgba(76, 104, 142, 0.62);
  background:
    radial-gradient(circle at 92% 12%, rgba(0, 167, 181, 0.2), transparent 28%),
    linear-gradient(145deg, rgba(7, 17, 31, 0.94), rgba(15, 27, 45, 0.92));
  color: #f8fafc;
  box-shadow: 0 18px 50px rgba(7, 17, 31, 0.18);
}

.expertise-grid article::after {
  content: "";
  position: absolute;
  inset: auto 18px 0 18px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(54, 215, 208, 0.82), transparent);
}

.expertise-grid article:hover {
  border-color: rgba(54, 215, 208, 0.72);
  box-shadow: 0 24px 62px rgba(0, 167, 181, 0.18);
}

.expertise-card-head {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.expertise-card-head .icon {
  flex: 0 0 auto;
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 14px;
  background: rgba(54, 215, 208, 0.14);
  color: #36d7d0;
}

.expertise-card-head p {
  margin: 7px 0 0;
  color: #aab7cc;
  font-size: 0.92rem;
  line-height: 1.45;
}

.skill-tags span {
  border: 1px solid rgba(159, 178, 202, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #d9e7f7;
  padding: 7px 10px;
  font-size: 0.82rem;
  font-weight: 720;
}

.architecture-impact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(0, 167, 181, 0.22);
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 18%, rgba(0, 167, 181, 0.14), transparent 28%),
    rgba(255, 255, 255, 0.82);
}

.architecture-impact-strip span {
  border-radius: 999px;
  background: #07111f;
  color: #dffcff;
  padding: 9px 13px;
  font-size: 0.88rem;
  font-weight: 780;
}

.experience-section {
  position: relative;
  max-width: none;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(247, 249, 252, 0.62), rgba(247, 249, 252, 0.42) 46%, rgba(247, 249, 252, 0.64)),
    linear-gradient(180deg, rgba(247, 249, 252, 0.46), rgba(238, 245, 255, 0.62)),
    url("/assets/experience-background.webp") center / cover fixed;
}

.experience-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 16%, rgba(0, 167, 181, 0.08), transparent 28%),
    radial-gradient(circle at 82% 24%, rgba(23, 105, 255, 0.08), transparent 30%),
    linear-gradient(rgba(23, 105, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 167, 181, 0.04) 1px, transparent 1px);
  background-size: auto, auto, 42px 42px, 42px 42px;
  pointer-events: none;
}

.experience-section > * {
  position: relative;
  z-index: 1;
  max-width: 1560px;
  margin-left: auto;
  margin-right: auto;
}

.experience-heading {
  padding: 22px 24px 22px 28px;
  border: 1px solid rgba(191, 207, 230, 0.78);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(12px) saturate(1.1);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
}

.experience-heading::before {
  left: 0;
  top: 18px;
  height: calc(100% - 36px);
}

.enterprise-clients,
.experience-stack,
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.enterprise-clients {
  margin-bottom: 18px;
}

.enterprise-clients span,
.experience-stack span,
.tech-tags span {
  border: 1px solid rgba(191, 207, 230, 0.86);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  padding: 9px 13px;
  font-size: 0.9rem;
  font-weight: 760;
}

.enterprise-clients span:first-child,
.enterprise-clients span:nth-child(2),
.enterprise-clients span:nth-child(3) {
  border-color: rgba(0, 167, 181, 0.34);
  color: #005f73;
}

.experience-stack {
  margin-bottom: 22px;
}

.experience-stack span {
  background: #07111f;
  border-color: rgba(54, 215, 208, 0.34);
  color: #dffcff;
}

.transformation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.transformation-grid article {
  padding: 18px;
  border: 1px solid rgba(223, 230, 239, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px) saturate(1.08);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.transformation-grid .icon {
  display: inline-grid;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 13px;
  background: rgba(0, 167, 181, 0.11);
  color: var(--cyan);
}

.transformation-grid p {
  margin: 8px 0 0;
  color: var(--muted);
}

.experience-journey {
  position: relative;
  display: grid;
  gap: 18px;
}

.experience-journey::before {
  content: "";
  position: absolute;
  left: 138px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--cyan), transparent);
}

.experience-card {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.experience-marker {
  position: relative;
  padding-top: 20px;
  color: var(--blue);
  font-weight: 900;
}

.experience-marker::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 25px;
  width: 15px;
  height: 15px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(0, 167, 181, 0.14), 0 0 24px rgba(0, 167, 181, 0.5);
}

.experience-body {
  padding: 24px;
  border: 1px solid rgba(223, 230, 239, 0.92);
  border-radius: 22px;
  background:
    radial-gradient(circle at 96% 10%, rgba(0, 167, 181, 0.1), transparent 28%),
    rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px) saturate(1.08);
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.1);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.experience-card:hover .experience-body {
  transform: translateY(-3px);
  border-color: rgba(0, 167, 181, 0.32);
  box-shadow: 0 24px 62px rgba(15, 23, 42, 0.14);
}

.experience-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.experience-head p {
  margin: 4px 0 0;
  color: var(--cyan);
  font-weight: 850;
}

.experience-body ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.impact {
  margin: 18px 0 14px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 167, 181, 0.18);
  border-radius: 16px;
  background: rgba(0, 167, 181, 0.07);
  color: var(--muted);
}

.impact strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
}

.tech-tags span {
  padding: 7px 10px;
  font-size: 0.82rem;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline article {
  display: grid;
  grid-template-columns: minmax(160px, 0.23fr) minmax(0, 0.77fr);
  gap: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.timeline time {
  color: var(--blue);
  font-weight: 950;
}

.timeline .role {
  margin: 4px 0 12px;
  color: var(--navy);
  font-weight: 850;
}

.chat-section {
  position: relative;
  overflow: hidden;
  max-width: none;
  padding-left: clamp(18px, 5vw, 72px);
  padding-right: clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 18% 20%, rgba(23, 105, 255, 0.14), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(0, 212, 255, 0.12), transparent 28%),
    #f7f9fc;
  background-size: auto, auto, 42px 42px, 42px 42px, auto;
  color: var(--ink);
  isolation: isolate;
}

.chat-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(247, 249, 252, 0.64), rgba(247, 249, 252, 0.38) 46%, rgba(247, 249, 252, 0.62)),
    linear-gradient(180deg, rgba(247, 249, 252, 0.42), rgba(238, 245, 255, 0.58)),
    linear-gradient(rgba(23, 105, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 167, 181, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 42px 42px, 42px 42px;
}

.ai-bg-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
  filter: saturate(1.35) contrast(1.12) brightness(1.08);
}

.ai-shell {
  max-width: 1560px;
  margin: 0 auto;
}

.ai-section-head {
  max-width: 1180px;
  margin-bottom: 28px;
}

.ai-section-head .eyebrow {
  color: var(--blue);
}

.ai-section-head p {
  color: var(--muted);
}

.ai-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(330px, 0.38fr);
  gap: 22px;
  align-items: start;
}

.chat-panel,
.ai-side-panel article,
.prompt-groups article {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.13);
  backdrop-filter: blur(16px) saturate(1.18);
}

.chat-panel {
  overflow: hidden;
  width: 100%;
  border-radius: 24px;
  color: var(--ink);
}

.chat-panel-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(191, 207, 230, 0.68);
}

.chat-panel-header h3 {
  color: var(--ink);
}

.chat-panel-header span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.9rem;
}

.ai-orb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff, transparent 18%),
    radial-gradient(circle at 50% 50%, #67e8f9, #1769ff 62%, #07111f);
  box-shadow: 0 0 0 8px rgba(103, 232, 249, 0.08), 0 0 34px rgba(103, 232, 249, 0.58);
  animation: aiPulse 2.8s ease-in-out infinite;
}

.messages {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 320px;
  max-height: 460px;
  overflow-y: auto;
  padding: 20px;
}

.message {
  position: relative;
  max-width: min(720px, 92%);
  padding: 14px 16px;
  border-radius: 16px;
}

.message-content {
    margin: 0;
    white-space: pre-line;
}

.message-content .message-table-wrap {
    white-space: normal;
}

.message-table-wrap {
  max-width: 100%;
  margin: 10px 0;
  overflow-x: auto;
  border: 1px solid rgba(119, 143, 176, 0.9);
  border-radius: 8px;
  background: #fff;
}

.message-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  white-space: normal;
  font-size: 0.92rem;
}

.message-table th,
.message-table td {
  padding: 10px 12px;
  border: 1px solid rgba(174, 190, 214, 0.9);
  text-align: left;
  vertical-align: top;
}

.message-table th {
  color: var(--ink);
  background: #eaf2ff;
  font-weight: 900;
}

.message-table tbody tr:nth-child(even) td {
  background: rgba(246, 249, 253, 0.92);
}

.message strong {
  font-weight: 850;
  color: inherit;
}

.message-heading {
  display: block;
  margin: 8px 0 2px;
  font-size: 1.02rem;
}

.copy-message {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  opacity: 0;
  transform: translateY(-2px);
  border: 1px solid rgba(23, 105, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--blue);
  padding: 0;
  cursor: pointer;
  transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.copy-message svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.copy-message.copied {
  background: rgba(0, 178, 155, 0.14);
  color: #008a7a;
}

.message.assistant:hover .copy-message,
.message.assistant:focus-within .copy-message {
  opacity: 1;
  transform: translateY(0);
}

.message.assistant {
    justify-self: start;
    max-width: min(980px, 96%);
    background: rgba(238, 246, 255, 0.76);
    color: var(--ink);
    border: 1px solid rgba(191, 207, 230, 0.7);
}

.score-bars {
  margin: 12px 0;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(191, 207, 230, 0.55);
}

.score-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 45px;
  gap: 10px;
  align-items: center;
  margin: 8px 0;
  font-size: 13px;
}

.score-track {
  height: 8px;
  border-radius: 20px;
  background: rgba(23, 36, 56, 0.12);
  overflow: hidden;
}

.score-fill {
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(90deg, #ef4444, #f59e0b, #22c55e);
}

.score-row strong {
  color: #0f766e;
  font-weight: 900;
}

body[data-theme="night"] .score-bars {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

body[data-theme="night"] .score-track {
  background: rgba(255, 255, 255, 0.18);
}

.message.user {
  justify-self: end;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px;
  border-top: 1px solid rgba(191, 207, 230, 0.68);
  background: rgba(255, 255, 255, 0.48);
}

.chat-form textarea {
  width: 100%;
  min-height: 84px;
  resize: vertical;
  border: 1px solid rgba(191, 207, 230, 0.82);
  border-radius: 14px;
  padding: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  font: inherit;
}

.chat-form textarea::placeholder {
  color: rgba(86, 97, 116, 0.72);
}

.chat-form textarea:focus {
  outline: 2px solid rgba(103, 232, 249, 0.22);
  border-color: #67e8f9;
}

.ai-disclaimer {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: 0.84rem;
}

.ai-side-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ai-side-panel article {
  border-radius: 20px;
  padding: 18px;
}

.ai-feature-card {
  display: grid;
  align-content: start;
}

.jd-analyzer-card .icon,
.ai-capability-grid .icon {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 167, 181, 0.28);
}

.jd-analyzer-card,
.ai-capability-grid article {
  min-height: 158px;
}

.jd-analyzer-card h3,
.ai-capability-grid h3 {
  display: inline;
}

.jd-analyzer-card,
.ai-capability-grid article {
  position: relative;
}

.jd-analyzer-card > .icon,
.ai-capability-grid article > .icon {
  float: left;
  margin: 0 12px 8px 0;
}

.jd-analyzer-card p,
.ai-capability-grid p {
  clear: both;
  margin-top: 12px;
  color: var(--muted);
}

.prompt-shortcut,
.prompt-groups button {
  cursor: pointer;
  font: inherit;
}

.prompt-shortcut {
  margin-top: 14px;
  border: 1px solid rgba(0, 167, 181, 0.44);
  border-radius: 999px;
  background: rgba(0, 167, 181, 0.1);
  color: #005f73;
  padding: 10px 13px;
  font-weight: 800;
}

.ai-capability-grid {
  display: contents;
}

/*
.ai-capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  grid-auto-flow: dense;
}
*/

.ai-capability-grid article {
  min-height: 140px;
}

.ai-capability-grid article:last-child {
  grid-column: auto;
  min-height: 158px;
}

.prompt-groups {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.prompt-groups article {
  border-radius: 18px;
  padding: 16px;
}

.prompt-groups h3 {
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 12px;
}

.prompt-groups button {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid rgba(191, 207, 230, 0.78);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  padding: 10px;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 720;
}

.prompt-groups button:hover,
.prompt-shortcut:hover {
  border-color: rgba(103, 232, 249, 0.8);
  background: rgba(103, 232, 249, 0.12);
}

@keyframes aiPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(103, 232, 249, 0.08), 0 0 34px rgba(103, 232, 249, 0.48);
  }

  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 12px rgba(103, 232, 249, 0.04), 0 0 48px rgba(103, 232, 249, 0.7);
  }
}

.credential-section {
  max-width: 1560px;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.credential-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
}

.credential-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.credential-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.12;
}

.credential-grid ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.credential-grid li {
  position: relative;
  padding-left: 18px;
}

.credential-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.education-card li {
  display: grid;
  gap: 3px;
}

.education-card span {
  color: var(--muted);
}

.domain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.domain-tags span {
  border: 1px solid #d7e4f5;
  border-radius: 999px;
  background: #f3f8ff;
  color: #1f4fb8;
  padding: 7px 10px;
  font-size: 0.88rem;
  font-weight: 800;
}

.collaboration-card {
  display: block;
  margin-top: 18px;
  padding: 24px;
  border: 1px solid rgba(223, 230, 239, 0.92);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 18%, rgba(0, 167, 181, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.92)),
    rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.collaboration-card h3 {
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
}

.collaboration-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.reference-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.reference-card-grid article {
  position: relative;
  overflow: hidden;
  min-height: 178px;
  padding: 16px;
  border: 1px solid rgba(223, 230, 239, 0.92);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 10%, rgba(0, 167, 181, 0.1), transparent 28%),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.reference-card-grid article::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.reference-card-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 167, 181, 0.32);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

.reference-card-grid h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

.reference-card-grid p {
  margin: 4px 0 0;
  font-weight: 760;
}

.reference-card-grid span,
.reference-card-grid small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
}

.reference-card-grid span {
  color: #005f73;
  font-weight: 850;
}

.reference-note {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(23, 105, 255, 0.14);
  border-radius: 16px;
  background: rgba(23, 105, 255, 0.05);
  font-size: 0.95rem;
}

.inquiry-section {
  max-width: 1560px;
}

.inquiry-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
  gap: 22px;
  align-items: stretch;
}

.inquiry-copy,
.inquiry-form {
  border: 1px solid rgba(205, 221, 242, 0.9);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(236, 253, 255, 0.78)),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
}

.inquiry-copy {
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.inquiry-copy > .icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  box-shadow: 0 18px 36px rgba(23, 105, 255, 0.2);
}

.inquiry-copy h3 {
  margin: 0;
  font-size: clamp(1.45rem, 1.7vw, 1.85rem);
}

.inquiry-copy h4 {
  margin: 2px 0 -6px;
  color: var(--ink);
  font-size: 0.95rem;
}

.inquiry-copy p {
  margin: 0;
  color: var(--muted);
}

.quick-contact {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(0, 167, 181, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(236, 253, 255, 0.72), rgba(255, 255, 255, 0.72));
}

.quick-contact span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
}

.quick-contact .icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  color: #006e78;
  background: rgba(54, 215, 208, 0.18);
}

.inquiry-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
}

.inquiry-highlights span {
  border: 1px solid rgba(0, 167, 181, 0.28);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--navy);
  background: rgba(236, 253, 255, 0.76);
  font-weight: 900;
  font-size: 0.86rem;
}

.recruiter-trust {
  margin-top: auto;
  padding: 16px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(9, 20, 36, 0.94), rgba(0, 98, 112, 0.86));
  color: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.recruiter-trust strong {
  display: block;
  margin-bottom: 7px;
}

.recruiter-trust p {
  color: rgba(232, 238, 248, 0.86);
}

.inquiry-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 30px);
}

.inquiry-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 4px;
}

.inquiry-form-head .eyebrow {
  margin: 0 0 6px;
}

.inquiry-form-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 1.5vw, 1.7rem);
}

.resume-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(23, 105, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--blue);
  font-weight: 950;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  font-family: inherit;
}

.resume-action:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.inquiry-download .download-options {
  right: 0;
  left: auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.inquiry-form label span {
  font-size: 0.88rem;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid rgba(190, 205, 226, 0.96);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  resize: vertical;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  outline: 2px solid rgba(54, 215, 208, 0.24);
  border-color: rgba(0, 167, 181, 0.68);
}

.jd-match-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(54, 215, 208, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(236, 253, 255, 0.82), rgba(255, 255, 255, 0.82));
}

.jd-match-preview span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 8px 11px;
  color: #005f6b;
  background: rgba(54, 215, 208, 0.14);
  font-size: 0.84rem;
  font-weight: 900;
}

.turnstile-field {
  display: grid;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  min-height: 74px;
  padding: 10px;
  border: 1px solid rgba(54, 215, 208, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.56);
}

.turnstile-widget {
  min-height: 65px;
}

#turnstile-status {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.inquiry-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.inquiry-actions button {
  border: 0;
  border-radius: 14px;
  padding: 13px 20px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(23, 105, 255, 0.22);
}

.inquiry-actions .outline-action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(0, 167, 181, 0.32);
  background: rgba(236, 253, 255, 0.82);
  color: #005f6b;
  box-shadow: none;
}

.inquiry-actions .outline-action:hover {
  background: rgba(54, 215, 208, 0.18);
}

.inquiry-actions button:disabled {
  cursor: wait;
  opacity: 0.64;
}

#inquiry-status {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-profile {
  display: grid;
  gap: 6px;
}

.site-footer strong {
  color: var(--ink);
}

.profile-aliases {
  max-width: 760px;
  margin: 2px 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1080px) {
  .site-header nav {
    display: none;
  }

  .brand-logo {
    min-width: 0;
  }

  .hero-grid,
  .about-layout,
  .ai-layout,
  .inquiry-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chat-copy,
  .ai-section-head,
  .chat-panel {
    justify-self: stretch;
    max-width: none;
  }

  .role-grid,
  .transformation-grid,
  .credential-grid,
  .reference-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .skills-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .expertise-levels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prompt-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .site-header {
    padding: 12px 16px;
  }

  .logo-text {
    font-size: 1.05rem;
  }

  .code-mark {
    font-size: 1.05rem;
  }

  .theme-toggle {
    min-width: 94px;
    padding: 0 10px;
    font-size: 0.86rem;
  }

  .hero,
  .content-section,
  .chat-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  h2 {
    font-size: clamp(1.8rem, 9vw, 2.3rem);
  }

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

  .profile-photo-slot {
    justify-items: start;
  }

  .photo-placeholder {
    width: min(100%, 210px);
  }

  .cert-badges {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .metric-grid,
  .about-layout,
  .statement-list,
  .role-grid,
  .skills-matrix,
  .expertise-levels,
  .transformation-grid,
  .credential-grid,
  .collaboration-card,
  .reference-card-grid,
  .inquiry-layout,
  .timeline article,
  .experience-card,
  .chat-form,
  .prompt-rail,
  .prompt-groups,
  .ai-capability-grid,
  .ai-side-panel {
    grid-template-columns: 1fr;
  }

  .experience-journey::before {
    display: none;
  }

  .experience-marker {
    padding-top: 0;
  }

  .experience-marker::after {
    display: none;
  }

  .role-grid article,
  .skills-matrix article {
    min-height: auto;
  }

  .chat-form button {
    width: 100%;
  }

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

  .inquiry-form-head {
    align-items: stretch;
    flex-direction: column;
  }

  .resume-action,
  .download-menu,
  .download-toggle,
  .inquiry-actions button {
    width: 100%;
  }

  .download-options {
    right: 0;
    left: 0;
  }

  .jd-match-preview {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 126px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0;
}

.theme-toggle:hover {
  border-color: rgba(103, 232, 249, 0.72);
  background: rgba(103, 232, 249, 0.08);
}

.slash {
  color: rgba(255, 255, 255, 0.72);
}

.theme-icon {
  position: relative;
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
}

.sun,
.moon {
  position: absolute;
  display: block;
  transition: opacity 220ms ease, transform 260ms ease;
}

.sun {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 -9px 0 -5px #fff,
    0 9px 0 -5px #fff,
    9px 0 0 -5px #fff,
    -9px 0 0 -5px #fff,
    6px 6px 0 -5px #fff,
    -6px 6px 0 -5px #fff,
    6px -6px 0 -5px #fff,
    -6px -6px 0 -5px #fff;
}

.moon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transform: translateX(4px) scale(0.6);
  opacity: 0;
}

.moon::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--navy);
}

[data-theme="night"] {
  --ink: #e8eef8;
  --muted: #aab7cc;
  --paper: #07111f;
  --panel: #0f1b2d;
  --line: #26364c;
  --soft: #10243a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

[data-theme="night"] body,
body[data-theme="night"] {
  background: var(--paper);
  color: var(--ink);
}

body[data-theme="night"] .hero {
  background:
    radial-gradient(circle at 16% 18%, rgba(23, 105, 255, 0.2), transparent 30%),
    radial-gradient(circle at 84% 22%, rgba(0, 167, 181, 0.16), transparent 28%),
    linear-gradient(135deg, #050b14, #0c1726 56%, #17263a);
}

body[data-theme="night"] .hero::after {
  background:
    radial-gradient(circle at 18% 24%, rgba(23, 105, 255, 0.14), transparent 26%),
    linear-gradient(90deg, rgba(5, 11, 20, 0.42), rgba(5, 11, 20, 0.14) 48%, rgba(5, 11, 20, 0.28)),
    linear-gradient(180deg, rgba(5, 11, 20, 0.08), rgba(5, 11, 20, 0.42));
}

body[data-theme="night"] .about-section {
  background:
    radial-gradient(circle at 18% 22%, rgba(0, 212, 255, 0.2), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(30, 58, 138, 0.36), transparent 30%),
    radial-gradient(circle at 62% 86%, rgba(0, 167, 181, 0.14), transparent 26%),
    linear-gradient(135deg, #050816 0%, #0b1120 48%, #111827 100%);
}

body[data-theme="night"] .about-section::before {
  background:
    linear-gradient(rgba(0, 212, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
}

body[data-theme="night"] .about-section::after {
  background:
    radial-gradient(circle at 12% 72%, rgba(0, 212, 255, 0.5) 0 2px, transparent 3px),
    radial-gradient(circle at 32% 28%, rgba(0, 212, 255, 0.42) 0 1px, transparent 2px),
    radial-gradient(circle at 74% 34%, rgba(0, 212, 255, 0.45) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 76%, rgba(0, 212, 255, 0.36) 0 1px, transparent 2px),
    linear-gradient(118deg, transparent 14%, rgba(0, 212, 255, 0.12) 14.2%, transparent 14.6% 42%, rgba(0, 212, 255, 0.1) 42.2%, transparent 42.6%),
    linear-gradient(28deg, transparent 24%, rgba(30, 58, 138, 0.26) 24.2%, transparent 24.7% 66%, rgba(0, 212, 255, 0.09) 66.2%, transparent 66.7%);
  opacity: 0.58;
}

body[data-theme="night"] .chat-section {
  background:
    radial-gradient(circle at 18% 20%, rgba(23, 105, 255, 0.2), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(0, 212, 255, 0.16), transparent 28%),
    #081322;
}

body[data-theme="night"] .chat-section::after {
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.94), rgba(7, 17, 31, 0.7) 46%, rgba(7, 17, 31, 0.92)),
    linear-gradient(180deg, rgba(7, 17, 31, 0.72), rgba(8, 19, 34, 0.9)),
    linear-gradient(rgba(0, 212, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: auto, auto, 42px 42px, 42px 42px;
}

body[data-theme="night"] .ai-bg-video {
  opacity: 0.52;
  filter: saturate(1.18) contrast(1.12) brightness(0.74);
}

body[data-theme="night"] .ai-section-head .eyebrow {
  color: #67e8f9;
}

body[data-theme="night"] .ai-section-head p {
  color: rgba(255, 255, 255, 0.72);
}

body[data-theme="night"] .chat-panel,
body[data-theme="night"] .ai-side-panel article,
body[data-theme="night"] .prompt-groups article {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

body[data-theme="night"] .chat-panel-header {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

body[data-theme="night"] .chat-panel-header h3,
body[data-theme="night"] .prompt-groups h3 {
  color: #fff;
}

body[data-theme="night"] .chat-panel-header span,
body[data-theme="night"] .jd-analyzer-card p,
body[data-theme="night"] .ai-capability-grid p,
body[data-theme="night"] .ai-disclaimer {
  color: #9fb2ca;
}

body[data-theme="night"] .jd-analyzer-card .icon,
body[data-theme="night"] .ai-capability-grid .icon {
  background: linear-gradient(135deg, #1769ff, #00d4ff);
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 212, 255, 0.3);
}

body[data-theme="night"] .message.assistant {
  background: rgba(255, 255, 255, 0.1);
  color: #e8eef8;
  border-color: rgba(255, 255, 255, 0.1);
}

body[data-theme="night"] .copy-message {
  border-color: rgba(103, 232, 249, 0.28);
  background: rgba(7, 17, 31, 0.86);
  color: #67e8f9;
}

body[data-theme="night"] .message-table-wrap {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(7, 17, 31, 0.42);
}

body[data-theme="night"] .message-table th,
body[data-theme="night"] .message-table td {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body[data-theme="night"] .message-table th {
  color: #fff;
  background: rgba(103, 232, 249, 0.1);
}

body[data-theme="night"] .chat-form {
  background: rgba(7, 17, 31, 0.34);
  border-top-color: rgba(255, 255, 255, 0.12);
}

body[data-theme="night"] .chat-form textarea {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

body[data-theme="night"] .chat-form textarea::placeholder {
  color: rgba(232, 238, 248, 0.58);
}

body[data-theme="night"] .prompt-shortcut {
  border-color: rgba(103, 232, 249, 0.5);
  background: rgba(103, 232, 249, 0.1);
  color: #e8feff;
}

body[data-theme="night"] .prompt-groups button {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: #d9e7f7;
}

body[data-theme="night"] .profile-card,
body[data-theme="night"] .hero-main,
body[data-theme="night"] .role-grid article,
body[data-theme="night"] .skills-matrix article,
body[data-theme="night"] .transformation-grid article,
body[data-theme="night"] .experience-body,
body[data-theme="night"] .timeline article,
body[data-theme="night"] .credential-card,
body[data-theme="night"] .inquiry-copy,
body[data-theme="night"] .inquiry-form {
  background: rgba(15, 27, 45, 0.94);
  border-color: #26364c;
}

body[data-theme="night"] .inquiry-form input,
body[data-theme="night"] .inquiry-form textarea {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

body[data-theme="night"] .turnstile-field {
  border-color: rgba(103, 232, 249, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

body[data-theme="night"] .inquiry-form input::placeholder,
body[data-theme="night"] .inquiry-form textarea::placeholder {
  color: rgba(232, 238, 248, 0.56);
}

body[data-theme="night"] .quick-contact,
body[data-theme="night"] .jd-match-preview {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(103, 232, 249, 0.18);
}

body[data-theme="night"] .quick-contact span,
body[data-theme="night"] .inquiry-form-head h3,
body[data-theme="night"] .inquiry-copy h4 {
  color: #f8fafc;
}

body[data-theme="night"] .quick-contact .icon,
body[data-theme="night"] .jd-match-preview span {
  color: #a7f3ff;
  background: rgba(103, 232, 249, 0.12);
}

body[data-theme="night"] .inquiry-highlights span,
body[data-theme="night"] .inquiry-actions .outline-action {
  border-color: rgba(103, 232, 249, 0.28);
  background: rgba(103, 232, 249, 0.1);
  color: #e8feff;
}

body[data-theme="night"] .resume-action {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}

body[data-theme="night"] .experience-section {
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.86), rgba(7, 17, 31, 0.62) 48%, rgba(7, 17, 31, 0.84)),
    linear-gradient(180deg, rgba(7, 17, 31, 0.68), rgba(15, 27, 45, 0.82)),
    url("/assets/experience-background.webp") center / cover fixed;
}

body[data-theme="night"] .experience-section::before {
  background:
    radial-gradient(circle at 18% 16%, rgba(0, 212, 255, 0.14), transparent 28%),
    radial-gradient(circle at 82% 24%, rgba(23, 105, 255, 0.18), transparent 30%),
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 42px 42px, 42px 42px;
}

body[data-theme="night"] .experience-heading {
  background: rgba(15, 27, 45, 0.72);
  border-color: rgba(100, 130, 170, 0.5);
}

body[data-theme="night"] .about-copy {
  background: rgba(11, 17, 32, 0.78);
  border-color: rgba(100, 130, 170, 0.44);
  color: #f8fafc;
}

body[data-theme="night"] .about-copy h2 {
  color: #f8fafc;
}

body[data-theme="night"] .about-copy > p {
  color: #b8c5d8;
}

body[data-theme="night"] .statement-list span {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(159, 178, 202, 0.18);
  color: #d9e7f7;
}

body[data-theme="night"] .about-copy blockquote,
body[data-theme="night"] .philosophy-card {
  border-color: rgba(0, 212, 255, 0.2);
  color: #f8fafc;
}

body[data-theme="night"] .philosophy-card p {
  color: #d9e7f7;
}

body[data-theme="night"] .about-panels article {
  background:
    radial-gradient(circle at 92% 12%, rgba(0, 167, 181, 0.18), transparent 30%),
    linear-gradient(145deg, rgba(5, 8, 22, 0.94), rgba(17, 24, 39, 0.88));
  border-color: rgba(100, 130, 170, 0.54);
  color: #f8fafc;
  box-shadow: 0 18px 46px rgba(7, 17, 31, 0.2);
}

body[data-theme="night"] .panel-title .icon {
  background: rgba(54, 215, 208, 0.13);
  color: #36d7d0;
}

body[data-theme="night"] .expertise-list div {
  border-color: rgba(159, 178, 202, 0.18);
  background: rgba(255, 255, 255, 0.045);
}

body[data-theme="night"] .expertise-list span,
body[data-theme="night"] .focus-tags span,
body[data-theme="night"] .domain-grid span {
  color: #d9e7f7;
}

body[data-theme="night"] .expertise-list strong {
  color: #36d7d0;
}

body[data-theme="night"] .focus-tags span,
body[data-theme="night"] .domain-grid span {
  border-color: rgba(159, 178, 202, 0.22);
  background: rgba(255, 255, 255, 0.055);
}

body[data-theme="night"] .hero .profile-card,
body[data-theme="night"] .hero .hero-main {
  background: rgba(15, 27, 45, 0.58);
  border-color: rgba(100, 130, 170, 0.62);
}

body[data-theme="night"] .enterprise-clients span,
body[data-theme="night"] .tech-tags span,
body[data-theme="night"] .architecture-focus span,
body[data-theme="night"] .expertise-levels div,
body[data-theme="night"] .architecture-impact-strip {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(159, 178, 202, 0.22);
  color: #d9e7f7;
}

body[data-theme="night"] .architecture-impact-strip span {
  background: rgba(7, 17, 31, 0.9);
  color: #dffcff;
}

body[data-theme="night"] .expertise-levels span {
  color: #d9e7f7;
}

body[data-theme="night"] .experience-stack span {
  background: rgba(7, 17, 31, 0.9);
}

body[data-theme="night"] .transformation-grid p,
body[data-theme="night"] .experience-body ul,
body[data-theme="night"] .impact {
  color: var(--muted);
}

body[data-theme="night"] .collaboration-card {
  background:
    radial-gradient(circle at 92% 18%, rgba(0, 167, 181, 0.13), transparent 28%),
    rgba(15, 27, 45, 0.94);
  border-color: #26364c;
}

body[data-theme="night"] .reference-card-grid article,
body[data-theme="night"] .reference-note {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(159, 178, 202, 0.22);
  color: #d9e7f7;
}

body[data-theme="night"] .reference-card-grid h4 {
  color: var(--ink);
}

body[data-theme="night"] .reference-card-grid span,
body[data-theme="night"] .reference-card-grid small {
  color: #aab7cc;
}

body[data-theme="night"] .reference-card-grid span {
  color: #36d7d0;
}

body[data-theme="night"] .impact {
  background: rgba(0, 167, 181, 0.08);
  border-color: rgba(0, 167, 181, 0.22);
}

body[data-theme="night"] .impact strong {
  color: var(--ink);
}

body[data-theme="night"] .secondary-button,
body[data-theme="night"] .tertiary-button,
body[data-theme="night"] .metric-grid div,
body[data-theme="night"] .chat-panel,
body[data-theme="night"] .chat-form {
  background: #0f1b2d;
  color: var(--ink);
  border-color: #26364c;
}

body[data-theme="night"] .download-options {
  border-color: rgba(100, 130, 170, 0.58);
  background: rgba(15, 27, 45, 0.98);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.32);
}

body[data-theme="night"] .download-options a {
  color: #f8fafc;
}

body[data-theme="night"] .download-options a:hover,
body[data-theme="night"] .download-options a:focus {
  background: rgba(103, 232, 249, 0.12);
  color: #67e8f9;
}

body[data-theme="night"] .hero .metric-grid div {
  background:
    radial-gradient(circle at 88% 14%, rgba(0, 167, 181, 0.22), transparent 28%),
    linear-gradient(145deg, rgba(7, 17, 31, 0.9), rgba(15, 27, 45, 0.78));
  border-color: rgba(100, 130, 170, 0.72);
}

body[data-theme="night"] .metric-grid strong {
  color: #fff;
}

body[data-theme="night"] .metric-grid span {
  color: #d9e7f7;
}

body[data-theme="night"] .metric-grid small {
  color: #9fb2ca;
}

body[data-theme="night"] .title {
  color: #36d7d0;
}

body[data-theme="night"] .theme-toggle .theme-label {
  color: #fff;
}

body[data-theme="night"] .sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

body[data-theme="night"] .moon {
  opacity: 1;
  transform: translateX(0) scale(1);
}

body[data-theme="night"] .moon::after {
  background: var(--navy);
}

/* Fix chat response tables in dark/night mode */
body.dark .chat-message table,
body.dark .assistant-message table,
body.dark .bot-message table,
body.dark .message.assistant table,
body.dark .message-table,
body[data-theme="night"] .chat-message table,
body[data-theme="night"] .assistant-message table,
body[data-theme="night"] .bot-message table,
body[data-theme="night"] .message.assistant table,
body[data-theme="night"] .message-table,
[data-theme="dark"] .chat-message table,
[data-theme="dark"] .assistant-message table,
[data-theme="dark"] .bot-message table,
[data-theme="dark"] .message.assistant table,
[data-theme="dark"] .message-table,
.dark-mode .chat-message table,
.dark-mode .assistant-message table,
.dark-mode .bot-message table,
.dark-mode .message.assistant table,
.dark-mode .message-table {
  background: #111827;
  color: #f9fafb;
  border-color: #475569;
}

body.dark .chat-message th,
body.dark .assistant-message th,
body.dark .bot-message th,
body.dark .message.assistant th,
body.dark .message-table th,
body[data-theme="night"] .chat-message th,
body[data-theme="night"] .assistant-message th,
body[data-theme="night"] .bot-message th,
body[data-theme="night"] .message.assistant th,
body[data-theme="night"] .message-table th,
[data-theme="dark"] .chat-message th,
[data-theme="dark"] .assistant-message th,
[data-theme="dark"] .bot-message th,
[data-theme="dark"] .message.assistant th,
[data-theme="dark"] .message-table th,
.dark-mode .chat-message th,
.dark-mode .assistant-message th,
.dark-mode .bot-message th,
.dark-mode .message.assistant th,
.dark-mode .message-table th {
  background: #1f2937;
  color: #ffffff;
  border-color: #64748b;
}

body.dark .chat-message td,
body.dark .assistant-message td,
body.dark .bot-message td,
body.dark .message.assistant td,
body.dark .message-table td,
body[data-theme="night"] .chat-message td,
body[data-theme="night"] .assistant-message td,
body[data-theme="night"] .bot-message td,
body[data-theme="night"] .message.assistant td,
body[data-theme="night"] .message-table td,
[data-theme="dark"] .chat-message td,
[data-theme="dark"] .assistant-message td,
[data-theme="dark"] .bot-message td,
[data-theme="dark"] .message.assistant td,
[data-theme="dark"] .message-table td,
.dark-mode .chat-message td,
.dark-mode .assistant-message td,
.dark-mode .bot-message td,
.dark-mode .message.assistant td,
.dark-mode .message-table td {
  background: #111827;
  color: #f9fafb;
  border-color: #475569;
}

body.dark .chat-message tr:nth-child(even) td,
body.dark .assistant-message tr:nth-child(even) td,
body.dark .bot-message tr:nth-child(even) td,
body.dark .message.assistant tr:nth-child(even) td,
body.dark .message-table tr:nth-child(even) td,
body[data-theme="night"] .chat-message tr:nth-child(even) td,
body[data-theme="night"] .assistant-message tr:nth-child(even) td,
body[data-theme="night"] .bot-message tr:nth-child(even) td,
body[data-theme="night"] .message.assistant tr:nth-child(even) td,
body[data-theme="night"] .message-table tr:nth-child(even) td,
[data-theme="dark"] .chat-message tr:nth-child(even) td,
[data-theme="dark"] .assistant-message tr:nth-child(even) td,
[data-theme="dark"] .bot-message tr:nth-child(even) td,
[data-theme="dark"] .message.assistant tr:nth-child(even) td,
[data-theme="dark"] .message-table tr:nth-child(even) td,
.dark-mode .chat-message tr:nth-child(even) td,
.dark-mode .assistant-message tr:nth-child(even) td,
.dark-mode .bot-message tr:nth-child(even) td,
.dark-mode .message.assistant tr:nth-child(even) td,
.dark-mode .message-table tr:nth-child(even) td {
  background: #1e293b;
  color: #f9fafb;
}
