:root {
  --bg: #03040a;
  --surface: #070912;
  --surface-raised: #0d101c;
  --surface-soft: #121626;
  --text: #f7f8ff;
  --text-soft: #b8bfd2;
  --muted: #80889d;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.17);
  --violet: #8b5cf6;
  --violet-deep: #5b21b6;
  --cyan: #21d4fd;
  --magenta: #ff2f92;
  --yellow: #ffd522;
  --green: #52e0a4;
  --shadow: 0 36px 100px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(139, 92, 246, 0.06);
  --radius-card: 32px;
  --radius-panel: 20px;
  --font-sans: "Segoe UI Variable", "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 280px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(38, 62, 125, 0.26), transparent 34rem),
    linear-gradient(145deg, #03040a 0%, #070812 52%, #020309 100%);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.svg-fill {
  fill: currentColor;
  stroke: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--text);
  color: #05060c;
  font-size: 0.875rem;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.skip-link:focus {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.ambient-glow {
  position: fixed;
  z-index: 0;
  width: 25rem;
  height: 25rem;
  border-radius: 50%;
  opacity: 0.09;
  filter: blur(100px);
  pointer-events: none;
}

.ambient-glow--cyan {
  top: 10%;
  left: -12rem;
  background: var(--cyan);
}

.ambient-glow--violet {
  right: -11rem;
  bottom: 8%;
  background: var(--violet);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  margin: 0 auto;
}

.profile-card {
  min-height: 100svh;
  overflow: hidden;
  background: var(--surface);
}

.hero {
  position: relative;
  min-height: 370px;
  aspect-ratio: 4 / 4.65;
  overflow: hidden;
  background: #11131d;
  isolation: isolate;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 37%;
  filter: saturate(0.82) contrast(1.04);
  transform: scale(1.015);
  animation: hero-reveal 900ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero__veil {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 5, 12, 0.48) 0%, transparent 27%, rgba(5, 6, 14, 0.12) 48%, rgba(5, 6, 14, 0.95) 100%),
    linear-gradient(105deg, rgba(98, 51, 190, 0.12), transparent 50%);
}

.hero__veil::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--violet) 45%, var(--magenta) 74%, var(--yellow));
  content: "";
  opacity: 0.85;
}

.hero__toolbar {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  padding: max(16px, env(safe-area-inset-top)) 16px 0;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 3px;
  min-height: 44px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  background: rgba(4, 5, 12, 0.66);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(14px);
}

.language-switcher > span {
  font-size: 0.7rem;
}

.language-switcher__button {
  min-width: 40px;
  min-height: 34px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.language-switcher__button.is-active {
  background: rgba(139, 92, 246, 0.2);
  box-shadow: inset 0 0 0 1px rgba(180, 152, 255, 0.2);
  color: #fff;
}

.hero__content {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 36px 20px 24px;
  animation: content-rise 700ms 120ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero__eyebrow,
.section-heading__kicker {
  margin: 0 0 7px;
  color: #bfadff;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
}

.hero h1 {
  max-width: 390px;
  margin: 0;
  color: #d2d5df;
  font-size: clamp(2.05rem, 10vw, 2.85rem);
  font-weight: 780;
  letter-spacing: -0.052em;
  line-height: 0.92;
  text-wrap: balance;
}

.hero__name-line {
  position: relative;
  display: block;
}

.hero__name-line::after {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(
    105deg,
    transparent 43%,
    rgba(80, 220, 255, 0.35) 48%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(80, 220, 255, 0.35) 52%,
    transparent 57%
  );
  background-position: 160% 0;
  background-size: 240% 100%;
  background-repeat: no-repeat;
  background-clip: text;
  color: transparent;
  content: attr(data-shine);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hero-name-sheen 7.4s 900ms ease-in-out infinite;
}

.hero__name-line + .hero__name-line {
  margin-top: 0.08em;
}

.hero__name-accent {
  color: #b58cff;
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.24);
}

.hero__role {
  max-width: 390px;
  margin: 12px 0 0;
  color: #e2e5ef;
  font-size: 0.91rem;
  font-weight: 650;
  line-height: 1.38;
}

.hero__summary {
  max-width: 385px;
  margin: 10px 0 0;
  color: rgba(235, 238, 249, 0.73);
  font-size: 0.83rem;
  line-height: 1.5;
}

.profile-card__body {
  position: relative;
  padding: 0 18px 24px;
}

.color-signal {
  display: flex;
  gap: 4px;
  width: 58px;
  height: 3px;
  margin: 24px 0 28px;
}

.color-signal span {
  flex: 1;
  border-radius: 999px;
}

.color-signal span:nth-child(1) {
  background: var(--cyan);
}

.color-signal span:nth-child(2) {
  background: var(--magenta);
}

.color-signal span:nth-child(3) {
  background: var(--yellow);
}

section + section {
  margin-top: 48px;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 17px;
}

.section-heading--compact {
  margin-bottom: 14px;
}

.section-heading__index {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  place-items: center;
  margin-top: 1px;
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.08);
  color: #a991ff;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.05em;
}

