/* Growth Solutions Tech — Novi-inspired SaaS */

:root {
  --bg: #020817;
  --bg-elevated: #0a0a0c;
  --bg-card: rgba(255, 255, 255, 0.025);
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.14);
  --violet: #7b61ff;
  --violet-light: #b8c6ff;
  --blue: #00d9ff;
  --cyan: #00d9ff;
  --gradient-brand: linear-gradient(135deg, #7b61ff 0%, #00d9ff 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 0%, #b8c6ff 30%, #7b61ff 65%, #00d9ff 100%);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.72);
  --text-dim: rgba(255, 255, 255, 0.45);
  --font: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-display: "Neue Haas Grotesk Display Pro", "Helvetica Now Display", "Neue Montreal", "SF Pro Display", -apple-system, var(--font);
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --nav-h: 84px;
  --max: 1180px;
  --ease: 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.loading { overflow: hidden; }

img, svg { display: block; max-width: 100%; }

a {
  color: var(--violet-light);
  text-decoration: none;
  transition: color var(--ease);
}

a:hover { color: #c4b5fd; }

ul { list-style: none; }

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  background: var(--bg);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-logo { width: 48px; animation: loaderPulse 1.4s ease-in-out infinite; }

.loader-bar {
  width: 140px;
  height: 2px;
  background: var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  background: var(--gradient-brand);
  animation: loaderFill 1s ease forwards;
}

.loader-text {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

@keyframes loaderPulse {
  50% { transform: scale(1.06); opacity: 0.85; }
}

@keyframes loaderFill { to { width: 100%; } }

/* Background */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(139, 92, 246, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(59, 130, 246, 0.1), transparent 50%),
    radial-gradient(ellipse 40% 30% at 10% 60%, rgba(34, 211, 238, 0.06), transparent 50%);
}

.bg-dots {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black, transparent);
  opacity: 0.4;
}

#particles-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

#particles-canvas {
  display: none;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

main {
  position: relative;
  z-index: 2;
}

section {
  position: relative;
  z-index: 2;
  padding: 5.5rem 0;
}

.footer {
  position: relative;
  z-index: 2;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--violet-light);
  margin-bottom: 1rem;
}

.section-eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--gradient-brand);
}

.section-title {
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .section-desc {
  margin: 0 auto;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shimmer-text {
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  to { background-position: 200% center; }
}

/* Navbar pill */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 1.25rem;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.65rem 0.65rem 1.25rem;
  background: rgba(9, 9, 11, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color var(--ease), box-shadow var(--ease);
}

.nav-pill.scrolled {
  border-color: var(--border-hover);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-logo:hover { color: var(--text); }

.nav-logo img { width: 32px; height: 32px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a:not(.btn) {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-links a:not(.btn):hover { color: var(--text); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--ease);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), border-color var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: var(--text);
  color: var(--bg);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
  color: var(--bg);
}

.btn-gradient {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 0 32px rgba(139, 92, 246, 0.35);
}

.btn-gradient:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 48px rgba(139, 92, 246, 0.45);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-hover);
  color: var(--text);
}

.btn-lg { padding: 0.8rem 1.6rem; font-size: 0.9rem; }

/* Hero centered */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem 0.35rem 0.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(139, 92, 246, 0.08);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.7s ease 0.1s both;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.6);
}

.hero-title {
  animation: fadeUp 0.7s ease 0.2s both;
}

.hero-subtitle {
  margin: 0 auto 2rem;
  animation: fadeUp 0.7s ease 0.3s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3.5rem;
  animation: fadeUp 0.7s ease 0.4s both;
}

/* Dashboard mockup */
.dashboard-wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  animation: fadeUp 0.9s ease 0.5s both;
  perspective: 1200px;
}

.dashboard {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  backdrop-filter: blur(24px);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 24px 80px rgba(0, 0, 0, 0.5),
    0 0 120px rgba(139, 92, 246, 0.12);
  transform: rotateX(4deg);
  transition: transform 0.6s ease;
}

.dashboard:hover { transform: rotateX(0deg); }

.dashboard-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
}

