/* XISP Landing Page Styles */

:root {
    --primary-color: #28a745; /* Green for Pagar Cuenta */
    --secondary-color: #007bff; /* Blue for primary actions */
    --bg-dark: #000000;
    --text-white: #ffffff;
    --text-muted: #cccccc;
    --font-main: 'Montserrat', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    background-color: #111;
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
header {
    background-color: var(--bg-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

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

.nav-menu li a:hover {
    color: var(--primary-color);
}

.separator {
    color: #444;
    margin: 0 15px;
    font-weight: 300;
    font-size: 18px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    transition: transform 0.2s, background-color 0.3s;
}

.btn-outline {
    border: 2px solid var(--text-white);
    color: var(--text-white);
}

.btn-outline:hover {
    background-color: var(--text-white);
    color: var(--bg-dark);
}

.btn-success {
    background-color: var(--primary-color);
    color: var(--text-white);
    border: 2px solid var(--primary-color);
}

.btn-success:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 85vh;
    width: 100%;
    overflow: hidden;
    background-color: #000;
}

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

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: -1;
}

.slide-content {
    max-width: 800px;
    z-index: 2;
}

.slide-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.slide-content p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.carousel-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    border: none;
}

.nav-dot.active {
    background: var(--primary-color);
}

/* Contact Form Feedback */
.form-feedback {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    display: none;
    font-size: 14px;
}

.form-feedback.success {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid #28a745;
    display: block;
}

.form-feedback.error {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid #dc3545;
    display: block;
}

/* Planes Section Updates */
.planes {
    padding: 80px 50px;
    background-color: #1a1a1a;
    text-align: center;
}

.planes h2 {
    font-size: 36px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* Tabs */
.tabs-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 15px 30px;
    background: #222;
    border: 2px solid #333;
    color: var(--text-white);
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 16px;
}

.tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.tab-btn:hover:not(.active) {
    border-color: var(--primary-color);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.planes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.plan-card {
    background-color: #222;
    padding: 30px 20px;
    border-radius: 10px;
    border: 1px solid #333;
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plan-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.plan-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.plan-price {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.plan-price span {
    font-size: 14px;
    color: var(--text-muted);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    text-align: left;
    font-size: 13px;
}

.plan-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
}

/* Contact Section */
.contact {
    padding: 80px 50px;
    background-color: var(--bg-dark);
}

.contact-container {
    display: flex;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
    align-items: center;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    padding: 12px;
    background: #222;
    border: 1px solid #444;
    color: white;
    border-radius: 5px;
}

.contact-form button {
    background-color: var(--primary-color);
    border: none;
    color: white;
    padding: 15px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    text-transform: uppercase;
}

/* Footer */
footer {
    background-color: #050505;
    padding: 30px 50px;
    text-align: center;
    border-top: 1px solid #222;
}

footer p {
    color: #666;
    font-size: 14px;
}

/* Mobile Responsiveness */
@media (max-width: 1100px) {
    .planes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .header-left {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .separator {
        display: none;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .planes-grid {
        grid-template-columns: 1fr;
    }

    .tabs-container {
        flex-direction: column;
    }
}
