/* ============================================================
   SITECRAFT — GLOBAL STYLESHEET
   Dark theme, glassmorphism, subtle animations.
   Mobile-first responsive design.
   ============================================================ */

:root {
  --bg-0: #07080c;
  --bg-1: #0d1018;
  --bg-2: #131826;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e7eaf0;
  --text-dim: #9aa3b2;
  --text-muted: #6b7384;
  --brand: #7c5cff;
  --brand-2: #ff5cbd;
  --accent: #4ad6ff;
  --success: #2ecc71;
  --warn: #f5a623;
  --danger: #ff5470;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-lg: 0 30px 80px -20px rgba(0,0,0,0.6);
  --ease: cubic-bezier(.2,.7,.2,1);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(124,92,255,0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(255,92,189,0.12), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(74,214,255,0.08), transparent 60%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* -------- Layout helpers -------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.grid { display: grid; gap: 18px; }
.flex { display: flex; gap: 12px; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hidden { display: none !important; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.text-dim { color: var(--text-dim); }
.text-muted { color: var(--text-muted); font-size: 13px; }
.small { font-size: 13px; }

/* -------- Header -------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7,8,12,0.55);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 700; letter-spacing: -.02em; font-size: 18px; }
.logo .dot { color: var(--brand); }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--text-dim); font-size: 14px; transition: color .2s var(--ease); }
.nav a:hover { color: var(--text); }

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); font-size: 14px; font-weight: 500;
  transition: transform .15s var(--ease), background .2s var(--ease), border .2s var(--ease);
}
.btn .icon { vertical-align: middle; }
.btn:hover { background: var(--surface-strong); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  border-color: transparent; color: #fff;
  box-shadow: 0 10px 30px -10px rgba(124,92,255,.6);
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; }
.btn-danger { background: rgba(255,84,112,.12); border-color: rgba(255,84,112,.35); color: #ffb4be; }
.btn-sm { padding: 6px 12px; font-size: 12.5px; }
.btn-block { display: flex; width: 100%; }

/* -------- Hero / landing -------- */
.hero {
  position: relative; overflow: hidden;
  padding: 110px 0 80px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: -.03em; line-height: 1.05;
  margin: 18px 0 16px;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.55) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 60%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: var(--text-dim); font-size: 17px; max-width: 620px; margin: 0 auto 28px; }
.hero .pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-dim); font-size: 12.5px;
  animation: fadeUp .8s var(--ease) both;
}
.hero .cta-row { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero .glow {
  position: absolute; inset: -100px 10% auto 10%; height: 380px;
  background: radial-gradient(closest-side, rgba(124,92,255,.45), transparent 70%);
  filter: blur(60px); z-index: -1; pointer-events: none;
}

/* -------- Feature grid -------- */
.features { padding: 70px 0; }
.features .grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feature {
  padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  transition: transform .25s var(--ease), border .25s var(--ease);
}
.feature:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.feature .icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(124,92,255,.25), rgba(255,92,189,.18));
  color: #fff;
}
.feature h3 { margin: 0 0 6px; font-size: 16px; }
.feature p { margin: 0; color: var(--text-dim); font-size: 14px; }

/* -------- Cards / glass panels -------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border .25s var(--ease), transform .25s var(--ease);
}
.card:hover { border-color: var(--border-strong); }
.card h2, .card h3 { margin: 0 0 8px; }
.card .meta { color: var(--text-muted); font-size: 12.5px; }

/* -------- Forms -------- */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 13px; color: var(--text-dim); }
.form-group .hint { font-size: 12px; color: var(--text-muted); }
.input, .select, .textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14px;
  outline: none;
  transition: border .15s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease);
}
.input:focus, .select:focus, .textarea:focus {
  border-color: rgba(124,92,255,.55);
  box-shadow: 0 0 0 4px rgba(124,92,255,.12);
  background: rgba(255,255,255,0.05);
}
.textarea { resize: vertical; min-height: 110px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }

.checkbox-grid, .chip-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px;
}
.chip {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 10px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  cursor: pointer; user-select: none; font-size: 13.5px;
  transition: border .2s var(--ease), background .2s var(--ease);
}
.chip:hover { border-color: var(--border-strong); }
.chip input { accent-color: var(--brand); }
.chip.active { border-color: rgba(124,92,255,.6); background: rgba(124,92,255,.10); }