.dashboard-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dashboard-dot--r { background: #ef4444; }
.dashboard-dot--y { background: #eab308; }
.dashboard-dot--g { background: #22c55e; }

.dashboard-url {
  flex: 1;
  margin-left: 0.75rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 0.7rem;
  color: var(--text-dim);
  text-align: center;
}

.dashboard-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 320px;
}

.dashboard-sidebar {
  padding: 1.25rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dashboard-nav-item {
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.dashboard-nav-item.active {
  background: rgba(139, 92, 246, 0.15);
  color: var(--violet-light);
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.dashboard-main {
  padding: 1.5rem;
  position: relative;
}

.workflow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 260px;
}

.workflow-node {
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  min-width: 130px;
  text-align: center;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.workflow-node:hover {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.15);
}

.workflow-node-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.5rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.2);
  color: var(--violet-light);
}

.workflow-node-icon svg { width: 18px; height: 18px; }

.workflow-node span {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text);
}

.workflow-node small {
  font-size: 0.65rem;
  color: var(--text-dim);
}

.workflow-arrow {
  color: var(--text-dim);
  font-size: 1.25rem;
  opacity: 0.5;
}

.workflow-stats {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.75rem;
}

.workflow-stat {
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
  font-size: 0.65rem;
}

.workflow-stat strong {
  display: block;
  font-size: 0.9rem;
  color: #4ade80;
  font-family: var(--font-display);
}

/* Marquee */
.marquee-wrap { overflow: hidden; }

.marquee-section {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-section { padding: 3rem 0; }

.marquee-label {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
  opacity: 0.5;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Cards */
.card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 1.75rem;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: var(--violet-light);
  margin-bottom: 1.25rem;
}

.card-icon svg { width: 22px; height: 22px; }

.card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Bento */
.bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
}

.bento-item--large {
  grid-column: span 2;
}

.bento-item--tall {
  grid-row: span 2;
}

.bento-highlight {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(59, 130, 246, 0.08));
  border-color: rgba(139, 92, 246, 0.2);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  position: relative;
}

.step-num {
  width: 40px;
  height: 40px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--gradient-brand);
  color: #fff;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step p { font-size: 0.9rem; color: var(--text-muted); }

/* Stats */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent);
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label { font-size: 0.875rem; color: var(--text-muted); margin-top: 0.25rem; }

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.testimonial {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.testimonial p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.testimonial-author strong {
  display: block;
  font-size: 0.875rem;
}

.testimonial-author span {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color var(--ease);
}

.faq-question:hover { color: var(--violet-light); }

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: transform var(--ease), border-color var(--ease);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--violet);
  color: var(--violet-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer { max-height: 200px; }

/* CTA */
.cta-panel {
  text-align: center;
  padding: 4rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(139, 92, 246, 0.25);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.2), transparent 60%),
    rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
}

.cta-panel .section-title { margin-bottom: 0.75rem; }
.cta-panel .section-desc { margin: 0 auto 2rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-item .card-icon { margin-bottom: 0; flex-shrink: 0; }

.contact-item h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 0.2rem;
}

.contact-item p, .contact-item a { font-size: 0.95rem; color: var(--text); }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 300px;
}

.footer h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.footer-links li { margin-bottom: 0.4rem; }

.footer-links a { color: var(--text-muted); font-size: 0.875rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Legal */
.legal-page {
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
  position: relative;
  z-index: 2;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 0.5rem;
}

.legal-updated { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 2rem; }

.legal-content { max-width: 720px; }

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
}

.legal-content p, .legal-content li {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal-content ul { list-style: disc; padding-left: 1.5rem; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

body.content-ready .reveal.visible,
body.content-ready .reveal {
  opacity: 1;
  transform: translateY(0);
}

main {
  position: relative;
  z-index: 2;
}
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

.about-text {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ========== PREMIUM ENHANCEMENTS ========== */

.bg-noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  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");
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 20s ease-in-out infinite;
}

.bg-orb--1 { width: 500px; height: 500px; top: -15%; left: 20%; background: rgba(139, 92, 246, 0.2); }
.bg-orb--2 { width: 400px; height: 400px; top: 40%; right: -10%; background: rgba(59, 130, 246, 0.15); animation-delay: -7s; }
.bg-orb--3 { width: 300px; height: 300px; bottom: 10%; left: -5%; background: rgba(34, 211, 238, 0.1); animation-delay: -14s; }

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.bg-grid-lines {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent 75%);
}

.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

body:hover .cursor-glow { opacity: 1; }

.loader-ring {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 2px solid transparent;
  border-top-color: var(--violet);
  border-right-color: var(--blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loader-percent {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--violet-light);
}

.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: btnShine 3s ease-in-out infinite;
}

@keyframes btnShine {
  0%, 100% { left: -100%; }
  50% { left: 150%; }
}

.nav-pill {
  position: relative;
}

.nav-pill::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-pill);
  padding: 1px;
  background: linear-gradient(135deg, rgba(139,92,246,0.4), transparent, rgba(59,130,246,0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}

/* Hero premium */
.hero-inner { text-align: center; margin-bottom: 2rem; }

.hero-badge {
  flex-wrap: wrap;
  justify-content: center;
}

.hero-badge-tag {
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  background: rgba(139, 92, 246, 0.2);
  color: var(--violet-light);
  font-size: 0.7rem;
  font-weight: 600;
}

.hero-metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding: 1.25rem 2rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(12px);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-metric { text-align: center; }
.hero-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-metric span { font-size: 0.75rem; color: var(--text-dim); }
.hero-metric-divider { width: 1px; height: 32px; background: var(--border); }

/* Dashboard scene */
.dashboard-scene {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0 0;
}

.dashboard-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.25), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.dashboard-wrap { position: relative; z-index: 1; }

