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

* {
  margin: 0;
  padding: 0;
}

/* ======================== CSS VARIABLES ======================== */
:root {
  --brand-base-l: 0.3105;
  --brand-base-c: 0.1413;
  --brand-base-h: 261.78;

  --aiomover-brand: #004587;

  --color-primary: oklch(var(--brand-base-l) var(--brand-base-c) var(--brand-base-h));
  --color-primary-dark: oklch(calc(0.45 - 0.15) 0.12 250);
  --color-primary-light: oklch(calc(0.45 + 0.25) 0.08 250);
  --color-primary-50: oklch(0.97 0.02 250);
  --color-primary-100: oklch(0.92 0.04 250);
  --color-primary-200: oklch(0.85 0.06 250);
  --color-primary-300: oklch(0.78 0.08 250);
  --color-primary-400: oklch(0.68 0.1 250);
  --color-primary-500: oklch(0.55 0.11 250);
  --color-primary-600: oklch(0.4 0.12 250);
  --color-primary-700: oklch(0.35 0.12 250);
  --color-primary-800: oklch(var(--brand-base-l) var(--brand-base-c) var(--brand-base-h));
  --color-primary-900: oklch(0.25 0.12 250);

  --color-surface: #ffffff;
  --color-surface-glass: oklch(1 0 0 / 0.7);
  --color-surface-glass-border: oklch(0 0 0 / 0.08);
  --color-backdrop: oklch(0.98 0.005 250);
  --color-card: oklch(0.99 0.01 250);

  --color-neutral-50: oklch(0.98 0 0);
  --color-neutral-100: oklch(0.96 0 0);
  --color-neutral-200: oklch(0.92 0 0);
  --color-neutral-300: oklch(0.87 0 0);
  --color-neutral-400: oklch(0.71 0 0);
  --color-neutral-500: oklch(0.55 0 0);
  --color-neutral-600: oklch(0.45 0 0);
  --color-neutral-700: oklch(0.35 0 0);
  --color-neutral-800: oklch(0.25 0 0);
  --color-neutral-900: oklch(0.15 0 0);

  --color-text-main: oklch(0.2 0 0);
  --color-text-muted: oklch(0.45 0 0);
  --color-text-inverse: oklch(1 0 0);

  --color-pdf-overlay: oklch(1 0 0 / 0.65);
}

[data-theme="dark"] {
  --color-primary-50: oklch(0.22 0.03 250);
  --color-primary-100: oklch(0.28 0.05 250);
  --color-primary-200: oklch(0.35 0.07 250);
  --color-primary-300: oklch(0.45 0.09 250);
  --color-primary-400: oklch(0.55 0.1 250);
  --color-primary-500: oklch(0.6 0.11 250);
  --color-primary-600: oklch(0.65 0.11 250);
  --color-primary-700: oklch(0.72 0.1 250);
  --color-primary-800: oklch(0.8 0.08 250);
  --color-primary-900: oklch(0.9 0.05 250);

  --color-surface: oklch(0.18 0.01 250);
  --color-surface-glass: oklch(0.22 0.02 250 / 0.9);
  --color-surface-glass-border: oklch(1 0 0 / 0.3);
  --color-backdrop: oklch(0.12 0.01 250);
  --color-card: oklch(0.2 0.02 250);

  --color-neutral-50: oklch(0.18 0 0);
  --color-neutral-100: oklch(0.22 0 0);
  --color-neutral-200: oklch(0.28 0 0);
  --color-neutral-300: oklch(0.38 0 0);
  --color-neutral-400: oklch(0.5 0 0);
  --color-neutral-500: oklch(0.6 0 0);
  --color-neutral-600: oklch(0.7 0 0);
  --color-neutral-700: oklch(0.8 0 0);
  --color-neutral-800: oklch(0.88 0 0);
  --color-neutral-900: oklch(0.95 0 0);

  --color-text-main: oklch(0.99 0 0);
  --color-text-muted: oklch(0.92 0 0);
  --color-text-inverse: oklch(0.12 0 0);

  --color-pdf-overlay: oklch(0.1 0.01 250 / 0.75);
}

/* ======================== BASE ======================== */
body {
  background-color: var(--color-backdrop);
  color: var(--color-text-main);
  font-family: "Inter", sans-serif;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-primary-900);
  margin: 0;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
}
h2 {
  font-size: 2.25rem;
  font-weight: 700;
}
h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

