/* CSS Real Cloud - Versión Slider & Light 3D */
:root {
    --bg-cloud: #f4f7fc;
    --card-light: rgba(255, 255, 255, 0.75);
    --primary-red: #e61c38;
    --dark-text: #1a1e29;
    --muted-blue: #5b6c8f;
    --accent-blue: #0076a3;
    --card-shadow: 0 10px 30px rgba(26, 30, 41, 0.06);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-cloud);
}

body {
    color: var(--dark-text);
    overflow-x: hidden;
    position: relative;
    font-family: 'Space Grotesk', sans-serif;
}

h1, h2, h3, .logo, .price, .btn {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
}

#cloud-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.container {
    width: 92%;
    max-width: 1300px;
    margin: 0 auto;
}

.highlight {
    color: var(--primary-red);
    text-shadow: 0 2px 10px rgba(230, 28, 56, 0.15);
}

/* HEADER */
header {
    background-color: rgba(244, 247, 252, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(16px);
}

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

.logo {
    font-weight: 900;
    font-size: 24px;
    color: var(--dark-text);
}

.brand-cloud { color: var(--primary-red); }

.logo-status {
    display: block;
    font-size: 9px;
    color: var(--accent-blue);
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 1.5px;
    font-weight: bold;
    margin-top: -1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

nav ul li a {
    color: var(--muted-blue);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--dark-text);
}

.btn-cyber {
    background: linear-gradient(135deg, var(--primary-red) 0%, #ca122b 100%);
    color: white;
    padding: 12px 26px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(230, 28, 56, 0.2);
    transition: all 0.3s ease;
}

.btn-cyber:hover {
    box-shadow: 0 6px 22px rgba(230, 28, 56, 0.4);
    transform: translateY(-1px);
}

/* ESTRUCTURA DEL SLIDER EN LA SECCIÓN HERO */
.hero-slider-section {
    position: relative;
    padding: 80px 0 160px 0;
    z-index: 10;
    overflow: hidden;
    min-height: 520px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 260px;
}

.slide {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.97);
    transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s;
    text-align: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.cyber-badge {
    background: rgba(0, 118, 163, 0.06);
    border: 1px solid rgba(0, 118, 163, 0.15);
    display: inline-block;
    padding: 6px 14px;
    font-size: 11px;
    color: var(--accent-blue);
    letter-spacing: 1.5px;
    font-weight: bold;
    margin-bottom: 25px;
    border-radius: 4px;
}

.hero-content h1 {
    font-size: 46px;
    font-weight: 900;
    color: var(--dark-text);
    line-height: 1.25;
    margin-bottom: 25px;
}

.hero-subtitle {
    color: var(--muted-blue);
    font-size: 18px;
    max-width: 850px;
    margin: 0 auto;
}

/* Controles de Puntos */
.slider-dots {
    text-align: center;
    margin: 20px 0 40px 0;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 6px;
    background-color: #cbd5e1;
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: var(--primary-red);
    width: 24px;
    border-radius: 5px;
}

.search-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 20;
}

/* BUSCADOR DE DOMINIOS ELEGANTE */
.domain-search-box {
    width: 100%;
    max-width: 750px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 6px;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(26, 30, 41, 0.05);
}

.domain-search-box form {
    display: flex;
}

.domain-search-box input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 16px;
    color: var(--dark-text);
    font-size: 15px;
    font-weight: 500;
    outline: none;
}

.domain-search-box input::placeholder {
    color: #9aa4b8;
}

.btn-search {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 0 35px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.3s;
}

.btn-search:hover {
    background: #ca122b;
}

.domain-extensions {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 15px;
    font-size: 13px;
    color: var(--muted-blue);
}

.domain-extensions b {
    color: var(--dark-text);
}

/* SECCIÓN PRECIOS */
.pricing {
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-text);
}

.subtitle {
    color: var(--muted-blue);
    margin-top: 10px;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.price-card {
    background: var(--card-light);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 40px 28px;
    width: 360px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    box-shadow: var(--card-shadow);
}

.price-card:hover {
    border-color: rgba(230, 28, 56, 0.25);
    box-shadow: 0 20px 40px rgba(26, 30, 41, 0.08);
    transform: translateY(-4px);
}

.price-card.popular {
    border: 2px solid var(--primary-red);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 15px 35px rgba(230, 28, 56, 0.08);
}

.badge-cyber {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-red);
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 18px;
    border-radius: 20px;
}

.card-header-spec {
    text-align: center;
    margin-bottom: 20px;
}

.price-card h3 {
    font-size: 22px;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.price {
    font-size: 40px;
    font-weight: 700;
    color: var(--dark-text);
}

.price span {
    font-size: 15px;
    color: var(--muted-blue);
}

.card-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.specs-scroll-container {
    max-height: 280px;
    overflow-y: auto;
    margin-bottom: 25px;
    padding-right: 5px;
}

.specs-scroll-container::-webkit-scrollbar {
    width: 4px;
}
.specs-scroll-container::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.02);
}
.specs-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}
.specs-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red);
}

.price-card ul {
    list-style: none;
}

.price-card ul li {
    margin-bottom: 12px;
    font-size: 14px;
    color: #3a4257;
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-card ul li i {
    color: var(--accent-blue);
    font-size: 12px;
    width: 16px;
    text-align: center;
}

.btn-card {
    display: block;
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--dark-text);
    text-align: center;
    padding: 14px;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    border-radius: 8px;
    transition: all 0.3s;
    margin-top: auto;
}

.btn-card:hover {
    background: var(--dark-text);
    color: #ffffff;
    border-color: var(--dark-text);
}

.btn-popular {
    background: var(--primary-red);
    border: 1px solid var(--primary-red);
    color: white;
}
.btn-popular:hover {
    background: #ca122b;
    border-color: #ca122b;
}

/* CONTACTO */
.contact {
    padding: 60px 0 100px 0;
    position: relative;
    z-index: 10;
}

.cyber-panel {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    backdrop-filter: blur(16px);
    box-shadow: var(--card-shadow);
}

.btn-whats {
    display: inline-block;
    background: #25d366;
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 16px 35px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
    transition: all 0.3s;
}

.btn-whats:hover {
    background: #20ba5a;
}

/* FOOTER */
footer {
    background: #ffffff;
    padding: 35px 0;
    border-top: 1px solid rgba(0,0,0,0.04);
    font-size: 13px;
    color: var(--muted-blue);
    position: relative;
    z-index: 10;
}

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

.sys-code { color: var(--accent-blue); font-weight: bold; }

@media (max-width: 768px) {
    .nav-container, .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    nav ul { gap: 20px; }
    .hero h1 { font-size: 32px; }
    .slider-container { height: 380px; }
}
