/* ─── Allumnova — Stripe/Linear/Notion-Inspired CSS ─── */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --purple:      #5B21B6;
  --purple-mid:  #7C3AED;
  --purple-light:#EDE9FE;
  --blue:        #1D4ED8;
  --text:        #0A0A0F;
  --text-2:      #374151;
  --muted:       #6B7280;
  --muted-light: #9CA3AF;
  --bg:          #FFFFFF;
  --bg-2:        #F9FAFB;
  --bg-3:        #F3F4F6;
  --border:      #E5E7EB;
  --border-soft: rgba(0,0,0,0.06);
  --glass:       rgba(255, 255, 255, 0.7);
  --glass-border:rgba(255, 255, 255, 0.4);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

/* ── Custom cursor ── */
.cursor {
  position: fixed;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--purple);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.18s ease, height 0.18s ease, opacity 0.2s ease;
  z-index: 9999;
  mix-blend-mode: multiply;
}
a:hover ~ .cursor, button:hover ~ .cursor {
  width: 30px; height: 30px;
}

/* ── Gradient text ── */
.grad-text {
  background: linear-gradient(135deg, #5B21B6 0%, #7C3AED 50%, #2563EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Typography scale ── */
.display-xl {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--text);
}
.display-lg {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--text);
}
.display-md {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}
.body-lg { font-size: 1.125rem; line-height: 1.75; color: var(--text-2); }
.body-md { font-size: 1rem;     line-height: 1.7;  color: var(--muted); }
.body-sm { font-size: 0.875rem; line-height: 1.65; color: var(--muted); }

/* nav styles now defined in header.php pill component */


/* ── Cards ── */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.card-hover {
  transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.card-hover:hover {
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.1);
  transform: translateY(-3px);
}
.shadow-sm  { box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04); }
.shadow-md  { box-shadow: 0 4px 16px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04); }
.shadow-lg  { box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04); }
.shadow-xl  { box-shadow: 0 20px 60px rgba(0,0,0,0.1), 0 4px 16px rgba(0,0,0,0.06); }

/* ── Multi-Sensory Eye: Glass & Mesh ── */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.mesh-bg {
  position: relative;
  background-color: #ffffff;
  background-image: 
    radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), 
    radial-gradient(at 50% 0%, hsla(225,39%,30%,1) 0, transparent 50%), 
    radial-gradient(at 100% 0%, hsla(339,49%,30%,1) 0, transparent 50%);
  background-attachment: fixed;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.9375rem;
  background: var(--text);
  color: white;
  border: none; cursor: pointer; text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-primary:hover {
  background: #1a1a2e;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-purple {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.9375rem;
  background: var(--purple-mid);
  color: white;
  border: none; cursor: pointer; text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 2px 8px rgba(124,58,237,0.3);
}
.btn-purple:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(124,58,237,0.4);
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.9375rem;
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
  cursor: pointer; text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.btn-ghost:hover {
  border-color: var(--purple-mid);
  background: var(--purple-light);
  color: var(--purple);
}

/* ── Tags / Pills ── */
.tag {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.03em;
  background: var(--purple-light);
  color: var(--purple-mid);
  border: 1px solid rgba(124,58,237,0.15);
}

/* ── Divider ── */
.divider {
  height: 1px;
  background: var(--border);
  border: none; margin: 0;
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(4px);
  transition: 
    opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), 
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); filter: blur(0); }
.d1 { transition-delay: 0.05s; }
.d2 { transition-delay: 0.12s; }
.d3 { transition-delay: 0.19s; }
.d4 { transition-delay: 0.26s; }
.d5 { transition-delay: 0.33s; }

/* ── Section spacing ── */
.section { padding: 7rem 1.5rem; }
.section-sm { padding: 4rem 1.5rem; }

/* ── Pulse dot ── */
.dot-live {
  width: 8px; height: 8px; border-radius: 50%;
  background: #10B981; display: inline-block;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.6);
  animation: dot-pulse 2s infinite;
}
@keyframes dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.6); }
  70%  { box-shadow: 0 0 0 7px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

/* ── Stats ticker ── */
.ticker-wrap { overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 5rem; animation: ticker 28s linear infinite; }
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Quote mark ── */
.quote-mark {
  font-family: Georgia, serif;
  font-size: 5rem; line-height: 1;
  color: var(--purple-light);
  user-select: none; display: block; margin-bottom: -1.5rem;
}

/* ── Image blocks ── */
.img-rounded { border-radius: 20px; overflow: hidden; display: block; }
.img-rounded img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Number step ── */
.step-num {
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em;
  color: var(--purple-mid);
  text-transform: uppercase;
}

/* ── Horizontal rule with label ── */
.rule-label {
  display: flex; align-items: center; gap: 1rem;
  color: var(--muted-light); font-size: 0.8rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.rule-label::before, .rule-label::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ── Problem card ── */
.problem-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: 10px;
  background: #FEF2F2; border: 1px solid #FECACA;
  color: #DC2626; font-size: 0.875rem; font-weight: 500;
}

/* ── Avatar stack ── */
.avatar-stack { display: flex; }
.avatar-stack img, .avatar-stack span {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid white; margin-left: -10px;
  object-fit: cover; display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700;
}
.avatar-stack > *:first-child { margin-left: 0; }

/* ── Video overlay ── */
.video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.35) 0%, transparent 60%);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .display-xl { font-size: 2.4rem; }
  .display-lg { font-size: 1.9rem; }
  .btn-primary, .btn-purple, .btn-ghost { width: 100%; justify-content: center; }
  .section { padding: 4rem 1.25rem; }
}
