/* ═══════════════════════════════════════════════════════════
   CikuBytes — Engineering Digital Excellence
   Premium dark-theme portfolio with wow-factor animations
   ═══════════════════════════════════════════════════════════ */

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

/* ── Variables ── */
:root {
  --bg: #050508;
  --bg-card: rgba(255,255,255,0.03);
  --gold: #d4af37;
  --gold-light: #f7e68f;
  --accent: #6366f1;
  --accent2: #a855f7;
  --cyan: #22d3ee;
  --text: #f0f0f5;
  --text-muted: rgba(255,255,255,0.55);
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.15);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --nav-height: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; cursor: pointer; }
img { max-width: 100%; display: block; }

/* ── Particles Canvas ── */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

/* ── Aurora Background ── */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.aurora__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  animation: auroraFloat 20s ease-in-out infinite;
}
.aurora__blob--1 {
  width: 600px; height: 600px;
  background: var(--accent);
  top: -10%; left: -5%;
  animation-delay: 0s;
}
.aurora__blob--2 {
  width: 500px; height: 500px;
  background: var(--accent2);
  top: 40%; right: -10%;
  animation-delay: -7s;
}
.aurora__blob--3 {
  width: 400px; height: 400px;
  background: var(--gold);
  bottom: -5%; left: 30%;
  animation-delay: -14s;
}
@keyframes auroraFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, -30px) scale(1.1); }
  50% { transform: translate(-20px, 40px) scale(0.95); }
  75% { transform: translate(30px, 20px) scale(1.05); }
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(5,5,8,0.6);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}
.nav--scrolled {
  background: rgba(5,5,8,0.9);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: var(--nav-height);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}
