:root {
  /* Corporativo VGD - Tonos Rosas Oscuros y Contrastes */
  --color-primary: #C2185B; /* Rosa oscuro principal */
  --color-primary-light: #E91E63;
  --color-primary-dark: #880E4F; /* Rosa muy oscuro / Borgoña */
  --color-secondary: #0F172A; /* Azul marino/pizarra casi negro para contrastes fuertes */
  --color-secondary-light: #1E293B;
  --color-bg-light: #F8FAFC;
  --color-bg-card: #FFFFFF;
  --color-text: #334155;
  --color-text-muted: #64748B;
  --color-border: #E2E8F0;

  /* Estados y Alertas */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-danger: #EF4444;
  --color-info: #3B82F6;

  /* Tipografía (Premium) */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--color-bg-light);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-secondary);
  font-weight: 800;
  line-height: 1.2;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

a:hover {
  color: var(--color-primary-dark);
}

/* Componentes Premium */
.card-premium {
  background: var(--color-bg-card);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  overflow: hidden;
}

.card-premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(194, 24, 91, 0.08);
  border-color: rgba(194, 24, 91, 0.2);
}

/* Botones */
.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 50px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(194, 24, 91, 0.25);
  text-decoration: none;
  gap: 8px;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(194, 24, 91, 0.35);
  color: #FFFFFF;
}

.btn-outline-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-border);
  border-radius: 50px;
  padding: 12px 26px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  gap: 8px;
}

.btn-outline-premium:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: rgba(194, 24, 91, 0.02);
}

/* Entradas y Formularios */
.form-control-premium {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: var(--color-bg-light);
  color: var(--color-secondary);
}

.form-control-premium:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(194, 24, 91, 0.1);
  background-color: #FFFFFF;
}

/* Badges / Insignias */
.badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}
.badge-success { background-color: rgba(16, 185, 129, 0.15); color: #059669; }
.badge-danger { background-color: rgba(239, 68, 68, 0.15); color: #DC2626; }
.badge-warning { background-color: rgba(245, 158, 11, 0.15); color: #D97706; }
.badge-primary { background-color: rgba(194, 24, 91, 0.1); color: var(--color-primary); }

/* Utilities de layout flex y grid básicos */
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

/* Contenedor Principal */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Dashboard Wrapper (Por si se usa internamente) */
.dashboard-wrapper {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 280px;
  background-color: var(--color-secondary);
  color: white;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: 4px 0 15px rgba(0,0,0,0.05);
}

.sidebar .brand {
  padding: 24px;
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  letter-spacing: -0.5px;
}

.sidebar .brand span {
  color: var(--color-primary-light);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  gap: 8px;
}

.sidebar-nav-item {
  padding: 14px 24px;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s;
  border-left: 4px solid transparent;
  font-weight: 500;
}

.sidebar-nav-item:hover, .sidebar-nav-item.active {
  color: white;
  background-color: rgba(255,255,255,0.03);
  border-left-color: var(--color-primary);
}

/* Topbar */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg-light);
}

.topbar {
  background: white;
  height: 76px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  z-index: 10;
  position: sticky;
  top: 0;
}

.page-content {
  padding: 32px;
  flex: 1;
  overflow-y: auto;
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* --- ESTILOS GENERALES PARA SECCIONES DE LANDING PAGE --- */

.section-padding {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  background: rgba(194, 24, 91, 0.1);
  color: var(--color-primary);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-title {
  font-size: 2.8rem;
  color: var(--color-secondary);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
}

/* --- ESTILOS ESPECÍFICOS E INNOVADORES PARA LA LANDING DE VGD --- */
    
/* Hero Section Premium */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    background-color: var(--color-bg-light);
    overflow: hidden;
}

.hero-blob-1 {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(194, 24, 91, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(40px);
}

.hero-blob-2 {
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(40px);
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-secondary);
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--color-primary) 0%, #FF4081 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.trust-indicators {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.avatars {
    display: flex;
}

.avatars img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid #FFFFFF;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-right: -16px;
}

.avatars img:last-child {
    margin-right: 0;
}

.trust-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 500;
    line-height: 1.4;
}

.trust-text strong {
    color: var(--color-secondary);
    display: block;
    font-size: 1.1rem;
}

/* Hero Image / Dashboard Mockup */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.dashboard-mockup {
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(226, 232, 240, 0.8);
    padding: 20px;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.dashboard-mockup:hover {
    transform: rotateY(0) rotateX(0);
}

.dashboard-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-border);
}

