/* =========================================================================
   DIGIANIFY — DESIGN TOKENS
   "Chrome Droid" theme: pure black/white/gray, no hue anywhere except the
   red delete-hover (kept as a universal destructive-action convention).
   All components below read colors from these tokens, so the whole site's
   palette lives here — change these and everything follows.
   ========================================================================= */
:root {
  --bg: #000000;
  --bg-alt: #0a0a0a;
  --surface: #121212;
  --surface-2: #1c1c1c;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.2);

  --primary: #e5e5e5;
  --primary-light: #ffffff;
  --accent-pink: #b5b5b5;
  --accent-cyan: #d9d9d9;
  --warn: #ffffff;
  --success: #ffffff;

  --gradient-brand: linear-gradient(135deg, #f2f2f2 0%, #8c8c8c 45%, #ffffff 75%, #6e6e6e 100%);
  --gradient-text: linear-gradient(120deg, #ffffff 0%, #cfcfcf 30%, #6e6e6e 50%, #cfcfcf 70%, #ffffff 100%);

  --text: #f5f5f5;
  --text-muted: #a3a3a3;
  --text-faint: #6b6b6b;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --shadow-glow: 0 0 60px rgba(255, 255, 255, 0.14);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Orbitron', system-ui, sans-serif;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.hidden { display: none !important; }
body.nav-locked { overflow: hidden; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 780px; }

/* ---- Reveal-on-scroll base state (GSAP animates these) ---- */
.reveal { opacity: 1; }
.js-anim-ready .reveal { opacity: 0; transform: translateY(28px); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: var(--gradient-brand);
  color: #000;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.16);
}
.btn--primary:hover { box-shadow: 0 10px 30px rgba(255, 255, 255, 0.22); transform: translateY(-2px); }
.btn--outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--outline:hover { border-color: var(--primary-light); color: var(--primary-light); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn--lg { padding: 16px 34px; font-size: 1.02rem; }
.btn--sm { padding: 9px 18px; font-size: 0.85rem; }
.btn--full { width: 100%; }

/* =========================================================================
   FILE:// WARNING BANNER
   ========================================================================= */
.file-warning {
  background: #7c2d12;
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: center;
  padding: 12px 20px;
  border-bottom: 2px solid #f97316;
}
.file-warning code {
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85em;
}
.file-warning a { color: #fed7aa; text-decoration: underline; font-weight: 700; }

/* =========================================================================
   PROMO BAR
   ========================================================================= */
.promo-bar {
  background: linear-gradient(90deg, #0a0a0a, #1a1a1a, #0a0a0a);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.promo-bar__track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  padding: 9px 0;
  animation: marquee 22s linear infinite;
  width: max-content;
}
.promo-bar__item { display: inline-flex; align-items: center; gap: 4px; padding: 0 24px; color: var(--warn); }
.promo-bar__item strong { color: #fff; }
.promo-bar__timer { color: var(--accent-cyan); font-variant-numeric: tabular-nums; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================================
   NAVBAR
   ========================================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: flex; align-items: center; gap: 10px; position: relative; }
.brand__logo-img {
  height: 34px;
  width: auto;
  display: block;
}
.brand__edit {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 200ms, border-color 200ms, transform 200ms;
  flex-shrink: 0;
}
.brand__edit:hover { color: var(--primary-light); border-color: var(--primary-light); transform: scale(1.08); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 12px;
  flex: 1;
}
.nav__links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 200ms;
  cursor: pointer;
}
.nav__links a:hover { color: var(--text); }

.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__login { display: none; }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  cursor: pointer;
}
.nav__burger span {
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  transition: transform 200ms, opacity 200ms;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 130px 24px 20px;
  gap: 4px;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 260ms var(--ease), transform 260ms var(--ease), visibility 260ms;
  overflow-y: auto;
}
.nav__mobile.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__mobile a {
  padding: 16px 6px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.nav__mobile a:hover { color: var(--text); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 90px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(255, 255, 255, 0.14), transparent 60%),
    var(--bg);
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.9;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
}
.hero__glow--1 {
  width: 480px; height: 480px;
  background: rgba(255, 255, 255, 0.1);
  top: -120px; right: -120px;
}
.hero__glow--2 {
  width: 420px; height: 420px;
  background: rgba(255, 255, 255, 0.07);
  bottom: -140px; left: -100px;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.hero__content::before {
  content: '';
  position: absolute;
  inset: -60px -18%;
  background: radial-gradient(ellipse 68% 62% at 50% 42%, rgba(10, 10, 10, 0.88), rgba(10, 10, 10, 0.5) 55%, transparent 78%);
  z-index: -1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary-light);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 8px 16px;
  border-radius: 999px;
}

.hero__headline {
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.hero__stats {
  margin-top: 28px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 28px 36px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}
.stat { text-align: center; }
.stat__value {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

.hero__scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid var(--border-strong);
  border-radius: 14px;
  z-index: 2;
}
.hero__scroll-cue span {
  display: block;
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--primary-light);
  margin: 6px auto 0;
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

/* =========================================================================
   MARQUEE STRIP
   ========================================================================= */
.marquee-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 16px 0;
}
.marquee-strip__track {
  display: flex;
  gap: 20px;
  width: max-content;
  white-space: nowrap;
  animation: marquee 26s linear infinite;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-faint);
}
.marquee-strip__track span:nth-child(2n) { color: var(--primary-light); }

/* =========================================================================
   SECTIONS (shared)
   ========================================================================= */
.section { padding: 100px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section__title {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 700;
  margin-top: 14px;
  max-width: 720px;
}
.section__sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 620px;
  margin-top: 14px;
}

/* =========================================================================
   TABS + PRODUCT GRID
   ========================================================================= */
.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.tab {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 200ms var(--ease);
}
.tab:hover { color: var(--text); border-color: var(--primary-light); }
.tab.is-active {
  background: var(--gradient-brand);
  color: #000;
  border-color: transparent;
}

.product-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
  transition: transform 260ms var(--ease), border-color 260ms var(--ease), box-shadow 260ms var(--ease);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card:hover {
  transform: translateY(-6px) rotateX(2deg);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.card__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #000000;
  background: var(--warn);
  padding: 5px 10px;
  border-radius: 999px;
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
}
.card__icon svg { width: 24px; height: 24px; }

.card__title { font-size: 1.15rem; font-weight: 700; font-family: 'Orbitron', sans-serif; }
.card__desc { color: var(--text-muted); font-size: 0.92rem; flex: 1; }

.card__price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 4px;
}
.card__price { font-size: 1.3rem; font-weight: 700; color: var(--text); font-family: 'Orbitron', sans-serif; }
.card__price-old { font-size: 0.88rem; color: var(--text-faint); text-decoration: line-through; }

/* =========================================================================
   STEPS
   ========================================================================= */
.steps {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
}
.step-card__num {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.5;
  line-height: 1;
}
.step-card__title { margin-top: 14px; font-size: 1.15rem; font-weight: 700; }
.step-card__desc { margin-top: 10px; color: var(--text-muted); font-size: 0.92rem; }

/* =========================================================================
   TESTIMONIALS (screenshot uploads)
   ========================================================================= */
.testi-toolbar { margin-top: 28px; }

.testi-marquee {
  margin-top: 28px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.testi-marquee--static { -webkit-mask-image: none; mask-image: none; }

.testi-marquee__track {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  width: max-content;
  animation: marquee-testi 40s linear infinite;
  padding: 4px 24px 16px;
}
.testi-marquee:hover .testi-marquee__track { animation-play-state: paused; }
.testi-marquee--static .testi-marquee__track { width: 100%; animation: none; justify-content: center; }
@keyframes marquee-testi {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.testi-card {
  width: 260px;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  animation: cardIn 420ms var(--ease) both;
  transition: transform 260ms var(--ease), border-color 260ms var(--ease);
}
.testi-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.4); }

.testi-card__img-wrap {
  display: block;
  background: #0a0a0a;
  line-height: 0;
}
.testi-card__img { width: 100%; max-height: 420px; object-fit: contain; display: block; }
.testi-card__caption {
  padding: 12px 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--border);
}
.testi-card__delete {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(10, 10, 10, 0.65);
  backdrop-filter: blur(6px);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 200ms, background 200ms;
  z-index: 2;
}
.testi-card__delete svg { width: 14px; height: 14px; }
.testi-card:hover .testi-card__delete,
.testi-card__delete:focus-visible { opacity: 1; }
.testi-card__delete:hover { background: #ef4444; border-color: #ef4444; }

.testi-empty {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}
.testi-empty__icon {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint);
}
.testi-empty__icon svg { width: 22px; height: 22px; }
.testi-empty__hint { font-size: 0.85rem; color: var(--text-faint); margin-top: 6px; }

/* =========================================================================
   BONUS GRID
   ========================================================================= */
.bonus-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.bonus-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.bonus-card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-pink);
  margin-bottom: 16px;
}
.bonus-card__icon svg { width: 22px; height: 22px; }
.bonus-card__title { font-weight: 700; font-size: 1.05rem; }
.bonus-card__desc { margin-top: 8px; color: var(--text-muted); font-size: 0.9rem; }

