/* ============================================================
   MaThStudio.ai — Global Stylesheet
   Theme: Dark Tech (Deep Navy + Electric Blue + White)
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── CSS Custom Properties ── */
:root {
  --bg:           #060d1f;
  --bg-alt:       #0a1628;
  --bg-card:      #0f1e35;
  --bg-card-2:    #142440;
  /* Primary accent — electric blue */
  --gold:         #4f7aff;
  --gold-light:   #7b9fff;
  --gold-dim:     rgba(79, 122, 255, 0.12);
  --gold-border:  rgba(79, 122, 255, 0.28);
  /* Secondary accent — cyan */
  --cyan:         #06b6d4;
  --cyan-dim:     rgba(6, 182, 212, 0.12);
  --cyan-border:  rgba(6, 182, 212, 0.28);
  /* Tertiary accent — purple */
  --purple:       #8b5cf6;
  --purple-dim:   rgba(139, 92, 246, 0.12);
  --purple-border:rgba(139, 92, 246, 0.28);
  /* Emerald for success/featured */
  --emerald:      #10b981;
  --cream:        #eceef5;
  --cream-dim:    #9aa3bf;
  --charcoal:     #1e3a5f;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow:       0 4px 24px rgba(0,0,0,0.6);
  --shadow-gold:  0 0 40px rgba(79, 122, 255, 0.25);
  --shadow-cyan:  0 0 40px rgba(6, 182, 212, 0.2);
  --shadow-purple:0 0 40px rgba(139, 92, 246, 0.2);
  --transition:   0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --nav-height:   72px;
  --container:    1160px;
  --section-gap:  120px;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(3rem, 8vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
p  { font-size: 1rem; }

.gold         { color: var(--gold); }
.cream-dim    { color: var(--cream-dim); }
.text-center  { text-align: center; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.section {
  padding-block: var(--section-gap);
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  color: var(--cream);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-lg { padding: 16px 36px; font-size: 1rem; border-radius: 10px; }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }

.btn-gold {
  background: var(--gold);
  color: #ffffff;
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(79, 122, 255, 0.35);
}

.btn-outline {
  border: 1.5px solid var(--gold-border);
  color: var(--cream);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--gold);
  background: transparent;
  border: none;
  padding: 8px 0;
}
.btn-ghost:hover { color: var(--gold-light); }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition);
}
.nav--scrolled {
  background: rgba(6, 13, 31, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--gold-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: var(--nav-height);
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 44px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cream-dim);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta { margin-left: 8px; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 122, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 122, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 70%, rgba(79, 122, 255, 0.13) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 80% 15%, rgba(139, 92, 246, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 60% 85%, rgba(6, 182, 212, 0.08) 0%, transparent 55%);
  animation: heroGlow 10s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  0%   { opacity: 0.5; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.04); }
}

/* Animated floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: orbFloat linear infinite;
}
.hero-orb-1 {
  width: 400px; height: 400px;
  background: rgba(79, 122, 255, 0.18);
  top: -80px; left: -80px;
  animation-duration: 20s;
}
.hero-orb-2 {
  width: 300px; height: 300px;
  background: rgba(139, 92, 246, 0.14);
  top: 40%; right: -60px;
  animation-duration: 25s;
  animation-delay: -8s;
}
.hero-orb-3 {
  width: 240px; height: 240px;
  background: rgba(6, 182, 212, 0.12);
  bottom: -40px; left: 40%;
  animation-duration: 18s;
  animation-delay: -4s;
}
@keyframes orbFloat {
  0%   { transform: translate(0, 0)   rotate(0deg); }
  33%  { transform: translate(40px, -30px) rotate(120deg); }
  66%  { transform: translate(-20px, 40px) rotate(240deg); }
  100% { transform: translate(0, 0)   rotate(360deg); }
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: var(--nav-height);
}
.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--cream) 40%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--cream-dim);
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: 48px;
  font-weight: 300;
  letter-spacing: 0.03em;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--cream-dim);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── Project Cards ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.project-card:hover {
  border-color: rgba(79, 122, 255, 0.5);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}
.project-card:hover::before { opacity: 1; }

.project-card--featured {
  background: linear-gradient(135deg, #1a1500 0%, #1a1a1a 100%);
  border-color: var(--gold);
}
.project-card--featured::before { opacity: 0.5; }

.project-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.project-icon svg { width: 26px; height: 26px; }
.project-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.project-name {
  font-size: 1.45rem;
  color: var(--cream);
  margin-top: -4px;
}
.project-desc {
  font-size: 0.92rem;
  color: var(--cream-dim);
  line-height: 1.7;
  flex: 1;
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: 8px;
  transition: gap var(--transition), color var(--transition);
}
.project-link:hover { gap: 12px; color: var(--gold-light); }
.project-num {
  position: absolute;
  bottom: 24px;
  right: 28px;
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(79, 122, 255, 0.05);
  line-height: 1;
  pointer-events: none;
}

/* ── AI Guide Banner ── */
.aiguide-banner {
  background: linear-gradient(135deg, #110f00 0%, var(--bg-alt) 50%, #0f1100 100%);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding-block: 80px;
}
.aiguide-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.aiguide-banner-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 12px; }
.aiguide-banner-text p  { color: var(--cream-dim); max-width: 520px; font-size: 1rem; }

