/* ============================================================
   WebX Studios — Design System
   Aesthetic: Dark luxe editorial with emerald accents
   Typography: Playfair Display (display) + Inter (body) + JetBrains Mono (labels)
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-bg: #0f111a;
  --color-bg-elevated: #161924;
  --color-bg-card: #1c202e;
  --color-bg-card-hover: #23283a;
  --color-surface: #2a3146;
  --color-border: rgba(255,255,255,0.08);
  --color-border-hover: rgba(255,255,255,0.16);
  --color-text: #fdfdfe;
  --color-text-secondary: rgba(253,253,254,0.65);
  --color-text-tertiary: rgba(253,253,254,0.5);
  --color-accent: #34d399;
  --color-accent-dim: rgba(52,211,153,0.14);
  --color-accent-glow: rgba(52,211,153,0.3);
  --color-purple: #a855f7;
  --color-blue: #3b82f6;
  --color-amber: #f59e0b;
  --color-red: #ef4444;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
  --max-width: 1280px;
  --gutter: 20px;
}
@media (min-width: 768px) { :root { --gutter: 40px; } }
@media (min-width: 1024px) { :root { --gutter: 64px; } }

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  min-height: 100dvh;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--color-accent-dim); color: var(--color-accent); }

/* --- Typography --- */
.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.25rem, 7vw, 4.75rem); }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: clamp(1.125rem, 2.5vw, 1.5rem); }
.label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
}
.label-accent { color: var(--color-accent); }

/* --- Layout --- */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 12vw, 160px) 0; }
.grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-48 { gap: 48px; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px var(--gutter);
  transition: background var(--duration-normal) var(--ease-out), backdrop-filter var(--duration-normal) var(--ease-out);
}
.nav.scrolled {
  background: rgba(4,5,10,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav-logo img { height: 32px; width: auto; }
@media (min-width: 768px) { .nav-logo img { height: 36px; } }
.nav-links {
  display: none;
  gap: 32px;
  align-items: center;
}
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--duration-fast) var(--ease-out);
  padding: 8px 0;
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--color-text); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent);
  color: var(--color-bg);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  transition: transform var(--duration-fast) var(--ease-spring), box-shadow var(--duration-normal) var(--ease-out);
}
.nav-cta:hover { transform: scale(1.04); box-shadow: 0 0 24px var(--color-accent-glow); }
.nav-cta:active { transform: scale(0.97); }

/* Mobile Menu */
.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) { .nav-burger { display: none; } }
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--duration-normal) var(--ease-out), opacity var(--duration-fast);
}
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(4,5,10,0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  transition: color var(--duration-fast);
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--color-text); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  transition: transform var(--duration-fast) var(--ease-spring), box-shadow 0.4s var(--ease-out), background var(--duration-fast);
  min-height: 48px;
  touch-action: manipulation;
  position: relative;
}
.btn:hover { transform: translateY(-2px) scale(1.03); }
.btn:active { transform: translateY(0) scale(0.97); }
.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg);
}
.btn-primary:hover {
  box-shadow: 0 0 24px var(--color-accent-glow), 0 0 64px rgba(16,185,129,0.12);
}
.btn-outline {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--color-border-hover);
  color: var(--color-text);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: rgba(16,185,129,0.3);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 20px rgba(16,185,129,0.08);
}
.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--color-text);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.btn-lg { padding: 18px 40px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.8125rem; }
.btn-icon { padding: 12px; min-width: 48px; border-radius: var(--radius-md); }

/* --- Cards --- */
.card {
  position: relative;
  background: rgba(15,17,26,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.4s var(--ease-out), transform 0.4s var(--ease-out), box-shadow 0.5s var(--ease-out);
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 80% 60% at 20% 0%, rgba(16,185,129,0.04), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
  z-index: 0;
}
.card:hover {
  border-color: rgba(16,185,129,0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35), 0 0 40px rgba(16,185,129,0.06);
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card-glow:hover {
  box-shadow: 0 0 48px var(--color-accent-dim), 0 20px 60px rgba(0,0,0,0.35);
  border-color: rgba(52,211,153,0.25);
}

/* --- Tags / Chips --- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--color-accent-dim);
  color: var(--color-accent);
  border: 1px solid rgba(52,211,153,0.15);
}

/* --- Divider --- */
.divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  border: none;
}

/* --- Form Elements --- */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
}
.form-input {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--duration-normal) var(--ease-out);
  min-height: 48px;
}
.form-input::placeholder { color: var(--color-text-tertiary); }
.form-input:focus { border-color: var(--color-accent); }
textarea.form-input { resize: none; min-height: 120px; }