a {
  color: var(--color-primary-600);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-primary-500);
}

.glass {
  background: var(--color-surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-surface-glass-border);
  border-radius: 16px;
  box-shadow:
    0 4px 24px oklch(0 0 0 / 0.08),
    0 1px 2px oklch(0 0 0 / 0.04);
}

* {
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

/* ======================== NAVBAR ======================== */
.navbar {
  position: sticky;
  top: 0;
  padding: 16px 24px;
  background: var(--color-surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-surface-glass-border);
  z-index: 100;
}

.navContent {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: -0.5px;
  transition: color 0.2s ease;
}

.logo:hover {
  color: var(--color-primary-500);
}

.navActions {
  display: flex;
  gap: 12px;
  align-items: center;
}

@media (max-width: 600px) {
  .navbar {
    padding: 12px 16px;
  }
  .logo {
    font-size: 1.25rem;
    margin-left: 12px;
  }
  .navActions {
    gap: 8px;
  }
}

/* ======================== FOOTER ======================== */
.footer {
  padding: 48px 24px 32px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-neutral-200);
  margin-top: auto;
}

.footerContent {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footerLogoLink {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footerLogo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footerBottom {
  padding-top: 24px;
  border-top: 1px solid var(--color-surface-glass-border);
  width: 100%;
  max-width: 600px;
}

.footerCopyright {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin: 0 0 4px 0;
}

.footerMadeWith {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  margin: 0;
}

.footerBrazil {
  font-weight: 700;
  background: linear-gradient(90deg, #1e3a5f, #009739, #1e3a5f);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: brazilGradient 3s ease-in-out infinite;
}

@keyframes brazilGradient {
  0% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
  100% {
    background-position: 0% center;
  }
}

/* ======================== BUTTON ======================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}

.button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.button.primary {
  background-color: var(--color-primary-500);
  color: #ffffff;
}
.button.primary:hover:not(:disabled) {
  background-color: var(--color-primary-600);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px oklch(0 0 0 / 0.15);
}

.button.secondary {
  background-color: var(--color-surface);
  color: var(--color-primary-700);
  border: 2px solid var(--color-primary-300);
}
.button.secondary:hover:not(:disabled) {
  background-color: var(--color-primary-50);
  border-color: var(--color-primary-400);
  transform: translateY(-1px);
}

.button.ghost {
  background-color: transparent;
  color: var(--color-text-main);
  border: 1px solid var(--color-neutral-300);
}
.button.ghost:hover:not(:disabled) {
  background-color: var(--color-neutral-100);
  border-color: var(--color-neutral-400);
}

.button.sm {
  padding: 8px 16px;
  font-size: 0.875rem;
  min-height: 36px;
}
.button.md {
  padding: 10px 20px;
  font-size: 0.95rem;
  min-height: 44px;
}
.button.lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  min-height: 52px;
}

.button.fullWidth {
  width: 100%;
}

.iconLeft,
.iconRight {
  display: flex;
  align-items: center;
}

/* ======================== THEME TOGGLE ======================== */
.themeToggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-neutral-200);
  border-radius: 10px;
  background-color: var(--color-surface);
  cursor: pointer;
  transition: all 0.2s ease;
}

.themeToggle:hover {
  background-color: var(--color-neutral-50);
  border-color: var(--color-neutral-300);
  transform: scale(1.05);
}

.themeToggle .moon {
  color: #6366f1;
  transition: transform 0.3s ease;
}
.themeToggle:hover .moon {
  transform: rotate(-15deg);
}
.themeToggle .sun {
  color: #f59e0b;
  transition: transform 0.3s ease;
}
.themeToggle:hover .sun {
  transform: rotate(15deg);
}

/* ======================== LANGUAGE SWITCHER ======================== */
.langSwitcher {
  position: relative;
  display: inline-block;
}

.langButton {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border: 1px solid var(--color-neutral-200);
  border-radius: 10px;
  background-color: var(--color-surface);
  color: var(--color-text-main);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.langButton:hover {
  background-color: var(--color-neutral-50);
  border-color: var(--color-neutral-300);
}

.langFlag {
  font-size: 1.25rem;
  line-height: 1;
}

.langChevron {
  transition: transform 0.2s ease;
  color: var(--color-text-muted);
  width: 14px;
  height: 14px;
}

.langChevron.open {
  transform: rotate(180deg);
}

.langDropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 140px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-neutral-200);
  border-radius: 10px;
  box-shadow: 0 8px 24px oklch(0 0 0 / 0.12);
  overflow: hidden;
  z-index: 200;
  display: none;
  animation: fadeInDown 0.15s ease;
}

