/* ============================================================
   madebyzpriv — vibey portfolio styles
   No JS. Pure HTML + CSS.
   ============================================================ */

:root {
  --bg: #08080c;
  --bg-soft: #0f0f17;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4f7;
  --muted: #9b9bae;
  --muted-2: #6f6f82;

  --pink: #ff2e7e;
  --purple: #9b5cff;
  --blue: #3d7bff;
  --cyan: #25e2ff;

  --grad: linear-gradient(100deg, #ff2e7e 0%, #9b5cff 50%, #3d7bff 100%);
  --grad-soft: linear-gradient(100deg, rgba(255, 46, 126, 0.18), rgba(61, 123, 255, 0.18));

  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1140px;
  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--text); font-weight: 600; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Animated background orbs ---------- */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: float 18s ease-in-out infinite;
}
.orb-1 { width: 520px; height: 520px; background: var(--pink);   top: -160px; left: -120px; }
.orb-2 { width: 460px; height: 460px; background: var(--blue);   top: 30%;   right: -160px; animation-delay: -6s; }
.orb-3 { width: 420px; height: 420px; background: var(--purple); bottom: -180px; left: 30%; animation-delay: -12s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -50px) scale(1.1); }
  66%      { transform: translate(-30px, 30px) scale(0.95); }
}

/* ---------- Shared bits ---------- */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  color: #fff;
  background: var(--grad);
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  box-shadow: 0 8px 30px rgba(255, 46, 126, 0.25);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(155, 92, 255, 0.4); }

.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  box-shadow: none;
}
.btn-ghost:hover { background: var(--surface-2); box-shadow: none; }

.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 8, 12, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.logo span { color: var(--pink); }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-burger, .mobile-cta { display: none; }
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  transition: color 0.18s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: width 0.22s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: 110px 0 80px; text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin-bottom: 26px;
}
.subhead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 38px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.hero-stats {
  display: flex;
  gap: 14px;
  margin-top: 64px;
  flex-wrap: wrap;
  justify-content: center;
}
.stat {
  min-width: 180px;
  padding: 24px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 8px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.02em; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: inline-flex;
  gap: 28px;
  white-space: nowrap;
  animation: scroll 28s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--muted);
}
.marquee-track span:nth-child(even) { color: var(--pink); }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Section scaffolding ---------- */
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2,
.about h2, .contact h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-sub { color: var(--muted); font-size: 1.05rem; }

/* ---------- Platform badges ---------- */
.platform-head { margin: 8px 0 24px; }
.platform-head:not(:first-of-type) { margin-top: 56px; }
.platform-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
}
.platform-badge.tiktok    { background: rgba(37, 226, 255, 0.1); color: var(--cyan); }
.platform-badge.instagram { background: rgba(255, 46, 126, 0.1); color: var(--pink); }

/* ---------- Video grid ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.video-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.video-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.video-wrap { position: relative; }
.video-card video {
  width: 100%;
  aspect-ratio: 9 / 16;
  display: block;
  background: #000;
  object-fit: cover;
}
.views-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: rgba(8, 8, 12, 0.72);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  pointer-events: none;
}
.video-info { padding: 18px 20px 22px; }
.video-info h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.video-info .tag { color: var(--muted); font-size: 0.9rem; }

/* ---------- Card grid (services + testimonials) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.feature-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  font-size: 1.6rem;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.feature-card p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.step {
  padding: 30px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--grad);
  opacity: 0.7;
}
.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.2rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 12px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.step p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Testimonials ---------- */
.quote-card {
  padding: 30px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.quote-card p {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.6;
}
.quote-card footer { display: flex; flex-direction: column; }
.quote-name { font-family: var(--font-display); font-weight: 600; }
.quote-role { color: var(--muted); font-size: 0.88rem; }

/* ---------- About ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.about-text p { color: var(--muted); margin-bottom: 18px; font-size: 1.05rem; max-width: 520px; }
.about-text .btn { margin-top: 10px; }
.about-photo { display: flex; justify-content: center; }
.photo-placeholder {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--grad-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.photo-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.photo-fallback {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 20px;
}
.photo-fallback code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--text);
  font-size: 0.82rem;
}

/* ---------- CTA / Contact ---------- */
.cta-card {
  text-align: center;
  padding: 72px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 46, 126, 0.18), transparent 60%),
    var(--bg-soft);
}
.cta-card p { color: var(--muted); font-size: 1.1rem; margin-bottom: 30px; }
.cta-card .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--bg-soft);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); font-size: 0.95rem; transition: color 0.18s ease; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--muted-2); font-size: 0.85rem; }

/* ---------- Reveal on scroll (CSS only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .section, .stat, .video-card {
    animation: rise 0.7s ease both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }
  @keyframes rise {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { order: -1; }
  .about-text p { max-width: none; }

  /* ---- CSS-only mobile menu ---- */
  .nav { position: relative; }
  .desktop-cta { display: none; }

  .nav-burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    cursor: pointer;
  }
  .nav-burger span {
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: rgba(8, 8, 12, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-links a {
    padding: 14px 16px;
    border-radius: 12px;
    color: var(--text);
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover { background: var(--surface); }
  .mobile-cta {
    display: block;
    text-align: center;
    background: var(--grad);
    color: #fff;
    font-weight: 600;
    margin-top: 4px;
  }
}

@media (max-width: 560px) {
  .section { padding: 72px 0; }
  .hero { padding: 72px 0 56px; }
  .section-head { margin-bottom: 40px; }
  .video-grid { grid-template-columns: 1fr; gap: 18px; }
  .steps { grid-template-columns: 1fr; }
  .card-grid { gap: 16px; }
  .stat { min-width: 0; flex: 1; padding: 18px 14px; }
  .stat-num { font-size: 1.8rem; }
  .stat-label { font-size: 0.78rem; }
  .cta-card { padding: 48px 22px; }
  .hero-stats { gap: 10px; margin-top: 48px; }

  /* Stack call-to-action buttons full width so long text never overflows */
  .hero-cta { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}