/* =========================================================================
   WHY US
   ========================================================================= */
.why-list { margin-top: 40px; display: flex; flex-direction: column; }
.why-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.why-item:first-child { border-top: 1px solid var(--border); }
.why-item__num {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-faint);
  transition: color 300ms;
}
.why-item:hover .why-item__num { color: var(--primary-light); }
.why-item__title { font-size: 1.2rem; font-weight: 700; }
.why-item__desc { margin-top: 8px; color: var(--text-muted); max-width: 560px; }

/* =========================================================================
   MENTORS
   ========================================================================= */
.mentor-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
  justify-content: center;
  gap: 22px;
}
.mentor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  text-align: center;
}
.mentor-card__avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #000;
}
.mentor-card__name { font-size: 1.1rem; font-weight: 700; }
.mentor-card__role { margin-top: 6px; color: var(--text-muted); font-size: 0.88rem; }
.mentor-card__experience {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-faint);
}

/* =========================================================================
   PORTFOLIO
   ========================================================================= */
.portfolio-toolbar {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.portfolio-toolbar .tabs { margin-top: 0; }

.portfolio-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  animation: cardIn 420ms var(--ease) both;
  transition: transform 260ms var(--ease), border-color 260ms var(--ease);
}
.portfolio-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.4); }

.portfolio-card__media-wrap { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); }
.portfolio-card__media { width: 100%; height: 100%; object-fit: cover; display: block; }
.portfolio-card__media--placeholder {
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.1));
}
.portfolio-card__media--placeholder svg { width: 32px; height: 32px; }