.dashboard--premium {
  min-height: 420px;
  transform: none;
  border: 1px solid rgba(255,255,255,0.1);
}

.dashboard--premium:hover { transform: translateY(-4px); }

.dashboard-live {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  color: #4ade80;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.live-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.dashboard-url {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.sidebar-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dashboard-nav-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dashboard-nav-item svg { width: 14px; height: 14px; opacity: 0.7; }

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.dash-metric {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}

.dash-metric-label { display: block; font-size: 0.6rem; color: var(--text-dim); margin-bottom: 0.25rem; }
.dash-metric strong { font-family: var(--font-display); font-size: 1.1rem; display: block; }
.dash-metric-change { font-size: 0.6rem; color: var(--text-dim); }
.dash-metric-change.up { color: #4ade80; }

.dash-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.card-inner {
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.25);
}

.dash-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.dash-chart-badge {
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: rgba(139, 92, 246, 0.15);
  color: var(--violet-light);
  font-size: 0.6rem;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 100px;
  padding-top: 0.5rem;
}

.chart-bar {
  flex: 1;
  height: 0%;
  min-height: 4px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--violet-light), var(--violet));
  opacity: 0.85;
  transition: height 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.chart-bar.animated { opacity: 1; }

.chart-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.55rem;
  color: var(--text-dim);
}

.activity-list { display: flex; flex-direction: column; gap: 0.75rem; }

.activity-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.7rem;
}

.activity-list strong { display: block; color: var(--text); font-weight: 500; }
.activity-list small { color: var(--text-dim); }

.activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}

.activity-dot--violet { background: var(--violet); box-shadow: 0 0 8px var(--violet); }
.activity-dot--blue { background: var(--blue); }
.activity-dot--green { background: #4ade80; }
.activity-dot--cyan { background: var(--cyan); }

.workflow--premium {
  flex-wrap: nowrap;
  min-height: auto;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(139, 92, 246, 0.05);
}

.workflow-line {
  flex: 1;
  min-width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  opacity: 0.4;
  position: relative;
}

.workflow-line span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--violet-light);
  border-radius: 50%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  animation: flowDot 2s ease-in-out infinite;
}

@keyframes flowDot {
  0% { left: 0; opacity: 0; }
  50% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.workflow-node--active {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(9, 9, 11, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  z-index: 3;
  animation: floatCard 6s ease-in-out infinite;
}

.float-card strong { display: block; font-size: 0.75rem; }
.float-card small { font-size: 0.65rem; color: var(--text-dim); }
.float-card-icon { font-size: 1.1rem; }

.float-card--1 { top: 8%; left: -2%; animation-delay: 0s; }
.float-card--2 { top: 25%; right: -3%; animation-delay: -3s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Marquee premium */
.marquee-section { position: relative; padding: 2.5rem 0; }

.marquee-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-fade--left {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.marquee-fade--right {
  right: 0;
  background: linear-gradient(-90deg, var(--bg), transparent);
}

.marquee-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.marquee-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-brand);
}

/* Integrations */
.integrations-section {
  padding: 2rem 0 4rem;
  position: relative;
  z-index: 2;
}

.integrations-label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.integrations-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.integration-chip {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--ease);
}

.integration-chip:hover {
  border-color: rgba(139, 92, 246, 0.4);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
}

/* Cards premium */
.card-glow { position: relative; overflow: hidden; }

.card-glow::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 70%);
  pointer-events: none;
}