/* ── About Teaser ── */
.about-teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-teaser-text .section-label { display: block; margin-bottom: 12px; }
.about-teaser-text .section-title { margin-bottom: 20px; }
.about-teaser-text p {
  color: var(--cream-dim);
  margin-bottom: 36px;
  font-size: 1.05rem;
  max-width: 480px;
}
.about-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.stat-divider {
  width: 100%;
  height: 1px;
  background: var(--gold-border);
}

/* ── Apps / Download Section ── */
.apps-teaser {
  background: var(--bg-alt);
  padding-block: 80px;
}
.apps-teaser-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.apps-teaser h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 8px; }
.apps-teaser p  { color: var(--cream-dim); }

/* ── Footer ── */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--gold-border);
  padding-block: 60px 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}
.footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-brand p { color: var(--cream-dim); font-size: 0.9rem; max-width: 280px; }
.footer-nav-group h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-nav-group a {
  display: block;
  color: var(--cream-dim);
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-nav-group a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid var(--gold-border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 0.82rem; color: var(--cream-dim); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.82rem; color: var(--cream-dim); transition: color var(--transition); }
.footer-legal a:hover { color: var(--gold); }

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  text-align: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(79, 122, 255, 0.06) 0%, transparent 70%);
}
.page-hero-label { display: block; margin-bottom: 12px; }
.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  background: linear-gradient(135deg, var(--cream) 40%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  position: relative;
}
.page-hero p {
  font-size: 1.1rem;
  color: var(--cream-dim);
  max-width: 560px;
  margin-inline: auto;
  position: relative;
}

/* ── Divider ── */
.divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin-block: 24px;
}
.divider--center { margin-inline: auto; }

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
}
.card:hover {
  border-color: rgba(79, 122, 255, 0.45);
  box-shadow: var(--shadow-gold);
}

/* ── Form Controls ── */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--cream-dim);
}
.form-input {
  background: var(--bg-card-2);
  border: 1.5px solid var(--gold-border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-input::placeholder { color: rgba(160, 144, 128, 0.5); }
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(79, 122, 255, 0.12);
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--cream-dim);
  margin-bottom: 32px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: var(--cream-dim); }

/* ── Scroll Animations ── */
.animate {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.animate[data-anim="fade-right"] { transform: translateX(-48px); opacity: 0; }
.animate[data-anim="fade-left"]  { transform: translateX(48px);  opacity: 0; }
.animate[data-anim="scale-in"]   { transform: scale(0.88);       opacity: 0; }
.animate[data-anim="fade-up"]    { transform: translateY(36px);  opacity: 0; }
.animate.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  :root { --section-gap: 80px; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .about-teaser-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-gap: 64px; }
  .nav-links, .nav-cta { display: none; }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(13,13,13,0.97);
    backdrop-filter: blur(20px);
    padding: 32px 24px 48px;
    gap: 24px;
    border-bottom: 1px solid var(--gold-border);
  }
  .nav-links.is-open + .nav-cta { display: block; }
  .nav-toggle { display: flex; }
  .projects-grid { grid-template-columns: 1fr; }
  .aiguide-banner-inner { flex-direction: column; text-align: center; }
  .about-teaser-inner { gap: 32px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-title { font-size: clamp(3rem, 14vw, 5rem); }
  .apps-teaser-inner { flex-direction: column; }
  .footer-inner { gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding-inline: 16px; }
  .btn-lg { padding: 14px 24px; font-size: 0.95rem; }
}

/* ═══════════════════════════════════════════
   VIBRANCE ENHANCEMENTS
   ═══════════════════════════════════════════ */

/* ── Coloured project card variants ── */
.project-card--v1   { border-color: var(--gold-border); }
.project-card--v1:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); }
.project-card--v1 .project-icon { background: var(--gold-dim); border-color: var(--gold-border); color: var(--gold); }
.project-card--v1 .project-tag  { color: var(--gold); }
.project-card--v1 .project-link { color: var(--gold); }
.project-card--v1::before { background: linear-gradient(90deg, transparent, var(--gold), transparent); }

