/* ============================================================
   GROWTAI AGENCY — Shared Stylesheet
   Design System: "The Kinetic Luminary"
   ============================================================ */

/* --- Base --- */
html {
  scroll-behavior: smooth;
}

::selection {
  background: rgba(224, 109, 255, 0.3);
  color: #ffffff;
}

/* --- Nav: transparent at top, solid on scroll --- */
.glass-nav {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* At the very top: more transparent so hero shows through */
#main-nav:not(.nav-scrolled) {
  background: rgba(19, 10, 28, 0.45);
  box-shadow: none;
}

/* After scrolling: more opaque */
#main-nav.nav-scrolled {
  background: rgba(19, 10, 28, 0.95);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
}

/* --- Hamburger button --- */
.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #f0e6ff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

#nav-hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
#nav-hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
#nav-hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* --- Mobile menu --- */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(19, 10, 28, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(74, 54, 96, 0.3);
}

.mobile-menu.menu-open {
  max-height: 480px;
}

/* --- Light Leaks (signature radial gradients) --- */
.light-leak-purple {
  background: radial-gradient(circle, rgba(224, 109, 255, 0.22) 0%, transparent 70%);
}

.light-leak-orange {
  background: radial-gradient(circle, rgba(255, 181, 154, 0.18) 0%, transparent 70%);
}

/* --- Glassmorphism --- */
.glass-card {
  background: rgba(39, 25, 54, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.glass-nav {
  background: rgba(19, 10, 28, 0.85);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}

/* --- Ambient Glows (NO black shadows) --- */
.neural-glow {
  box-shadow: 0 0 50px -5px rgba(224, 109, 255, 0.55);
}

.neural-glow-orange {
  box-shadow: 0 0 50px -5px rgba(255, 181, 154, 0.55);
}

.ambient-glow-purple {
  box-shadow: 0 24px 60px -12px rgba(224, 109, 255, 0.18);
}

.ambient-glow-orange {
  box-shadow: 0 24px 60px -12px rgba(255, 181, 154, 0.18);
}

/* --- Text Glows --- */
.text-glow-purple {
  text-shadow: 0 0 24px rgba(224, 109, 255, 0.75);
}

.text-glow-orange {
  text-shadow: 0 0 24px rgba(255, 181, 154, 0.75);
}

/* --- Border Glows (inset — illuminated edges) --- */
.border-glow-purple {
  box-shadow: inset 0 0 14px rgba(224, 109, 255, 0.25),
              0 0 14px rgba(224, 109, 255, 0.25);
}

/* --- Ghost Border (15% opacity — "barely-there" edge) --- */
.ghost-border {
  border: 1px solid rgba(154, 127, 176, 0.15);
}

.ghost-border-primary {
  border: 1px solid rgba(224, 109, 255, 0.2);
}

/* --- Gradient Text --- */
.gradient-text {
  background: linear-gradient(135deg, #e06dff 0%, #ffffff 50%, #ffb59a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(224, 109, 255, 0.6));
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #e06dff, #cc03ff);
  color: #ffffff;
  border-radius: 9999px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9375rem 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 0 32px rgba(224, 109, 255, 0.45);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 56px rgba(224, 109, 255, 0.65);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-secondary {
  display: inline-block;
  background: rgba(39, 25, 54, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(224, 109, 255, 0.45);
  color: #f0e6ff;
  border-radius: 9999px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9375rem 2rem;
  transition: background 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: rgba(224, 109, 255, 0.12);
  border-color: rgba(224, 109, 255, 0.85);
}

/* --- Chips (tech tags) --- */
.chip {
  display: inline-block;
  background: rgba(46, 31, 62, 0.85);
  color: #e06dff;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
}

/* --- Input Fields --- */
.input-field {
  width: 100%;
  background: #190f24;
  border: none;
  border-radius: 0.375rem;
  color: #000000;
  font-family: 'Manrope', sans-serif;
  font-size: 0.9375rem;
  padding: 0.9375rem 1.125rem;
  transition: box-shadow 0.25s ease;
  outline: none;
  resize: none;
}

.input-field::placeholder {
  color: rgba(203, 184, 223, 0.38);
}

/* Anular autofill de Chrome/Edge (fondo blanco) */
.input-field:-webkit-autofill,
.input-field:-webkit-autofill:hover,
.input-field:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  -webkit-text-fill-color: #000000 !important;
  caret-color: #000000;
}

.input-field:focus {
  box-shadow: 0 0 0 2px #e06dff,
              0 0 0 6px rgba(224, 109, 255, 0.18);
}

/* --- Card (light source gradient top-left → bottom-right) --- */
.card-surface {
  background: linear-gradient(135deg, #271936 0%, #190f24 100%);
}

/* --- FAQ native accordion --- */
details summary {
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}

details summary::-webkit-details-marker {
  display: none;
}

details[open] .faq-icon-open  { display: block; }
details:not([open]) .faq-icon-open  { display: none; }
details[open] .faq-icon-closed { display: none; }
details:not([open]) .faq-icon-closed { display: block; }

/* --- Form validation --- */
.input-error {
  box-shadow: 0 0 0 2px #ff4d6d, 0 0 0 6px rgba(255, 77, 109, 0.15) !important;
}

.field-error {
  display: block;
  margin-top: 0.375rem;
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  color: #ff6b88;
  font-weight: 600;
}

/* --- Form feedback (success / error) --- */
.form-feedback {
  display: block;
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

.form-feedback.success {
  background: rgba(224, 109, 255, 0.1);
  border: 1px solid rgba(224, 109, 255, 0.35);
  color: #f0e6ff;
  box-shadow: 0 0 40px rgba(224, 109, 255, 0.15);
}

.form-feedback.error {
  background: rgba(255, 77, 109, 0.1);
  border: 1px solid rgba(255, 77, 109, 0.35);
  color: #ffb3c1;
}

/* --- Material Symbols --- */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* --- Hero subtitle --- */
.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  opacity: 1;
  color: rgba(255, 255, 255, 1);
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 75%);
  padding: 1.5rem 2.5rem;
  border-radius: 9999px;
}

/* --- WhatsApp float button --- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: transform 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}

/* --- Textarea color fix --- */
textarea {
  color: #ffffff !important;
}

/* --- Section eyebrow label --- */
.eyebrow {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #e06dff;
}

/* --- Step number badge --- */
.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #e06dff, #cc03ff);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 0 24px rgba(224, 109, 255, 0.45);
}

/* --- Problem item number --- */
.problem-number {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: #e06dff;
  opacity: 0.7;
}
