/* ==========================================================================
   PROMOTINI ??? Design System
   Playful but refined ?? modern micro-influencer platform
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --p-bg: #fbfaf7;
  --p-bg-soft: #f4f1ea;
  --p-surface: #ffffff;
  --p-ink: #16131a;
  --p-ink-soft: #5c5763;
  --p-ink-faint: #8b8594;

  --p-primary: #6c4dff;
  --p-primary-dark: #5333e8;
  --p-primary-soft: #efebff;

  --p-accent: #ff5d8f;
  --p-accent-soft: #ffe8f0;

  --p-mint: #1fc98e;
  --p-mint-soft: #dcf8ed;

  --p-sun: #ffb800;
  --p-sun-soft: #fff3d6;

  --p-cyan: #00b3d9;
  --p-cyan-soft: #dcf5fb;

  --p-danger: #e5484d;
  --p-danger-soft: #fdecec;

  --p-radius-sm: 10px;
  --p-radius: 16px;
  --p-radius-lg: 24px;
  --p-radius-xl: 32px;

  --p-shadow-xs: 0 1px 2px rgba(22, 19, 26, 0.06);
  --p-shadow-sm: 0 4px 12px rgba(22, 19, 26, 0.07);
  --p-shadow: 0 12px 32px rgba(22, 19, 26, 0.1);
  --p-shadow-lg: 0 24px 60px rgba(22, 19, 26, 0.14);

  --p-font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --p-font-display: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--p-font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--p-ink);
  background: var(--p-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--p-font-display);
  color: var(--p-ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1em; }
a { color: var(--p-primary); text-decoration: none; }
a:hover { color: var(--p-primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { padding: 0; list-style: none; margin: 0; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   3. Utilities
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-muted { color: var(--p-ink-soft); }
.text-faint { color: var(--p-ink-faint); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.d-flex { display: flex; }
.d-flex-center { display: flex; align-items: center; justify-content: center; }
.d-grid { display: grid; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.m-0 { margin: 0; }
.w-100 { width: 100%; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--p-font);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--p-primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(108, 77, 255, 0.35);
}
.btn-primary:hover { background: var(--p-primary-dark); color: #fff; transform: translateY(-2px); }

.btn-accent {
  background: var(--p-accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(255, 93, 143, 0.35);
}
.btn-accent:hover { color: #fff; transform: translateY(-2px); filter: brightness(0.95); }

.btn-dark {
  background: var(--p-ink);
  color: #fff;
}
.btn-dark:hover { color: #fff; transform: translateY(-2px); opacity: 0.92; }

.btn-outline {
  background: transparent;
  color: var(--p-ink);
  border-color: var(--p-ink);
}
.btn-outline:hover { background: var(--p-ink); color: #fff; }

.btn-outline-primary {
  background: transparent;
  color: var(--p-primary);
  border-color: var(--p-primary);
}
.btn-outline-primary:hover { background: var(--p-primary); color: #fff; }

.btn-soft {
  background: var(--p-primary-soft);
  color: var(--p-primary-dark);
}
.btn-soft:hover { background: var(--p-primary); color: #fff; }

.btn-white {
  background: #fff;
  color: var(--p-ink);
  box-shadow: var(--p-shadow-sm);
}
.btn-white:hover { transform: translateY(-2px); color: var(--p-primary); }

.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 34px; font-size: 16px; }
.btn-block { width: 100%; }
.btn.disabled, .btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* --------------------------------------------------------------------------
   5. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--p-surface);
  border-radius: var(--p-radius-lg);
  box-shadow: var(--p-shadow-sm);
  padding: 28px;
}

.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--p-shadow);
}

/* --------------------------------------------------------------------------
   6. Chips / badges
   -------------------------------------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.chip-primary { background: var(--p-primary-soft); color: var(--p-primary-dark); }
.chip-accent { background: var(--p-accent-soft); color: var(--p-accent); }
.chip-mint { background: var(--p-mint-soft); color: var(--p-mint); }
.chip-sun { background: var(--p-sun-soft); color: #a06c00; }
.chip-cyan { background: var(--p-cyan-soft); color: #00809e; }
.chip-soft { background: var(--p-bg-soft); color: var(--p-ink-soft); }

.badge-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

/* --------------------------------------------------------------------------
   7. Forms
   -------------------------------------------------------------------------- */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--p-ink);
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  font-family: var(--p-font);
  color: var(--p-ink);
  background: var(--p-surface);
  border: 2px solid #e7e2da;
  border-radius: var(--p-radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--p-primary);
  box-shadow: 0 0 0 4px rgba(108, 77, 255, 0.14);
}
.form-control::placeholder { color: var(--p-ink-faint); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235c5763' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--p-primary);
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   8. Section heading
   -------------------------------------------------------------------------- */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--p-primary-dark);
  background: var(--p-primary-soft);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-title { font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; }
