:root {
  --bg: #050b1a;
  --bg-elevated: #0b1a3a;
  --surface: rgba(13, 25, 54, 0.65);
  --surface-strong: rgba(15, 29, 64, 0.88);
  --border: rgba(148, 179, 232, 0.16);
  --text: #e6edf7;
  --muted: #8aa0c0;
  --blue: #3b82f6;
  --blue-soft: rgba(59, 130, 246, 0.16);
  --gold: #ffd700;
  --gold-soft: rgba(255, 215, 0, 0.14);
  --radius: 20px;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: radial-gradient(circle at 18% 12%, #0d2149 0%, var(--bg) 52%);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 0.12em 0.4em;
  border-radius: 6px;
  background: rgba(148, 179, 232, 0.12);
  color: #cfe0ff;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.container {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Scroll Progress Bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), #60a5fa, var(--gold));
  z-index: 1200;
  transition: width 0.08s linear;
}

/* Ambient Blobs */
.bg-blobs {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.24;
  animation: blobFloat 20s ease-in-out infinite alternate;
}

.blob-1 {
  width: 460px;
  height: 460px;
  background: #2563eb;
  top: -120px;
  left: -100px;
}

.blob-2 {
  width: 380px;
  height: 380px;
  background: #1d4ed8;
  bottom: 12%;
  right: -90px;
  animation-delay: -6s;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: #ca8a04;
  top: 52%;
  left: 42%;
  opacity: 0.1;
  animation-delay: -12s;
}

@keyframes blobFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(35px, -28px) scale(1.08); }
  100% { transform: translate(-24px, 32px) scale(0.95); }
}

/* Glassmorphism */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.05rem 0;
  transition: padding 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 0.72rem 0;
  background: rgba(5, 11, 26, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--gold));
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.8);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(148, 179, 232, 0.08);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 0 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 99px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Reveal Animations */
.reveal {
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0ms);
}

html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
}

html.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6.5rem 0 4.5rem;
  overflow: hidden;
}

#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.32);
  color: #b7d3ff;
  font-size: 0.84rem;
  font-weight: 500;
  margin-bottom: 1.35rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 0.8rem;
}

.gradient-text {
  background: linear-gradient(120deg, #ffffff 10%, #60a5fa 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-role {
  font-family: var(--font-mono);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: #93c5fd;
  margin: 0 0 1.15rem;
  min-height: 1.9em;
}

.cursor {
  display: inline-block;
  margin-left: 2px;
  color: var(--gold);
  animation: blink 0.9s steps(1) infinite;
}

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

.hero-tagline {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--muted);
  max-width: 54ch;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.45rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--blue), #2563eb);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(59, 130, 246, 0.34);
}

.btn-primary:hover {
  box-shadow: 0 14px 32px rgba(59, 130, 246, 0.48);
}

.btn-gold {
  background: linear-gradient(135deg, #ffd700, #eab308);
  color: #0b1222;
  box-shadow: 0 10px 26px rgba(255, 215, 0, 0.25);
}

.btn-gold:hover {
  box-shadow: 0 14px 32px rgba(255, 215, 0, 0.38);
}

.btn-ghost {
  background: rgba(148, 179, 232, 0.08);
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(148, 179, 232, 0.16);
  border-color: rgba(148, 179, 232, 0.34);
}

.btn-sm {
  padding: 0.62rem 1.05rem;
  font-size: 0.87rem;
  border-radius: 10px;
}

.btn-lg {
  padding: 0.95rem 1.8rem;
  font-size: 1rem;
}

/* Hero Avatar */
.hero-visual {
  display: flex;
  justify-content: center;
}

.avatar-wrap {
  position: relative;
  width: min(350px, 78vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  animation: avatarFloat 6s ease-in-out infinite;
}

@keyframes avatarFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--blue), #60a5fa, var(--gold), rgba(59, 130, 246, 0.2), var(--blue));
  animation: spinRing 9s linear infinite;
}

@keyframes spinRing {
  to { transform: rotate(360deg); }
}

.avatar-glow {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.45), transparent 70%);
  filter: blur(26px);
  z-index: -1;
}