.langDropdown.open {
  display: block;
}

.langOption {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: none;
  color: var(--color-text-main);
  font-size: 0.875rem;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease;
  font-family: inherit;
}

.langOption:hover {
  background-color: var(--color-primary-50);
}
.langOption.active {
  background-color: var(--color-primary-100);
  color: var(--color-primary-700);
  font-weight: 600;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======================== STAR RATING ======================== */
.starContainer {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.starsBackground {
  display: flex;
  gap: 4px;
}

.starEmpty {
  color: var(--color-surface-glass-border);
}

.starsForeground {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  gap: 4px;
  overflow: hidden;
  white-space: nowrap;
}

.starFilled {
  color: #f59e0b;
  flex-shrink: 0;
}

/* ======================== COMPANY MODAL ======================== */
.modalOverlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  display: none;
}

.modalOverlay.open {
  display: flex;
}

.modal {
  background: var(--color-card);
  border: 1px solid var(--color-surface-glass-border);
  border-radius: 24px;
  width: 100%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
  animation: modalAppear 0.3s ease-out;
}

@keyframes modalAppear {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modalCloseButton {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--color-surface-glass);
  border: 1px solid var(--color-surface-glass-border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text-main);
  transition: all 0.2s ease;
  z-index: 2;
}

.modalCloseButton:hover {
  transform: rotate(90deg);
}

.modalContent {
  padding: 40px;
}

.modalHeader {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.modalLogo {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-surface-glass-border);
}

.modalLogo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modalCompanyInfo h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #002776;
  margin: 0 0 4px 0;
}

.modalCompanyUrl {
  font-size: 1rem;
  color: var(--color-primary-600);
  text-decoration: none;
}

