/* =====================================================================
   SARWENDY SIGALINGGING — Portfolio Design System
   Dark/Light Mode × Responsive × Premium
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ══════════════════════════════════════════════════════════════════════
   CSS VARIABLES — DUAL THEME
   ══════════════════════════════════════════════════════════════════════ */
:root {
  --bg:           #FAFAFA;
  --bg-secondary: #F4F4F5;
  --bg-card:      #FFFFFF;
  --bg-card-hover:#F0F0F3;
  --text:         #09090B;
  --text-muted:   #52525B;
  --text-subtle:  #A1A1AA;
  --border:       #E4E4E7;
  --border-hover: #C4C4C7;
  --accent:       #6667AB;
  --accent-light: rgba(102,103,171,0.10);
  --accent-hover: rgba(102,103,171,0.20);
  --coral:        #FF6F61;
  --coral-light:  rgba(255,111,97,0.12);
  --green:        #22c55e;
  --dot-color:    #D4D4D8;
  --nav-bg:       rgba(250,250,250,0.88);
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.12);
  --radius:       12px;
  --radius-lg:    20px;
  --radius-full:  9999px;
  --transition:   0.25s cubic-bezier(0.4,0,0.2,1);
}

[data-theme="dark"] {
  --bg:           #09090B;
  --bg-secondary: #111116;
  --bg-card:      #18181B;
  --bg-card-hover:#1F1F25;
  --text:         #FAFAFA;
  --text-muted:   #A1A1AA;
  --text-subtle:  #52525B;
  --border:       #27272A;
  --border-hover: #3F3F46;
  --accent:       #8384cc;
  --accent-light: rgba(131,132,204,0.12);
  --accent-hover: rgba(131,132,204,0.20);
  --coral:        #FF7F73;
  --coral-light:  rgba(255,127,115,0.12);
  --dot-color:    #27272A;
  --nav-bg:       rgba(9,9,11,0.90);
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.35);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.50);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.60);
}

/* ══════════════════════════════════════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition), color var(--transition);
  min-height: 100vh;
}

body.with-dots {
  background-image: radial-gradient(circle, var(--dot-color) 1px, transparent 1px);
  background-size: 28px 28px;
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; }
ul, ol { list-style: none; }

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-subtle); }

/* ══════════════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ══════════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.4,0,0.1,1),
              transform 0.65s cubic-bezier(0.4,0,0.1,1);
}
.reveal.visible      { opacity: 1; transform: translateY(0); }
.reveal.from-left    { transform: translateX(-32px); }
.reveal.from-right   { transform: translateX(32px); }
.reveal.from-left.visible,
.reveal.from-right.visible { transform: translateX(0); }
.reveal.delay-1  { transition-delay: 0.08s; }
.reveal.delay-2  { transition-delay: 0.16s; }
.reveal.delay-3  { transition-delay: 0.24s; }
.reveal.delay-4  { transition-delay: 0.32s; }
.reveal.delay-5  { transition-delay: 0.40s; }
.reveal.delay-6  { transition-delay: 0.48s; }

/* ══════════════════════════════════════════════════════════════════════
   LAYOUT
   ══════════════════════════════════════════════════════════════════════ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 88px 0;
  border-top: 1px solid var(--border);
}
section:first-of-type { border-top: none; }

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 12px;
}

/* ══════════════════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.navbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.navbar-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--text);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  transition: color var(--transition);
}
.navbar-logo span { color: var(--accent); }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.navbar-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
  border-radius: 2px;
}
.navbar-links a:hover,
.navbar-links a.active { color: var(--text); }
.navbar-links a:hover::after,
.navbar-links a.active::after { transform: scaleX(1); }

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--transition);
  font-size: 1rem;
}
.btn-icon:hover {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

.btn-lang {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--accent-light);
  border: 1px solid var(--border);
  color: var(--accent);
  letter-spacing: 0.04em;
  transition: all var(--transition);
}
.btn-lang:hover {
  background: var(--accent-hover);
  border-color: var(--accent);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 24px;
  z-index: 998;
  flex-direction: column;
  gap: 16px;
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.25s;
}
.mobile-nav.open { opacity: 1; transform: translateY(0); }
.mobile-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--text); }

/* ══════════════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════════════ */
.btn-primary {
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: white;
  border: 2px solid var(--accent);
  transition: all var(--transition);
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-primary:hover {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
  transition: all var(--transition);
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-secondary:hover {
  border-color: var(--text);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-whatsapp {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: var(--radius-full);
  background: #25d366;
  color: white;
  border: 2px solid #25d366;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}
.btn-whatsapp:hover {
  background: #1da84f;
  border-color: #1da84f;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ══════════════════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  border-top: none;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.hero-content { max-width: 620px; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 2.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.hero-greeting {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.hero-name {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(3.8rem, 10vw, 6.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 6px;
}

.hero-fullname {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.82rem, 1.5vw, 1rem);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.03em;
  margin-bottom: 24px;
}

.hero-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.hero-role-pill {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-card);
  transition: all var(--transition);
}

.hero-desc {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero Photo */
.hero-right { flex-shrink: 0; }

.hero-photo-wrap {
  position: relative;
  display: inline-block;
}

.hero-photo {
  width: 280px; height: 280px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent);
  outline: 8px solid var(--bg);
  outline-offset: 0;
  box-shadow: 0 0 0 9px var(--border), var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* Age badge on photo */
.hero-age-badge {
  position: absolute;
  bottom: 8px;
  right: -12px;
  background: var(--accent);
  color: white;
  border-radius: var(--radius-lg);
  padding: 10px 16px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--bg);
  min-width: 72px;
  animation: float 6s ease-in-out infinite;
  animation-delay: 0.5s;
}
.hero-age-num {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 2px;
}
.hero-age-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-subtle);
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}
.scroll-hint::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-subtle), transparent);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ══════════════════════════════════════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.about-bio p {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 18px;
}
.about-bio p:last-child { margin-bottom: 0; }

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.stat-item {
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  border-radius: 2px 0 0 2px;
}
.stat-item:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}
.stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 4px;
}
.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════════════
   EDUCATION SECTION
   ══════════════════════════════════════════════════════════════════════ */