.bento-visual {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 120px;
  height: 120px;
  opacity: 0.5;
}

.bento-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 50%;
  animation: spin 15s linear infinite;
}

.bento-ring--2 {
  inset: 15%;
  border-color: rgba(59, 130, 246, 0.25);
  animation-direction: reverse;
  animation-duration: 10s;
}

.card-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--violet-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card-premium {
  position: relative;
  overflow: hidden;
  padding: 2rem 1.75rem 1.75rem;
}

.card-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139,92,246,0.08), transparent 50%);
  opacity: 0;
  transition: opacity var(--ease);
}

.card-premium:hover::before { opacity: 1; }

.card-premium:hover .card-arrow {
  opacity: 1;
  transform: translate(4px, -4px);
}

.card-num {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  line-height: 1;
}

.card-arrow {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  font-size: 1.25rem;
  color: var(--violet-light);
  opacity: 0;
  transition: all var(--ease);
}

/* Steps premium */
.step--premium { overflow: hidden; }

.step--premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--ease);
}

.step--premium:hover::before { opacity: 1; }

.step-connector {
  display: none;
}

/* Stats premium */
.stats-bar--premium {
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.stat-block {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
}

.stat-block:last-child { border-right: none; }

.stat-icon { font-size: 1.5rem; margin-bottom: 0.5rem; opacity: 0.8; }

.stat-bar {
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  margin-top: 1rem;
  overflow: hidden;
}

.stat-bar span {
  display: block;
  height: 100%;
  background: var(--gradient-brand);
  border-radius: 99px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-block.visible .stat-bar span { transform: scaleX(1); }

/* Testimonials premium */
.testimonial--premium {
  position: relative;
  transition: all var(--ease);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.testimonial--featured {
  border-color: rgba(139, 92, 246, 0.35);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.05));
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15);
}

.testimonial--premium:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.testimonial--featured:hover { transform: scale(1.02) translateY(-4px); }

/* CTA premium */
.cta-panel { position: relative; }

.cta-glow {
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(139,92,246,0.15), transparent, rgba(59,130,246,0.1), transparent);
  animation: ctaRotate 8s linear infinite;
  pointer-events: none;
}

@keyframes ctaRotate { to { transform: rotate(360deg); } }

.cta-note {
  position: relative;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Contact card */
.contact-card-premium {
  position: relative;
  text-align: center;
  padding: 2.5rem !important;
  overflow: hidden;
  border-color: rgba(139, 92, 246, 0.25) !important;
}

.contact-card-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.2), transparent 60%);
  pointer-events: none;
}

.contact-card-premium h3 {
  position: relative;
  font-family: var(--font-display);
  margin-bottom: 0.75rem;
}

.contact-card-premium p {
  position: relative;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.contact-benefits {
  position: relative;
  text-align: left;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-benefits li { margin-bottom: 0.4rem; }

.contact-card-premium .btn { position: relative; width: 100%; }

section { position: relative; }
section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,0.3), transparent);
  opacity: 0.5;
}

#inicio::before { display: none; }

/* Responsive */
@media (max-width: 1024px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-item--large { grid-column: span 2; }
  .bento-item--tall { grid-row: span 1; }
  .dashboard-body { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: none; }
  .testimonials, .steps { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .grid-6, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-metrics { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .stat-block { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-block:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
  .nav-links:not(.open) { display: none; }

  .nav-toggle { display: flex; }

  .nav-pill .nav-links.open {
    display: flex;
    position: fixed;
    top: calc(var(--nav-h) + 8px);
    left: 1.25rem;
    right: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
    background: rgba(9, 9, 11, 0.98);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    gap: 0.75rem;
  }

  .nav-pill .nav-links.open .btn { width: 100%; }

  .workflow { flex-direction: column; }
  .workflow-arrow { transform: rotate(90deg); }
  .bento, .grid-3, .grid-4, .grid-6, .services-grid { grid-template-columns: 1fr; }
  .workflow--premium { flex-wrap: wrap; }
  .workflow-line { display: none; }
  .cursor-glow { display: none; }
  .bento-item--large { grid-column: span 1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions, .cta-actions { flex-direction: column; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr; text-align: center; }
  .workflow-stats { position: static; justify-content: center; margin-top: 1rem; }
}
