:root {
  /* Paleta inspirada en el logo - Verde WhatsApp + Amarillo dorado */
  --bg: #0a1612;
  --bg-2: #0d1f18;
  --card: rgba(37, 211, 102, 0.06);
  --card-2: rgba(37, 211, 102, 0.1);
  --card-hover: rgba(37, 211, 102, 0.12);
  --text: #ffffff;
  --text-secondary: rgba(255,255,255,0.9);
  --muted: rgba(255,255,255,0.7);
  --border: rgba(37, 211, 102, 0.15);
  --border-hover: rgba(37, 211, 102, 0.35);
  
  /* Colores primarios - Verde WhatsApp */
  --primary: #25D366;
  --primary-dark: #128C7E;
  --primary-light: #34eb7a;
  
  /* Colores de acento - Amarillo dorado del logo */
  --accent: #FFD700;
  --accent-dark: #e6c200;
  --accent-light: #ffe44d;
  
  /* Azul del lápiz del logo */
  --blue: #2196F3;
  --blue-dark: #1976D2;
  
  --success: #25D366;
  --shadow: 0 25px 80px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 60px rgba(37, 211, 102, 0.15);
  --shadow-glow-accent: 0 0 40px rgba(255, 215, 0, 0.2);
  --radius: 16px;
  --radius-lg: 24px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse 1200px 900px at 10% 0%, rgba(37, 211, 102, 0.18), transparent 50%),
    radial-gradient(ellipse 900px 700px at 90% 10%, rgba(255, 215, 0, 0.12), transparent 45%),
    radial-gradient(ellipse 1000px 800px at 50% 100%, rgba(18, 140, 126, 0.15), transparent 50%),
    radial-gradient(ellipse 600px 400px at 80% 60%, rgba(33, 150, 243, 0.08), transparent 40%);
  pointer-events: none;
  z-index: -1;
  animation: gradientShift 25s ease-in-out infinite alternate;
}

@keyframes gradientShift {
  0% { opacity: 1; transform: scale(1) rotate(0deg); }
  100% { opacity: 0.9; transform: scale(1.08) rotate(1deg); }
}

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

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  animation: fadeInUp 0.6s ease-out;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 15px;
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: var(--shadow), 0 0 35px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.logo:hover {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: var(--shadow), 0 0 50px rgba(37, 211, 102, 0.5);
}

.brand-name { 
  font-weight: 900; 
  letter-spacing: -0.02em;
  font-size: 20px;
}

.brand-name .highlight {
  color: var(--accent);
}

.brand-tag { 
  color: var(--muted); 
  font-size: 13px; 
  margin-top: 3px;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-tag::before {
  content: '';
  width: 16px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.hero {
  padding: 80px 0 50px;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 5.5vw, 60px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
}

h1 .highlight {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
  max-width: 58ch;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  backdrop-filter: blur(20px);
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
  background: var(--card-hover);
  border-color: var(--border-hover);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.btn:active {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4), inset 0 1px 0 rgba(255,255,255,0.25);
  position: relative;
  overflow: hidden;
  color: white;
  font-weight: 800;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover { 
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  box-shadow: 0 14px 45px rgba(37, 211, 102, 0.55), inset 0 1px 0 rgba(255,255,255,0.3);
  transform: translateY(-4px);
}

.btn-secondary {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--card);
  border-color: var(--border);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.badge {
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.badge::before {
  content: '✓';
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.badge:hover {
  border-color: var(--primary);
  background: rgba(37, 211, 102, 0.1);
  transform: translateY(-2px);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

.card:hover {
  background: var(--card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow), var(--shadow-glow);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
  background: linear-gradient(145deg, rgba(37, 211, 102, 0.15), rgba(255, 215, 0, 0.1));
  border: 1px solid rgba(37, 211, 102, 0.2);
  transition: all 0.3s ease;
}

.card:hover .card-icon {
  background: linear-gradient(145deg, rgba(37, 211, 102, 0.25), rgba(255, 215, 0, 0.15));
  border-color: rgba(37, 211, 102, 0.4);
  transform: scale(1.05);
}

.card h2 {
  font-size: 20px;
  margin: 0 0 10px;
  font-weight: 800;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.pricing {
  margin-top: 80px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.pricing h2,
.faq h2 {
  font-size: 28px;
  margin: 0 0 8px;
  font-weight: 900;
}

.section-subtitle {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 32px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.price-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

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

.price-card.featured {
  background: linear-gradient(145deg, rgba(37, 211, 102, 0.08), rgba(255, 215, 0, 0.05));
  border-color: rgba(37, 211, 102, 0.35);
  box-shadow: var(--shadow), 0 0 60px rgba(37, 211, 102, 0.12);
}

.price-card.featured::before {
  background: linear-gradient(90deg, transparent, rgba(37, 211, 102, 0.5), rgba(255, 215, 0, 0.3), transparent);
}

.price-card.featured:hover {
  border-color: rgba(37, 211, 102, 0.5);
  box-shadow: var(--shadow), 0 0 80px rgba(37, 211, 102, 0.2);
}

.pill {
  position: absolute;
  top: -12px;
  right: 24px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border: none;
  color: #1a1a1a;
  box-shadow: 0 4px 25px rgba(255, 215, 0, 0.4);
}

.price-card h3 {
  margin: 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 700;
}

.price {
  margin: 12px 0 20px;
  font-size: 42px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--text), rgba(255,255,255,0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price span { 
  font-size: 16px; 
  color: var(--muted); 
  font-weight: 600;
  -webkit-text-fill-color: var(--muted);
}

.price-card ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.8;
}

.price-card ul li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-card ul li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
}

.fineprint {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.faq {
  margin-top: 80px;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 14px;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

details:hover {
  border-color: var(--border-hover);
  background: var(--card-hover);
}

details[open] {
  background: var(--card-hover);
  border-color: rgba(37, 211, 102, 0.35);
}

summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

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

summary::after {
  content: '+';
  font-size: 20px;
  color: var(--muted);
  transition: transform 0.3s ease;
}

details[open] summary::after {
  content: '−';
}

details p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

.footer {
  margin: 100px 0 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.footer-links a { 
  color: var(--muted); 
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: var(--text);
  background: var(--card);
}

@media (max-width: 820px) {
  .grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer { flex-direction: column; gap: 16px; }
  .hero { padding: 50px 0 30px; }
  .pricing, .faq { margin-top: 60px; }
  h1 { font-size: clamp(28px, 7vw, 40px); }
}

/* Scroll reveal animation helper */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

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

/* Highlight text styling */
.highlight {
  color: var(--accent);
}

/* Selection styling */
::selection {
  background: rgba(37, 211, 102, 0.3);
  color: white;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Focus states for accessibility */
.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

details:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Smooth link underlines */
.footer-links a {
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.footer-links a:hover::after {
  transform: scaleX(1);
}