.avatar-frame {
  position: relative;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  border-radius: 50%;
  padding: 6px;
  background: var(--bg);
  overflow: hidden;
}

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

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.scroll-indicator:hover {
  opacity: 1;
  color: var(--text);
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(148, 179, 232, 0.45);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-mouse span {
  width: 3px;
  height: 7px;
  border-radius: 99px;
  background: var(--blue);
  animation: scrollWheel 1.6s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section-head {
  margin-bottom: 2.25rem;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #60a5fa;
  margin-bottom: 0.55rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}

.section-subtitle {
  color: var(--muted);
  max-width: 60ch;
  margin: 0;
}

/* Tentang */
.about-bio {
  font-size: 1.08rem;
  color: #c5d3ea;
  max-width: 72ch;
  margin: 0 0 2.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.stat-card {
  padding: 1.55rem 1.35rem;
  text-align: left;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.4);
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

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

/* Proyek */
.project-card {
  position: relative;
  padding: clamp(1.5rem, 3.2vw, 2.6rem);
  margin-bottom: 2.25rem;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.22s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.project-card:last-child {
  margin-bottom: 0;
}

.project-card[data-accent="blue"]:hover {
  border-color: rgba(59, 130, 246, 0.48);
  box-shadow: 0 24px 60px rgba(5, 11, 26, 0.65), 0 0 40px rgba(59, 130, 246, 0.12);
}

.project-card[data-accent="gold"]:hover {
  border-color: rgba(255, 215, 0, 0.45);
  box-shadow: 0 24px 60px rgba(5, 11, 26, 0.65), 0 0 40px rgba(255, 215, 0, 0.1);
}

.spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(59, 130, 246, 0.14), transparent 60%);
}

.project-card[data-accent="gold"] .spotlight {
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 215, 0, 0.11), transparent 60%);
}

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

.project-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2.5rem;
  align-items: center;
}

.project-grid-reverse {
  grid-template-columns: 0.92fr 1.08fr;
}

.project-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.project-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: contain;
  background: rgba(5, 11, 26, 0.65);
  padding: 6px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.project-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.project-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 0;
  line-height: 1.15;
}

.version-badge {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-weight: 600;
}

.badge-blue {
  background: var(--blue-soft);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.badge-gold {
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid rgba(255, 215, 0, 0.35);
}

.project-tagline {
  margin: 0.35rem 0 0;
  color: #c7d6ed;
  font-weight: 500;
  font-size: 0.96rem;
}

.project-desc {
  color: var(--muted);
  margin: 0 0 1.15rem;
  font-size: 0.96rem;
}

.feature-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: #d2def2;
}

.feat-icon {
  flex-shrink: 0;
  line-height: 1.5;
}

.tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
}

.tech-chips span {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 0.28rem 0.65rem;
  border-radius: 8px;
  background: rgba(148, 179, 232, 0.08);
  border: 1px solid var(--border);
  color: #bed1ef;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* LajuFile Animated Mock */
.mock-window {
  background: #071024;
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(2, 6, 18, 0.75);
}

.mock-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: rgba(13, 25, 54, 0.9);
  border-bottom: 1px solid var(--border);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(148, 179, 232, 0.28);
}

.window-dots span:nth-child(1) { background: #ef4444; }
.window-dots span:nth-child(2) { background: #f59e0b; }
.window-dots span:nth-child(3) { background: #10b981; }

.mock-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.mock-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  background: var(--blue-soft);
  color: #93c5fd;
}

.mock-body {
  padding: 1.15rem;
}

.dl-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.dl-file {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.dl-icon {
  font-size: 1.35rem;
}

.dl-filename {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.9rem;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dl-meta {
  font-size: 0.74rem;
  color: var(--muted);
}

.dl-stats {
  text-align: right;
  flex-shrink: 0;
}

.dl-percent {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #60a5fa;
}

.dl-speed {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #34d399;
}

.segment-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.segment-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 5px;
  margin-bottom: 1rem;
}

.seg-cell {
  height: 16px;
  border-radius: 4px;
  background: rgba(148, 179, 232, 0.1);
  border: 1px solid rgba(148, 179, 232, 0.12);
  overflow: hidden;
  position: relative;
}

.seg-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  transition: width 0.25s ease;
}

.seg-cell.done .seg-fill {
  background: linear-gradient(90deg, #3b82f6, #34d399);
}

.sparkline-box {
  background: rgba(11, 26, 58, 0.65);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem 0.75rem 0.45rem;
}

.sparkline-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.sparkline-peak {
  font-family: var(--font-mono);
  color: #93c5fd;
}

.sparkline-svg {
  width: 100%;
  height: 60px;
  display: block;
}

/* AIKLIPYT 9:16 Phone Mock */
.phone-stage {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(260px, 100%);
  aspect-ratio: 9 / 16;
  background: #060b18;
  border: 2px solid rgba(255, 215, 0, 0.35);
  border-radius: 28px;
  padding: 10px;
  box-shadow: 0 22px 46px rgba(2, 6, 18, 0.8), 0 0 32px rgba(255, 215, 0, 0.08);
  position: relative;
}

.phone-notch {
  width: 74px;
  height: 14px;
  background: #060b18;
  border-radius: 0 0 10px 10px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(160deg, #13254f 0%, #09122a 55%, #1c1607 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem 0.9rem 1rem;
}

.video-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.video-glow {
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.24), transparent 70%);
  top: 24%;
  left: 50%;
  transform: translateX(-50%);
  animation: pulseGlow 3.6s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  from { transform: translateX(-50%) scale(0.92); opacity: 0.7; }
  to { transform: translateX(-50%) scale(1.1); opacity: 1; }
}

.video-bars {
  position: absolute;
  inset: auto 18% 36% 18%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  height: 64px;
  opacity: 0.25;
}

.video-bars span {
  width: 8px;
  border-radius: 99px;
  background: var(--gold);
  animation: eqBars 1.1s ease-in-out infinite alternate;
}

.video-bars span:nth-child(1) { height: 35%; animation-delay: 0s; }
.video-bars span:nth-child(2) { height: 80%; animation-delay: 0.2s; }
.video-bars span:nth-child(3) { height: 55%; animation-delay: 0.4s; }
.video-bars span:nth-child(4) { height: 95%; animation-delay: 0.15s; }
.video-bars span:nth-child(5) { height: 45%; animation-delay: 0.35s; }

@keyframes eqBars {
  from { transform: scaleY(0.45); }
  to { transform: scaleY(1); }
}

.clip-top-meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.viral-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.24rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 215, 0, 0.18);
  border: 1px solid rgba(255, 215, 0, 0.45);
  color: var(--gold);
}

