/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.28s ease, color 0.28s ease, border-color 0.28s ease, transform 0.18s ease;
}

/* Light Theme */
:root {
    --bg: #f8f8ff;
    --panel: #ffffff;
    --muted: #6b7280;
    --text: #111827;
    --accent: #6c3cff;
    --accent-contrast: #ffffff;
    --shadow: rgba(0,0,0,0.08);
}

/* Dark Theme */
:root.dark {
    --bg: #070912;
    --panel: #0f1724;
    --muted: #9aa3b2;
    --text: #e6eef8;
    --accent: #9b7bff;
    --accent-contrast: #0b1020;
    --shadow: rgba(0,0,0,0.6);
}

body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    padding: 18px 36px;
    align-items: center;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px var(--shadow);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 80px;
    width: auto;
    margin-right: 16px;
}

.logo-text {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text);
}

.header nav a {
    margin-left: 18px;
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
}

.header nav a:hover {
    color: var(--text);
}

.btn-nav {
    padding: 8px 14px;
    background: var(--accent);
    color: var(--accent-contrast) !important;
    border-radius: 8px;
    text-decoration: none;
}

/* Theme Toggle */
.theme-toggle {
    margin-left: 14px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.05);
    color: var(--muted);
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
}

/* Hero */
.hero {
    display: flex;
    justify-content: space-between;
    padding: 72px 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 40px;
    font-weight: 700;
    color: var(--text);
}

.hero-content p {
    margin-top: 15px;
    font-size: 17px;
    max-width: 540px;
    color: var(--muted);
}

.hero-img {
    width: 450px;
    border-radius: 12px;
    box-shadow: 0px 10px 30px var(--shadow);
    border: 1px solid rgba(255,255,255,0.03);
}

/* Buttons */
.btn-main {
    margin-top: 22px;
    display: inline-block;
    padding: 12px 26px;
    background: linear-gradient(90deg, var(--accent), #6f5bff);
    color: var(--accent-contrast);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
}

/* Beneficios */
.beneficios {
    padding: 56px 60px;
    text-align: center;
}

.benefit-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 26px;
}

.card {
    background: var(--panel);
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 6px 20px var(--shadow);
    border: 1px solid rgba(255,255,255,0.03);
}

/* NUEVA SECCIÓN — EJEMPLO REAL */
.ejemplo-real {
    padding: 56px 60px;
    text-align: center;
}

.ejemplo-real h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}

.ejemplo-real p {
    color: var(--muted);
    margin-bottom: 26px;
    font-size: 1.05rem;
}

.ejemplo-container {
    max-width: 950px;
    margin: auto;
}

.ejemplo-container img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 10px 32px var(--shadow);
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ejemplo-container img:hover {
    transform: scale(1.015);
    box-shadow: 0 14px 42px var(--shadow);
}

/* Testimonios */
.testimonios {
    text-align: center;
    padding: 56px 60px;
}

.testimonios-grid {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.testimonio {
    width: 300px;
    background: var(--panel);
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 6px 18px var(--shadow);
    border: 1px solid rgba(255,255,255,0.03);
}

/* Planes */
.planes {
    padding: 56px 60px;
    text-align: center;
}

.planes-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.plan {
    background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.02));
    padding: 26px;
    width: 280px;
    border-radius: 12px;
    box-shadow: 0 8px 28px var(--shadow);
    border: 1px solid rgba(255,255,255,0.03);
}

.highlighted {
    border: 1px solid rgba(255,255,255,0.06);
    transform: translateY(-6px) scale(1.02);
}

.price {
    font-size: 28px;
    margin: 10px 0;
    font-weight: 800;
    color: var(--accent);
}

.btn-plan {
    display: inline-block;
    margin-top: 14px;
    padding: 10px 22px;
    background: var(--accent);
    color: var(--accent-contrast);
    border-radius: 10px;
    text-decoration: none;
}

/* Hosting */
.hosting {
    text-align: center;
    padding: 60px;
}

.hosting h2 {
    font-size: 32px;
    font-weight: 800;
}

.hosting p {
    color: var(--muted);
    margin-bottom: 30px;
}

.hosting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
}

.host-item {
    background: var(--panel);
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 6px 20px var(--shadow);
    border: 1px solid rgba(255,255,255,0.03);
    transition: transform .2s ease, box-shadow .2s ease;
}

.host-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.host-logo {
    width: 65px;
    height: auto;
    margin-bottom: 10px;
}

.github {
    border-radius: 50%;
}

.btn-host {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: var(--accent);
    color: var(--accent-contrast);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
}

/* CTA */
.cta-final {
    margin: 32px 60px;
    padding: 56px 40px;
    text-align: center;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(107,78,255,0.16), rgba(123,95,255,0.12));
    border: 1px solid rgba(255,255,255,0.03);
}

.cta-final p {
    color: var(--muted);
}

/* Contacto */
.contacto {
    padding: 60px;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    background: var(--panel);
    color: var(--text);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-form {
    width: 100%;
}

/* Footer */
footer {
    padding: 20px;
    text-align: center;
    font-size: 14px;
    color: var(--muted);
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        gap: 24px;
        padding: 40px 24px;
    }
    .hero-img {
        width: 90%;
    }
    .cta-final {
        margin: 18px;
    }
}

@media (max-width: 768px) {
    .logo img { height: 50px; }
    .logo-text { font-size: 22px; }
    .ejemplo-real {
        padding: 40px 24px;
    }
}
/* Scroll Reveal Base */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