.color-row { display: flex; gap: 14px; flex-wrap: wrap; }
.color-row label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--text-dim); }
.color-row input[type="color"] {
  width: 56px; height: 36px; padding: 0; border: 1px solid var(--border);
  background: transparent; border-radius: 10px; cursor: pointer;
}

.error-msg {
  color: #ffb4be; background: rgba(255,84,112,.08);
  border: 1px solid rgba(255,84,112,.35); padding: 10px 14px; border-radius: 12px;
  font-size: 13.5px; margin-top: 12px;
}
.success-msg {
  color: #bff5d2; background: rgba(46,204,113,.10);
  border: 1px solid rgba(46,204,113,.35); padding: 10px 14px; border-radius: 12px;
  font-size: 13.5px; margin-top: 12px;
}
.field-error { color: #ffb4be; font-size: 12.5px; margin-top: 4px; }
.input.invalid, .textarea.invalid, .select.invalid { border-color: rgba(255,84,112,.5); }

/* -------- Inspiration list -------- */
.url-list { display: flex; flex-direction: column; gap: 8px; }
.url-row { display: flex; gap: 8px; }
.url-row .input { flex: 1; }

/* -------- Status badges -------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 500;
  background: var(--surface); border: 1px solid var(--border);
}
.badge.pending { background: rgba(245,166,35,.12); border-color: rgba(245,166,35,.35); color: #ffd699; }
.badge.review { background: rgba(74,214,255,.12); border-color: rgba(74,214,255,.35); color: #bfeeff; }
.badge.ready, .badge.approved, .badge.completed, .badge.confirmed, .badge.resolved {
  background: rgba(46,204,113,.12); border-color: rgba(46,204,113,.35); color: #bff5d2;
}
.badge.changes, .badge.open, .badge.awaiting { background: rgba(124,92,255,.12); border-color: rgba(124,92,255,.35); color: #d3c4ff; }
.badge.closed, .badge.suspended { background: rgba(107,115,132,.18); border-color: var(--border); color: var(--text-dim); }
.badge.priority-high { background: rgba(255,84,112,.12); border-color: rgba(255,84,112,.35); color: #ffb4be; }
.badge.priority-medium { background: rgba(245,166,35,.12); border-color: rgba(245,166,35,.35); color: #ffd699; }
.badge.priority-low { background: rgba(154,163,178,.12); border-color: var(--border); color: var(--text-dim); }
.badge.role-admin, .badge.role-super_admin { background: rgba(124,92,255,.14); border-color: rgba(124,92,255,.4); color: #d3c4ff; }

/* -------- Tabs -------- */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.tab {
  padding: 10px 16px; background: transparent; border: none; color: var(--text-dim);
  font-size: 13.5px; border-bottom: 2px solid transparent; cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--text); border-bottom-color: var(--brand); }

/* -------- Tables -------- */
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.table th { color: var(--text-dim); font-weight: 500; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; }
.table tr:hover td { background: rgba(255,255,255,0.02); }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }

/* -------- Modal -------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  backdrop-filter: blur(6px); z-index: 100;
  display: grid; place-items: center; padding: 20px;
  animation: fadeIn .2s var(--ease);
}
.modal {
  background: var(--bg-1); border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); padding: 24px; width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto;
  animation: slideUp .25s var(--ease);
}
.modal h3 { margin-top: 0; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }

/* -------- Toast -------- */
.toast-container { position: fixed; top: 80px; right: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  padding: 12px 16px; border-radius: 12px; min-width: 240px; max-width: 360px;
  background: var(--bg-2); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg); font-size: 13.5px;
  animation: slideInRight .25s var(--ease);
}
.toast.success { border-left: 3px solid var(--success); }
.toast.error { border-left: 3px solid var(--danger); }
.toast.info { border-left: 3px solid var(--accent); }

/* -------- Dashboard layout -------- */
.dash {
  display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 64px);
}
.dash-side {
  border-right: 1px solid var(--border); padding: 22px 14px;
  background: rgba(0,0,0,.18);
}
.dash-side h4 { color: var(--text-muted); text-transform: uppercase; font-size: 11px; letter-spacing: .1em; margin: 16px 8px 8px; }
.dash-side a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 10px; color: var(--text-dim); font-size: 14px;
  transition: background .2s var(--ease), color .2s var(--ease);
  cursor: pointer;
}
.dash-side a:hover { background: var(--surface); color: var(--text); }
.dash-side a.active { background: var(--surface-strong); color: var(--text); }
.dash-main { padding: 28px; }
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; gap: 12px; flex-wrap: wrap; }
.dash-header h1 { margin: 0; font-size: 24px; letter-spacing: -.02em; }

