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

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

:root {
  --bg:       #07060a;
  --bg2:      #0d0b12;
  --surface:  #120f1a;
  --border:   rgba(255,255,255,0.07);
  --accent:   #9b33b0;
  --accent2:  #471754;
  --accent-glow: rgba(155,51,176,0.18);
  --text:     #d4cfe0;
  --muted:    #5a5268;
  --white:    #f0ecf5;
}

html { scroll-behavior: smooth; }

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

body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999;
}

.ambient {
  position: fixed; border-radius: 50%;
  filter: blur(140px); pointer-events: none; z-index: 0;
  will-change: transform;
}
.amb-1 { width: 700px; height: 700px; background: rgba(71,23,84,0.25); top: -200px; right: -200px; animation: floatBubble 22s infinite ease-in-out alternate; }
.amb-2 { width: 500px; height: 500px; background: rgba(71,23,84,0.12); bottom: -150px; left: -100px; animation: floatBubble 28s infinite ease-in-out alternate-reverse; }

@keyframes floatBubble {
  0% { transform: translateY(0) scale(1) translateX(0); }
  100% { transform: translateY(40px) scale(1.05) translateX(-20px); }
}

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.5rem 3rem;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(7,6,10,0.8);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Syne', 'Arial Black', 'Impact', sans-serif;
  font-weight: 800; font-size: 1.1rem;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--white); text-decoration: none;
}
.nav-logo span { color: var(--accent); }

.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transition: transform 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border: 1px solid rgba(155,51,176,0.35);
  border-radius: 999px;
  background: rgba(155,51,176,0.12);
  color: var(--white) !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: rgba(155,51,176,0.24);
  border-color: rgba(155,51,176,0.6);
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text); transition: all 0.3s; }

.page { position: relative; z-index: 1; }

.section-wrap { max-width: 1000px; margin: 0 auto; padding: 7rem 2.5rem; }

.eyebrow {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.7rem; color: var(--accent);
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 1rem; display: flex; align-items: center; gap: 0.75rem;
}
.eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: var(--accent); }

.page-title {
  font-family: 'Syne', 'Arial Black', 'Impact', sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800; color: var(--white);
  line-height: 1; letter-spacing: -1px;
  margin-bottom: 2.5rem;
}

.hr { width: 100%; height: 1px; background: var(--border); margin: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.8rem 1.75rem;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.85rem; font-weight: 500;
  border-radius: 4px; text-decoration: none;
  transition: all 0.2s; letter-spacing: 0.3px;
  cursor: pointer; border: none;
}
.btn-fill {
  background: var(--accent); color: var(--bg);
}
.btn-fill:hover { background: #b03ec8; box-shadow: 0 0 30px rgba(155,51,176,0.35); }

.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--muted); color: var(--white); }

.mobile-whatsapp-cta {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #9b33b0, #c84ee3);
  color: #07060a;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(155,51,176,0.28);
}

/* --- Scroll Reveal System --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

footer {
  position: relative; z-index: 1;
  padding: 2rem 3rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-logo {
  font-family: 'Syne', 'Arial Black', 'Impact', sans-serif; font-weight: 800;
  font-size: 0.9rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
}
.footer-logo span { color: var(--accent); }
.footer-right { display: flex; gap: 1.5rem; }
.footer-right a { color: var(--muted); text-decoration: none; font-size: 0.8rem; transition: color 0.2s; }
.footer-right a:hover { color: var(--white); }

@media (max-width: 768px) {
  nav { padding: 1.25rem 1.5rem; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: rgba(7,6,10,0.98); border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid var(--border); }
  .nav-links a { display: block; padding: 1rem 1.5rem; }
  .nav-links .nav-cta {
    margin: 1rem 1.5rem 1.5rem;
    display: flex;
  }
  .hamburger { display: flex; }
  .section-wrap { padding: 5rem 1.5rem; }
  .mobile-whatsapp-cta { display: flex; }
  footer {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
    padding: 1.5rem 1.5rem 6rem;
  }
}