.modalRoles {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.modalRoleItem {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modalRoleHeader {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modalRoleTitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin: 0;
}

.modalRolePeriod {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.modalRoleDescription {
  font-size: 1.05rem;
  color: var(--color-text-main);
  line-height: 1.7;
  white-space: pre-line;
}

/* Company role sections (hidden by default, JS shows matching) */
.companyRoleSection {
  display: none;
}

@media (max-width: 600px) {
  .modalContent {
    padding: 32px 24px;
  }
  .modalHeader {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .modalCompanyInfo h2 {
    font-size: 1.75rem;
  }
  .modalRoleTitle {
    font-size: 1.15rem;
  }
}

/* ======================== PAGE LAYOUT ======================== */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, var(--color-backdrop) 0%, var(--color-primary-50) 100%);
}

.main {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ======================== HERO ======================== */
.hero {
  padding: 72px 0 64px;
}

.heroGreeting {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-primary-900);
  text-align: center;
  margin: 0 0 56px 0;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.helloWord {
  color: var(--color-primary-900);
}

.helloCursor {
  display: inline-block;
  width: 3px;
  height: 1.1em;
  background: var(--color-primary-900);
  margin-left: 2px;
  vertical-align: baseline;
  margin-bottom: -0.12em;
  border-radius: 2px;
  animation: cursorBlink 0.9s ease-in-out infinite;
}

@keyframes cursorBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.heroContent {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.heroText {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.heroPhoto {
  flex-shrink: 0;
}

.heroSubtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0;
  text-align: left;
  line-height: 1.8;
}

.heroCta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.heroCta a,
.heroCta button {
  flex-shrink: 0;
}

/* ======================== SECTIONS ======================== */
.section {
  padding: 60px 0;
}

.sectionTitle {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 16px 0;
  color: var(--color-primary-900);
}

.sectionSubtitle {
  font-size: 1.1rem;
  text-align: center;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* ======================== PHOTO ======================== */
.photo {
  width: 280px;
  height: 280px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 8px 32px oklch(0 0 0 / 0.12);
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}

.photo:hover {
  filter: grayscale(0%);
}

.aboutMeta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aboutMetaItem {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.aboutMetaItem svg {
  color: var(--color-primary-500);
}

/* ======================== PROJECTS ======================== */
.projectCardLink {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: 24px;
}

.projectCard {
  background: var(--color-card);
  border: 1px solid var(--color-surface-glass-border);
  border-radius: 24px;
  padding: 48px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.projectCardDisabled {
  cursor: default;
  opacity: 0.65;
  filter: grayscale(40%) contrast(0.9);
  margin-top: 24px;
}

[data-theme="dark"] .projectCardDisabled {
  opacity: 0.75;
  filter: grayscale(20%) brightness(1.1);
}

.projectCardDisabled:hover {
  transform: none;
  box-shadow: none;
}

.comingSoonBadge {
  background: var(--color-neutral-200);
  color: var(--color-text-muted);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.projectCardLink:hover .projectCard {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px oklch(0 0 0 / 0.1);
  border-color: var(--color-primary-300);
}

.projectHeader {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.projectLogo {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.projectLogo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.projectTitleGroup {
  flex: 1;
}

.projectTitle {
  font-size: 2rem;
  font-weight: 900;
  color: var(--aiomover-brand) !important;
  margin: 0 0 4px 0;
  letter-spacing: -0.5px;
}

.projectTagline {
  color: var(--color-primary-600);
  font-weight: 500;
  margin: 0;
}

.projectArrow {
  color: var(--aiomover-brand);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.projectCardLink:hover .projectArrow {
  transform: translateX(4px);
}

.projectDescription {
  font-size: 1.05rem;
  color: var(--color-text-main);
  line-height: 1.8;
  margin: 0 0 32px 0;
}

.projectFeatures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.featureItem {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-primary-700);
  font-weight: 500;
}

.featureIcon {
  background: var(--color-primary-100);
  padding: 8px;
  border-radius: 8px;
  color: var(--color-primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ======================== PDF VIEWER ======================== */
.pdfViewerOverlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-pdf-overlay, oklch(1 0 0 / 0.65));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.2s ease;
}

.pdfViewerOverlay.open {
  display: flex;
}

.pdfViewerContainer {
  width: 100%;
  max-width: 900px;
  height: 90vh;
  background: var(--color-surface);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px oklch(0 0 0 / 0.15);
}

.pdfViewerFrame {
  flex: 1;
  width: 100%;
  border: none;
}

/* ======================== TECHNOLOGIES ======================== */
.techSearchContainer {
  max-width: 600px;
  margin: 0 auto 48px;
  position: relative;
  display: flex;
  align-items: center;
}

.techSearchIcon {
  position: absolute;
  left: 20px;
  color: var(--color-text-muted);
  pointer-events: none;
}

.techSearchInput {
  width: 100%;
  padding: 16px 24px 16px 52px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--color-text-main);
  background: var(--color-card);
  border: 1px solid var(--color-surface-glass-border);
  border-radius: 9999px;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px oklch(0 0 0 / 0.05);
}

.techSearchInput::placeholder {
  color: var(--color-text-muted);
  opacity: 0.6;
}

.techSearchInput:focus {
  border-color: var(--color-primary-400);
  box-shadow: 0 0 0 3px var(--color-primary-100);
}

.techCategoriesGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.techCategory {
  background: var(--color-card);
  border: 1px solid var(--color-surface-glass-border);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.techCategoryHeader {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.techCategoryIcon {
  color: var(--color-primary-500);
}

.techCategoryTitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin: 0;
}

.techSkillsGrid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.techSkillCard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: color-mix(in srgb, var(--color-surface) 60%, transparent);
  border: 1px solid var(--color-surface-glass-border);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.techSkillCard:hover {
  border-color: var(--color-primary-300);
}

.techSkillName {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-main);
}

/* ======================== EDUCATION ======================== */
.eduGrid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 8px;
}

.eduCard {
  background: var(--color-card);
  border: 1px solid var(--color-surface-glass-border);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  transition: all 0.3s ease;
}

.eduCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px oklch(0 0 0 / 0.1);
  border-color: var(--color-primary-300);
}

.eduHeader {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 420px;
  flex-shrink: 0;
}

.eduLogo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-surface-glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.eduLogo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.eduDetails {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.eduInstLink {
  text-decoration: none;
  color: inherit;
}
.eduInstLink:hover .eduInst {
  color: var(--color-primary-600);
  text-decoration: underline;
}

.eduInst {
  font-size: 1.1rem;
  font-weight: 700;
  color: #002776;
  margin: 0;
}

.eduDegreeWrapper {
  display: flex;
  flex-direction: column;
}

.eduDegreeType {
  font-size: 0.9rem;
  color: var(--color-primary-600);
  font-weight: 600;
}

.eduDegreeName {
  font-size: 1rem;
  color: var(--color-text-main);
  font-weight: 500;
}

.eduMeta {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
}

.eduContent {
  flex: 1;
}

.eduPoints {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.eduSkills {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary-500);
  margin: 0;
}

/* ======================== PARTNERS ======================== */
.partnerGroups {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 32px;
}

.partnerGroup {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.partnerGroupTitle {
  font-size: 1.4rem;
  font-weight: 700;
  color: #002776;
  margin: 0;
  position: relative;
  padding-left: 16px;
}

.partnerGroupTitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 100%;
  background: #002776;
  border-radius: 2px;
}

.partnersGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 8px;
}

.partnerCardWrapper {
  position: relative;
  width: 100%;
}

.partnerCard {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px 20px 32px;
  background: var(--color-card);
  border: 1px solid var(--color-surface-glass-border);
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  cursor: pointer;
}

.partnerCard:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px oklch(0 0 0 / 0.1);
  border-color: #002776;
}

.infoButton {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--color-surface-glass);
  border: 1px solid var(--color-surface-glass-border);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-primary-600);
  transition: all 0.2s ease;
  z-index: 5;
}

.infoButton:hover {
  background: #002776;
  color: white;
  transform: scale(1.1);
  border-color: #002776;
}

.partnerLogo {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.partnerLogo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partnerName {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-main);
  text-align: center;
  margin: 0;
  line-height: 1.3;
}

.partnerUrl {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  margin: 0;
}

/* ======================== CLOSING CTA ======================== */
.closingCtaCard {
  background: var(--color-card);
  border: 1px solid var(--color-surface-glass-border);
  border-radius: 24px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 40px auto;
  transition: all 0.3s ease;
}

.closingCtaCard:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px oklch(0 0 0 / 0.1);
  border-color: var(--color-primary-300);
}

.closingCtaContent {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.closingCtaTitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin: 0;
}

.closingCtaSubtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6;
}

.closingCtaButton {
  flex-shrink: 0;
}

/* ======================== ANIMATIONS ======================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero > *,
.section {
  animation: fadeIn 0.6s ease-out forwards;
}

/* ======================== RESPONSIVE ======================== */
@media (max-width: 900px) {
  .heroGreeting {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  .heroContent {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .heroPhoto {
    order: -1;
    display: flex;
    justify-content: center;
  }
  .heroCta {
    justify-content: flex-start;
  }
  .photo {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }
  .projectFeatures {
    grid-template-columns: 1fr;
  }
  .projectHeader {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .projectArrow {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 48px 0 40px;
  }
  .heroGreeting {
    font-size: 1.6rem;
    margin-bottom: 32px;
  }
  .eduCard {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
    gap: 20px;
  }
  .eduHeader {
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: auto;
    gap: 12px;
  }
  .eduDetails {
    align-items: center;
  }
  .heroSubtitle {
    font-size: 1rem;
    text-align: center;
    margin: 0 auto;
  }
  .aboutMeta {
    align-items: center;
  }
  .heroCta {
    justify-content: center;
  }
  .aboutMetaItem {
    display: none;
  }
  .partnerGroupTitle {
    text-align: center;
    padding-left: 0;
  }
  .partnerGroupTitle::before {
    display: none;
  }
  .partnersGrid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  .section {
    padding: 32px 0;
  }
  .techCategoryTitle {
    text-align: center;
  }
  .techCategoryHeader {
    justify-content: center;
  }
  .sectionTitle {
    font-size: 1.75rem;
    text-align: center;
  }
  .projectCard {
    padding: 24px;
    text-align: center;
  }
  .projectHeader {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .projectFeatures {
    justify-content: center;
    gap: 16px;
  }
  .featureItem {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
  .closingCtaCard {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
    gap: 24px;
  }
  .closingCtaButton,
  .closingCtaButton a,
  .closingCtaButton button {
    width: 100%;
  }
  .heroCta {
    flex-direction: column;
  }
  .heroCta a,
  .heroCta button {
    width: 100%;
  }
  .heroCta a button,
  .heroCta > button {
    width: 100%;
  }
  .pdfViewerContainer {
    height: 80vh;
    border-radius: 12px;
  }
}