.section-sub { color: var(--p-ink-soft); font-size: 17px; }

.section-title .hl {
  position: relative;
  display: inline-block;
  z-index: 1;
  color: var(--p-primary);
}
.section-title .hl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.35em;
  background: var(--p-sun-soft);
  z-index: -1;
  border-radius: 0.4em;
  transform: rotate(-1deg);
}

/* --------------------------------------------------------------------------
   9. Top bar / announcement
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--p-ink);
  color: #fff;
  font-size: 13.5px;
  padding: 9px 0;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar a { color: #fff; }

/* --------------------------------------------------------------------------
   10. Header / nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(22, 19, 26, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--p-font-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--p-ink);
  letter-spacing: -0.03em;
}
.brand .brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--p-primary), var(--p-accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 6px 14px rgba(108, 77, 255, 0.35);
}
.brand:hover { color: var(--p-ink); }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--p-ink-soft);
  padding: 10px 16px;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a:hover { color: var(--p-ink); background: var(--p-bg-soft); }
.main-nav a.active { color: var(--p-primary-dark); background: var(--p-primary-soft); }

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: var(--p-ink);
}
.nav-toggle:hover { background: var(--p-bg-soft); }

/* Language selector */
.lang-select { position: relative; }
.lang-select select {
  appearance: none;
  background: var(--p-bg-soft);
  border: none;
  font-family: var(--p-font);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 32px 10px 14px;
  border-radius: 999px;
  color: var(--p-ink);
  cursor: pointer;
}
.lang-select::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-60%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--p-ink-soft);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   11. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 96px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--p-sun-soft);
  color: #a06c00;
  font-weight: 800;
  font-size: 13.5px;
  padding: 9px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(40px, 5.4vw, 62px);
  line-height: 1.06;
  margin-bottom: 20px;
  letter-spacing: -0.035em;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--p-primary), var(--p-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero p.lead { font-size: 18.5px; color: var(--p-ink-soft); max-width: 520px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 44px;
}
.hero-stat strong {
  display: block;
  font-family: var(--p-font-display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-stat span { color: var(--p-ink-soft); font-size: 14.5px; }

.hero-visual { position: relative; }
.hero-card {
  background: var(--p-surface);
  border-radius: var(--p-radius-xl);
  box-shadow: var(--p-shadow-lg);
  padding: 20px;
  transform: rotate(2deg);
}
.hero-card-inner {
  border: 2px dashed #e7e2da;
  border-radius: 20px;
  padding: 26px;
  text-align: center;
}
.hero-card-inner .avatar-stack {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}
.avatar-stack .avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid #fff;
  margin-left: -10px;
  background: linear-gradient(135deg, var(--p-primary-soft), var(--p-accent-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--p-primary-dark);
}
.avatar-stack .avatar:first-child { margin-left: 0; }
.hero-card-inner .ring { font-family: var(--p-font-display); font-weight: 800; font-size: 34px; margin: 6px 0 2px; }
.hero-card-inner .desc { color: var(--p-ink-soft); font-size: 14.5px; margin: 0; }

.hero-float {
  position: absolute;
  background: var(--p-surface);
  border-radius: var(--p-radius);
  box-shadow: var(--p-shadow);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 14.5px;
}
.hero-float .emoji {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}
.hero-float.float-1 { top: 6%; left: -6%; transform: rotate(-4deg); }
.hero-float.float-2 { bottom: 12%; right: -4%; transform: rotate(3deg); }

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  z-index: -1;
}
.hero-blob.b1 { width: 340px; height: 340px; background: var(--p-primary-soft); top: -40px; right: -40px; }
.hero-blob.b2 { width: 260px; height: 260px; background: var(--p-accent-soft); bottom: -60px; left: -20px; }

/* --------------------------------------------------------------------------
   12. Marquee / partner strip
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  padding: 18px 0;
  border-block: 1px solid rgba(22, 19, 26, 0.06);
  background: var(--p-surface);
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--p-font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--p-ink-faint);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   13. How it works
   -------------------------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  position: relative;
  background: var(--p-surface);
  border-radius: var(--p-radius-lg);
  padding: 30px 26px;
  box-shadow: var(--p-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--p-shadow); }
.step-num {
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: var(--p-font-display);
  font-weight: 800;
  font-size: 46px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.6px var(--p-ink-faint);
  opacity: 0.35;
}
.step-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.step-card h3 { font-size: 19px; margin-bottom: 8px; }
.step-card p { color: var(--p-ink-soft); font-size: 15px; margin: 0; }

/* --------------------------------------------------------------------------
   14. Category cards
   -------------------------------------------------------------------------- */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  background: var(--p-surface);
  border-radius: var(--p-radius-lg);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--p-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--p-shadow); }
