:root {
  --pk-primary: #0ea5e9;       
  --pk-primary-dark: #0284c7;
  --pk-whatsapp: #25D366;
  --pk-whatsapp-dark: #128C7E;
  --pk-dark: #0f172a;     
  --pk-accent: #38bdf8;        
  --pk-text: #334155;          
  --pk-text-light: #64748b;    
  --pk-bg: #f8fafc;            
  --pk-white: #ffffff;
  
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-float: 0 20px 40px -15px rgba(0,0,0,0.08);
  --shadow-premium: 0 25px 50px -12px rgba(0,0,0,0.25);
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--pk-dark);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
}

a { text-decoration: none; color: inherit; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-md); }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

/* Header Premium con Glassmorphism */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(248, 250, 252, 0.85); 
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05); 
  padding: 1rem 0; transition: all 0.3s ease;
}

.nav { display: flex; justify-content: space-between; align-items: center; }

.logo { 
  font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem; 
  color: var(--pk-dark); display: flex; align-items: center; gap: 0.5rem;
  letter-spacing: -0.02em;
}
.logo span { color: var(--pk-primary); }
.logo::before {
  content: '';
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--pk-primary), var(--pk-accent));
  box-shadow: 0 4px 8px rgba(14, 165, 233, 0.3);
}

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-link { 
  font-weight: 500; font-size: 0.95rem; color: var(--pk-text); 
  position: relative; padding: 0.5rem 0;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--pk-primary); transition: width 0.3s ease; border-radius: 2px;
}
.nav-link:hover { color: var(--pk-primary); }
.nav-link:hover::after { width: 100%; }

/* Botones Premium */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: none;
  white-space: nowrap;
}
.btn-primary { 
  background: var(--pk-primary); color: var(--pk-white); 
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3); 
}
.btn-primary:hover { 
  background: var(--pk-primary-dark); transform: translateY(-2px); 
}
.btn-whatsapp { 
  background: var(--pk-whatsapp); color: var(--pk-white); 
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3); 
}
.btn-whatsapp:hover { 
  background: var(--pk-whatsapp-dark); transform: translateY(-2px); 
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4); 
}
.btn-outline-dark {
  border: 1px solid rgba(0,0,0,0.1); color: var(--pk-dark);
  background: rgba(255,255,255,0.8);
}
.btn-outline-dark:hover {
  border-color: var(--pk-primary); color: var(--pk-primary);
  background: var(--pk-white);
}