.form-select-group { display: flex; flex-wrap: wrap; gap: 10px; }
.form-select-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  background: transparent;
  transition: all var(--duration-fast) var(--ease-out);
  min-height: 44px;
  touch-action: manipulation;
}
.form-select-btn:hover { border-color: var(--color-border-hover); color: var(--color-text); }
.form-select-btn.active {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-link {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  transition: color var(--duration-fast);
}
.footer-link:hover { color: var(--color-text); }
.footer-copy { font-size: 0.8125rem; color: var(--color-text-tertiary); }

/* --- Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px var(--color-accent-dim); }
  50% { box-shadow: 0 0 40px var(--color-accent-glow); }
}
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.stagger-1 { transition-delay: 80ms; }
.stagger-2 { transition-delay: 160ms; }
.stagger-3 { transition-delay: 240ms; }
.stagger-4 { transition-delay: 320ms; }
.stagger-5 { transition-delay: 400ms; }
.stagger-6 { transition-delay: 480ms; }
.stagger-7 { transition-delay: 560ms; }
.stagger-8 { transition-delay: 640ms; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .animate-on-scroll { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* --- Utility --- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-accent { color: var(--color-accent); }
.text-secondary { color: var(--color-text-secondary); }
.text-tertiary { color: var(--color-text-tertiary); }
.text-center { text-align: center; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.w-full { width: 100%; }

/* --- Ambient Backgrounds --- */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  will-change: transform;
}
.glow-emerald {
  background: var(--color-accent-glow);
  width: clamp(300px, 40vw, 600px);
  height: clamp(300px, 40vw, 600px);
}
.glow-purple {
  background: rgba(168,85,247,0.12);
  width: clamp(250px, 35vw, 500px);
  height: clamp(250px, 35vw, 500px);
}
.glow-blue {
  background: rgba(59,130,246,0.08);
  width: clamp(200px, 30vw, 450px);
  height: clamp(200px, 30vw, 450px);
}

/* --- Noise Texture Overlay --- */
.noise::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* --- Hero Specific --- */
.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding-top: 100px;
  padding-bottom: 80px;
}
.hero-headline {
  font-size: clamp(2.5rem, 10vw, 6.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.hero-headline .accent {
  background: linear-gradient(135deg, var(--color-accent), #6ee7b7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 520px;
  line-height: 1.7;
}

/* --- Pricing Cards --- */
.price-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-border);
  transition: background var(--duration-normal);
}
.price-card:hover { border-color: var(--color-border-hover); transform: translateY(-4px); }
.price-card.featured::before { background: linear-gradient(90deg, var(--color-accent), #6ee7b7); }
.price-card.featured { border-color: rgba(52,211,153,0.2); }
.price-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}
.price-unit { font-size: 1rem; font-weight: 400; color: var(--color-text-secondary); }

/* --- Portfolio Cards --- */
.portfolio-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
}
.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}
.portfolio-card:hover img { transform: scale(1.05); }
.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4,5,10,0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: background var(--duration-normal);
}
.portfolio-card:hover .portfolio-card-overlay { background: linear-gradient(to top, rgba(4,5,10,0.95) 0%, rgba(4,5,10,0.3) 60%); }

/* --- Stat Counter --- */
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-text), var(--color-text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Toast / Alert --- */
.toast {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  animation: fadeUp var(--duration-normal) var(--ease-out);
}
.toast-success {
  background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.25);
  color: var(--color-accent);
}
.toast-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  color: var(--color-red);
}

/* --- Service Section Specific --- */
.service-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.2em;
}