.project-card--ba   { border-color: var(--cyan-border); }
.project-card--ba:hover { border-color: var(--cyan); box-shadow: var(--shadow-cyan); }
.project-card--ba .project-icon { background: var(--cyan-dim); border-color: var(--cyan-border); color: var(--cyan); }
.project-card--ba .project-tag  { color: var(--cyan); }
.project-card--ba .project-link { color: var(--cyan); }
.project-card--ba::before { background: linear-gradient(90deg, transparent, var(--cyan), transparent); }

.project-card--guide   { border-color: var(--purple-border); background: linear-gradient(135deg, rgba(139,92,246,0.06) 0%, var(--bg-card) 100%); }
.project-card--guide:hover { border-color: var(--purple); box-shadow: var(--shadow-purple); }
.project-card--guide .project-icon { background: var(--purple-dim); border-color: var(--purple-border); color: var(--purple); }
.project-card--guide .project-tag  { color: var(--purple); }
.project-card--guide::before { background: linear-gradient(90deg, transparent, var(--purple), transparent); opacity: 0.5; }
.project-card--guide .btn-gold { background: var(--purple); }
.project-card--guide .btn-gold:hover { background: #a78bfa; }

/* ── Gradient hero title with multi-stop ── */
.hero-title {
  background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 40%, #7b9fff 70%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Vibrant divider ── */
.divider {
  background: linear-gradient(90deg, var(--gold), var(--cyan));
}

/* ── Section label glow ── */
.section-label {
  text-shadow: 0 0 20px rgba(79, 122, 255, 0.4);
}

/* ── Cyan nav scrolled border ── */
.nav--scrolled {
  background: rgba(6, 13, 31, 0.94);
  box-shadow: 0 1px 0 var(--gold-border), 0 4px 24px rgba(0,0,0,0.4);
}

/* ── Vibrant btn-gold with gradient ── */
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #3d6bef 100%);
  box-shadow: 0 4px 16px rgba(79,122,255,0.25);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #7b9fff 0%, var(--gold) 100%);
  box-shadow: 0 8px 32px rgba(79,122,255,0.45);
}

/* ── Card top-border glow on hover ── */
.card:hover {
  box-shadow: 0 0 0 1px rgba(79,122,255,0.4), var(--shadow-gold);
}

/* ── Aiguide banner vibrant bg ── */
.aiguide-banner {
  background: linear-gradient(135deg,
    rgba(6,13,31,1) 0%,
    rgba(79,122,255,0.08) 40%,
    rgba(139,92,246,0.06) 70%,
    rgba(6,13,31,1) 100%);
}

/* ── Page hero coloured glow ── */
.page-hero::before {
  background:
    radial-gradient(ellipse 50% 70% at 50% 100%, rgba(79,122,255,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 30% 40% at 80% 20%, rgba(139,92,246,0.07) 0%, transparent 55%);
}

/* ── Stat number gradient ── */
.stat-num {
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Footer brand gradient text ── */
.footer-brand p {
  background: linear-gradient(90deg, var(--cream-dim), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Floating particles in hero (CSS only) ── */
.hero-particle {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(79,122,255,0.6);
  animation: particleDrift linear infinite;
  pointer-events: none;
}
.hero-particle:nth-child(1) { left:10%; top:20%; animation-duration:12s; animation-delay:-2s; background:rgba(79,122,255,0.5); }
.hero-particle:nth-child(2) { left:25%; top:60%; animation-duration:18s; animation-delay:-6s; width:4px; height:4px; background:rgba(6,182,212,0.5); }
.hero-particle:nth-child(3) { left:50%; top:15%; animation-duration:14s; animation-delay:-4s; background:rgba(139,92,246,0.6); }
.hero-particle:nth-child(4) { left:70%; top:75%; animation-duration:20s; animation-delay:-9s; width:2px; height:2px; background:rgba(79,122,255,0.4); }
.hero-particle:nth-child(5) { left:85%; top:35%; animation-duration:16s; animation-delay:-7s; background:rgba(6,182,212,0.45); }
.hero-particle:nth-child(6) { left:40%; top:85%; animation-duration:22s; animation-delay:-3s; width:4px; height:4px; background:rgba(139,92,246,0.4); }
@keyframes particleDrift {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-120px) translateX(30px) scale(0); opacity: 0; }
}

/* ── SVG illustration wrappers ── */
.section-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}
.section-illustration svg {
  width: 100%;
  max-width: 420px;
  height: auto;
}