.edu-timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.edu-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.edu-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60px; height: 60px;
  background: radial-gradient(circle at top right, var(--accent-light), transparent 70%);
  pointer-events: none;
}
.edu-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.edu-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--accent-light);
  border: 1px solid var(--border);
}

.edu-body { flex: 1; min-width: 0; }

.edu-degree {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}

.edu-school {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 3px;
}

.edu-faculty {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.edu-period {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-subtle);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: inline-block;
}

.edu-badge-primary {
  position: absolute;
  top: 12px; right: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: white;
  letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════════════════════════════
   EXPERIENCE SECTION
   ══════════════════════════════════════════════════════════════════════ */
.exp-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.exp-block {
  display: flex;
  gap: 0;
}

.exp-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 24px;
  flex-shrink: 0;
}

.exp-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--border);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--border);
  flex-shrink: 0;
  margin-top: 24px;
  transition: all var(--transition);
}
.exp-dot.current {
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent), 0 0 12px rgba(102,103,171,0.4);
}

.exp-line {
  width: 2px;
  flex: 1;
  background: var(--border);
  margin: 6px 0;
  min-height: 28px;
}

.exp-content {
  flex: 1;
  padding: 20px 24px;
  margin-bottom: 16px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.exp-content:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.exp-school-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.exp-school {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

.exp-current-badge {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  background: rgba(34,197,94,0.12);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.3);
  letter-spacing: 0.04em;
  animation: pulse-dot 2.5s ease-in-out infinite;
}

.exp-position {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.exp-position:first-of-type { margin-top: 0; }

.exp-role {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.exp-period {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-subtle);
  white-space: nowrap;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
}

/* ══════════════════════════════════════════════════════════════════════
   CERTIFICATION SECTION
   ══════════════════════════════════════════════════════════════════════ */
.cert-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cert-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.cert-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--coral));
}
.cert-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.cert-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--accent-light);
  border: 1px solid var(--border);
}

.cert-body { flex: 1; }

.cert-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.cert-issuer {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 6px;
}

.cert-detail {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.cert-field {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-subtle);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: inline-block;
}

.cert-verified {
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: rgba(34,197,94,0.1);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.25);
  letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════════════════════════════
   SKILLS SECTION
   ══════════════════════════════════════════════════════════════════════ */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.skill-group {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.skill-group:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

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

.skill-group-icon {
  font-size: 1.4rem;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--accent-light);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.skill-group-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}

.skill-tech-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 10px;
  margin-top: 4px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.skill-tags:last-child { margin-bottom: 0; }

.skill-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  transition: all var(--transition);
  cursor: default;
}
.skill-tag:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }

.skill-tag-edu {
  background: rgba(102,103,171,0.08);
  color: var(--accent);
  border-color: rgba(102,103,171,0.25);
}
.skill-tag-edu:hover { background: var(--accent-light); border-color: var(--accent); }

.skill-tag-front {
  background: rgba(255,111,97,0.07);
  color: var(--coral);
  border-color: rgba(255,111,97,0.25);
}
.skill-tag-front:hover { background: var(--coral-light); border-color: var(--coral); }

