/* ==========================================================================
   PORTFOLIO DESIGN SYSTEM — WONDERING.APP & MEDASCLEPIO AESTHETIC
   Autor: Marlon Ferreira | Software Engineer, AI Systems & HealthTech
   Inspirado no estilo editorial caloroso de Wondering.app & MedAsclepio
   ========================================================================== */

/* 1. RESET & CSS VARIABLES (LIGHT & DARK THEMES) */
:root {
  /* Tipografia Oficial Wondering */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Roboto Mono', 'Fira Code', monospace;

  /* Tema Claro: Papel Marfim Quente (Warm Ivory & Terracotta) */
  --bg-page: #FFFCF0;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFDF8;
  --bg-surface-subtle: #F6F2E7;
  --bg-surface-elevated: #FFF9E9;
  --header-bg: rgba(255, 252, 240, 0.9);

  --border-subtle: #EBE4D5;
  --border-hover: #D8CEBC;
  --border-glass: rgba(235, 228, 213, 0.8);

  --text-primary: #231C18;
  --text-secondary: #6A605B;
  --text-muted: #9A908A;
  --text-code: #C8461D;

  /* Cores de Acento Wondering & MedAsclepio */
  --accent-primary: #FF5722;
  --accent-hover: #E64A19;
  --accent-subtle: rgba(255, 87, 34, 0.09);
  --accent-border: rgba(255, 87, 34, 0.28);
  --accent-glow: rgba(255, 87, 34, 0.18);

  --star-gold: #F59E0B;
  --star-gold-subtle: rgba(245, 158, 11, 0.12);
  --success-green: #10B981;
  --success-subtle: rgba(16, 185, 129, 0.1);
  --blue-badge: #0284C7;
  --blue-subtle: rgba(2, 132, 199, 0.09);

  /* Sombras Quentes Táteis */
  --shadow-sm: 0 1px 3px rgba(35, 28, 24, 0.05);
  --shadow-md: 0 4px 14px rgba(35, 28, 24, 0.07), 0 1px 3px rgba(35, 28, 24, 0.03);
  --shadow-lg: 0 14px 34px rgba(35, 28, 24, 0.08), 0 4px 10px rgba(35, 28, 24, 0.04);
  --shadow-card: 0 6px 20px rgba(35, 28, 24, 0.06);
  --shadow-tactile: 0 3px 0 rgba(35, 28, 24, 0.12);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --transition-fast: 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  /* Tema Escuro: Café Especial & Chocolate Quente (Warm Espresso) */
  --bg-page: #151210;
  --bg-card: #1F1B18;
  --bg-card-hover: #26211E;
  --bg-surface-subtle: #29231F;
  --bg-surface-elevated: #332B26;
  --header-bg: rgba(21, 18, 16, 0.9);

  --border-subtle: #332A25;
  --border-hover: #4A3E37;
  --border-glass: rgba(51, 42, 37, 0.85);

  --text-primary: #FFF8F2;
  --text-secondary: #C8BAB3;
  --text-muted: #948680;
  --text-code: #FF8F6B;

  --accent-primary: #FF6E40;
  --accent-hover: #FF8A65;
  --accent-subtle: rgba(255, 110, 64, 0.16);
  --accent-border: rgba(255, 110, 64, 0.35);
  --accent-glow: rgba(255, 110, 64, 0.25);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 14px 38px rgba(0, 0, 0, 0.65);
  --shadow-card: 0 6px 22px rgba(0, 0, 0, 0.45);
  --shadow-tactile: 0 3px 0 rgba(0, 0, 0, 0.3);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.7;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--bg-page);
}
::-webkit-scrollbar-thumb {
  background: var(--border-hover);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* Subtle Warm Ambient Glows */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-circle-1 {
  position: absolute;
  top: -12%;
  right: -8%;
  width: 50vw;
  height: 50vw;
  max-width: 650px;
  max-height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-subtle) 0%, transparent 70%);
  filter: blur(70px);
}