@media (max-width: 860px) {
  .dash { grid-template-columns: 1fr; }
  .dash-side { display: flex; flex-wrap: wrap; gap: 6px; border-right: none; border-bottom: 1px solid var(--border); padding: 12px; }
  .dash-side h4 { display: none; }
  .dash-side a { padding: 6px 10px; font-size: 13px; }
  .dash-main { padding: 18px; }
}

/* -------- Stat cards -------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px;
}
.stat .label { color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.stat .value { font-size: 28px; font-weight: 600; letter-spacing: -.02em; margin-top: 6px; }

/* -------- Profile bubble -------- */
.profile { display: flex; align-items: center; gap: 10px; }
.profile img { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border-strong); }
.profile .name { font-size: 13.5px; }

/* -------- Animations -------- */
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp  { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes spin { to { transform: rotate(360deg); } }

.fade-in { animation: fadeIn .4s var(--ease) both; }
.slide-up { animation: slideUp .5s var(--ease) both; }
.float { animation: float 4s ease-in-out infinite; }

.spinner {
  width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.2);
  border-top-color: var(--brand); border-radius: 50%;
  animation: spin .8s linear infinite; display: inline-block;
}

/* Stagger child animations */
.stagger > * { animation: fadeUp .6s var(--ease) both; }
.stagger > *:nth-child(1) { animation-delay: .05s; }
.stagger > *:nth-child(2) { animation-delay: .12s; }
.stagger > *:nth-child(3) { animation-delay: .19s; }
.stagger > *:nth-child(4) { animation-delay: .26s; }
.stagger > *:nth-child(5) { animation-delay: .33s; }
.stagger > *:nth-child(6) { animation-delay: .40s; }

/* -------- Auth gate -------- */
.auth-gate {
  display: grid; place-items: center; min-height: 70vh; padding: 24px;
}
.auth-card { max-width: 420px; text-align: center; padding: 30px; }
.auth-card h2 { margin: 0 0 10px; }
.gsi-mount { display: flex; justify-content: center; margin-top: 16px; }

/* -------- Footer -------- */
.site-footer { padding: 40px 0 30px; border-top: 1px solid var(--border); margin-top: 60px; color: var(--text-muted); font-size: 13px; }
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* -------- Utility for status pill list -------- */
.status-step { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-dim); }
.status-step .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted); }
.status-step.done .dot { background: var(--success); }
.status-step.current .dot { background: var(--brand); box-shadow: 0 0 0 4px rgba(124,92,255,.2); }

/* ============================================================
   HERO V2 — gradient title, animated badge, mockup, glow
   ============================================================ */
.hero-v2 {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
  text-align: center;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }

/* Display font for headings */
.hero-title, .section-head h2, .cta-card h2 {
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  letter-spacing: -.035em;
}

/* Badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  font-size: 13px; color: var(--text-dim);
  backdrop-filter: blur(10px);
  transition: border .2s var(--ease), background .2s var(--ease);
}
.hero-badge:hover { border-color: rgba(124,92,255,.5); background: rgba(124,92,255,.06); }
.hero-badge .badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(124,92,255,.25);
  animation: pulse 2s ease-in-out infinite;
}
.hero-badge .badge-text { color: var(--text); font-weight: 500; }
.hero-badge .badge-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-weight: 500; font-size: 12px;
}

/* Title with gradient */
.hero-title {
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 700;
  line-height: 1.02;
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,.45) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 30px rgba(124,92,255,.18));
}
.hero-title-grad {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 50%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-desc {
  max-width: 620px;
  color: var(--text-dim);
  font-size: clamp(16px, 1.4vw, 19px);
  margin: 0;
  font-weight: 400;
}

.hero-cta {
  display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}

/* Bigger button variant for landing */
.btn-lg { padding: 14px 22px; font-size: 15px; font-weight: 600; border-radius: 12px; }

/* Glow button (gradient outline + soft halo) */
.btn-glow {
  position: relative;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(124,92,255,.4);
  color: var(--text);
  box-shadow: 0 0 0 0 rgba(124,92,255,.5);
  transition: box-shadow .3s var(--ease), border .2s var(--ease), transform .15s var(--ease);
}
.btn-glow:hover {
  border-color: rgba(124,92,255,.85);
  box-shadow: 0 0 24px 0 rgba(124,92,255,.45), inset 0 0 24px rgba(124,92,255,.08);
  transform: translateY(-1px);
}

/* Mockup */
.hero-mockup-wrap {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin-top: 24px;
}
.mockup-frame {
  position: relative; z-index: 2;
  padding: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.04) inset;
  backdrop-filter: blur(12px);
}
.mockup {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
}
.mockup-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: rgba(0,0,0,.4);
  border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 11px; height: 11px; border-radius: 50%; }