.cat-card .cat-emoji {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}
.cat-card h3 { font-size: 17px; margin-bottom: 4px; }
.cat-card p { color: var(--p-ink-soft); font-size: 13.5px; margin: 0; }

/* --------------------------------------------------------------------------
   15. Campaign cards
   -------------------------------------------------------------------------- */
.campaign-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.campaign-card {
  background: var(--p-surface);
  border-radius: var(--p-radius-lg);
  overflow: hidden;
  box-shadow: var(--p-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.campaign-card:hover { transform: translateY(-6px); box-shadow: var(--p-shadow); }
.campaign-thumb {
  height: 190px;
  background: linear-gradient(135deg, var(--p-primary-soft), var(--p-accent-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.campaign-thumb img { width: 100%; height: 100%; object-fit: cover; }
.campaign-thumb .badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 8px;
}
.campaign-thumb .budget-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: var(--p-surface);
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: var(--p-shadow-sm);
}
.campaign-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.campaign-body h3 { font-size: 18.5px; margin-bottom: 10px; line-height: 1.35; }
.campaign-meta { display: flex; align-items: center; gap: 6px; color: var(--p-ink-soft); font-size: 13.5px; margin-bottom: 14px; flex-wrap: wrap; }
.campaign-meta .sep { opacity: 0.4; }
.campaign-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.campaign-body .btn { margin-top: auto; }

/* --------------------------------------------------------------------------
   16. Influencer cards
   -------------------------------------------------------------------------- */
.influencer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.influencer-card {
  background: var(--p-surface);
  border-radius: var(--p-radius-lg);
  padding: 30px 24px 24px;
  text-align: center;
  box-shadow: var(--p-shadow-sm);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.influencer-card:hover { transform: translateY(-6px); box-shadow: var(--p-shadow); }
.influencer-card .rank {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--p-font-display);
  font-weight: 800;
  font-size: 15px;
  padding: 5px 12px;
  border-radius: 999px;
}
.influencer-card .rank.r1 { background: var(--p-sun-soft); color: #a06c00; }
.influencer-card .rank.r2 { background: var(--p-bg-soft); color: var(--p-ink-soft); }
.influencer-card .rank.r3 { background: var(--p-accent-soft); color: var(--p-accent); }
.influencer-card .favorite-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--p-bg-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--p-ink-faint);
  transition: all 0.15s ease;
}
.influencer-card .favorite-btn:hover { transform: scale(1.1); }
.influencer-card .favorite-btn.active { background: var(--p-accent-soft); color: var(--p-accent); }
.influencer-avatar {
  width: 84px;
  height: 84px;
  margin: 0 auto 16px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--p-primary-soft), var(--p-accent-soft));
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(22, 19, 26, 0.12);
}
.influencer-card h3 { font-size: 17.5px; margin-bottom: 4px; }
.influencer-card .username { color: var(--p-ink-faint); font-size: 13.5px; margin-bottom: 12px; }
.influencer-stats { display: flex; justify-content: center; gap: 20px; margin-bottom: 16px; }
.influencer-stat { text-align: center; }
.influencer-stat strong { display: block; font-size: 15px; }
.influencer-stat span { font-size: 12px; color: var(--p-ink-faint); }
.influencer-card .socials { display: flex; justify-content: center; gap: 8px; margin-bottom: 16px; }
.influencer-card .socials a {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--p-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--p-ink-soft);
}