/* --- Loading Spinner --- */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(4,5,10,0.3);
  border-top-color: var(--color-bg);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Back to top --- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal), transform var(--duration-fast) var(--ease-spring);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: scale(1.1); border-color: var(--color-border-hover); }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ══════════════════════════════════════════════════════════════════════
   Enhanced CTA Banner
   ══════════════════════════════════════════════════════════════════════ */

/* Animated gradient border wrapper — replaces static ::before */
.cta-banner-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 2px;
  background: conic-gradient(
    from var(--cta-angle, 0deg),
    rgba(16,185,129,0.6) 0%,
    rgba(124,58,237,0.4) 25%,
    rgba(16,185,129,0.15) 50%,
    rgba(59,130,246,0.4) 75%,
    rgba(16,185,129,0.6) 100%
  );
  animation: cta-rotate 6s linear infinite;
}
@property --cta-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
@keyframes cta-rotate {
  to { --cta-angle: 360deg; }
}
/* Fallback for browsers without @property */
@supports not (background: conic-gradient(from 0deg, red, blue)) {
  .cta-banner-wrap {
    background: linear-gradient(135deg,
      rgba(16,185,129,0.55) 0%,
      rgba(124,58,237,0.35) 40%,
      rgba(16,185,129,0.1) 65%,
      rgba(16,185,129,0.5) 100%);
    background-size: 300% 300%;
    animation: cta-border-flow 5s ease infinite;
  }
}
@keyframes cta-border-flow {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Main card */
.cta-banner-inner {
  position: relative;
  overflow: hidden;
  background: rgba(15,17,26,0.92);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-radius: calc(var(--radius-xl) - 2px);
  padding: clamp(56px,10vw,100px) clamp(28px,7vw,72px);
  text-align: center;
}

/* Canvas for interactive particles */
.cta-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

/* Floating aurora orbs */
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.cta-orb-1 {
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(16,185,129,0.18), transparent 70%);
  top: -15%; left: -8%;
  animation: cta-orb-float 12s ease-in-out infinite;
}
.cta-orb-2 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(124,58,237,0.14), transparent 70%);
  bottom: -10%; right: -6%;
  animation: cta-orb-float 14s ease-in-out infinite reverse;
}
.cta-orb-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(59,130,246,0.1), transparent 70%);
  top: 50%; left: 60%;
  transform: translate(-50%, -50%);
  animation: cta-orb-float 10s ease-in-out infinite 2s;
}
@keyframes cta-orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(20px, -30px) scale(1.08); }
  66%      { transform: translate(-15px, 15px) scale(0.95); }
}

/* Grid texture overlay */
.cta-banner-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16,185,129,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,185,129,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

/* Radial spotlight sweep */
.cta-banner-inner::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent 0%,
    rgba(16, 185, 129, 0.03) 10%,
    transparent 20%,
    transparent 100%
  );
  animation: cta-sweep 8s linear infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes cta-sweep {
  to { transform: rotate(360deg); }
}

/* Inner content stacking */
.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.cta-content .label     { margin-bottom: 20px; }
.cta-content h2         { margin-bottom: 18px; }
.cta-content > p        { margin-bottom: 40px; max-width: 560px; }

/* Stats ticker */
.cta-ticker {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 40px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.cta-ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: ticker-scroll 22s linear infinite;
}
.cta-ticker:hover .cta-ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.cta-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 32px;
  white-space: nowrap;
  flex-shrink: 0;
}
.cta-stat-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: -0.03em;
}
.cta-stat-lbl {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  white-space: nowrap;
}
.cta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(16,185,129,0.35);
  flex-shrink: 0;
}

/* CTA button with glow */
.btn-cta-shimmer {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 24px rgba(16,185,129,0.2), 0 0 64px rgba(16,185,129,0.08);
  transition: box-shadow 0.4s ease, transform 0.3s ease;
}
.btn-cta-shimmer:hover {
  box-shadow: 0 0 32px rgba(16,185,129,0.35), 0 0 100px rgba(16,185,129,0.15);
  transform: translateY(-3px);
}
.btn-cta-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-18deg);
  animation: btn-shimmer 3.5s ease-in-out infinite;
}
@keyframes btn-shimmer {
  0%     { left: -120%; }
  55%,100%{ left: 200%; }
}