.mockup-url {
  flex: 1; text-align: center;
  font-size: 12px; color: var(--text-muted);
  font-family: ui-monospace, 'SF Mono', Consolas, monospace;
}
.mockup img { width: 100%; height: auto; display: block; }

/* Glow underlay */
.hero-glow {
  position: absolute; left: 50%; top: -10%;
  width: 80%; height: 60%;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at center, rgba(124,92,255,.55) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 50%, rgba(255,92,189,.35) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 50%, rgba(74,214,255,.3) 0%, transparent 55%);
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}

/* Appear animations + delays (matches React tailwind variants) */
@keyframes appear      { 0% { opacity: 0; transform: translateY(14px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes appear-zoom { 0% { opacity: 0; transform: translateX(-50%) scale(.92); } 100% { opacity: 1; transform: translateX(-50%) scale(1); } }
@keyframes pulse       { 0%,100% { box-shadow: 0 0 0 4px rgba(124,92,255,.25); } 50% { box-shadow: 0 0 0 8px rgba(124,92,255,.05); } }

.animate-appear      { opacity: 0; animation: appear .7s var(--ease) forwards; }
.animate-appear-zoom { opacity: 0; animation: appear-zoom .9s var(--ease) forwards; }
.delay-100  { animation-delay: 100ms; }
.delay-300  { animation-delay: 300ms; }
.delay-500  { animation-delay: 500ms; }
.delay-700  { animation-delay: 700ms; }
.delay-1000 { animation-delay: 1000ms; }

/* Section heads */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.section-head .kicker {
  display: inline-block;
  padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(124,92,255,.12); border: 1px solid rgba(124,92,255,.3);
  color: #d3c4ff;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px); font-weight: 700;
  margin: 0 0 10px;
  background: linear-gradient(180deg, #fff, rgba(255,255,255,.6));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head p { color: var(--text-dim); font-size: 16px; margin: 0; }

/* UI element tag cloud */
.ui-tags {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  max-width: 900px; margin: 0 auto;
}
.ui-tag {
  padding: 10px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-strong);
  font-size: 14px; font-weight: 500;
  transition: transform .2s var(--ease), border .2s var(--ease), background .2s var(--ease);
  cursor: default;
}
.ui-tag:hover { transform: translateY(-2px); border-color: rgba(124,92,255,.5); background: rgba(124,92,255,.08); }

/* Notice card */
.notice-card {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 22px; max-width: 820px; margin: 0 auto;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(245,166,35,.08), rgba(255,92,189,.05));
  border: 1px solid rgba(245,166,35,.25);
}
.notice-card .notice-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(245,166,35,.15); border-radius: 10px;
  color: #ffd699;
}
.notice-card h4 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.notice-card p { margin: 0; }

/* CTA card */
.cta-card {
  text-align: center;
  padding: 50px 30px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at top, rgba(124,92,255,.18), transparent 70%),
    var(--surface);
  border: 1px solid var(--border-strong);
}
.cta-card h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 8px; }
.cta-card p { margin: 0 0 18px; font-size: 16px; }

/* Section-head kicker on landing */
.features { padding: 60px 0; }

/* Quote strip — admin-set quote shown to user */
.quote-strip {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(245,166,35,.10), rgba(255,92,189,.06));
  border: 1px solid rgba(245,166,35,.30);
}

/* SVG icon defaults */
.icon { display: inline-block; vertical-align: -3px; flex-shrink: 0; }

