/* ==========================================================
   StanPro — design system
   Built on top of Bootstrap 5 (grid, navbar, buttons, utilities).
   Custom rules below override Bootstrap variables + add the
   brand-specific layout (hero, phone mockups, creator cards...).
   ========================================================== */

:root{
  --sp-ink:#17122B;
  --sp-ink-soft:#4A4460;
  --sp-violet:#6D28D9;
  --sp-violet-2:#8B5CF6;
  --sp-indigo:#4F46E5;
  --sp-coral:#FB8A4C;
  --sp-lavender:#F4F1FF;
  --sp-lavender-deep:#EAE3FF;
  --sp-surface:#FCFBFF;
  --sp-line:#E8E2FA;
  --sp-grad: linear-gradient(120deg, var(--sp-violet) 0%, var(--sp-indigo) 100%);
  --sp-grad-warm: linear-gradient(120deg, var(--sp-coral) 0%, #F5566B 100%);
  --sp-shadow-sm: 0 2px 10px rgba(40,20,90,0.06);
  --sp-shadow-md: 0 12px 32px rgba(60,30,120,0.10);
  --sp-shadow-lg: 0 24px 60px rgba(50,20,110,0.16);

  /* Bootstrap variable overrides */
  --bs-primary: var(--sp-violet);
  --bs-body-font-family: 'Inter', sans-serif;
  --bs-body-color: var(--sp-ink);
  --bs-border-radius: 12px;
  --bs-border-radius-lg: 18px;
}

body{
  font-family:'Inter', sans-serif;
  color:var(--sp-ink);
  background:var(--sp-surface);
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,.sp-font-display{
  font-family:'Bricolage Grotesque', sans-serif;
  color:var(--sp-ink);
  letter-spacing:-0.01em;
  line-height:1.1;
}
a{ text-decoration:none; }
.sp-container{ max-width:1220px; }

/* ---------- Buttons (layered on Bootstrap .btn) ---------- */
.btn{ font-weight:600; border-radius:12px; padding:11px 22px; }
.btn-lg{ padding:15px 28px; font-size:16px; border-radius:13px; }
.btn-primary{
  background:var(--sp-grad); border:none; color:#fff;
  box-shadow:0 8px 20px rgba(109,40,217,0.28);
  transition:transform .15s ease, box-shadow .15s ease;
}
.btn-primary:hover, .btn-primary:focus{
  background:var(--sp-grad); transform:translateY(-1px);
  box-shadow:0 12px 26px rgba(109,40,217,0.36); color:#fff;
}
.btn-outline-dark{ border:1.5px solid var(--sp-line); color:var(--sp-ink); background:#fff; }
.btn-outline-dark:hover{ border-color:var(--sp-violet-2); color:var(--sp-ink); background:#fff; }
.btn-white{ background:#fff; color:var(--sp-violet); }
.btn-white:hover{ background:#fff; color:var(--sp-violet); transform:translateY(-2px); }

/* ---------- Navbar ---------- */
.sp-navbar{
  background:rgba(252,251,255,0.88); backdrop-filter:blur(14px);
  border-bottom:1px solid var(--sp-line); padding:14px 0;
}
.sp-logo{ display:flex; align-items:center; gap:9px; font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:21px; color:var(--sp-ink); }
.sp-logo-mark{ width:32px; height:32px; border-radius:9px; background:var(--sp-grad); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.sp-navbar .nav-link{ font-size:14.5px; font-weight:500; color:var(--sp-ink-soft); }
.sp-navbar .nav-link:hover{ color:var(--sp-violet); }
.sp-navbar .nav-link.active{ color:var(--sp-violet); font-weight:600; }

/* ---------- Hero ---------- */
.sp-hero{ position:relative; padding:72px 0 40px; overflow:hidden; }
.sp-hero::before{
  content:''; position:absolute; top:-180px; right:-160px; width:560px; height:560px; border-radius:50%;
  background:radial-gradient(circle at 30% 30%, rgba(139,92,246,0.20), rgba(139,92,246,0) 70%);
  pointer-events:none;
}
.sp-eyebrow{
  display:inline-flex; align-items:center; gap:8px; padding:7px 14px 7px 8px; border-radius:99px;
  background:var(--sp-lavender); border:1px solid var(--sp-lavender-deep); font-size:13px; font-weight:600; color:var(--sp-violet);
  margin-bottom:22px;
}
.sp-eyebrow .dot{ width:20px; height:20px; border-radius:50%; background:var(--sp-grad); display:flex; align-items:center; justify-content:center; }
.sp-hero h1{ font-size:clamp(36px,5vw,60px); font-weight:700; margin-bottom:20px; }
.sp-hero h1 .accent{ background:var(--sp-grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.sp-hero p.lead{ font-size:18px; line-height:1.6; color:var(--sp-ink-soft); max-width:480px; margin-bottom:28px; }
.sp-trust-row{ display:flex; flex-wrap:wrap; gap:18px; margin:8px 0 26px; }
.sp-trust-row span{ display:flex; align-items:center; gap:7px; font-size:13.5px; font-weight:500; color:var(--sp-ink-soft); }
.sp-trust-row svg{ width:15px; height:15px; color:var(--sp-violet); flex-shrink:0; }
.sp-avatar-stack{ display:flex; }
.sp-avatar-stack img{ width:34px; height:34px; border-radius:50%; border:2.5px solid #fff; object-fit:cover; margin-left:-10px; }
.sp-avatar-stack img:first-child{ margin-left:0; }
.sp-stars{ color:#F5A623; font-size:13px; letter-spacing:1px; }

/* ---------- Hero visual + phone-preview card ---------- */
.sp-hero-visual{ position:relative; }
.sp-hero-photo{
  position:relative; border-radius:28px; overflow:hidden; box-shadow:var(--sp-shadow-lg);
  aspect-ratio:4/4.7; background:var(--sp-lavender-deep);
}
.sp-hero-photo img{ width:100%; height:100%; object-fit:cover; }
.sp-flag-pill{
  position:absolute; top:18px; left:18px; background:rgba(255,255,255,0.92); backdrop-filter:blur(6px);
  padding:7px 13px; border-radius:99px; font-size:12.5px; font-weight:700; display:flex; align-items:center; gap:6px;
  box-shadow:var(--sp-shadow-sm);
}
.sp-annotate{
  font-family:'Caveat', cursive; font-size:22px; color:var(--sp-ink); font-weight:600;
  line-height:1.25; transform:rotate(-3deg); margin:0 0 14px 6%; text-align:left;
}

/* the floating phone-frame profile-preview card, docked beside the hero photo */
.sp-phone-card{
  position:absolute; right:-8%; bottom:-8%; width:230px; background:#fff; border-radius:26px;
  box-shadow:var(--sp-shadow-lg); padding:18px 16px; z-index:3;
}
.sp-phone-card .pc-head{ display:flex; flex-direction:column; align-items:center; text-align:center; margin-bottom:12px; }
.sp-phone-card .pc-avatar{ width:56px; height:56px; border-radius:50%; object-fit:cover; border:3px solid var(--sp-lavender); margin-bottom:9px; }
.sp-phone-card .pc-name{ font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:15px; }
.sp-phone-card .pc-role{ font-size:11.5px; color:var(--sp-ink-soft); }
.sp-phone-card .pc-socials{ display:flex; justify-content:center; gap:8px; margin:11px 0 13px; }
.sp-phone-card .pc-socials span{ width:26px; height:26px; border-radius:50%; background:var(--sp-lavender); display:flex; align-items:center; justify-content:center; }
.sp-phone-card .pc-socials svg{ width:13px; height:13px; color:var(--sp-violet); }
.sp-phone-card .pc-link{
  display:flex; align-items:center; gap:9px; background:var(--sp-surface); border:1px solid var(--sp-line);
  border-radius:12px; padding:9px 10px; margin-bottom:8px;
}
.sp-phone-card .pc-link .pi{ width:30px; height:30px; border-radius:9px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.sp-phone-card .pc-link .pi svg{ width:14px; height:14px; color:#fff; }
.sp-phone-card .pc-link .pt{ font-size:11.5px; font-weight:700; line-height:1.2; }
.sp-phone-card .pc-link .ps{ font-size:10.5px; color:var(--sp-ink-soft); }

@media(max-width:980px){ .sp-phone-card{ right:2%; width:210px; } }
@media(max-width:560px){ .sp-phone-card{ position:static; width:100%; margin-top:20px; box-shadow:var(--sp-shadow-md); } }

/* ---------- Section heads ---------- */
.sp-eyebrow-sm{ font-size:13px; font-weight:700; color:var(--sp-violet); margin-bottom:12px; }
.sp-section-head h2{ font-size:clamp(28px,3.4vw,40px); font-weight:700; margin-bottom:14px; }
.sp-section-head p{ font-size:16.5px; color:var(--sp-ink-soft); line-height:1.6; }

/* ---------- Feature grid ---------- */
.sp-feature-grid{ background:var(--sp-line); border:1px solid var(--sp-line); border-radius:24px; overflow:hidden; }
.sp-feature-cell{ background:#fff; padding:34px 30px; height:100%; transition:background .2s; }
.sp-feature-cell:hover{ background:var(--sp-surface); }
.sp-feature-icon{ width:46px; height:46px; border-radius:13px; display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.sp-feature-icon svg{ width:22px; height:22px; color:#fff; }
.sp-feature-cell h3{ font-size:17px; font-weight:700; margin-bottom:8px; }
.sp-feature-cell p{ font-size:14.5px; color:var(--sp-ink-soft); line-height:1.55; margin:0; }

/* ---------- Creator profile preview section (phone mockups row) ---------- */
.sp-preview-phone{
  width:100%; max-width:300px; margin:0 auto; background:var(--sp-ink); border-radius:34px; padding:8px;
  box-shadow:var(--sp-shadow-lg);
}
.sp-preview-phone-inner{ background:#fff; border-radius:26px; padding:26px 18px; text-align:center; }
.sp-preview-phone .pp-avatar{ width:68px; height:68px; border-radius:50%; object-fit:cover; margin:0 auto 10px; border:3px solid var(--sp-lavender); }
.sp-preview-phone .pp-name{ font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:17px; }
.sp-preview-phone .pp-role{ font-size:12.5px; color:var(--sp-ink-soft); margin-bottom:14px; }
.sp-preview-phone .pp-socials{ display:flex; justify-content:center; gap:9px; margin-bottom:18px; }
.sp-preview-phone .pp-socials span{ width:30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center; }
.sp-preview-phone .pp-socials svg{ width:14px; height:14px; color:#fff; }
.sp-preview-phone .pp-link{
  display:flex; align-items:center; gap:11px; text-align:left; background:var(--sp-surface); border:1px solid var(--sp-line);
  border-radius:14px; padding:11px 13px; margin-bottom:10px;
}
.sp-preview-phone .pp-link .pi{ width:36px; height:36px; border-radius:10px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.sp-preview-phone .pp-link .pi svg{ width:16px; height:16px; color:#fff; }
.sp-preview-phone .pp-link .pt{ font-size:13px; font-weight:700; line-height:1.25; }
.sp-preview-phone .pp-link .ps{ font-size:11.5px; color:var(--sp-ink-soft); }

/* ---------- Creator showcase cards ---------- */
.sp-creator-card{ position:relative; border-radius:22px; overflow:hidden; aspect-ratio:3/3.9; box-shadow:var(--sp-shadow-md); transition:transform .25s ease, box-shadow .25s ease; display:block; }
.sp-creator-card:hover{ transform:translateY(-5px); box-shadow:var(--sp-shadow-lg); }
.sp-creator-card img{ width:100%; height:100%; object-fit:cover; }
.sp-creator-overlay{ position:absolute; inset:0; background:linear-gradient(180deg,rgba(23,18,43,0) 42%,rgba(23,18,43,0.86) 100%); }
.sp-creator-info{ position:absolute; left:0; right:0; bottom:0; padding:20px; color:#fff; }
.sp-creator-cat{ display:inline-flex; align-items:center; gap:6px; background:rgba(255,255,255,0.94); color:var(--sp-ink); padding:5px 11px; border-radius:99px; font-size:11.5px; font-weight:700; margin-bottom:11px; }
.sp-creator-info .n{ font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:19px; }
.sp-creator-info .u{ font-size:13px; opacity:0.82; margin-bottom:8px; }
.sp-creator-meta{ display:flex; align-items:center; gap:10px; font-size:12.5px; opacity:0.92; }

/* ---------- Stats band ---------- */
.sp-stats-band{ background:var(--sp-ink); border-radius:28px; padding:52px 44px; color:#fff; position:relative; overflow:hidden; }
.sp-stats-band::before{ content:''; position:absolute; top:-40%; left:-10%; width:60%; height:180%; background:radial-gradient(circle, rgba(139,92,246,0.35), transparent 65%); pointer-events:none; }
.sp-stat .num{ font-family:'Bricolage Grotesque',sans-serif; font-weight:800; font-size:clamp(28px,3.4vw,38px); background:linear-gradient(120deg,#fff,#D8CBFF); -webkit-background-clip:text; background-clip:text; color:transparent; position:relative; z-index:1; }
.sp-stat .lbl{ font-size:13.5px; color:rgba(255,255,255,0.68); margin-top:6px; position:relative; z-index:1; }

/* ---------- Product cards ---------- */
.sp-product-card{ background:#fff; border:1px solid var(--sp-line); border-radius:20px; overflow:hidden; transition:box-shadow .2s, transform .2s; height:100%; }
.sp-product-card:hover{ box-shadow:var(--sp-shadow-md); transform:translateY(-3px); }
.sp-product-cover{ aspect-ratio:1/0.92; position:relative; display:flex; align-items:center; justify-content:center; }
.sp-product-cover svg{ width:40px; height:40px; color:#fff; opacity:0.92; }
.sp-product-badge{ position:absolute; top:11px; left:11px; background:#fff; color:var(--sp-coral); font-size:10.5px; font-weight:800; padding:4px 9px; border-radius:99px; }
.sp-product-body{ padding:16px 17px 18px; }
.sp-price-now{ font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:16.5px; }
.sp-price-was{ font-size:12px; color:#B3ABCB; text-decoration:line-through; }

/* ---------- Testimonials ---------- */
.sp-testi-card{ background:#fff; border:1px solid var(--sp-line); border-radius:20px; padding:26px; box-shadow:var(--sp-shadow-sm); height:100%; }
.sp-testi-card img{ width:42px; height:42px; border-radius:50%; object-fit:cover; }

/* ---------- Payments ---------- */
.sp-pay-band{ background:linear-gradient(120deg,var(--sp-lavender) 0%, #fff 60%); border:1px solid var(--sp-line); border-radius:28px; padding:52px 44px; }
.sp-pay-chip{ background:#fff; border:1px solid var(--sp-line); border-radius:14px; padding:14px 20px; font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:15px; box-shadow:var(--sp-shadow-sm); }

/* ---------- CTA band ---------- */
.sp-cta-band{ background:var(--sp-grad); border-radius:32px; padding:72px 40px; text-align:center; position:relative; overflow:hidden; }
.sp-cta-band::before{ content:''; position:absolute; inset:0; background:radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 45%), radial-gradient(circle at 85% 80%, rgba(255,255,255,0.14), transparent 40%); }
.sp-cta-band h2{ position:relative; color:#fff; font-size:clamp(30px,4vw,44px); margin-bottom:16px; max-width:640px; margin-left:auto; margin-right:auto; }
.sp-cta-band p{ position:relative; color:rgba(255,255,255,0.86); font-size:17px; margin-bottom:30px; max-width:460px; margin-left:auto; margin-right:auto; }

/* ---------- Footer ---------- */
.sp-footer{ padding:60px 0 32px; border-top:1px solid var(--sp-line); }
.sp-footer h4{ font-size:13.5px; font-weight:700; margin-bottom:16px; }
.sp-footer a.sp-footer-link{ display:block; font-size:14px; color:var(--sp-ink-soft); margin-bottom:10px; }
.sp-footer a.sp-footer-link:hover{ color:var(--sp-violet); }
.sp-social-icons a{ width:36px; height:36px; border-radius:50%; background:var(--sp-lavender); display:flex; align-items:center; justify-content:center; }
.sp-social-icons svg{ width:16px; height:16px; color:var(--sp-violet); }

/* ---------- Generic surfaces reused across dashboard/admin/auth pages ---------- */
.sp-card{ background:#fff; border:1px solid var(--sp-line); border-radius:18px; padding:24px; }
.sp-badge-soft{ background:var(--sp-lavender); color:var(--sp-violet); border-radius:99px; padding:4px 12px; font-size:12px; font-weight:700; }
.sp-sidebar{ background:#fff; border-right:1px solid var(--sp-line); min-height:100vh; }
.sp-sidebar a{ display:flex; align-items:center; gap:11px; padding:11px 16px; border-radius:11px; color:var(--sp-ink-soft); font-size:14px; font-weight:500; margin-bottom:3px; }
.sp-sidebar a:hover{ background:var(--sp-lavender); color:var(--sp-violet); }
.sp-sidebar a.active{ background:var(--sp-lavender); color:var(--sp-violet); font-weight:700; }
.sp-sidebar a svg{ width:17px; height:17px; flex-shrink:0; }
.sp-stat-tile{ background:#fff; border:1px solid var(--sp-line); border-radius:16px; padding:20px; }
.sp-stat-tile .v{ font-family:'Bricolage Grotesque',sans-serif; font-weight:800; font-size:26px; }
.sp-stat-tile .l{ font-size:13px; color:var(--sp-ink-soft); }
.sp-table th{ font-size:12.5px; text-transform:uppercase; letter-spacing:0.03em; color:var(--sp-ink-soft); border-bottom:1px solid var(--sp-line); padding:10px 12px; }
.sp-table td{ padding:12px; border-bottom:1px solid var(--sp-line); font-size:14px; vertical-align:middle; }
.sp-status-pill{ font-size:11.5px; font-weight:700; padding:4px 10px; border-radius:99px; }
.sp-status-paid, .sp-status-confirmed, .sp-status-active{ background:#E4F7EA; color:#1A9A4C; }
.sp-status-pending{ background:#FFF3DD; color:#B77A11; }
.sp-status-failed, .sp-status-cancelled{ background:#FEE7E7; color:#D33E3E; }

@media(max-width:768px){
  .sp-stats-band{ padding:36px 24px; }
  .sp-cta-band{ padding:52px 24px; }
  .sp-pay-band{ padding:36px 24px; }
}