.nav__logo {
  width: auto; height: 38px;
  max-width: 180px;
  border-radius: 10px;
  transition: transform 0.3s var(--ease-spring);
  object-fit: contain;
}
.nav__brand:hover .nav__logo { transform: rotate(-8deg) scale(1.1); }
.nav__name {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__link {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav__link--cta {
  background: var(--gold);
  color: #111 !important;
  font-weight: 700;
  padding: 10px 24px;
}
.nav__link--cta:hover {
  background: var(--gold-light);
  box-shadow: 0 0 20px rgba(212,175,55,0.3);
}

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  z-index: 10;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger--open span:nth-child(2) { opacity: 0; }
.nav__burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0 32px 20px;
}
.nav__mobile--open { display: flex; }
.nav__mobile-link {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}
.nav__mobile-link:hover {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

/* ── Hero Section ── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--nav-height) + 60px) 32px 60px;
}
.hero__content { max-width: 800px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px 8px 14px;
  border-radius: 999px;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.15);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}
.hero__badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.hero__title {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.hero__title-accent {
  background: linear-gradient(135deg, var(--gold), var(--accent), var(--accent2), var(--cyan));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease-in-out infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.typewriter-cursor {
  font-weight: 200;
  color: var(--gold);
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}
.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 0.925rem;
  font-weight: 600;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: linear-gradient(135deg, var(--gold), #c9a02d);
  color: #111;
  box-shadow: 0 4px 20px rgba(212,175,55,0.25);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,175,55,0.4);
}
.btn--ghost {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.btn--whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.25);
}
.btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
}
.btn--large {
  padding: 18px 40px;
  font-size: 1rem;
}

/* Hero scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeInUp 1s 1.5s both;
}
.hero__scroll-mouse {
  width: 24px; height: 38px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero__scroll-wheel {
  width: 3px; height: 8px;
  border-radius: 3px;
  background: var(--gold);
  animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Stats Strip ── */
.stats {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}
.stats__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stat {
  padding: 48px 24px;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat__number {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 8px;
}
.stat__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Systems Showcase ── */
.systems {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 32px;
}
.systems__header {
  text-align: center;
  margin-bottom: 96px;
}
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Project Card ── */
.project {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 140px;
}
.project:last-child { margin-bottom: 0; }
.project--reverse { grid-template-columns: 1fr 1.15fr; }
.project--reverse .project__visual { order: 2; }
.project--reverse .project__info { order: 1; }

/* Browser frame */
.project__visual { perspective: 1200px; }
.project__browser {
  background: rgba(20,20,30,0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.03) inset;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.project__visual:hover .project__browser {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.5),
    0 0 40px rgba(99,102,241,0.08),
    0 0 0 1px rgba(255,255,255,0.06) inset;
}
.project__browser-dots {
  display: flex;
  gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.project__browser-dots span {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.project__browser-dots span:nth-child(1) { background: #ff5f57; }
.project__browser-dots span:nth-child(2) { background: #ffbd2e; }
.project__browser-dots span:nth-child(3) { background: #28c840; }
.project__browser-url {
  display: inline-block;
  margin-left: auto;
  padding: 4px 14px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: 12px;
  position: relative;
  top: -12px;
  float: right;
  margin-right: 16px;
}

/* GIF */
.project__gif {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Screens */
.project__screen {
  aspect-ratio: 16/10;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

/* ── BRUsite mockup ── */
.project__screen--brusite {
  background: linear-gradient(135deg, #0a0a1a, #1a0a2e);
}
.project__mockup-hero {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mockup__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}
.mockup__logo-text {
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
}
.mockup__nav-links {
  display: flex;
  gap: 12px;
}
.mockup__nav-links span {
  width: 40px; height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.15);
}
.mockup__hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.mockup__tag {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.mockup__headline {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}
.mockup__subtitle-bar {
  width: 60%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.1);
}
.mockup__cta-row {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.mockup__cta-btn {
  display: block;
  width: 80px; height: 26px;
  border-radius: 13px;
  background: var(--gold);
}
.mockup__cta-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
}
.mockup__stats-row {
  display: flex;
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mockup__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mockup__stat strong {
  font-size: 0.85rem;
  color: #fff;
}
.mockup__stat small {
  font-size: 0.55rem;
  color: var(--text-muted);
}

/* ── Bandar Dashboard mockup ── */
.project__screen--bndar {
  background: linear-gradient(135deg, #0a0a1a, #1a0a2e);
  padding: 0;
}
.project__mockup-dashboard {
  display: flex;
  height: 100%;
}
.mockup__sidebar {
  width: 50px;
  background: rgba(0,0,0,0.3);
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  gap: 8px;
}
.mockup__sidebar-logo {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.mockup__sidebar-item {
  width: 28px; height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.08);
}
.mockup__sidebar-item--active {
  background: var(--accent);
  opacity: 0.7;
}
.mockup__main {
  flex: 1;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mockup__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mockup__topbar span:first-child {
  width: 90px; height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.1);
  display: block;
}
.mockup__avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  color: #fff;
}
.mockup__cards-row {
  display: flex;
  gap: 8px;
}
.mockup__card {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mockup__card span {
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
}
.mockup__card small {
  font-size: 0.5rem;
  color: rgba(255,255,255,0.6);
}
.mockup__card--blue { background: rgba(99,102,241,0.2); }
.mockup__card--green { background: rgba(34,197,94,0.2); }
.mockup__card--purple { background: rgba(168,85,247,0.2); }
.mockup__card--teal { background: rgba(20,184,166,0.2); }
.mockup__card--orange { background: rgba(251,146,60,0.2); }
.mockup__card--pink { background: rgba(236,72,153,0.2); }
.mockup__chart {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding-top: 8px;
}
.mockup__chart-bar {
  flex: 1;
  background: linear-gradient(to top, var(--accent), var(--accent2));
  border-radius: 4px 4px 0 0;
  opacity: 0.6;
  animation: chartGrow 1.5s var(--ease-out) both;
}
@keyframes chartGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

/* ── CfBT mockup (light theme) ── */
.project__screen--cfbtprofile {
  background: linear-gradient(135deg, #0a0a1a, #1a0a2e);
  padding: 0;
}
.mockup__sidebar--light {
  background: #fff;
  border-right: 1px solid #e2e8f0;
}
.mockup__sidebar--light .mockup__sidebar-item {
  background: #e2e8f0;
}
.mockup__sidebar--light .mockup__sidebar-item--active {
  background: #0d9488;
  opacity: 0.7;
}
.mockup__sidebar-logo--cfbt {
  background: #0d9488;
}
.mockup__main--light {
  background: #f7fafc;
}
.mockup__topbar--light span:first-child {
  background: #cbd5e0;
}
.mockup__avatar--cfbt {
  background: #0d9488;
}
.mockup__table {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}
.mockup__table-row {
  height: 18px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #e2e8f0;
}

/* ── BNDQR mockup ── */
.project__screen--cico {
  background: linear-gradient(135deg, #0a0a1a, #1a0a2e);
  padding: 16px;
}
.project__mockup-qr {
  display: flex;
  gap: 16px;
  height: 100%;
  align-items: center;
  justify-content: center;
}
.mockup__phone {
  width: 130px;
  background: #111827;
  border-radius: 20px;
  border: 2px solid rgba(255,255,255,0.1);
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mockup__phone-notch {
  width: 50px; height: 6px;
  border-radius: 3px;
  background: #1f2937;
  margin-bottom: 10px;
}
.mockup__phone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 4px 0 12px;
}
.mockup__qr-header {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: 0.1em;
}
.mockup__qr-code {
  position: relative;
  padding: 10px;
  background: #fff;
  border-radius: 10px;
  color: #111;
}
.mockup__qr-scan-line {
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  animation: scanLine 2.5s ease-in-out infinite;
  box-shadow: 0 0 8px var(--cyan);
}
@keyframes scanLine {
  0%, 100% { top: 10px; }
  50% { top: calc(100% - 10px); }
}
.mockup__qr-label {
  font-size: 0.55rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.mockup__qr-amount {
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
}
.mockup__qr-dashboard {
  flex: 1;
  max-width: 160px;
}
.mockup__qr-dash-title {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mockup__qr-transactions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mockup__qr-tx {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
}
.mockup__qr-tx span:not(.mockup__qr-tx-icon) {
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
}
.mockup__qr-tx small {
  font-size: 0.5rem;
  color: var(--text-muted);
  margin-left: auto;
}
.mockup__qr-tx-icon {
  width: 22px; height: 22px;
  border-radius: 6px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
}
.mockup__qr-tx-icon--in {
  background: rgba(34,211,238,0.15);
  color: var(--cyan);
}
.mockup__qr-tx-icon--out {
  background: rgba(251,146,60,0.15);
  color: #fb923c;
}

/* ── Project Info ── */
.project__info {
  position: relative;
}
.project__number {
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  margin-bottom: -20px;
  letter-spacing: -0.04em;
}
.project__coming-soon {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(34,211,238,0.1);
  border: 1px solid rgba(34,211,238,0.2);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}
.project__name {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.project__tagline {
  font-size: 0.95rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 16px;
}
.project__desc {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.925rem;
  margin-bottom: 20px;
}
.project__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.tag {
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.project__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.feature svg { color: var(--gold); flex-shrink: 0; }
.project__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gold);
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.2);
  background: rgba(212,175,55,0.05);
  transition: all 0.3s var(--ease-out);
}
.project__link:hover {
  background: rgba(212,175,55,0.12);
  border-color: rgba(212,175,55,0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,175,55,0.15);
}

/* ── About Section ── */
.about {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 120px 32px;
}
.about__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__desc {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
  font-size: 1.05rem;
}
.about__values {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.value {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.value__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.value__title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.value__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Code window */
.about__code-window {
  background: rgba(15,15,25,0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.code__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}
.code__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.code__dot:nth-child(1) { background: #ff5f57; }
.code__dot:nth-child(2) { background: #ffbd2e; }
.code__dot:nth-child(3) { background: #28c840; }
.code__filename {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.code__body {
  padding: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  line-height: 1.9;
  overflow-x: auto;
}
.code__body code { white-space: pre; word-break: break-all; }
.code--keyword { color: #c678dd; }
.code--var { color: #61afef; }
.code--key { color: #e06c75; }
.code--string { color: #98c379; }
.code--number { color: #d19a66; }

/* ── Tech Strip ── */
.tech-strip {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
  overflow: hidden;
  background: rgba(255,255,255,0.01);
}
.tech-strip__label {
  position: absolute;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  z-index: 2;
  background: var(--bg);
  padding: 4px 12px;
  border-radius: 4px;
}
.tech-strip__scroll {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.tech-strip__track {
  display: flex;
  gap: 48px;
  animation: scrollTech 30s linear infinite;
  white-space: nowrap;
}
.tech-strip__track span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
@keyframes scrollTech {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Contact Section ── */
.contact {
  position: relative;
  z-index: 1;
  padding: 120px 32px;
}
.contact__inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.contact__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-top: 20px;
  margin-bottom: 20px;
}
.contact__title-accent {
  background: linear-gradient(135deg, var(--gold), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.contact__desc {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
  font-size: 1.05rem;
}
.contact__links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ── */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 40px 32px;
}
.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__logo {
  width: auto; height: 28px;
  max-width: 150px;
  border-radius: 8px;
  object-fit: contain;
}
.footer__name {
  font-weight: 700;
  font-size: 0.9rem;
}
.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer__location {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════ */

/* ── Tablet landscape & small desktops ── */
@media (max-width: 1024px) {
  .project {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .project--reverse .project__visual { order: 0; }
  .project--reverse .project__info { order: 0; }
  .about__inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .systems { padding: 100px 24px; }
  .about { padding: 100px 24px; }
  .contact { padding: 100px 24px; }
}

/* ── Tablet portrait ── */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__inner { padding: 0 20px; }
  .nav__mobile { padding: 0 20px 20px; }
  .nav__logo { height: 32px; }

  .hero { padding: calc(var(--nav-height) + 40px) 20px 60px; }
  .hero__title {
    font-size: clamp(2rem, 7vw, 3rem);
  }
  .hero__subtitle {
    font-size: 0.95rem;
  }
  .hero__badge {
    font-size: 0.7rem;
    padding: 6px 14px 6px 10px;
    margin-bottom: 24px;
  }
  .hero__scroll-indicator { display: none; }

  .stats__inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat {
    padding: 32px 16px;
    border-bottom: 1px solid var(--border);
  }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3),
  .stat:nth-child(4) { border-bottom: none; }
  .stat__number { font-size: clamp(1.8rem, 5vw, 2.4rem); }

  .systems { padding: 80px 20px; }
  .systems__header { margin-bottom: 60px; }
  .section-desc { font-size: 0.95rem; }
  .project { margin-bottom: 80px; gap: 32px; }
  .project__number { font-size: 3rem; margin-bottom: -14px; }
  .project__name { font-size: clamp(1.5rem, 5vw, 2rem); }
  .project__desc { font-size: 0.875rem; }
  .project__features { gap: 8px; }
  .feature { font-size: 0.8rem; }

  .about { padding: 80px 20px; }
  .about__desc { font-size: 0.95rem; }
  .value__icon { width: 42px; height: 42px; border-radius: 12px; }
  .value__title { font-size: 0.9rem; }
  .value__desc { font-size: 0.8rem; }

  /* Code window: prevent horizontal overflow */
  .code__body {
    font-size: 0.68rem;
    padding: 16px;
    line-height: 1.8;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .contact { padding: 80px 20px; }
  .contact__desc { font-size: 0.95rem; }

  .footer { padding: 32px 20px; }
  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .mockup__qr-dashboard { display: none; }
  .tech-strip__label { position: static; transform: none; text-align: center; margin-bottom: 16px; background: none; }
}

/* ── Mobile ── */
@media (max-width: 480px) {
  :root { --nav-height: 60px; }

  .nav__inner { padding: 0 16px; }
  .nav__mobile { padding: 0 16px 16px; }
  .nav__mobile-link { padding: 12px 16px; font-size: 0.9rem; }
  .nav__logo { height: 28px; }

  .hero {
    padding: calc(var(--nav-height) + 30px) 16px 40px;
    min-height: calc(100vh - 40px);
    min-height: calc(100dvh - 40px);
  }
  .hero__title { font-size: clamp(1.8rem, 8vw, 2.4rem); margin-bottom: 20px; }
  .hero__subtitle { font-size: 0.9rem; margin-bottom: 28px; }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero__actions .btn { justify-content: center; }

  .stats__inner { grid-template-columns: 1fr; }
  .stat { border-right: none; padding: 24px 16px; }
  .stat:last-child { border-bottom: none; }
  .stat__number { font-size: 2rem; }
  .stat__label { font-size: 0.7rem; }

  .systems { padding: 60px 16px; }
  .systems__header { margin-bottom: 40px; }
  .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .section-desc { font-size: 0.875rem; }

  .project { margin-bottom: 60px; gap: 24px; }
  .project__number { font-size: 2.5rem; margin-bottom: -10px; }
  .project__name { font-size: 1.4rem; }
  .project__tagline { font-size: 0.85rem; }
  .project__desc { font-size: 0.85rem; line-height: 1.65; }
  .project__tags { gap: 6px; }
  .tag { font-size: 0.65rem; padding: 4px 10px; }
  .project__features { gap: 6px; margin-bottom: 20px; }
  .feature { font-size: 0.78rem; gap: 8px; }
  .feature svg { width: 16px; height: 16px; }
  .project__link { font-size: 0.82rem; padding: 10px 20px; }

  /* Browser frame on small screens */
  .project__browser-dots { padding: 10px 14px; gap: 6px; }
  .project__browser-dots span { width: 8px; height: 8px; }
  .project__browser-url { font-size: 0.6rem; margin-right: 10px; }
  .project__screen { aspect-ratio: 16/10; padding: 12px; }

  .about { padding: 60px 16px; }
  .about__desc { font-size: 0.9rem; margin-bottom: 28px; }
  .about__values { gap: 20px; }
  .value { gap: 12px; }
  .value__icon { width: 40px; height: 40px; border-radius: 10px; }
  .value__icon svg { width: 20px; height: 20px; }
  .value__title { font-size: 0.85rem; }
  .value__desc { font-size: 0.78rem; }

  .code__body { font-size: 0.6rem; padding: 12px; line-height: 1.7; }

  .contact { padding: 60px 16px; }
  .contact__title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .contact__desc { font-size: 0.9rem; margin-bottom: 28px; }
  .contact__links { flex-direction: column; align-items: stretch; }
  .btn--large { width: 100%; justify-content: center; padding: 16px 28px; }

  .footer { padding: 28px 16px; }
  .footer__logo { height: 24px; }
  .footer__copy { font-size: 0.72rem; }
  .footer__location { font-size: 0.72rem; }

  .tech-strip { padding: 24px 0; }
  .tech-strip__label { display: none; }
  .tech-strip__track span { font-size: 0.75rem; }

  /* Aurora toned down on mobile for performance */
  .aurora__blob { filter: blur(80px); opacity: 0.08; }
  .aurora__blob--1 { width: 300px; height: 300px; }
  .aurora__blob--2 { width: 250px; height: 250px; }
  .aurora__blob--3 { width: 200px; height: 200px; }
}

/* ── Very small screens (Galaxy Fold, etc.) ── */
@media (max-width: 360px) {
  .hero__title { font-size: 1.6rem; }
  .hero__subtitle { font-size: 0.85rem; }
  .hero__badge { font-size: 0.65rem; }
  .section-title { font-size: 1.4rem; }
  .project__name { font-size: 1.2rem; }
  .code__body { font-size: 0.55rem; padding: 10px; }
  .btn { font-size: 0.85rem; padding: 12px 24px; }
  .btn--large { padding: 14px 24px; font-size: 0.9rem; }
}

/* ── Safe area insets for notched devices ── */
@supports (padding: env(safe-area-inset-bottom)) {
  .footer { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .nav { padding-top: env(safe-area-inset-top); }
}

/* ── Hover only for devices that support it ── */
@media (hover: none) {
  .project__visual:hover .project__browser { transform: none; box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.03) inset; }
  .nav__brand:hover .nav__logo { transform: none; }
  .btn--primary:hover { transform: none; }
  .btn--ghost:hover { transform: none; }
  .project__link:hover { transform: none; }
}