.skill-tag-back {
  background: rgba(34,197,94,0.07);
  color: #16a34a;
  border-color: rgba(34,197,94,0.25);
}
[data-theme="dark"] .skill-tag-back { color: #4ade80; }
.skill-tag-back:hover { background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.4); }

/* Language bars */
.lang-section {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.lang-bars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lang-item {}

.lang-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.lang-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.lang-level {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--accent-light);
  border: 1px solid rgba(102,103,171,0.2);
}

.lang-bar-track {
  width: 100%;
  height: 6px;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid var(--border);
}

.lang-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 60%, var(--coral)));
  border-radius: var(--radius-full);
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}

/* ══════════════════════════════════════════════════════════════════════
   CONTACT SECTION
   ══════════════════════════════════════════════════════════════════════ */
.contact-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 72px;
}

.contact-desc {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 16px 0 32px;
  max-width: 460px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Contact card */
.contact-card {
  flex-shrink: 0;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
  min-width: 240px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.contact-card-avatar {
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
}
.contact-card-avatar img {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  border: 3px solid var(--accent);
  outline: 4px solid var(--bg);
  box-shadow: 0 0 0 5px var(--border);
  margin: 0 auto;
}
.contact-card-fallback {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #8384cc);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 2rem; font-weight: 900; color: white;
  margin: 0 auto;
}

.contact-card-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
}

.contact-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}

.contact-card-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-card-info span {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: left;
  padding: 6px 10px;
  border-radius: var(--radius);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
}

/* ══════════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: var(--bg);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--text);
}
.footer-brand span { color: var(--accent); }
.footer-copy {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--text-subtle);
}

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (768px - 1024px)
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  section { padding: 72px 0; }

  /* Navbar */
  .navbar-links { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .status-badge { margin: 0 auto 28px; }
  .hero-roles { justify-content: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-right { display: flex; justify-content: center; }
  .hero-photo { width: 240px; height: 240px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-stats { flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .stat-item { flex: 1; min-width: 140px; }
  .stat-item:hover { transform: translateY(-4px); }

  /* Education */
  .edu-timeline { grid-template-columns: 1fr; }

  /* Skills */
  .skills-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-inner { flex-direction: column; gap: 40px; }
  .contact-card { width: 100%; max-width: 400px; }
}

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (< 768px)
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  section { padding: 56px 0; }
  .container { padding: 0 18px; }

  /* Navbar */
  .navbar-inner { padding: 0 18px; }

  /* Hero */
  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero-inner { padding: 0 18px; gap: 36px; }
  .hero-name { font-size: clamp(3rem, 14vw, 4.5rem); }
  .hero-fullname { font-size: 0.8rem; }
  .hero-desc { font-size: 0.93rem; }
  .hero-photo { width: 200px; height: 200px; }
  .hero-age-badge { right: -8px; padding: 8px 12px; min-width: 60px; }
  .hero-age-num { font-size: 1.3rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }

  /* Section titles */
  .section-title { font-size: clamp(1.6rem, 7vw, 2.4rem); }

  /* About */
  .about-stats { flex-direction: column; gap: 12px; }
  .stat-item { flex: none; }

  /* Education */
  .edu-card { padding: 16px; gap: 12px; }
  .edu-icon { width: 38px; height: 38px; font-size: 1.2rem; }
  .edu-degree { font-size: 0.88rem; }

  /* Experience */
  .exp-marker { margin-right: 16px; }
  .exp-content { padding: 16px; }
  .exp-position { flex-direction: column; gap: 4px; }
  .exp-period { align-self: flex-start; }
  .exp-school { font-size: 0.95rem; }

  /* Certification */
  .cert-card { flex-direction: column; gap: 12px; }
  .cert-icon { width: 44px; height: 44px; }
  .cert-verified { align-self: flex-start; }

  /* Skills */
  .skill-group { padding: 20px; }
  .lang-section { padding: 20px; }

  /* Contact */
  .contact-card-info span { font-size: 0.75rem; }
  .btn-whatsapp, .contact-actions .btn-secondary { width: 100%; justify-content: center; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; gap: 8px; }
}

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE — LARGE DESKTOP (> 1280px)
   ══════════════════════════════════════════════════════════════════════ */
@media (min-width: 1280px) {
  .hero-photo { width: 310px; height: 310px; }
  .edu-timeline { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════════════════ */
@keyframes card-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.card-in { animation: card-in 0.38s ease forwards; }

/* Lang bar animation on visible */
.reveal.visible .lang-bar-fill {
  animation: bar-grow 1.2s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes bar-grow {
  from { width: 0 !important; }
}