.ambient-circle-2 {
  position: absolute;
  top: 45%;
  left: -10%;
  width: 45vw;
  height: 45vw;
  max-width: 600px;
  max-height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--star-gold-subtle) 0%, transparent 70%);
  filter: blur(80px);
}

/* 2. LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

section {
  padding: 100px 0;
  position: relative;
}

/* 3. WONDERING FLOATING HEADER & NAVBAR */
.navbar {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 1060px;
  margin: 0 20px;
  transition: all var(--transition-smooth);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.star-icon {
  width: 22px;
  height: 22px;
  color: var(--accent-primary);
  display: inline-block;
  vertical-align: middle;
  animation: star-pulse 3s infinite ease-in-out;
}

@keyframes star-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(6deg); }
}

.nav-brand span.brand-dot {
  color: var(--accent-primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 22px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-sans);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-primary);
  background: var(--accent-subtle);
}

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

/* Theme Toggle Button */
.btn-theme-toggle {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.btn-theme-toggle:hover {
  background: var(--accent-subtle);
  border-color: var(--accent-border);
  color: var(--accent-primary);
  transform: scale(1.05);
}

.btn-cta-wondering {
  background: var(--accent-primary);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 14px var(--accent-glow);
  transition: var(--transition-smooth);
  border: none;
}

.btn-cta-wondering:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--accent-glow);
  color: #ffffff;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.35rem;
  cursor: pointer;
  padding: 4px;
}

/* 4. TYPOGRAPHY & SECTION HEADERS (WONDERING EDITORIAL) */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-primary);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.2px;
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.22;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-title em,
.editorial-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-primary);
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 660px;
  line-height: 1.7;
  margin-bottom: 50px;
}

/* 5. HERO SECTION */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 55px;
  align-items: center;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 22px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-primary);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-name {
  font-family: var(--font-sans);
  font-size: clamp(2.8rem, 5.8vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.hero-headline {
  font-size: clamp(1.35rem, 2.8vw, 1.95rem);
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--text-secondary);
  line-height: 1.35;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.hero-headline em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-primary);
}

.hero-bio {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 34px;
}

.hero-bio strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.btn-primary-wondering {
  background: var(--accent-primary);
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.96rem;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 4px 18px var(--accent-glow);
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary-wondering:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
  color: #ffffff;
}

.btn-secondary-wondering {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.96rem;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.btn-secondary-wondering:hover {
  background: var(--bg-surface-subtle);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  color: var(--accent-primary);
}

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

.social-pill {
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.social-pill:hover {
  color: var(--accent-primary);
  border-color: var(--accent-border);
  background: var(--accent-subtle);
  transform: translateY(-2px);
}

/* Hero Tactile Card / Profile Box */
.hero-tactile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.hero-tactile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-primary), var(--star-gold));
}

.profile-header-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.profile-avatar-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-subtle);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.profile-info h3 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.profile-info p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.profile-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-subtle);
  color: var(--accent-primary);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  margin-top: 6px;
}

.wondering-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.metric-card-wondering {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: var(--transition-fast);
}

.metric-card-wondering .label {
  font-size: 0.76rem;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.metric-card-wondering .val {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-sans);
  color: var(--accent-primary);
}

/* 6. FEATURED PROJECTS SHOWCASE (WONDERING & MEDASCLEPIO CARDS) */
.featured-projects {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.wondering-project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.wondering-project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.project-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.project-category-badge {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-primary);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.project-live-tag {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--success-green);
  background: var(--success-subtle);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.project-card-title {
  font-family: var(--font-sans);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.3;
}

.project-card-title a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

.project-card-title a:hover {
  color: var(--accent-primary);
}

.project-card-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 22px;
}

.project-pills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin-bottom: 26px;
}

.project-pill-item {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.project-card-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-card-action {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.btn-card-action.btn-fill {
  background: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 2px 10px var(--accent-glow);
}

.btn-card-action.btn-fill:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-card-action.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-card-action.btn-outline:hover {
  background: var(--bg-surface-subtle);
  border-color: var(--border-hover);
  color: var(--accent-primary);
}

/* Project Visual Container */
.project-visual-panel {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 240px;
  position: relative;
}

.panel-header-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.panel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-hover);
}

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