.mac-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.mac-btn.close { background-color: #FF5F56; }
.mac-btn.min { background-color: #FFBD2E; }
.mac-btn.max { background-color: #27C93F; }

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%);
    padding: 80px 0;
    position: relative;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 10px;
    line-height: 1;
    text-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.stat-number span {
    color: var(--color-primary-light);
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features Section */
.feature-card {
    padding: 50px 40px;
    border-radius: 24px;
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border-color: rgba(194, 24, 91, 0.3);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(194, 24, 91, 0.1) 0%, rgba(194, 24, 91, 0.02) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--color-primary);
    color: #FFFFFF;
    transform: scale(1.1) rotate(-5deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

/* --- NUEVAS SECCIONES AÑADIDAS --- */

/* How it Works / Pasos */
.how-it-works-section {
    background-color: #FFFFFF;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.steps-container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step-card {
    text-align: center;
    position: relative;
    padding: 30px;
    background: var(--color-bg-light);
    border-radius: 20px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.step-card:hover {
    background: #FFFFFF;
    border-color: var(--color-primary);
    box-shadow: 0 15px 30px rgba(194, 24, 91, 0.08);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 24px;
    box-shadow: 0 8px 15px rgba(194, 24, 91, 0.3);
}

.step-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.step-card p {
    color: var(--color-text-muted);
}

/* Connectors between steps (Desktop only) */
@media (min-width: 1025px) {
    .step-card:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 55px;
        right: -30%;
        width: 60%;
        height: 2px;
        background: dashed 2px var(--color-border);
        z-index: 0;
    }
}

/* Integrations Section */
.integrations-section {
    background-color: var(--color-bg-light);
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.integration-box {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.integration-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.06);
    border-color: var(--color-text-muted);
}

.integration-box i {
    font-size: 3rem;
    color: var(--color-secondary-light);
    transition: color 0.3s ease;
}

.integration-box:hover i {
    color: var(--color-primary);
}

.integration-box span {
    font-weight: 600;
    color: var(--color-secondary);
}

/* Store Section */
.store-section {
    background-color: #FFFFFF;
    position: relative;
    border-top: 1px solid var(--color-border);
}

.product-card {
    background: var(--color-bg-light);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--color-border);
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08);
    border-color: var(--color-primary);
    background: #FFFFFF;
}

.product-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.product-title {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.product-desc-short {
    color: var(--color-primary-dark);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 20px;
}

.product-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--color-border);
    display: flex;
    align-items: flex-start;
}

.product-price span.currency {
    font-size: 1.5rem;
    margin-top: 8px;
    margin-right: 4px;
}

.product-desc {
    color: var(--color-text-muted);
    margin-bottom: 30px;
    flex-grow: 1;
}

.btn-buy-card {
    display: block;
    width: 100%;
    text-align: center;
    background: #FFFFFF;
    color: var(--color-secondary);
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
}

.product-card:hover .btn-buy-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(194, 24, 91, 0.2);
}

/* FAQ Section */
.faq-section {
    background-color: var(--color-bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(194, 24, 91, 0.3);
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h4 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--color-secondary);
}

.faq-question i {
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    margin-top: 16px;
    color: var(--color-text-muted);
    line-height: 1.7;
    display: none; /* In a real scenario, toggled via JS */
}

/* Mostrar respuesta en el hover (fallback visual rápido sin JS para demostración) */
.faq-item:hover .faq-answer {
    display: block;
    animation: fadeIn 0.4s ease;
}

.faq-item:hover .faq-question i {
    transform: rotate(180deg);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-secondary) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(255,255,255,0.1) 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.3;
}

/* Media Queries y Responsive Global */
@media (max-width: 1024px) {
  .grid-4, .integration-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 2.4rem; }
  .section-padding { padding: 80px 0; }
  
  /* Ajustes Hero y Componentes */
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-content h1 { font-size: 3rem; }
  .hero-content p { margin: 0 auto 40px; }
  .hero-buttons { justify-content: center; }
  .trust-indicators { justify-content: center; }
  .dashboard-mockup { margin-top: 40px; transform: none; }
}

@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4, .integration-grid { grid-template-columns: 1fr; }
  .steps-container { grid-template-columns: 1fr; }
  .section-title { font-size: 2rem; }
  .section-padding { padding: 60px 0; }
  
  /* Ajustes Hero y Componentes */
  .hero-content h1 { font-size: 2.4rem; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .btn-premium, .btn-outline-premium { width: 100%; justify-content: center; }
  .sidebar { width: 100%; height: auto; position: static; }
  .dashboard-wrapper { flex-direction: column; }
  .stat-number { font-size: 2.5rem; }
  .product-card { padding: 30px; }
}