﻿:root {
  color-scheme: light;
  --bg: #f7f4ef;
  --bg-soft: #f0ede7;
  --ink: #1c1c1f;
  --muted: #5f646d;
  --accent: #f05d4a;
  --accent-dark: #c34638;
  --accent-2: #1c9c9a;
  --card: #ffffff;
  --border: rgba(28, 28, 31, 0.08);
  --shadow: 0 24px 60px rgba(16, 20, 24, 0.12);
  --radius: 24px;
  --font-title: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: radial-gradient(circle at 15% 10%, rgba(240, 93, 74, 0.12), transparent 50%),
    radial-gradient(circle at 90% 20%, rgba(28, 156, 154, 0.14), transparent 45%),
    linear-gradient(180deg, #f7f4ef 0%, #f0ede7 100%);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(1120px, 90vw);
  margin: 0 auto;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 20;
}

.bg-orbs .orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(0px);
  opacity: 0.5;
  z-index: 0;
}

.orb-a {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(240, 93, 74, 0.45), transparent 65%);
  top: -120px;
  left: -80px;
  animation: float 14s ease-in-out infinite;
}

.orb-b {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(28, 156, 154, 0.4), transparent 70%);
  top: 200px;
  right: -120px;
  animation: float 16s ease-in-out infinite;
}

.orb-c {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(240, 93, 74, 0.22), transparent 70%);
  bottom: -80px;
  left: 45%;
  animation: float 18s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(25px);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(247, 244, 239, 0.85);
  border-bottom: 1px solid rgba(28, 28, 31, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 16px;
}

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

.lang-toggle {
  min-width: 56px;
  padding: 8px 14px;
  font-weight: 700;
}

.lang-toggle .flag {
  width: 26px;
  height: 18px;
  display: none;
  border-radius: 4px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

html[lang="en"] .lang-toggle .flag-id {
  display: block;
}

html[lang="id"] .lang-toggle .flag-us {
  display: block;
}

.brand {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--ink);
  font-weight: 600;
}

.nav-links a.active::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.4), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.btn:hover::after {
  opacity: 1;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 18px 40px rgba(240, 93, 74, 0.3);
}

.btn.primary:hover {
  transform: translateY(-2px);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(28, 28, 31, 0.2);
}

.btn.ghost:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  padding: 100px 0 60px;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: start;
}

.hero-copy h1 {
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.accent {
  color: var(--accent);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.stat-card {
  background: var(--card);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(16, 20, 24, 0.18);
}

.stat-value {
  font-weight: 700;
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.profile-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.avatar-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

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

.profile-name {
  font-weight: 700;
}

.profile-role {
  color: var(--muted);
  font-size: 0.95rem;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-tags span {
  background: rgba(28, 156, 154, 0.12);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 6px rgba(37, 211, 102, 0.15);
}

.panel-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.panel-card.secondary {
  background: #fff6f3;
}

.panel-title {
  font-weight: 700;
  margin-bottom: 16px;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-grid span {
  background: #f2f2f2;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.panel-meta {
  margin-top: 20px;
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.section.muted {
  background: var(--bg-soft);
}

.section-head {
  margin-bottom: 36px;
}

.section-head h2 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 3.5vw, 3rem);
  max-width: 650px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.impact-card {
  background: var(--card);
  border-radius: 20px;
  padding: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.impact-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(240, 93, 74, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.impact-card:hover::after {
  opacity: 1;
}

.impact-card > * {
  position: relative;
  z-index: 1;
}

.impact-value {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}

.impact-label {
  color: var(--muted);
  font-size: 0.95rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.about-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  color: var(--muted);
}

.about-card p + p {
  margin-top: 16px;
}

.about-card.highlight {
  background: #1c1c1f;
  color: #fff;
}

.card-title {
  font-weight: 700;
  margin-bottom: 16px;
  color: inherit;
}

.checklist {
  display: grid;
  gap: 12px;
  list-style: none;
}

.checklist li {
  padding-left: 26px;
  position: relative;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 22px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.time {
  font-weight: 700;
  color: var(--accent-2);
}

.project-group + .project-group {
  margin-top: 50px;
}

.project-group h3 {
  font-family: var(--font-title);
  margin-bottom: 20px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.project-card {
  background: var(--card);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(28, 156, 154, 0.2), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(16, 20, 24, 0.2);
}

.project-card:hover::after {
  opacity: 1;
}

.project-card > * {
  position: relative;
  z-index: 1;
}

.project-card span {
  font-size: 0.85rem;
  color: var(--accent-2);
  font-weight: 600;
  background: rgba(28, 156, 154, 0.12);
  padding: 6px 12px;
  border-radius: 999px;
  width: fit-content;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.skill-card {
  background: var(--card);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.tech-marquee {
  margin-top: 28px;
  overflow: hidden;
  position: relative;
  padding: 8px 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.tech-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.tech-set {
  display: flex;
  gap: 12px;
  padding-right: 12px;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tech-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(16, 20, 24, 0.2);
}

.tech-pill i {
  font-size: 1.2rem;
}

.tech-pill i:not(.colored) {
  color: var(--accent-2);
}

@media (prefers-reduced-motion: reduce) {
  .tech-track {
    animation: none;
  }
}

.contact-card {
  background: #1c1c1f;
  color: #fff;
  border-radius: 32px;
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  align-items: center;
}

.contact-card p {
  color: #e3e3e3;
}

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

.contact-card .btn.ghost {
  color: #fff;
  border-color: transparent;
}

.contact-card .btn.ghost:hover {
  transform: translateY(-2px);
}

.contact-actions .btn {
  width: 100%;
  justify-content: center;
}

.contact-actions .icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  filter: brightness(0) invert(1);
}

.contact-actions .fa-brands {
  display: inline-block;
  font-size: 22px;
  color: #fff;
}

.contact-card .btn-gmail {
  background: #ea4335;
  box-shadow: 0 18px 40px rgba(234, 67, 53, 0.35);
}

.contact-card .btn-linkedin {
  background: #0a66c2;
  box-shadow: 0 18px 40px rgba(10, 102, 194, 0.35);
}

.contact-card .btn-whatsapp {
  background: #25d366;
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.35);
}

.contact-card .btn-gitlab {
  background: #fc6d26;
  box-shadow: 0 18px 40px rgba(252, 109, 38, 0.35);
}

.contact-card .btn-gmail:hover {
  box-shadow: 0 22px 50px rgba(234, 67, 53, 0.45);
}

.contact-card .btn-linkedin:hover {
  box-shadow: 0 22px 50px rgba(10, 102, 194, 0.45);
}

.contact-card .btn-whatsapp:hover {
  box-shadow: 0 22px 50px rgba(37, 211, 102, 0.45);
}

.contact-card .btn-gitlab:hover {
  box-shadow: 0 22px 50px rgba(252, 109, 38, 0.45);
}

.site-footer {
  padding: 24px 0 40px;
  text-align: center;
  color: var(--muted);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .nav-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .site-header {
    position: static;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-actions {
    width: 100%;
  }

  .hero {
    padding-top: 60px;
  }

  .contact-card {
    padding: 28px;
  }
}