/* ══════════════════════════════════════════════════════════════════════
   PDF Download Section
   ══════════════════════════════════════════════════════════════════════ */
.pdf-section-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 6vw, 60px) clamp(28px, 5vw, 56px);
  transition: border-color var(--duration-normal);
}
.pdf-section-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 15% 50%, rgba(16,185,129,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.pdf-section-card:hover { border-color: rgba(16,185,129,0.28); }

/* Floating PDF mockup */
.pdf-mockup {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  animation: pdf-float 4s ease-in-out infinite;
}
@keyframes pdf-float {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-10px) rotate(-2deg); }
}
.pdf-page-visual {
  width: clamp(88px, 13vw, 120px);
  aspect-ratio: 8.5/11;
  background: #0d0d1a;
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 6px;
  padding: 10px 8px;
  box-shadow:
    0 0 0 1px rgba(16,185,129,0.1),
    0 20px 40px rgba(0,0,0,0.5),
    0 0 40px rgba(16,185,129,0.08);
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
}
.pdf-page-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(16,185,129,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.pdf-vis-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.pdf-vis-logo {
  width: 32px;
  height: 5px;
  background: rgba(16,185,129,0.5);
  border-radius: 2px;
}
.pdf-vis-tag {
  width: 20px;
  height: 5px;
  background: rgba(16,185,129,0.25);
  border-radius: 2px;
}
.pdf-vis-line {
  height: 3px;
  background: rgba(240,240,245,0.12);
  border-radius: 2px;
  width: 100%;
}
.pdf-vis-line.s  { width: 60%; }
.pdf-vis-line.m  { width: 80%; }
.pdf-vis-line.xs { width: 40%; }
.pdf-vis-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 4px;
}
.pdf-vis-card {
  height: 20px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.15);
  border-radius: 2px;
}
.pdf-vis-pages {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: rgba(16,185,129,0.5);
  text-align: center;
  margin-top: auto;
  letter-spacing: 0.1em;
}

/* PDF content side */
.pdf-info {
  position: relative;
  z-index: 1;
}
.pdf-info .label  { margin-bottom: 14px; }
.pdf-info h3      { margin-bottom: 10px; }
.pdf-info > p     { margin-bottom: 20px; max-width: 440px; }

/* Metadata chips */
.pdf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.pdf-chip {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--color-text-tertiary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 4px 12px;
}

/* Download button bounce icon */
.btn-download .dl-icon {
  animation: dl-bounce 2s ease-in-out infinite;
}
@keyframes dl-bounce {
  0%,100% { transform: translateY(0); }
  40%      { transform: translateY(3px); }
  60%      { transform: translateY(1px); }
}
.btn-download:hover .dl-icon {
  animation: dl-pull 0.4s ease forwards;
}
@keyframes dl-pull {
  0%  { transform: translateY(0); }
  50% { transform: translateY(5px); }
  100%{ transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════════════════
   Section Atmosphere — Reusable orbs & grid overlays
   ══════════════════════════════════════════════════════════════════════ */

/* Section with floating background orbs */
.section-glow {
  position: relative;
  overflow: hidden;
}
.section-glow::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,0.08), transparent 65%);
  top: -120px; left: -100px;
  filter: blur(80px);
  pointer-events: none;
  animation: section-orb-drift 16s ease-in-out infinite;
  z-index: 0;
}
.section-glow::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.06), transparent 65%);
  bottom: -80px; right: -60px;
  filter: blur(80px);
  pointer-events: none;
  animation: section-orb-drift 20s ease-in-out infinite reverse;
  z-index: 0;
}
@keyframes section-orb-drift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(30px, -20px); }
}
.section-glow > .container { position: relative; z-index: 1; }

/* Subtle grid texture for sections */
.section-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16,185,129,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,185,129,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
}

/* Interactive card shine on hover (CSS-only, no JS) */
.card-shine {
  position: relative;
  overflow: hidden;
}
.card-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(16,185,129,0.04) 45%,
    rgba(16,185,129,0.08) 50%,
    rgba(16,185,129,0.04) 55%,
    transparent 70%
  );
  transform: translateX(-100%) rotate(0deg);
  transition: transform 0.8s ease;
  pointer-events: none;
  z-index: 0;
}
.card-shine:hover::after {
  transform: translateX(50%) rotate(0deg);
}