/* Icon tile inside feature cards */
.icon-tile {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124,92,255,.18), rgba(255,92,189,.12));
  border: 1px solid rgba(124,92,255,.25);
  color: #d3c4ff;
  margin-bottom: 14px;
}
.feature .step-num {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 6px;
}

/* Trust strip */
.trust-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px;
  padding: 20px 20px 40px;
  color: var(--text-dim); font-size: 13.5px;
}
.trust-item { display: inline-flex; align-items: center; gap: 8px; }
.trust-item .icon { color: var(--brand); }

/* UI tag with icon */
.ui-tag { display: inline-flex; align-items: center; gap: 8px; }
.ui-tag .icon { color: var(--brand); }

/* Notice icon already inherits color */
.notice-card .notice-icon .icon { color: inherit; }

/* Payment grid */
.pay-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 900px; margin: 0 auto;
}
.pay-tile {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  transition: border .2s var(--ease), transform .2s var(--ease);
}
.pay-tile:hover { transform: translateY(-2px); border-color: rgba(124,92,255,.4); }
.pay-tile .pay-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(124,92,255,.12);
  color: var(--brand);
}
.pay-tile .pay-name { font-weight: 600; font-size: 15px; }
.pay-tile > div:nth-child(2) { flex: 1; }
.pay-tile.soon { opacity: .65; }
.pay-tile.soon .pay-icon { background: rgba(255,255,255,.05); color: var(--text-muted); }
.pay-tile.active { border-color: rgba(46,204,113,.4); background: rgba(46,204,113,.04); }
.pay-tile.active .pay-icon { background: rgba(46,204,113,.15); color: #bff5d2; }

/* FAQ */
.faq-list {
  max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 10px;
}
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border .2s var(--ease);
}
.faq-item[open], .faq-item:hover { border-color: var(--border-strong); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 20px; cursor: pointer; list-style: none;
  font-weight: 500; font-size: 15px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-chev { color: var(--text-muted); transition: transform .25s var(--ease); }
.faq-item[open] .faq-chev { transform: rotate(180deg); color: var(--brand); }
.faq-item p {
  margin: 0; padding: 0 20px 18px;
  color: var(--text-dim); font-size: 14.5px; line-height: 1.6;
}

/* ============================================================
   CTA WITH RECTANGLE — shadow-glow inset + fade-top mask
   ============================================================ */
.cta-rect {
  position: relative;
  max-width: 920px; margin: 0 auto;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at top, rgba(124,92,255,.20), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
  border: 1px solid var(--border-strong);
  overflow: hidden;
}
.cta-rect-inner {
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 18px;
  padding: 60px 32px 70px;
}
.cta-badge {
  display: inline-block;
  padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 500; letter-spacing: .04em;
  background: rgba(255,255,255,.04); border: 1px solid var(--border-strong);
  color: var(--text-dim);
}
.cta-title {
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -.03em;
  margin: 0;
  background: linear-gradient(180deg, #fff, rgba(255,255,255,.6));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-desc { margin: 0; color: var(--text-dim); max-width: 520px; }
/* The signature shadow-glow inset + fade-top mask (from the CTA-with-rectangle component) */
.cta-rect-glow {
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  pointer-events: none;
  box-shadow:
    0 -16px 128px 0 hsla(31, 97%, 72%, 0.4) inset,
    0 -16px 32px  0 hsla(27, 96%, 61%, 0.4) inset;
  -webkit-mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,1) 8rem);
          mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,1) 8rem);
}

@keyframes scale-in { 0% { opacity: 0; transform: scale(.95); } 100% { opacity: 1; transform: scale(1); } }
.animate-scale-in { opacity: 0; animation: scale-in .9s var(--ease) forwards; }
.delay-200 { animation-delay: 200ms; }

/* Mobile tweaks for new hero */
@media (max-width: 640px) {
  .hero-v2 { padding: 50px 0 40px; }
  .hero-badge { font-size: 12px; }
  .hero-badge .badge-link { padding: 3px 8px; font-size: 11px; }
  .mockup-bar { padding: 8px 10px; }
  .mockup-dot { width: 9px; height: 9px; }
  .ui-tag { padding: 8px 12px; font-size: 13px; }
  .cta-card { padding: 36px 20px; }
}
