/* ============================================
   PG DIGITALS — DESIGN SYSTEM v2
   ============================================ */

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

:root {
  --bg: #08080C;
  --bg-elevated: #0F0F16;
  --surface: #14141D;
  --surface-hover: #191923;
  --border: #232330;
  --border-bright: #34344A;
  --accent: #5B6CFF;
  --accent-bright: #7C8AFF;
  --accent-dim: #3A4099;
  --text: #FFFFFF;
  --text-muted: #9498A8;
  --text-faint: #5C5F6E;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 140px;
  --radius-sm: 6px; --radius-md: 12px; --radius-lg: 20px; --radius-full: 999px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--accent); color: white; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }

/* ============================================
   TYPOGRAPHY
   ============================================ */
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-bright);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before {
  content: ''; width: 14px; height: 1px;
  background: var(--accent-bright); display: inline-block;
}
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.text-muted { color: var(--text-muted); }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0;
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out), padding 0.3s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(8, 8, 12, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.nav-logo img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.nav-links { display: none; align-items: center; gap: 36px; }
@media (min-width: 920px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  position: relative; padding: 4px 0;
  transition: color 0.25s var(--ease-out);
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1.5px; background: var(--accent-bright);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--text); }
.nav-cta { display: none; }
@media (min-width: 920px) { .nav-cta { display: flex; } }
.nav-mobile-toggle { display: flex; flex-direction: column; gap: 5px; width: 24px; z-index: 1001; }
@media (min-width: 920px) { .nav-mobile-toggle { display: none; } }
.nav-mobile-toggle span {
  display: block; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}
.nav-mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile-toggle.open span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; background: var(--bg); z-index: 999;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 32px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-size: 28px; font-weight: 700; color: var(--text);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.mobile-menu.open a { opacity: 1; transform: translateY(0); }
.mobile-menu a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu a:nth-child(5) { transition-delay: 0.25s; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 28px; border-radius: var(--radius-full);
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
              background 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover {
  background: var(--accent-bright); transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(91, 108, 255, 0.5);
}
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border-bright); }
.btn-secondary:hover { background: var(--surface-hover); border-color: var(--accent-dim); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.13s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.21s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.29s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.37s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: 0.45s; }
.reveal-stagger.in-view > *:nth-child(7) { transition-delay: 0.53s; }
.reveal-stagger.in-view > * { opacity: 1; transform: translateY(0); }

/* ============================================
   SECTION SCAFFOLDING
   ============================================ */
.section { padding: var(--space-9) 0; position: relative; }
@media (min-width: 768px) { .section { padding: var(--space-10) 0; } }
.section-head { max-width: 600px; margin-bottom: var(--space-7); }
.section-head h2 { font-size: 32px; margin-top: 14px; }
@media (min-width: 768px) { .section-head h2 { font-size: 42px; } }

/* ============================================
   GLOW — BOLD TALENTIFY-STYLE
   ============================================ */
.glow-field {
  position: absolute; inset: 0; overflow: hidden;
  pointer-events: none; z-index: 0;
}
.glow-orb {
  position: absolute; border-radius: 50%;
  filter: blur(70px); will-change: transform;
}
/* Primary large blue glow — right side like Talentify */
.glow-orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(91,108,255,0.75) 0%, rgba(91,108,255,0.3) 40%, transparent 70%);
  top: -180px; right: -180px;
  animation: drift1 16s ease-in-out infinite;
  opacity: 1;
}
/* Secondary purple glow — bottom left */
.glow-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,0.55) 0%, rgba(139,92,246,0.2) 45%, transparent 70%);
  bottom: -200px; left: -120px;
  animation: drift2 20s ease-in-out infinite;
  opacity: 1;
}
/* Small accent glow centre for depth */
.glow-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(91,108,255,0.35) 0%, transparent 70%);
  top: 40%; left: 30%;
  animation: drift3 24s ease-in-out infinite;
  opacity: 0.6;
}
@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, 50px) scale(1.08); }
  66% { transform: translate(-80px, 20px) scale(0.95); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -50px) scale(1.12); }
}
@keyframes drift3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, 30px); }
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-6);
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out), background 0.35s var(--ease-out);
}
.card:hover { transform: translateY(-6px); border-color: var(--accent-dim); background: var(--surface-hover); }

/* ============================================
   WORD REVEAL
   ============================================ */