.portfolio-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #fff;
  background: rgba(10, 10, 10, 0.65);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-strong);
  padding: 5px 11px;
  border-radius: 999px;
}
.portfolio-card__delete {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(10, 10, 10, 0.65);
  backdrop-filter: blur(6px);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 200ms, background 200ms, color 200ms;
}
.portfolio-card__delete svg { width: 14px; height: 14px; }
.portfolio-card__media-wrap:hover .portfolio-card__delete,
.portfolio-card__delete:focus-visible { opacity: 1; }
.portfolio-card__delete:hover { background: #ef4444; border-color: #ef4444; }

.portfolio-card__body { padding: 20px 22px; }
.portfolio-card__title { font-size: 1.05rem; font-weight: 700; font-family: 'Orbitron', sans-serif; }
.portfolio-card__desc { margin-top: 8px; color: var(--text-muted); font-size: 0.88rem; }
.portfolio-card__footer { margin-top: 14px; min-height: 1px; }
.portfolio-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-light);
}
.portfolio-card__link svg { width: 14px; height: 14px; }
.portfolio-card__link:hover { color: var(--accent-cyan); }

.portfolio-add-tile {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  min-height: 220px;
  transition: border-color 200ms, color 200ms, background 200ms;
}
.portfolio-add-tile svg { width: 26px; height: 26px; }
.portfolio-add-tile:hover { border-color: var(--primary-light); color: var(--primary-light); background: rgba(255, 255, 255, 0.06); }

.portfolio-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
  color: var(--text-muted);
}
.portfolio-empty__icon {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint);
}
.portfolio-empty__icon svg { width: 22px; height: 22px; }
.portfolio-empty__hint { font-size: 0.85rem; color: var(--text-faint); margin-top: 6px; }

/* =========================================================================
   PORTFOLIO ADD MODAL
   ========================================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms var(--ease), visibility 240ms;
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }

.modal {
  width: 100%;
  max-width: 460px;
  max-height: 88vh;
  overflow-y: auto;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  transform: translateY(16px) scale(0.98);
  transition: transform 240ms var(--ease);
}
.modal-overlay.is-open .modal { transform: translateY(0) scale(1); }

.modal h3 { font-size: 1.3rem; font-weight: 700; padding-right: 24px; }
.modal__hint { margin-top: 8px; color: var(--text-muted); font-size: 0.85rem; }
.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: color 200ms, border-color 200ms;
}
.modal__close:hover { color: var(--text); border-color: var(--primary-light); }

.field { display: flex; flex-direction: column; gap: 7px; margin-top: 18px; }
.field span { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 200ms;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--primary-light); }
.field textarea { resize: vertical; }
.field input[type="file"] { padding: 9px 10px; cursor: pointer; }

.modal__actions {
  margin-top: 26px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* =========================================================================
   PRICING / FINAL CTA
   ========================================================================= */
.pricing-cta {
  text-align: center;
  overflow: hidden;
}
.pricing-cta__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(255, 255, 255, 0.12), transparent 70%);
  z-index: 0;
}
.pricing-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.pricing-cta__inner .section__title,
.pricing-cta__inner .section__sub { text-align: center; }
.pricing-cta__inner .btn { margin-top: 12px; }

