/* ==========================================================================
   1. VARIABLES Y ESTILOS BASE (Basado en TeleServiciosPerú)
   ========================================================================== */
:root {
    --bg-main: #060814;
    --bg-card: #0d1127;
    --bg-alt: #090c1e;
    --red-accent: #ff2a3b;
    --blue-accent: #00d2ff;
    --text-white: #ffffff;
    --text-muted: #a0aec0;
    --border-color: rgba(255, 255, 255, 0.08);
    --font-orbitron: 'Orbitron', sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --max-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-orbitron);
    font-weight: 700;
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* Layout Container */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Sections */
.section {
    padding: 80px 0;
}

.bg-alt {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-white);
    text-transform: uppercase;
}

.section h2 span {
    color: var(--red-accent);
}

.section > .container > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Botón estilo Pill / Cápsula idéntico al de la imagen */
.btn {
    display: inline-block;
    padding: 12px 36px;
    background: linear-gradient(90deg, #ff2a55 0%, #3a7bd5 100%);
    color: #ffffff;
    font-family: var(--font-orbitron);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50px; /* Redondeado cápsula */
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(255, 42, 85, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 42, 85, 0.5);
    color: #ffffff;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    /* Degradado sutil con tono rojizo abajo a la izquierda como la imagen */
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 42, 59, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 210, 255, 0.08) 0%, transparent 40%),
        var(--bg-main);
    border-bottom: 1px solid var(--border-color);
}

.hero-content {
    max-width: 900px;
}

.hero-mini {
    display: inline-block;
    font-family: var(--font-orbitron);
    color: var(--blue-accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    background: rgba(0, 210, 255, 0.08);
    padding: 6px 20px;
    border-radius: 30px;
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.25;
    margin-bottom: 24px;
    text-transform: uppercase;
    color: var(--text-white);
}

.hero h1 span {
    color: var(--red-accent);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   3. TARJETAS / BENEFICIOS
   ========================================================================== */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.card {
    background: var(--bg-card);
    padding: 32px 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--red-accent);
    box-shadow: 0 10px 25px rgba(255, 42, 59, 0.15);
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-white);
}

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

/* ==========================================================================
   4. CARACTERÍSTICAS
   ========================================================================== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.features div {
    background: rgba(255, 255, 255, 0.03);
    padding: 18px 20px;
    border-radius: 8px;
    border-left: 3px solid var(--red-accent);
    font-weight: 600;
    color: var(--text-white);
}

/* ==========================================================================
   5. PLANES DE HOSTING
   ========================================================================== */
.planes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    align-items: center;
}

.plan {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.plan:hover {
    border-color: rgba(255, 42, 59, 0.4);
}

/* Plan Destacado con acento rojo */
.plan.destacado {
    border: 2px solid var(--red-accent);
    box-shadow: 0 0 30px rgba(255, 42, 59, 0.2);
    transform: scale(1.04);
    background: linear-gradient(180deg, rgba(255, 42, 59, 0.08) 0%, var(--bg-card) 100%);
}

.plan h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.plan .precio {
    font-family: var(--font-orbitron);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--red-accent);
    margin-bottom: 24px;
}

.plan ul {
    list-style: none;
    margin-bottom: 32px;
}

.plan ul li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.plan ul li:last-child {
    border-bottom: none;
}

.plan a {
    display: block;
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: 2px solid var(--red-accent);
    color: var(--text-white);
    border-radius: 50px;
    font-family: var(--font-orbitron);
    font-weight: 700;
    font-size: 0.85rem;
}

.plan a:hover,
.plan.destacado a {
    background: var(--red-accent);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 42, 59, 0.4);
}

/* ==========================================================================
   6. FAQ
   ========================================================================== */
.faq {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    padding: 24px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--blue-accent);
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   7. CIUDADES GRID
   ========================================================================== */
.ciudades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 40px;
}

.ciudades-grid a {
    display: block;
    background: rgba(255, 255, 255, 0.02);
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-white);
}

.ciudades-grid a:hover {
    background: var(--bg-card);
    border-color: var(--blue-accent);
    color: var(--blue-accent);
}

/* ==========================================================================
   8. CTA & FOOTER
   ========================================================================== */
.cta {
    padding: 90px 0;
    text-align: center;
    background: radial-gradient(circle at center, #151c38 0%, var(--bg-main) 100%);
    border-top: 1px solid var(--border-color);
}

.cta h2 {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.cta p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 1.1rem;
}

footer {
    background-color: #03040a;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

footer h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-white);
}

footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   9. RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section h2 {
        font-size: 1.7rem;
    }

    .plan.destacado {
        transform: scale(1);
    }
}