/* Hero Interno Premium */
.hero-inner { 
  padding: 10rem 0 6rem; 
  background: linear-gradient(-45deg, var(--pk-dark), #1e293b, #0f172a, #020617);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  color: var(--pk-white); text-align: center; 
  position: relative; overflow: hidden;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-inner::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(14,165,233,0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(56,189,248,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner h1 { 
  color: var(--pk-white); font-size: clamp(2.5rem, 5vw, 4rem); 
  margin-bottom: 1.5rem; position: relative; font-weight: 800;
}
.hero-inner h1 span { 
  background: linear-gradient(135deg, var(--pk-accent), #818cf8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-inner p { 
  color: #cbd5e1; font-size: clamp(1.1rem, 2vw, 1.25rem); 
  max-width: 700px; margin: 0 auto; position: relative;
}

/* Secciones */
.section { padding: 6rem 0; }
.section-alt { background: var(--pk-white); }
.section-title { 
  text-align: center; font-size: clamp(2rem, 4vw, 2.8rem); 
  margin-bottom: 1rem; font-weight: 800;
}
.section-subtitle { 
  text-align: center; color: var(--pk-text-light); 
  max-width: 700px; margin: 0 auto 4rem; font-size: 1.15rem; 
}

/* Comparativa VS Premium */
.vs-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; 
  max-width: 1100px; margin: 0 auto;
}
.vs-card {
  padding: 3rem; border-radius: var(--radius-lg); 
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.vs-bad { 
  background: #f8fafc; border: 1px solid rgba(0,0,0,0.06);
}
.vs-good { 
  background: var(--pk-dark); color: var(--pk-white); 
  box-shadow: var(--shadow-premium);
  background-image: radial-gradient(circle at 20% 80%, rgba(14,165,233,0.1) 0%, transparent 50%);
}
.vs-good h3 { color: var(--pk-white); }
.vs-list { list-style: none; margin-top: 1.5rem; }
.vs-list li { 
  margin-bottom: 1.2rem; display: flex; gap: 1rem; 
  align-items: flex-start; font-size: 1rem;
}
.vs-bad .vs-list li::before { content: '❌'; font-size: 1.2rem; }
.vs-good .vs-list li::before { content: '✅'; font-size: 1.2rem; }
.vs-good .vs-list li { color: #cbd5e1; }

/* Pasos con Números Grandes */
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 2rem;
}
.step-card {
  background: var(--pk-white); padding: 2.5rem; border-radius: var(--radius-lg);
  position: relative; border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03);
}
.step-card:hover {
  transform: translateY(-5px); box-shadow: var(--shadow-float);
  border-color: rgba(14, 165, 233, 0.2);
}
.step-number {
  font-size: 4rem; font-weight: 800; color: rgba(14, 165, 233, 0.1);
  position: absolute; top: 1rem; right: 1.5rem; line-height: 1; 
  font-family: var(--font-heading);
}
.step-card h3 { 
  font-size: 1.4rem; margin-bottom: 1rem; position: relative; z-index: 1; 
}
.step-card p { color: var(--pk-text-light); line-height: 1.6; }

/* Modelos Bento Premium */
.models-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
  gap: 2rem;
}
.model-card {
  background: var(--pk-white); padding: 2.5rem; border-radius: var(--radius-lg);
  border: 1px solid rgba(14, 165, 233, 0.1); 
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03);
}
.model-card:hover { 
  transform: translateY(-8px); box-shadow: var(--shadow-float); 
  border-color: var(--pk-primary); 
}
.model-badge {
  display: inline-block; padding: 0.3rem 0.8rem; 
  background: rgba(14, 165, 233, 0.1); color: var(--pk-primary-dark); 
  font-weight: 700; font-size: 0.8rem; border-radius: 20px; 
  margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.model-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.model-card p { color: var(--pk-text-light); margin-bottom: 1.5rem; flex-grow: 1; }

/* CTA Final Premium */
.final-cta {
  background: var(--pk-white); padding: 4rem; border-radius: var(--radius-lg);
  text-align: center; box-shadow: var(--shadow-premium);
  border: 1px solid rgba(14, 165, 233, 0.1);
}

/* Footer */
.footer { 
  background: var(--pk-dark); color: var(--pk-white); 
  padding: 5rem 0 2rem; 
}
.footer-grid { 
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
  gap: 4rem; margin-bottom: 4rem; 
}
.footer h3 { color: var(--pk-white); margin-bottom: 1.5rem; font-size: 1.1rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.85rem; color: #cbd5e1; font-size: 0.95rem; }
.footer a { color: #cbd5e1; }
.footer a:hover { color: var(--pk-white); }
.footer-desc { color: #cbd5e1; font-size: 0.95rem; line-height: 1.7; margin-bottom: 1rem; }
.copyright { 
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; 
  text-align: center; color: #94a3b8; font-size: 0.875rem; 
}

/* WhatsApp FAB */
.whatsapp-fab { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 50; }
.whatsapp-fab a {
  width: 56px; height: 56px; border-radius: 50%; background: var(--pk-whatsapp);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); display: flex; 
  align-items: center; justify-content: center; color: var(--pk-white); 
  font-size: 1.4rem; transition: all 0.3s ease;
}
.whatsapp-fab a:hover { 
  transform: translateY(-3px) scale(1.05); 
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5); 
}

/* Menú Móvil */
.nav-toggle {
  display: none; width: 44px; height: 44px; 
  border: 1px solid rgba(0,0,0,0.1); background: var(--pk-white);
  border-radius: 12px; cursor: pointer; flex-direction: column; 
  justify-content: center; gap: 5px; padding: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.nav-toggle span { 
  display: block; width: 20px; height: 2px; 
  background: var(--pk-dark); border-radius: 2px; transition: 0.3s; 
}

@media (max-width: 992px) {
  .models-grid { grid-template-columns: 1fr; }
  .vs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px); padding: 1.5rem; 
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); gap: 1rem; 
    border-radius: 0 0 16px 16px;
  }
  .nav-links.is-open { display: flex; }
  .hero-inner { padding: 8rem 0 5rem; }
  .section { padding: 4rem 0; }
}