.section-heading__kicker {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.6rem;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.action-stack,
.social-links,
.venture-list {
  display: grid;
  gap: 10px;
}

.venture-list {
  grid-auto-rows: auto;
  gap: 12px;
}

.button,
.social-link {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 64px;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button--primary {
  border-color: rgba(176, 151, 255, 0.28);
  background:
    linear-gradient(110deg, rgba(139, 92, 246, 0.3), rgba(91, 33, 182, 0.18)),
    var(--surface-raised);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 8px 26px rgba(82, 43, 170, 0.16);
}

.button--primary::before {
  position: absolute;
  top: -80%;
  left: -25%;
  width: 30%;
  height: 250%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  content: "";
  pointer-events: none;
  transform: rotate(22deg);
  animation: button-sheen 6s 2s ease-in-out infinite;
}

.button--secondary {
  background: var(--surface-raised);
}

.button__icon,
.social-link__icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.045);
  color: #c9baff;
}

.button__icon svg,
.social-link__icon svg {
  width: 21px;
  height: 21px;
}

.button__copy,
.social-link__copy {
  min-width: 0;
  flex: 1;
}

.button__copy strong,
.button__copy small,
.social-link__copy strong,
.social-link__copy small {
  display: block;
  overflow-wrap: anywhere;
}

.button__copy strong,
.social-link__copy strong {
  color: var(--text);
  font-size: 0.91rem;
  font-weight: 720;
  line-height: 1.25;
}

.button__copy small,
.social-link__copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.25;
}

.button__arrow,
.external-arrow {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.38);
  font-size: 1rem;
  transition: color 180ms ease, transform 180ms ease;
}

.social-link {
  min-height: 58px;
  padding-block: 8px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
}

.social-link__icon {
  width: 37px;
  height: 37px;
  flex-basis: 37px;
  padding: 7px;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  color: #bdc5db;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.social-link__icon svg {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
}

.social-link__icon .brand-icon--fill {
  fill: currentColor;
  stroke: none;
}

.social-link__icon .brand-icon--instagram {
  fill: none;
  stroke: none;
}

.social-link--whatsapp .social-link__icon {
  border-color: rgba(62, 210, 132, 0.2);
  background: linear-gradient(145deg, rgba(62, 210, 132, 0.11), rgba(62, 210, 132, 0.035));
  color: #69d79d;
}

.social-link--github .social-link__icon {
  border-color: rgba(226, 231, 241, 0.16);
  color: #e2e7f1;
}

.social-link--linkedin .social-link__icon {
  border-color: rgba(91, 157, 255, 0.2);
  background: linear-gradient(145deg, rgba(58, 127, 230, 0.12), rgba(58, 127, 230, 0.035));
  color: #72a9ff;
}

.social-link--instagram .social-link__icon {
  border-color: rgba(230, 90, 159, 0.2);
  background: linear-gradient(145deg, rgba(230, 90, 159, 0.1), rgba(154, 124, 255, 0.045));
}

.about-panel {
  position: relative;
  padding: 21px 18px 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background:
    radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.12), transparent 48%),
    var(--surface-raised);
}

.about-panel__mark {
  position: absolute;
  top: 14px;
  right: 15px;
  width: 43px;
  height: 32px;
  color: rgba(139, 92, 246, 0.15);
  fill: currentColor;
  stroke: none;
}

.about-panel > p {
  position: relative;
  max-width: 345px;
  margin: 0;
  color: #c9cedd;
  font-size: 0.91rem;
  line-height: 1.7;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 17px;
}

.skill-tags span {
  padding: 6px 9px;
  border: 1px solid rgba(139, 92, 246, 0.18);
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.07);
  color: #c5b8ef;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.015em;
}

.venture-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface-raised);
}

.venture-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(var(--cyan), var(--violet));
  content: "";
  opacity: 0.7;
}

.venture-card--monkav::before {
  background: linear-gradient(var(--cyan), var(--magenta), var(--yellow));
}

.venture-card__visual {
  display: grid;
  width: 100%;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0a0d17;
}

.venture-card--techcore {
  min-height: 314px;
}

.techcore-logo-wrapper {
  min-height: 118px;
  flex: 0 0 auto;
  padding: 18px 20px;
  background:
    linear-gradient(145deg, rgba(33, 212, 253, 0.11), rgba(139, 92, 246, 0.13)),
    #03040a;
}

.techcore-logo-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 105px;
  object-fit: contain;
  object-position: center;
}

.venture-card--monkav {
  display: grid;
  min-height: 198px;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: stretch;
  gap: 16px;
}

.monkav-logo-wrapper {
  width: 92px;
  height: 92px;
  align-self: start;
  padding: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 47, 146, 0.11), transparent 52%),
    #fff;
}