.word-reveal-item {
  display: inline-block; opacity: 0;
  transform: translateY(60%) rotate(1.5deg);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.word-reveal-item.revealed { opacity: 1; transform: translateY(0) rotate(0deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 120px; padding-bottom: 80px; overflow: hidden;
}
.hero-content { position: relative; z-index: 2; max-width: 780px; }
.hero h1 { font-size: 40px; line-height: 1.06; margin-top: 20px; }
@media (min-width: 600px) { .hero h1 { font-size: 58px; } }
@media (min-width: 1024px) { .hero h1 { font-size: 74px; } }
.hero-sub {
  font-size: 17px; color: var(--text-muted); max-width: 540px;
  margin-top: 24px; line-height: 1.75;
  opacity: 0; animation: fadeUpIn 0.8s var(--ease-out) 0.65s forwards;
}
@keyframes fadeUpIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px;
  opacity: 0; animation: fadeUpIn 0.8s var(--ease-out) 0.8s forwards;
}
.hero-availability {
  margin-top: 48px;
  opacity: 0; animation: fadeUpIn 0.8s var(--ease-out) 0.95s forwards;
}

/* ============================================
   STATS STRIP
   ============================================ */
.stats-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; position: relative; z-index: 2;
  background: rgba(14,14,22,0.7); backdrop-filter: blur(10px);
}
.stat-item { padding: 32px 20px; text-align: center; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
@media (min-width: 768px) { .stat-num { font-size: 42px; } }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 6px; }

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-6);
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out), background 0.35s var(--ease-out);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.service-card:hover { transform: translateY(-6px); border-color: var(--accent-dim); background: var(--surface-hover); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--accent-dim); display: flex; align-items: center;
  justify-content: center; margin-bottom: 20px;
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.service-card:hover .service-icon { background: var(--accent); transform: scale(1.08) rotate(-4deg); }
.service-icon svg { width: 22px; height: 22px; stroke: white; }
.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; }

/* ============================================
   PORTFOLIO GRID & FILTERS
   ============================================ */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: var(--space-7);
}
.filter-btn {
  padding: 9px 20px; border-radius: var(--radius-full);
  font-size: 13px; font-weight: 600;
  background: var(--surface); border: 1px solid var(--border-bright);
  color: var(--text-muted); cursor: pointer;
  transition: all 0.25s var(--ease-out);
}
.filter-btn:hover { border-color: var(--accent-dim); color: var(--text); }
.filter-btn.active {
  background: var(--accent); border-color: var(--accent);
  color: white; box-shadow: 0 4px 16px -4px rgba(91,108,255,0.5);
}

.portfolio-grid {
  display: grid; gap: 20px; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }

.portfolio-card {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  position: relative; cursor: pointer;
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
}
.portfolio-card:hover { transform: translateY(-8px); border-color: var(--accent-dim); }
.portfolio-card.hidden { opacity: 0; pointer-events: none; transform: scale(0.95); }

.portfolio-img {
  width: 100%; aspect-ratio: 4/3; overflow: hidden;
  position: relative; background: var(--bg-elevated);
}
.portfolio-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.portfolio-card:hover .portfolio-img img { transform: scale(1.06); }

.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,12,0.92) 0%, rgba(8,8,12,0.3) 50%, transparent 100%);
  opacity: 0; transition: opacity 0.4s var(--ease-out);
  display: flex; align-items: flex-end; padding: 20px;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay-text { font-size: 13px; font-weight: 600; color: white; letter-spacing: 0.04em; }

.portfolio-info { padding: 18px 20px 20px; }
.portfolio-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent-bright); margin-bottom: 6px;
}
.portfolio-title { font-size: 16px; font-weight: 700; color: var(--text); }

/* Homepage work preview (3 cards) */
.work-grid {
  display: grid; gap: 20px; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid; gap: 20px; grid-template-columns: 1fr;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.testimonial-card:hover { transform: translateY(-5px); border-color: var(--accent-dim); }
.testimonial-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright), transparent);
}
.quote-mark {
  font-size: 64px; line-height: 0.8; color: var(--accent);
  font-family: Georgia, serif; margin-bottom: 16px; opacity: 0.6;
  display: block;
}
.testimonial-text {
  font-size: 15px; color: var(--text-muted); line-height: 1.75;
  font-style: italic; margin-bottom: 24px;
}
.testimonial-stars {
  display: flex; gap: 3px; margin-bottom: 16px;
}
.testimonial-stars span {
  color: var(--accent-bright); font-size: 14px;
}
.testimonial-author { font-size: 14px; font-weight: 700; color: var(--text); }
.testimonial-role { font-size: 13px; color: var(--text-faint); margin-top: 3px; }

/* ============================================
   ABOUT TEASER
   ============================================ */
.about-teaser { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .about-teaser { grid-template-columns: 0.85fr 1.15fr; gap: 64px; } }
.about-teaser-img {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/5; background: linear-gradient(160deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border);
}
.about-teaser-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.about-teaser-text p { color: var(--text-muted); font-size: 16px; line-height: 1.75; margin-bottom: 18px; }
.about-teaser-text p:last-of-type { margin-bottom: 0; }