/* --------------------------------------------------------------------------
   17. Brand cards
   -------------------------------------------------------------------------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.brand-card {
  background: var(--p-surface);
  border-radius: var(--p-radius-lg);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--p-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.brand-card:hover { transform: translateY(-6px); box-shadow: var(--p-shadow); }
.brand-logo {
  width: 76px;
  height: 76px;
  margin: 0 auto 16px;
  border-radius: 22px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--p-sun-soft), var(--p-primary-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 30px;
  color: var(--p-primary-dark);
}
.brand-card h3 { font-size: 18px; margin-bottom: 6px; }
.brand-card .meta { color: var(--p-ink-soft); font-size: 14px; margin-bottom: 14px; }

/* --------------------------------------------------------------------------
   18. Filter bar / search
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.search-box {
  position: relative;
  flex: 1;
  min-width: 240px;
}
.search-box input {
  width: 100%;
  padding: 14px 20px 14px 46px;
  border: 2px solid #e7e2da;
  border-radius: 999px;
  font-size: 15px;
  font-family: var(--p-font);
  background: var(--p-surface);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.search-box input:focus { outline: none; border-color: var(--p-primary); box-shadow: 0 0 0 4px rgba(108, 77, 255, 0.14); }
.search-box::before {
  content: "????";
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   19. Detail page layout
   -------------------------------------------------------------------------- */
.page-hero {
  padding: 56px 0 40px;
  background: var(--p-surface);
  border-bottom: 1px solid rgba(22, 19, 26, 0.06);
}
.page-hero .breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: var(--p-ink-faint);
  margin-bottom: 16px;
}
.page-hero .breadcrumb a { color: var(--p-ink-soft); }
.page-hero h1 { font-size: clamp(32px, 4.5vw, 48px); margin-bottom: 12px; }
.page-hero p { color: var(--p-ink-soft); font-size: 17px; max-width: 640px; margin: 0; }

/* --------------------------------------------------------------------------
   20. Profile page
   -------------------------------------------------------------------------- */
.profile-hero {
  background: linear-gradient(135deg, var(--p-primary), var(--p-accent));
  padding: 56px 0;
  color: #fff;
}
.profile-hero .inner {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}
.profile-hero .avatar-lg {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: var(--p-shadow);
  background: #fff;
}
.profile-hero h1 { color: #fff; font-size: 34px; margin-bottom: 6px; }
.profile-hero .sub { opacity: 0.9; margin-bottom: 14px; }
.profile-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.profile-stat strong { display: block; font-size: 24px; color: #fff; }
.profile-stat span { opacity: 0.85; font-size: 13.5px; }

/* --------------------------------------------------------------------------
   21. CTA section
   -------------------------------------------------------------------------- */
.cta-section {
  background: linear-gradient(120deg, var(--p-ink), #2a2333);
  border-radius: var(--p-radius-xl);
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-section h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 14px; }
.cta-section p { color: rgba(255, 255, 255, 0.75); max-width: 560px; margin: 0 auto 30px; font-size: 17px; }
.cta-section::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(108, 77, 255, 0.4);
  filter: blur(80px);
  border-radius: 50%;
  top: -80px;
  left: -60px;
}
.cta-section::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 93, 143, 0.35);
  filter: blur(80px);
  border-radius: 50%;
  bottom: -100px;
  right: -60px;
}
.cta-section .cta-actions { position: relative; z-index: 1; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   22. Testimonials
   -------------------------------------------------------------------------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--p-surface);
  border-radius: var(--p-radius-lg);
  padding: 30px;
  box-shadow: var(--p-shadow-sm);
}
.testi-card .stars { color: var(--p-sun); font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.testi-card p { color: var(--p-ink-soft); font-size: 15.5px; }
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testi-author .avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--p-primary-soft), var(--p-accent-soft)); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--p-primary-dark); }
.testi-author strong { display: block; font-size: 15px; }
.testi-author span { font-size: 13px; color: var(--p-ink-faint); }

/* --------------------------------------------------------------------------
   23. Blog
   -------------------------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--p-surface);
  border-radius: var(--p-radius-lg);
  overflow: hidden;
  box-shadow: var(--p-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--p-shadow); }
.blog-thumb { height: 180px; background: linear-gradient(135deg, var(--p-cyan-soft), var(--p-primary-soft)); display: flex; align-items: center; justify-content: center; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 22px 24px 26px; }
.blog-body .date { font-size: 13px; color: var(--p-ink-faint); margin-bottom: 8px; }
.blog-body h3 { font-size: 18px; margin-bottom: 8px; line-height: 1.4; }
.blog-body p { color: var(--p-ink-soft); font-size: 14.5px; margin-bottom: 14px; }

/* --------------------------------------------------------------------------
   24. Auth pages
   -------------------------------------------------------------------------- */
