* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #0f172a;
    color: #f8fafc;
    line-height: 1.6;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1e293b;
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.logo span {
    color: #d97706;
}

.nav-center a {
    color: #cbd5e1;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

.nav-center a:hover {
    color: #d97706;
}

.nav-right {
    position: relative;
}

.hamburger-btn {
    background-color: #334155;
    color: #fff;
    border: 1px solid #475569;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 1.4rem;
    cursor: pointer;
}

.hamburger-btn:hover {
    background-color: #d97706;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 50px;
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    width: 240px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.5);
    z-index: 2500;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: #f8fafc;
    text-decoration: none;
    border-bottom: 1px solid #334155;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background-color: #334155;
    color: #d97706;
}

/* SLIDER OFFLINE CON GRADIENTES */
.hero-slider {
    position: relative;
    height: 380px;
    overflow: hidden;
}

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

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.slide.active {
    opacity: 1;
}

.slide-1 { background: linear-gradient(135deg, #1e293b, #0f172a); }
.slide-2 { background: linear-gradient(135deg, #b45309, #1e293b); }
.slide-3 { background: linear-gradient(135deg, #0f172a, #334155); }

.hero-text h2 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1.1rem;
    color: #cbd5e1;
}

/* SECCIONES */
.about-section, .plans-section {
    padding: 50px 5%;
    text-align: center;
}

.about-section p {
    max-width: 700px;
    margin: 0 auto;
    color: #94a3b8;
}

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

.plan-card {
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 30px;
    width: 280px;
    text-align: left;
    position: relative;
}

.plan-card.featured {
    border: 2px solid #d97706;
}

.badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: #d97706;
    color: #fff;
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 10px;
    font-weight: bold;
}

.plan-card h3 {
    margin-bottom: 10px;
}

.price {
    font-size: 1.6rem;
    color: #d97706;
    font-weight: bold;
    margin-bottom: 20px;
}

.price span {
    font-size: 0.85rem;
    color: #94a3b8;
}

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

.plan-card li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.btn-pay {
    width: 100%;
    padding: 10px;
    background-color: #d97706;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.btn-pay:hover {
    background-color: #b45309;
}

/* WIDGET CHAT */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 3000;
}

.chat-toggle-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #d97706;
    color: #fff;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.chat-window {
    display: none;
    flex-direction: column;
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    height: 400px;
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.chat-window.active {
    display: flex;
}

.chat-header {
    background-color: #0f172a;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #334155;
    font-weight: bold;
    color: #d97706;
}

.close-chat-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

.chat-messages {
    flex-grow: 1;
    padding: 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.message {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    max-width: 80%;
}

.bot-message {
    background-color: #0f172a;
    align-self: flex-start;
    border-left: 3px solid #d97706;
}

.user-message {
    background-color: #d97706;
    color: #fff;
    align-self: flex-end;
}

.chat-input-area {
    display: flex;
    padding: 8px;
    background-color: #0f172a;
    border-top: 1px solid #334155;
}

.chat-input-area input {
    flex-grow: 1;
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #334155;
    background-color: #1e293b;
    color: #fff;
    outline: none;
}

.chat-input-area button {
    background-color: #d97706;
    border: none;
    color: #fff;
    padding: 6px 12px;
    margin-left: 6px;
    border-radius: 4px;
    cursor: pointer;
}

/* FOOTER */
.footer {
    background-color: #090d16;
    padding: 30px 5%;
    border-top: 1px solid #1e293b;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-bottom {
    font-size: 0.8rem;
    color: #64748b;
}