.aspect-pill {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: #c7d6ed;
  background: rgba(5, 11, 26, 0.55);
  padding: 0.14rem 0.45rem;
  border-radius: 6px;
}

.clip-hook {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 0.35rem;
}

.clip-hook span {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  background: var(--gold);
  color: #080d1a;
  padding: 0.32rem 0.65rem;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

.clip-speaker {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-block: auto;
}

.face-box {
  width: 96px;
  height: 112px;
  border: 1.5px dashed rgba(96, 165, 250, 0.65);
  border-radius: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6px;
  background: rgba(59, 130, 246, 0.08);
}

.face-tag {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: #93c5fd;
  background: rgba(5, 11, 26, 0.75);
  padding: 0.12rem 0.36rem;
  border-radius: 4px;
}

.clip-captions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.42rem;
  padding: 0.5rem 0.25rem;
  min-height: 62px;
}

.cap-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.96rem;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 0 2px #000;
  transition: transform 0.16s ease, color 0.16s ease;
}

.cap-word.active {
  color: var(--gold);
  transform: scale(1.22);
}

.clip-progress {
  position: relative;
  z-index: 2;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.clip-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gold);
  transition: width 0.25s linear;
}

/* Marquee */
.marquee-wrap {
  width: 100%;
  overflow: hidden;
  padding: 0.75rem 0 2.75rem;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-row {
  display: flex;
  width: max-content;
  margin-bottom: 0.85rem;
}

.marquee-row:last-child {
  margin-bottom: 0;
}

.marquee-track {
  display: flex;
  gap: 0.85rem;
  padding-right: 0.85rem;
}

.marquee-left .marquee-track {
  animation: marqueeLeft 32s linear infinite;
}

.marquee-right .marquee-track {
  animation: marqueeRight 34s linear infinite;
}

.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes marqueeRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.tech-pill {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  background: rgba(13, 25, 54, 0.75);
  border: 1px solid var(--border);
  color: #dbe8fc;
  white-space: nowrap;
}

/* Principles */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.principle-card {
  padding: 1.65rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.principle-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.42);
}

.principle-icon {
  font-size: 1.65rem;
  margin-bottom: 0.75rem;
}

.principle-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  margin: 0 0 0.5rem;
}

.principle-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Kontak & Footer */
.contact-card {
  text-align: center;
  padding: clamp(2.2rem, 5vw, 3.8rem) 1.5rem;
  background: linear-gradient(155deg, rgba(16, 34, 74, 0.78), rgba(7, 15, 36, 0.88));
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin: 0 0 0.9rem;
  letter-spacing: -0.02em;
}

.contact-desc {
  max-width: 54ch;
  margin: 0 auto 1.8rem;
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 1.8rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner p {
  margin: 0;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #cfe0ff;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
}

.back-to-top:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .project-grid,
  .project-grid-reverse {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .project-grid-reverse .project-visual {
    order: 2;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(1140px, 100% - 2rem);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(8, 17, 40, 0.96);
    border: 1px solid var(--border);
    border-radius: 16px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(8px);
  }

  .hero {
    padding: 5.5rem 0 4.5rem;
    text-align: center;
  }

  .hero-tagline {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .scroll-indicator {
    display: none;
  }

  .section {
    padding: 4rem 0;
  }

  .avatar-wrap {
    width: min(240px, 68vw);
  }
}

/* Motion Pause Toggle & State */
.footer-actions {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.motion-toggle {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  color: var(--muted);
  background: rgba(148, 179, 232, 0.08);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.32rem 0.8rem;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.motion-toggle:hover {
  color: var(--text);
  border-color: rgba(148, 179, 232, 0.36);
  background: rgba(148, 179, 232, 0.14);
}

html.reduce-motion {
  scroll-behavior: auto;
}

html.reduce-motion *,
html.reduce-motion *::before,
html.reduce-motion *::after {
  animation-play-state: paused !important;
  transition-duration: 0.001ms !important;
}

html.reduce-motion.js .reveal {
  opacity: 1;
  transform: none;
}