.auth-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-side {
  background: linear-gradient(150deg, var(--p-primary), #8a5cff 60%, var(--p-accent));
  color: #fff;
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.auth-side .auth-brand { display: flex; align-items: center; gap: 12px; font-family: var(--p-font-display); font-weight: 800; font-size: 26px; color: #fff; }
.auth-side .auth-brand .brand-badge { background: rgba(255, 255, 255, 0.2); }
.auth-side h2 { color: #fff; font-size: 40px; line-height: 1.1; margin-bottom: 18px; }
.auth-side p { color: rgba(255, 255, 255, 0.85); font-size: 17px; max-width: 420px; }
.auth-side .auth-float { font-weight: 800; font-size: 15px; background: rgba(255, 255, 255, 0.14); border-radius: 14px; padding: 12px 18px; display: inline-flex; align-items: center; gap: 10px; backdrop-filter: blur(6px); }
.auth-side .blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; }
.auth-side .blob.bl1 { width: 300px; height: 300px; background: #ff8fc1; top: 10%; right: -60px; }
.auth-side .blob.bl2 { width: 260px; height: 260px; background: #7d5cff; bottom: -80px; left: -40px; }

.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}
.auth-card {
  width: 100%;
  max-width: 440px;
}
.auth-card .auth-logo { display: none; }
.auth-card h1 { font-size: 32px; margin-bottom: 6px; }
.auth-card .auth-sub { color: var(--p-ink-soft); margin-bottom: 30px; }
.auth-alt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.auth-alt a {
  text-align: center;
  padding: 14px;
  border: 2px solid #e7e2da;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  color: var(--p-ink-soft);
  transition: all 0.15s ease;
}
.auth-alt a:hover { border-color: var(--p-primary); color: var(--p-primary); }
.auth-alt a.active { border-color: var(--p-primary); background: var(--p-primary-soft); color: var(--p-primary-dark); }
.auth-divider { display: flex; align-items: center; gap: 14px; color: var(--p-ink-faint); font-size: 13px; margin: 22px 0; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: #e7e2da; }
.auth-footer { text-align: center; margin-top: 24px; color: var(--p-ink-soft); font-size: 14.5px; }

/* --------------------------------------------------------------------------
   25. Dashboard shell
   -------------------------------------------------------------------------- */
.dash {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}
.dash-side {
  background: var(--p-ink);
  color: #fff;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.dash-side .dash-brand { display: flex; align-items: center; gap: 10px; font-family: var(--p-font-display); font-weight: 800; font-size: 21px; color: #fff; padding: 0 8px; }
.dash-side .dash-brand .brand-badge { background: linear-gradient(135deg, var(--p-primary), var(--p-accent)); }
.dash-nav { display: flex; flex-direction: column; gap: 4px; }
.dash-nav .nav-label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255, 255, 255, 0.4); padding: 14px 12px 6px; }
.dash-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  font-size: 14.5px;
  padding: 11px 14px;
  border-radius: 12px;
  transition: all 0.15s ease;
}
.dash-nav a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.dash-nav a.active { background: var(--p-primary); color: #fff; box-shadow: 0 6px 16px rgba(108, 77, 255, 0.4); }
.dash-nav a .ico { width: 22px; text-align: center; }

.dash-main { display: flex; flex-direction: column; min-width: 0; }
.dash-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(22, 19, 26, 0.06);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.dash-top h1 { font-size: 22px; margin: 0; }
.dash-top .dash-user { display: flex; align-items: center; gap: 12px; }
.dash-top .dash-user .avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--p-primary-soft); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--p-primary-dark); }
.dash-body { padding: 32px; }

.dash-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.dash-stat {
  background: var(--p-surface);
  border-radius: var(--p-radius);
  padding: 22px;
  box-shadow: var(--p-shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
}
.dash-stat .stat-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.dash-stat strong { display: block; font-family: var(--p-font-display); font-size: 24px; line-height: 1.2; }
.dash-stat span { color: var(--p-ink-soft); font-size: 13.5px; }

/* --------------------------------------------------------------------------
   26. Tables
   -------------------------------------------------------------------------- */
.table-wrap { background: var(--p-surface); border-radius: var(--p-radius); box-shadow: var(--p-shadow-sm); overflow-x: auto; }
.table-wrap table { width: 100%; border-collapse: collapse; }
.table-wrap th {
  text-align: left;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--p-ink-faint);
  padding: 16px 20px;
  background: var(--p-bg-soft);
}
.table-wrap td { padding: 16px 20px; border-top: 1px solid rgba(22, 19, 26, 0.06); font-size: 14.5px; vertical-align: middle; }
.table-wrap tr:hover td { background: rgba(108, 77, 255, 0.03); }

/* --------------------------------------------------------------------------
   27. Alerts / noty
   -------------------------------------------------------------------------- */
.alert {
  padding: 14px 18px;
  border-radius: var(--p-radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 16px;
}
.alert-success { background: var(--p-mint-soft); color: #0b7a55; }
.alert-danger { background: var(--p-danger-soft); color: #c02e33; }
.alert-info { background: var(--p-cyan-soft); color: #00809e; }
.alert-warning { background: var(--p-sun-soft); color: #a06c00; }

/* --------------------------------------------------------------------------
   28. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--p-ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand { font-family: var(--p-font-display); font-weight: 800; font-size: 22px; color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .brand-badge { background: linear-gradient(135deg, var(--p-primary), var(--p-accent)); }
.footer-grid h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul a { color: rgba(255, 255, 255, 0.7); font-size: 14.5px; }
.footer-grid ul a:hover { color: #fff; }
.footer-grid p { font-size: 14.5px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  font-size: 13.5px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   29. Reveal animation
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   30. Pagination
   -------------------------------------------------------------------------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination .page-item a, .pagination .page-item span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--p-surface);
  color: var(--p-ink-soft);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--p-shadow-xs);
  transition: all 0.15s ease;
}
.pagination .page-item a:hover { background: var(--p-primary-soft); color: var(--p-primary-dark); }
.pagination .page-item.active span { background: var(--p-primary); color: #fff; }
.pagination .page-item.disabled span { opacity: 0.5; }

/* --------------------------------------------------------------------------
   31. Empty state
   -------------------------------------------------------------------------- */
.empty-state { text-align: center; padding: 60px 24px; }
.empty-state .empty-emoji { font-size: 56px; margin-bottom: 16px; }
.empty-state h3 { font-size: 20px; margin-bottom: 6px; }
.empty-state p { color: var(--p-ink-soft); max-width: 420px; margin: 0 auto 20px; }

/* --------------------------------------------------------------------------
   32. Misc components
   -------------------------------------------------------------------------- */
.avatar-sm {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--p-primary-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--p-primary-dark);
  font-size: 14px;
}
.stars { color: var(--p-sun); letter-spacing: 2px; }
.rating-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.rating-bar .bar { flex: 1; height: 8px; border-radius: 99px; background: var(--p-bg-soft); overflow: hidden; }
.rating-bar .bar i { display: block; height: 100%; border-radius: 99px; background: var(--p-sun); }
.progress { height: 8px; border-radius: 99px; background: var(--p-bg-soft); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--p-primary), var(--p-accent)); }

.tabs { display: flex; gap: 8px; border-bottom: 2px solid var(--p-bg-soft); margin-bottom: 28px; overflow-x: auto; }
.tabs button {
  background: none;
  border: none;
  padding: 12px 20px;
  font-family: var(--p-font);
  font-weight: 700;
  font-size: 15px;
  color: var(--p-ink-faint);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
}
.tabs button.active { color: var(--p-primary); border-bottom-color: var(--p-primary); }

/* Reels / gallery */
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reel {
  aspect-ratio: 9/14;
  border-radius: var(--p-radius);
  overflow: hidden;
  background: var(--p-bg-soft);
  position: relative;
}
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.reel:hover img { transform: scale(1.06); }

/* Auth split responsive fallback */
@media (max-width: 960px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-card .auth-logo { display: flex; }
}

/* --------------------------------------------------------------------------
   33. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .steps-grid, .cats-grid, .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .influencer-grid { grid-template-columns: repeat(3, 1fr); }
  .campaign-grid, .blog-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 14px 20px; }
  .dash-nav { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .dash-nav .nav-label { display: none; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: 0 0 auto 0;
    background: var(--p-surface);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 8px;
    box-shadow: var(--p-shadow);
    transform: translateY(-120%);
    transition: transform 0.28s ease;
    z-index: 99;
    border-radius: 0 0 var(--p-radius-lg) var(--p-radius-lg);
  }
  .main-nav.open { transform: translateY(0); }
  .nav-toggle { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-float.float-1 { left: 0; }
  .hero-float.float-2 { right: 0; }
  .influencer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .container { padding: 0 18px; }
  .influencer-grid, .campaign-grid, .blog-grid, .testi-grid { grid-template-columns: 1fr; }
  .steps-grid, .cats-grid, .brand-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
  .hero-stats { gap: 24px; }
  .hero-float { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .dash-cards { grid-template-columns: 1fr 1fr; }
  .dash-body { padding: 20px; }
  .dash-top { padding: 14px 20px; }
  .filter-bar .search-box { min-width: 100%; }
  .cta-section { padding: 48px 24px; }
  .auth-alt { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   34. Mobile refinements
   -------------------------------------------------------------------------- */

/* Keep the header from overflowing on phones: hide auth CTAs, keep burger + lang */
@media (max-width: 620px) {
  .header-inner { gap: 12px; }
  .brand { font-size: 20px; }
  .brand .brand-badge { width: 34px; height: 34px; border-radius: 10px; font-size: 17px; }
  .header-actions .btn { display: none; }
  .header-actions { gap: 8px; }
  .lang-select select { padding: 8px 28px 8px 12px; font-size: 13px; }
  .nav-toggle { width: 38px; height: 38px; }
  .main-nav { padding: 16px; }
  .main-nav a { padding: 12px 14px; }
}

/* Topbar wraps instead of overflowing */
@media (max-width: 620px) {
  .topbar { font-size: 12px; }
  .topbar-inner { flex-wrap: wrap; justify-content: center; text-align: center; gap: 6px 12px; }
}

/* Collapse fixed-width sidebars on detail/dashboard pages into a single column */
@media (max-width: 980px) {
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}

/* Let filter selects breathe on mobile instead of a cramped 170px row */
@media (max-width: 620px) {
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-bar select { width: 100% !important; min-width: 0 !important; }
  .filter-bar .search-box { min-width: 0; }
  .filter-bar .btn { width: 100%; }
}

/* Hero CTA buttons stack and fill width on phones */
@media (max-width: 480px) {
  .hero-cta .btn { width: 100%; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-stat strong { font-size: 24px; }
  .hero h1 { font-size: 34px; }
  .hero p.lead { font-size: 16.5px; }
}

/* Dashboard top bar wraps user + language on small screens */
@media (max-width: 620px) {
  .dash-top { flex-wrap: wrap; }
  .dash-cards { grid-template-columns: 1fr; }
  .dash-stat { padding: 18px; }
  .dash-top h1 { font-size: 18px; }
}

/* Tables scroll horizontally rather than squashing */
.table-wrap { -webkit-overflow-scrolling: touch; }
.table-wrap table { min-width: 560px; }

/* Buttons never force horizontal scroll */
.btn { max-width: 100%; white-space: normal; }

/* Cards/pages never overflow viewport */
.page-hero h1 { font-size: clamp(26px, 6vw, 48px); }
.card { padding: 20px; }
.profile-hero .inner { gap: 20px; }
.profile-hero .avatar-lg { width: 92px; height: 92px; }

/* Auth card comfortable on phones */
@media (max-width: 620px) {
  .auth-main { padding: 28px 18px; }
  .auth-card h1 { font-size: 26px; }
  .auth-alt a { padding: 12px 8px; font-size: 14px; }
}

/* Reel/gallery grid adapts to small screens */
@media (max-width: 620px) {
  .reels { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .reels { grid-template-columns: 1fr; }
}

/* Profile stats wrap on narrow screens */
.profile-stats { gap: 18px; }
@media (max-width: 480px) {
  .profile-stats { width: 100%; justify-content: space-between; }
  .profile-stat strong { font-size: 20px; }
}

/* CTA section fits small screens */
.cta-section { padding: 40px 20px; }
.cta-section h2 { font-size: 26px; }

/* Footer headings and spacing fine-tuned for phones */
@media (max-width: 620px) {
  .footer-grid h4 { margin-bottom: 12px; }
  .site-footer { padding-top: 48px; }
}

/* Empty states / misc text scale */
@media (max-width: 480px) {
  .empty-state { padding: 40px 16px; }
  .section-head { margin-bottom: 28px; }
}