/* ============================================
   CTA STRIP
   ============================================ */
.cta-strip {
  background: linear-gradient(135deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 56px 32px; text-align: center;
  position: relative; overflow: hidden;
}
@media (min-width: 768px) { .cta-strip { padding: 80px 48px; } }
.cta-strip h2 { font-size: 28px; margin-bottom: 16px; position: relative; z-index: 1; }
@media (min-width: 768px) { .cta-strip h2 { font-size: 38px; } }
.cta-strip p { color: var(--text-muted); max-width: 480px; margin: 0 auto 32px; position: relative; z-index: 1; }
.cta-strip .btn { position: relative; z-index: 1; }

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header { padding: 160px 0 60px; position: relative; overflow: hidden; }
.page-header h1 { font-size: 36px; margin-top: 16px; max-width: 700px; }
@media (min-width: 768px) { .page-header h1 { font-size: 52px; } }
.page-header p { color: var(--text-muted); font-size: 17px; max-width: 560px; margin-top: 20px; line-height: 1.7; }

/* ============================================
   FOOTER
   ============================================ */
.footer { border-top: 1px solid var(--border); padding: var(--space-7) 0 var(--space-6); }
.footer-grid { display: grid; gap: var(--space-6); margin-bottom: var(--space-7); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; margin-bottom: 14px; }
.footer-brand img { width: 32px; height: 32px; border-radius: 8px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); margin-bottom: 16px; font-weight: 600; }
.footer-col a { display: block; color: var(--text-muted); font-size: 14px; margin-bottom: 12px; transition: color 0.25s var(--ease-out); width: fit-content; }
.footer-col a:hover { color: var(--accent-bright); }
.footer-bottom {
  display: flex; flex-direction: column; gap: 16px;
  padding-top: var(--space-6); border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-faint);
}
@media (min-width: 600px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border-bright);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.footer-socials a:hover { border-color: var(--accent); background: var(--accent-dim); transform: translateY(-3px); }
.footer-socials svg { width: 16px; height: 16px; }

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px; background: #25D366;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  z-index: 900; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  animation: pulse-wa 2.5s ease-in-out infinite;
  transition: transform 0.25s var(--ease-out);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 28px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.08); }
}

/* ============================================
   SCROLL PROGRESS
   ============================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2.5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  z-index: 1100; width: 0%; transition: width 0.1s linear;
}

/* ============================================
   UTILITIES
   ============================================ */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--radius-full);
  background: var(--surface); border: 1px solid var(--border-bright);
  font-size: 13px; font-weight: 500; color: var(--text-muted);
}
.pill-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #2ED573;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46,213,115,0.5); }
  50% { box-shadow: 0 0 0 5px rgba(46,213,115,0); }
}
.grad-text {
  background: linear-gradient(135deg, var(--accent-bright), #B794F6);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================
   AMBIENT GLOW — PERSISTENT SCROLL ATMOSPHERE
   ============================================ */

/* Fixed ambient layer that persists through entire page scroll */
.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow::before {
  content: '';
  position: absolute;
  top: -20vh;
  right: -15vw;
  width: 70vw;
  height: 70vw;
  max-width: 800px;
  max-height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,108,255,0.22) 0%, rgba(91,108,255,0.08) 40%, transparent 70%);
  filter: blur(60px);
  animation: ambient-drift-1 20s ease-in-out infinite;
  will-change: transform;
}

.ambient-glow::after {
  content: '';
  position: absolute;
  bottom: -20vh;
  left: -15vw;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.18) 0%, rgba(139,92,246,0.06) 45%, transparent 70%);
  filter: blur(70px);
  animation: ambient-drift-2 26s ease-in-out infinite;
  will-change: transform;
}

.ambient-glow-mid {
  position: fixed;
  top: 35%;
  left: 50%;
  transform: translateX(-50%);
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,108,255,0.1) 0%, transparent 65%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: ambient-drift-3 30s ease-in-out infinite;
  will-change: transform;
}

@keyframes ambient-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-3vw, 5vh) scale(1.08); }
  66% { transform: translate(-6vw, 2vh) scale(0.94); }
}

@keyframes ambient-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4vw, -5vh) scale(1.1); }
}

@keyframes ambient-drift-3 {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
  50% { transform: translateX(-50%) translateY(4vh) scale(1.05); }
}

/* Ensure all page content renders above ambient glow */
.section > .container,
.page-header > .container,
.footer > .container {
  position: relative;
  z-index: 1;
}
