/* =========================================================
   HOMEPAGE STYLES - EterHosting v6
   ========================================================= */

/* Hero */
.eter-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0 80px;
    overflow: hidden;
}

.eter-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 10, 30, 0.92) 0%,
        rgba(88, 28, 135, 0.75) 50%,
        rgba(15, 10, 30, 0.92) 100%
    );
    z-index: 1;
}

.eter-hero .container {
    position: relative;
    z-index: 2;
}

.eter-hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.eter-hero-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 24px;
    margin-bottom: 24px;
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.4);
}

.eter-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #ffffff;
}

.eter-hero-title .text-gradient {
    background: linear-gradient(135deg, #a855f7 0%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.eter-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.eter-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.eter-hero-actions .btn {
    border-radius: 12px;
    padding: 14px 28px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.eter-hero-actions .btn-primary {
    background: linear-gradient(135deg, #a855f7 0%, #d946ef 100%);
    border: none;
    box-shadow: 0 4px 24px rgba(168, 85, 247, 0.35);
}

.eter-hero-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.5);
}

.eter-hero-actions .btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.eter-hero-actions .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Tabs */
.eter-tabs-section {
    padding: 80px 0;
    background: #0f0818;
}

.eter-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.eter-tab-btn {
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.25);
    color: #e9d5ff;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.eter-tab-btn:hover,
.eter-tab-btn.active {
    background: linear-gradient(135deg, #a855f7 0%, #d946ef 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.35);
}

.eter-tab-content {
    display: none;
}

.eter-tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* Plan cards */
.eter-plan-card {
    background: linear-gradient(145deg, rgba(30, 15, 50, 0.9) 0%, rgba(20, 10, 35, 0.95) 100%);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 20px;
    padding: 28px 20px;
    text-align: center;
    height: 100%;
    position: relative;
    transition: all 0.25s ease;
}

.eter-plan-card:hover {
    transform: translateY(-6px);
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.2);
}

.eter-plan-card.popular {
    border-color: rgba(217, 70, 239, 0.5);
    box-shadow: 0 0 30px rgba(217, 70, 239, 0.15);
}

.plan-ribbon {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #d946ef 0%, #a855f7 100%);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #a855f7 0%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.plan-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.plan-ram {
    color: #d946ef;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.plan-price {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    text-align: left;
}

.plan-features li {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.plan-features li i {
    color: #a855f7;
    margin-right: 6px;
}

.btn-plan {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #a855f7 0%, #d946ef 100%);
    border: none;
    color: #ffffff;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-plan:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.35);
    color: #ffffff;
}

/* Features */
.eter-features {
    padding: 80px 0;
    background: #0a0512;
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.1rem;
}

.eter-feature-card {
    background: linear-gradient(145deg, rgba(30, 15, 50, 0.8) 0%, rgba(20, 10, 35, 0.9) 100%);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    transition: all 0.25s ease;
}

.eter-feature-card:hover {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.15);
    transform: translateY(-4px);
}

.eter-feature-card i {
    font-size: 2rem;
    background: linear-gradient(135deg, #a855f7 0%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    display: inline-block;
}

.eter-feature-card h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.eter-feature-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    margin: 0;
}

/* Footer logo */
.footer-logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 10px;
    margin-right: 10px;
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.3);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.4rem;
    text-decoration: none;
}

.footer-brand:hover {
    color: #d946ef;
    text-decoration: none;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .eter-hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .eter-hero-logo {
        width: 90px;
        height: 90px;
    }

    .eter-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .eter-hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ===== Brand simple: logo + nombre (navbar) ===== */
.eter-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    line-height: 1;
}

.eter-brand:hover { text-decoration: none; }

.eter-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 0 18px rgba(168, 85, 247, 0.45);
    transition: transform .2s ease, box-shadow .2s ease;
}

.eter-brand:hover .eter-brand-mark {
    transform: translateY(-1px);
    box-shadow: 0 0 26px rgba(217, 70, 239, 0.6);
}

.eter-brand-name {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.eter-brand:hover .eter-brand-name { color: #e9d5ff; }

@media (max-width: 575.98px) {
    .eter-brand-mark { width: 32px; height: 32px; }
    .eter-brand-name { font-size: 1.1rem; }
}

/* =========================================================
   FIX: elimina todos los separadores del header y footer
   ========================================================= */
#header,
#header .navbar,
#header .navbar-main,
#header .main-navbar-wrapper,
.navbar-border,
.eter-topbar,
.master-breadcrumb,
#footer,
#footer.footer,
#footer .footer-bottom {
    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.navbar-border { display: none !important; }

/* El HTML activo usa .main-navbar-wrapper, no #main-menu */
#main-menu,
#header .main-navbar-wrapper {
    border: 0 !important;
    box-shadow: none !important;
    background: rgba(12, 6, 22, 0.92) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Quita cualquier separador extra insertado por el tema */
#main-body > hr,
#header + hr,
#footer hr,
#footer::before,
#footer::after,
#footer .footer-bottom::before,
#footer .footer-bottom::after {
    display: none !important;
    content: none !important;
}

/* ===== Carrito navbar (neon purple) ===== */
.eter-cart-btn{
  position:relative!important;
  display:inline-flex!important;align-items:center;justify-content:center;
  width:42px;height:42px;padding:0!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,rgba(168,85,247,.18),rgba(217,70,239,.12))!important;
  border:1px solid rgba(168,85,247,.45)!important;
  color:#e9d5ff!important;
  transition:all .25s ease;
}
.eter-cart-btn:hover{
  background:linear-gradient(135deg,#a855f7,#d946ef)!important;
  color:#fff!important;
  box-shadow:0 0 18px rgba(168,85,247,.65);
  transform:translateY(-2px);
}
.eter-cart-icon {
    display: block;
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}
.eter-cart-count{
  position:absolute;top:-6px;right:-6px;
  min-width:20px;height:20px;padding:0 5px;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:.7rem;font-weight:800;color:#fff;
  background:linear-gradient(135deg,#d946ef,#a855f7);
  border:2px solid #0f0a1a;border-radius:999px;
  box-shadow:0 0 12px rgba(217,70,239,.8);
}

/* =========================================================
   FIX v2: las "2 líneas" eran los bordes de las 3 bandas del
   header (marca / menú / breadcrumb) con fondos distintos.
   Unificamos el fondo y ocultamos la barra de breadcrumb.
   ========================================================= */
#header,
#header .navbar,
#header .navbar-main,
#header .main-navbar-wrapper,
#main-menu,
.main-navbar-wrapper,
.navbar-main {
    background: #0c0616 !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Barra de breadcrumb ("Inicio del portal") fuera */
.master-breadcrumb,
#main-body > .master-breadcrumb,
.breadcrumb-wrapper,
#main-body .breadcrumb,
ol.breadcrumb {
    display: none !important;
}

/* Sin franjas residuales entre header y hero */
#main-body,
#main-body > .container,
#main-body > .container-fluid {
    border-top: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

#header::before, #header::after,
.main-navbar-wrapper::before, .main-navbar-wrapper::after,
.navbar-main::before, .navbar-main::after {
    display: none !important;
    content: none !important;
}