.visual-stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.visual-stat-item .v-label {
  font-size: 0.72rem;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.visual-stat-item .v-value {
  font-size: 1.05rem;
  font-weight: 800;
  font-family: var(--font-sans);
  color: var(--accent-primary);
}

/* 7. OTHER REPOSITORIES (WONDERING FILTERABLE GRID) */
.filter-tabs-wondering {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.filter-btn-wondering {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.filter-btn-wondering:hover,
.filter-btn-wondering.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #ffffff;
}

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

.repo-card-wondering {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.repo-card-wondering:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.repo-card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.repo-star-icon {
  color: var(--accent-primary);
  font-size: 1.25rem;
}

.repo-card-links a {
  color: var(--text-muted);
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition-fast);
}

.repo-card-links a:hover {
  color: var(--accent-primary);
}

.repo-card-title {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.repo-card-title a {
  color: inherit;
  text-decoration: none;
}

.repo-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.repo-tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* 8. SKILLS SECTION (WONDERING TACTILE CARDS) */
.skills-grid-wondering {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.skill-card-wondering {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.skill-card-wondering:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

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

.skill-star-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: 1.2rem;
}

.skill-card-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.skill-items-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skill-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.skill-pill-tag {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

/* 9. TRAJECTORY & EXPERIENCE TIMELINE */
.timeline-wondering {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.timeline-wondering::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: var(--border-subtle);
}

.timeline-entry {
  position: relative;
  padding-left: 56px;
  margin-bottom: 44px;
}

.timeline-star-node {
  position: absolute;
  left: 11px;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-page);
  border: 2px solid var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: 0.65rem;
}

.timeline-period {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.timeline-role-title {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.timeline-company-name {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.timeline-card-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* 10. ABOUT / PHILOSOPHY SECTION */
.about-grid-wondering {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.about-text-content p {
  font-size: 1.04rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-text-content strong {
  color: var(--text-primary);
}

.about-highlight-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
}

.highlight-stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.highlight-stat-box .h-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 500;
  font-style: italic;
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.highlight-stat-box .h-label {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.about-photo-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}

.about-photo-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* 11. NEWSLETTER & CONTACT CARDS (WONDERING WARM CALLOUT) */
.wondering-callout-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 55px 40px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.wondering-callout-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-primary);
}

.wondering-callout-card p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.75;
}

.email-copy-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 8px 8px 8px 24px;
  margin-bottom: 28px;
}

.email-address-text {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-primary);
}

.btn-copy-tactile {
  background: var(--accent-primary);
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
  box-shadow: 0 2px 8px var(--accent-glow);
}

.btn-copy-tactile:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* Toast */
.toast-notice {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--bg-card);
  border: 1px solid var(--accent-primary);
  box-shadow: var(--shadow-lg);
  color: var(--text-primary);
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  pointer-events: none;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* Footer */
footer {
  padding: 50px 0 30px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-links-row {
  display: flex;
  gap: 18px;
}

.footer-links-row a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

.footer-links-row a:hover {
  color: var(--accent-primary);
}

/* 12. RESPONSIVE */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .wondering-project-card {
    grid-template-columns: 1fr;
  }

  .about-grid-wondering {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 75px;
    left: 20px;
    right: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    flex-direction: column;
    padding: 20px;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    display: none;
  }

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

  .hero-name {
    font-size: 2.6rem;
  }

  .hero-headline {
    font-size: 1.3rem;
  }

  .email-copy-pill {
    flex-direction: column;
    padding: 16px;
    border-radius: var(--radius-md);
    gap: 12px;
  }
}

/* Language Switcher Pill */
.btn-lang-toggle { background: var(--bg-surface-subtle); border: 1px solid var(--border-subtle); color: var(--text-primary); height: 38px; padding: 0 14px; border-radius: var(--radius-full); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-sans); font-size: 0.82rem; font-weight: 700; text-decoration: none; transition: var(--transition-fast); }
.btn-lang-toggle:hover { background: var(--accent-subtle); border-color: var(--accent-border); color: var(--accent-primary); }
