/* ==========================================================================
   Seika Pricing - Tema Oscuro (Negro y Rojo)
   ========================================================================== */
:root {
    --ms-blue: #5e5e62;
    --ms-blue-hover: #2d2d2f;
    --bg-light: #f5f5f7;
    --hero-light: #ececep;
    --text-main: #1d1d1f;
    --font-stack: "Segoe UI", system-ui, -apple-system, sans-serif;
}


body {
    font-family: var(--font-stack), sans-serif;
    color: var(--text-main);
    background-color: #ffffff;
}
/* --- Configuración Global Oscura --- */
body.dark-mode-active {
    background-color: #000000;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

.text-dimmed {
    color: #888888 !important;
}

/* --- Hero Oscuro --- */
.dark-hero {
    position: relative;
    padding: 8rem 5% 4rem 5%;
    text-align: center;
    background: transparent;
    overflow: hidden;
}

/* Brillo Rojo de Fondo */
.glow-bg-red {
    position: absolute;
    background: radial-gradient(circle, rgba(209, 52, 56, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}
.glow-top-center { top: -200px; left: 50%; transform: translateX(-50%); width: 800px; height: 800px; }
.glow-bottom-center { bottom: -200px; left: 50%; transform: translateX(-50%); width: 1000px; height: 500px; }

/* Features de texto superior */
.feature { display: inline-block; white-space: nowrap; margin: 0 8px; color: #ccc; }
.feature span { color: #D13438; font-weight: bold; } /* El check en rojo */

/* --- Toggle de Facturación --- */
.billing-toggle { text-align: center; margin: 3rem 0 2rem 0; }
.toggle-title { font-size: 1.4rem; margin-bottom: 1.2rem; font-weight: 600; }

.dark-toggle button {
    background: transparent;
    border: 1px solid #333333;
    color: #aaaaaa;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.2s ease;
    margin: 0 5px;
}

.dark-toggle button.active {
    background: rgba(209, 52, 56, 0.1);
    border-color: #D13438;
    color: #ffffff;
}

.dark-toggle button:hover:not(.active) {
    border-color: #666;
    color: #fff;
}

.badge-ahorro.bg-red {
    position: absolute;
    top: -12px;
    right: -10px;
    background-color: #D13438;
    color: white;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(209, 52, 56, 0.4);
    text-transform: uppercase;
    transform: rotate(4deg);
    z-index: 2;
}

#annual-btn:not(.active) .badge-ahorro {
    opacity: 0.5;
    background-color: #555;
    box-shadow: none;
}

/* --- Grid de Precios --- */
.dark-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 6rem auto;
    padding: 0 5%;
    position: relative;
    z-index: 2;
}

.dark-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.dark-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Especial para la tarjeta central (Más popular) */
.popular-card:hover {
    transform: scale(1.05) translateY(-8px) !important;
}

.dark-card h3 { font-size: 1.8rem; margin-bottom: 0.5rem; font-weight: 500;}
.dark-card .price { font-size: 3rem; font-weight: 600; margin-bottom: 0.5rem; margin-top: 1rem; line-height: 1; letter-spacing: -1px; }
.dark-card .price span.period { font-size: 1rem; font-weight: normal; }

/* Listas con check rojo */
.dark-list { list-style: none; margin: 2rem 0 0 0; padding: 0;}
.dark-list li {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
    position: relative;
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.5;
}
.dark-list li::before {
    content: '✓';
    color: #D13438; /* Check en Rojo Seika */
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.1rem;
}

/* --- Botones --- */
.btn-solid-red {
    background-color: #D13438;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-solid-red:hover {
    background-color: #e63f44;
    transform: scale(1.02);
}

.btn-outline-white {
    background-color: transparent;
    color: white;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

/* --- Componente de Formulario Oscuro (Heredado del Index) --- */
.seika-dark-section {
    background-color: #000000;
    position: relative;
    padding: 6rem 5%;
    overflow: hidden;
}

.dark-form-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.dark-input, .dark-select {
    width: 100%;
    background: #111111;
    border: 1px solid #333333;
    color: #ffffff;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    outline: none;
}

.dark-input:focus, .dark-select:focus {
    border-color: #D13438;
}

.dark-input::placeholder { color: #666666; }

.dark-phone-group {
    display: flex;
    gap: 0.5rem;
}

.dark-phone-group .dark-select { width: 120px; flex-shrink: 0; }
.dark-phone-group .dark-input { flex: 1; }

/* --- Footer Oscuro --- */
.seikaindexfooter {
    background-color: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4rem 5% 2rem 5%;
}

.seikaindexfooter-container {
    max-width: 1400px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2rem;
}
.seikaindexfooter-brand { display: flex; flex-direction: column; gap: 0.5rem; }
.seikaindexfooter-name { font-size: 1.5rem; font-weight: 700; color: #ffffff; }
.seikaindexfooter-tagline { font-size: 0.95rem; color: #888888; }
.seikaindexfooter-links { display: flex; gap: 2rem; }
.seikaindexfooter-links a { color: #cccccc; text-decoration: none; font-size: 0.95rem; transition: color 0.2s ease; }
.seikaindexfooter-links a:hover { color: #D13438; }
.seikaindexfooter-copyright { width: 100%; text-align: center; font-size: 0.85rem; color: #555555; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.05); }

/* --- Responsivo --- */
@media (max-width: 900px) {
    .popular-card {
        transform: scale(1) !important; /* Desactiva el escalado en móviles para evitar scroll horizontal */
    }
    .popular-card:hover {
        transform: translateY(-8px) !important;
    }
    .dark-hero h1 {
        font-size: 2.2rem;
    }
    .seikaindexfooter-container {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* --- Navbar Normalizada (Estilo Oscuro / Transparente) --- */
.enterprise-nav.dark-nav {
    position: absolute; /* Hace que flote sobre el Hero */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: transparent !important;
    border-bottom: none !important; /* Quita la línea divisoria si la tuviera */
}

/* Efecto hover para los enlaces de la navbar oscura */
.enterprise-nav.dark-nav .nav-links a {
    color: #ffffff !important;
    transition: color 0.2s ease;
}

.enterprise-nav.dark-nav .nav-links a:hover {
    color: #D13438 !important; /* Rojo Seika al pasar el cursor */
}

/* Ajuste para el texto de la marca */
.enterprise-nav.dark-nav .brand-text {
    color: #ffffff;
}
.enterprise-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: #fff;
}

.nav-brand {
    font-weight: 600;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cloud Soft', var(--font-stack), sans-serif;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.nav-brand .tachibana {
    color: #5e5e62;
}

.nav-brand .labs {
    color: #a3a3a3;
}

.nav-brand .brand-divider {
    margin: 0 10px;
    color: #d2d2d2;
    font-weight: 300;
    font-family: var(--font-stack), sans-serif;
}

.nav-brand .nav-product-name {
    color: var(--ms-blue);
    font-family: var(--font-stack), sans-serif;
    font-weight: 600;
}

.brand-icon {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.nav-links a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
}

body.theme-seika {
    --ms-blue: #D13438;
    --ms-blue-hover: #A4262C;
    --hero-light: #fdf0f1;
}

/* --- Corrección del Precio Original (Tachado) --- */
.original-price {
    display: block; /* Obliga al precio tachado a ocupar su propia línea */
    font-size: 1.25rem;
    color: #666666; /* Gris atenuado para no competir con el precio real */
    text-decoration: line-through; /* El efecto de tachado */
    font-weight: 400;
    margin-bottom: -5px; /* Acerca el texto tachado al precio principal */
    height: 1.5rem; /* Altura fija para evitar que la tarjeta "salte" al cambiar el toggle */
    letter-spacing: normal;
}