.monkav-logo-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  object-fit: contain;
  object-position: center;
}

.venture-card__content {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.venture-card__topline {
  display: flex;
  min-height: 14px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.venture-card__category {
  color: #8790a5;
  font-size: 0.56rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.venture-card__status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(33, 212, 253, 0.8);
}

.venture-card__dots {
  display: flex;
  gap: 3px;
}

.venture-card__dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.venture-card__dots i:nth-child(1) {
  background: var(--cyan);
}

.venture-card__dots i:nth-child(2) {
  background: var(--magenta);
}

.venture-card__dots i:nth-child(3) {
  background: var(--yellow);
}

.venture-card h3 {
  margin: 6px 0 6px;
  font-size: 0.97rem;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.venture-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.venture-link {
  display: inline-flex;
  max-width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  align-self: flex-end;
  margin-top: auto;
  margin-left: auto;
  padding: 10px 0 10px 10px;
  border-radius: 10px;
  color: #c8baff;
  font-size: 0.69rem;
  font-weight: 780;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.venture-link span:last-child {
  transition: transform 180ms ease;
}

.venture-link:focus-visible {
  background: rgba(139, 92, 246, 0.1);
  color: #fff;
}

.venture-link:active {
  background: rgba(139, 92, 246, 0.14);
  color: #fff;
  transform: scale(0.98);
}

.site-footer {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 49px;
  padding: 21px 2px 5px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
}

.site-footer p {
  margin: 0;
  font-size: 0.65rem;
  line-height: 1.45;
}

.site-footer strong {
  display: block;
  color: #c8ccda;
  font-size: 0.7rem;
}

.site-footer__year {
  font-size: 0.65rem;
  white-space: nowrap;
}

.toast {
  position: fixed;
  z-index: 50;
  right: 16px;
  bottom: max(18px, env(safe-area-inset-bottom));
  left: 16px;
  width: fit-content;
  max-width: calc(100% - 32px);
  margin: 0 auto;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(18, 22, 38, 0.95);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
  color: #f7f8ff;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 200ms ease, transform 200ms ease;
  backdrop-filter: blur(16px);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.noscript-message {
  position: fixed;
  z-index: 60;
  right: 12px;
  bottom: 12px;
  left: 12px;
  max-width: 440px;
  margin: 0 auto;
  padding: 12px 16px;
  border: 1px solid rgba(255, 213, 34, 0.3);
  border-radius: 12px;
  background: #171408;
  color: #fff4b8;
  font-size: 0.78rem;
  text-align: center;
}

:focus-visible {
  outline: 3px solid rgba(33, 212, 253, 0.82);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .social-link:hover {
    border-color: var(--line-strong);
    background-color: var(--surface-soft);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
  }

  .button:hover .button__arrow,
  .social-link:hover .external-arrow {
    color: #fff;
    transform: translate(2px, -2px);
  }

  .venture-link:hover {
    background: rgba(139, 92, 246, 0.08);
    color: #fff;
    transform: translateY(-1px);
  }

  .venture-link:hover span:last-child {
    transform: translate(2px, -2px);
  }

  .language-switcher__button:hover {
    color: #fff;
  }
}

@media (min-width: 480px) {
  .page-shell {
    padding: 32px 0;
  }

  .profile-card {
    min-height: 0;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow);
  }

  .hero {
    border-radius: calc(var(--radius-card) - 1px) calc(var(--radius-card) - 1px) 0 0;
  }

  .profile-card__body {
    padding-right: 22px;
    padding-bottom: 27px;
    padding-left: 22px;
  }
}

@media (max-width: 340px) {
  .hero__content {
    padding-right: 16px;
    padding-left: 16px;
  }

  .profile-card__body {
    padding-right: 14px;
    padding-left: 14px;
  }

  .venture-card {
    padding: 12px;
  }

  .venture-card--techcore {
    min-height: 298px;
  }

  .techcore-logo-wrapper {
    min-height: 104px;
    padding: 14px 16px;
  }

  .venture-card--monkav {
    min-height: 196px;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
  }

  .monkav-logo-wrapper {
    width: 76px;
    height: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__name-line::after {
    content: none;
  }
}

@keyframes hero-reveal {
  from {
    opacity: 0;
    transform: scale(1.06);
  }
}

@keyframes content-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@keyframes hero-name-sheen {
  0%,
  57%,
  100% {
    background-position: 160% 0;
    opacity: 0;
  }

  59% {
    background-position: 160% 0;
    opacity: 0;
  }

  62% {
    opacity: 0.92;
  }

  94% {
    background-position: -60% 0;
    opacity: 0.92;
  }

  97% {
    background-position: -60% 0;
    opacity: 0;
  }
}

@keyframes button-sheen {
  0%,
  62%,
  100% {
    transform: translateX(-30px) rotate(22deg);
  }

  78% {
    transform: translateX(420px) rotate(22deg);
  }
}