/* Glassmorphism stat cards */
.stat-card {
  position: relative;
  background: rgba(15,17,26,0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.4s ease, box-shadow 0.5s ease, transform 0.4s var(--ease-out);
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(16,185,129,0.05), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.stat-card:hover {
  border-color: rgba(16,185,129,0.18);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3), 0 0 24px rgba(16,185,129,0.05);
  transform: translateY(-3px);
}
.stat-card:hover::before { opacity: 1; }
.stat-card > * { position: relative; z-index: 1; }

/* Luminous gradient border wrapper — reusable */
.glow-border {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(16,185,129,0.3) 0%,
    rgba(124,58,237,0.15) 50%,
    rgba(16,185,129,0.3) 100%);
  background-size: 200% 200%;
  animation: glow-border-shift 4s ease infinite;
}
@keyframes glow-border-shift {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}
.glow-border > * {
  background: rgba(15,17,26,0.92);
  border-radius: calc(var(--radius-xl) - 1px);
}

/* Service card hover glow upgrade */
.service-card {
  transition: border-color 0.4s ease, box-shadow 0.5s ease, transform 0.4s var(--ease-out);
}
.service-card:hover {
  border-color: rgba(16,185,129,0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 30px rgba(16,185,129,0.05);
  transform: translateY(-4px);
}

/* Section header glow text */
.section-header h2 {
  text-shadow: 0 0 40px rgba(16,185,129,0.06);
}

/* Mobile stacking */
@media(max-width:767px) {
  .pdf-section-card { grid-template-columns: 1fr; text-align: center; }
  .pdf-mockup { margin: 0 auto; }
  .pdf-info { align-items: center; display: flex; flex-direction: column; }
  .pdf-info > p { text-align: center; }
  .pdf-chips { justify-content: center; }
  .cta-orb { display: none; }
  .cta-canvas { display: none; }
  .section-glow::before, .section-glow::after { display: none; }
}

@media(prefers-reduced-motion:reduce) {
  .cta-banner-wrap, .cta-banner-inner::before, .cta-banner-inner::after,
  .cta-orb, .pdf-mockup, .btn-cta-shimmer::after, .btn-download .dl-icon,
  .cta-ticker-track, .section-glow::before, .section-glow::after {
    animation: none !important;
  }
  .cta-canvas { display: none; }
}

/* --- Mobile Responsive --- */
@media(max-width:767px){
  .hero{min-height:90svh!important;display:flex!important;flex-direction:column!important;justify-content:center!important;padding-top:80px!important;padding-bottom:60px!important}
  .hero-headline{font-size:clamp(2.4rem,9vw,3.5rem)!important;line-height:1.05!important;letter-spacing:-0.03em!important;margin-bottom:16px!important}
  .hero .label{margin-bottom:12px!important}
  .hero-sub{font-size:0.95rem!important;margin-bottom:32px!important;max-width:100%!important;line-height:1.6!important}
  .stat-card{padding:24px 16px!important}
  .stat-number{font-size:clamp(1.8rem,5vw,2.5rem)!important}
  .grid-3{grid-template-columns:1fr!important;gap:12px!important}
  .service-card{padding:28px 20px!important}
  h2{font-size:clamp(1.5rem,6vw,2.2rem)!important;line-height:1.2!important;margin-bottom:20px!important}
  h3{font-size:clamp(1.1rem,4vw,1.3rem)!important}
  .section{padding-top:52px!important;padding-bottom:52px!important}
  .scroll-indicator{bottom:20px!important}
  .flex.gap-16{gap:12px!important}
  .btn-lg{padding:13px 24px!important;font-size:0.9rem!important}
  .cta-banner-inner{padding:40px 20px!important}
  .text-xl{font-size:0.95rem!important;line-height:1.65!important}
  .footer-inner{gap:24px}
  .footer-links{gap:16px;flex-wrap:wrap}
  .gap-48{gap:24px!important}
  .gap-32{gap:16px!important}
  .gap-24{gap:12px!important}
  .price-amount{font-size:2.5rem!important}
}