/* =========================================================================
   FAQ ACCORDION
   ========================================================================= */
.accordion { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.accordion-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.accordion-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
}
.accordion-item__icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  transition: transform 260ms var(--ease), background 260ms;
}
.accordion-item__icon svg { width: 14px; height: 14px; }
.accordion-item.is-open .accordion-item__icon { transform: rotate(45deg); background: var(--gradient-brand); color: #000; }
.accordion-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms var(--ease);
  color: var(--text-muted);
  font-size: 0.92rem;
}
.accordion-item__a-inner { padding: 0 24px 20px; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 70px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer__logo-img { height: 52px; width: auto; }
.footer__about { margin-top: 18px; color: var(--text-muted); font-size: 0.9rem; max-width: 340px; }
.footer__social { margin-top: 20px; display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all 200ms;
}
.footer__social a:hover { color: var(--primary-light); border-color: var(--primary-light); }
.footer__social svg { width: 16px; height: 16px; }

.footer__col h4 { font-size: 0.95rem; margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a, .footer__col span { color: var(--text-muted); font-size: 0.9rem; }
.footer__col a:hover { color: var(--text); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  color: var(--text-faint);
  font-size: 0.82rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Discreet admin login toggle — intentionally small/muted so it doesn't
   read as a feature to regular visitors, only to whoever knows to look. */
.admin-toggle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 200ms, border-color 200ms, background 200ms;
}
.admin-toggle:hover { color: var(--primary-light); border-color: var(--primary-light); }
.admin-toggle.is-active { color: var(--success); border-color: var(--success); background: rgba(255, 255, 255, 0.12); }

/* =========================================================================
   STICKY CTA
   ========================================================================= */
.sticky-cta {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 90;
  padding: 15px 26px;
  border-radius: 999px;
  border: none;
  background: var(--gradient-brand);
  color: #000;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.18);
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}
.sticky-cta.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.sticky-cta:hover { transform: translateY(-3px) scale(1.03); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__cta .nav__login { display: none; }
  .nav__burger { display: flex; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .nav__cta #navCtaBtn { padding: 11px 18px; font-size: 0.85rem; }
  .hero { padding: 76px 0 60px; }
  .hero__stats { gap: 24px; padding: 22px; }
  .stat__value { font-size: 1.5rem; }
  .section { padding: 70px 0; }
  .why-item { grid-template-columns: 56px 1fr; gap: 14px; padding: 22px 0; }
  .why-item__num { font-size: 1.5rem; }
  .footer__inner { grid-template-columns: 1fr; }
  .sticky-cta { right: 14px; bottom: 14px; padding: 13px 20px; font-size: 0.9rem; }
}

/* =========================================================================
   ADMIN-ONLY CONTROLS
   -------------------------------------------------------------------------
   Upload/add buttons and delete buttons for Portofolio & Testimoni are
   hidden from regular visitors — only visible once <body> has class
   "is-admin" (toggled via the lock icon in the footer, see js/api.js).
   Kept last in the file so these overrides always win regardless of the
   specificity of earlier rules for the same selectors.
   ========================================================================= */
#portfolioAddBtn,
#testimonialAddBtn,
.portfolio-add-tile,
.portfolio-card__edit,
.portfolio-card__delete,
.testi-card__edit,
.testi-card__delete {
  display: none;
}
body.is-admin #portfolioAddBtn,
body.is-admin #testimonialAddBtn { display: inline-flex; }
body.is-admin .portfolio-add-tile { display: flex; }
body.is-admin .portfolio-card__edit,
body.is-admin .portfolio-card__delete,
body.is-admin .testi-card__edit,
body.is-admin .testi-card__delete { display: flex; }

/* Edit buttons sit next to the delete buttons (top-right), shifted left. */
.portfolio-card__edit,
.testi-card__edit {
  position: absolute;
  top: 10px;
  right: 46px;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(10, 10, 10, 0.65);
  backdrop-filter: blur(6px);
  color: #fff;
  align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
  transition: opacity 200ms, background 200ms, color 200ms;
}
.portfolio-card__edit svg,
.testi-card__edit svg { width: 14px; height: 14px; }
.portfolio-card__media-wrap:hover .portfolio-card__edit,
.testi-card:hover .testi-card__edit,
.portfolio-card__edit:focus-visible,
.testi-card__edit:focus-visible { opacity: 1; }
.portfolio-card__edit:hover,
.testi-card__edit:hover { background: #fff; color: #000; }
