:root {
    --color-primary: #2B2D42;    
    --color-secondary: #3E7CB1;  
    --color-accent: #00D1FF;     
    --color-text: #FFFFFF;
    --color-bg: #0F172A;         
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

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

/* --- Gradientes de Fondo --- */
.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(62, 124, 177, 0.25) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(0, 209, 255, 0.2) 0%, transparent 40%),
                radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 1) 0%, rgba(10, 15, 30, 1) 100%);
    z-index: -1;
}

.section-accent {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
}

.text-gradient {
    background: linear-gradient(90deg, #FFF, var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Navigation --- */
header {
    width: 100%;
    position: absolute;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
}

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

.btn-account {
    margin-left: 20px;
    padding: 12px 25px !important;
    background: var(--color-accent) !important;
    color: var(--color-bg) !important;
    font-weight: 800 !important;
    box-shadow: 0 0 20px rgba(0, 209, 255, 0.4) !important;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #ADB5BD;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--color-accent);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.8)), url('../img/hero-bg.webp');
    background-size: cover;
    background-position: center;
}

.hero-badge {
    background: rgba(0, 209, 255, 0.1);
    border: 1px solid rgba(0, 209, 255, 0.3);
    color: var(--color-accent);
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 24px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-link-alt {
    color: white;
    margin-left: 20px;
    text-decoration: none;
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: 5px;
    font-weight: 500;
    transition: var(--transition);
}

.hero-link-alt:hover {
    color: var(--color-accent);
}

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

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: #ADB5BD;
    margin-bottom: 40px;
}

/* --- Cards & Glassmorphism --- */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float 5s ease-in-out infinite;
}

.glass-card:hover {
    animation-play-state: paused;
    transform: translateY(-15px) scale(1.03);
    border-color: var(--color-accent);
    box-shadow: 0 20px 50px rgba(0, 209, 255, 0.25), 0 0 20px rgba(0, 209, 255, 0.1);
    background: rgba(255, 255, 255, 0.12);
}

/* --- Buttons --- */
.btn-primary {
    display: inline-block;
    background: linear-gradient(90deg, #00D1FF, #007AFF);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 209, 255, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 209, 255, 0.4);
}

/* --- Pricing Tables --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin: 20px 0;
}

.plan-price span {
    font-size: 1rem;
    color: #6C757D;
}

.plan-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 12px;
    color: #ADB5BD;
    display: flex;
    align-items: center;
}

.plan-features li::before {
    content: "✓";
    color: var(--color-accent);
    margin-right: 15px;
    font-weight: 800;
    display: inline-block;
    width: 20px;
}

/* Evitar doble check si ya hay un icono manual */
.plan-features li:has(i)::before {
    content: none;
}

.plan-features li i {
    width: 20px;
    margin-right: 15px;
    text-align: center;
}

.plan-card.featured {
    border: 2px solid var(--color-accent);
    transform: scale(1.05);
    background: rgba(0, 209, 255, 0.03);
}

.service-category {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: 5px;
}

.service-desc {
    font-size: 0.9rem;
    color: #ADB5BD;
    margin-bottom: 20px;
}

.tech-specs-mini {
    margin: 20px 0;
    padding: 10px 5px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    font-size: 0.65rem; /* Un poco más pequeño para que entre todo */
    color: #ADB5BD;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px; /* Espacio ajustado */
    border: 1px solid var(--glass-border);
}

.tech-specs-mini span {
    font-weight: 600;
}

.tech-specs-mini span:nth-child(even) {
    color: var(--color-accent);
    opacity: 0.5;
    font-weight: 400;
}

/* --- Testimonials --- */
.testimonial-card {
    padding: 30px;
    border-left: 4px solid var(--color-accent);
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    background: var(--color-secondary);
}

/* --- Contact Form --- */
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    margin-bottom: 20px;
    font-family: inherit;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* --- Floating WA Button --- */
.wa-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

.wa-floating:hover {
    transform: scale(1.1) rotate(10deg);
}

/* --- FAQ Accordion --- */
.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--glass-bg);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255,255,255,0.05);
}

.faq-answer {
    padding: 0 20px 20px 20px;
    color: #ADB5BD;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* --- Tech Logos --- */
.tech-logos-container {
    padding: 40px 10%;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: var(--color-bg);
}

.tech-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 70px;
    flex-wrap: wrap;
}

.tech-logos img {
    height: 65px;
    width: auto;
    opacity: 0.8;
    transition: var(--transition);
}

.tech-logos img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* --- Section Styling --- */
.section-padding {
    padding: 100px 10%;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-header p {
    color: #ADB5BD;
    font-size: 1.1rem;
}

/* --- Utility --- */
.mt-20 { margin-top: 20px; }
.mb-40 { margin-bottom: 40px; }
.max-800 { max-width: 800px; margin: 0 auto; }
.ml-15 { margin-left: 15px; }
.italic-gray { font-style: italic; color: #ADB5BD; }
.d-none { display: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.text-accent { color: var(--color-accent); }

.alert {
    padding: 15px;
    border-radius: 12px;
    margin-top: 20px;
    border: 1px solid;
}

.alert-error {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border-color: #dc3545;
}

/* --- Uptime Status Badge --- */
.uptime-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #2ecc71;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
}

.status-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2ecc71;
    border-radius: 50%;
    animation: pulse-status 2s infinite;
}

@keyframes pulse-status {
    0% { transform: scale(1); opacity: 0.8; }
    70% { transform: scale(2.5); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

/* --- Footer & WA --- */
.main-footer {
    padding: 80px 10%;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
}

.footer-logo {
    height: 55px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-text {
    color: #6C757D;
    font-size: 0.9rem;
}

.footer-title {
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #6C757D;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #495057;
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 20px;
}

.credits-text {
    color: #495057;
    text-align: center;
    flex-grow: 1;
}

.credits-text a {
    color: #6C757D;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.credits-text a:hover {
    color: var(--color-accent);
}

.wa-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

.wa-floating:hover {
    transform: translateY(-5px) scale(1.1);
    background: #20BA5A;
}

/* --- Section Styling --- */
.section-padding {
    padding: 100px 10%;
}

.section-accent {
    background: rgba(255, 255, 255, 0.02);
}

.section-dark {
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), url('../img/support-team.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section-pattern {
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), url('../img/tech-pattern.webp');
    background-size: cover;
    background-attachment: fixed;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-header p {
    color: #ADB5BD;
    font-size: 1.1rem;
}

/* --- Features & Grid --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

.feature-card p {
    color: #ADB5BD;
}

/* --- Email Section --- */
.email-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.email-img-container {
    padding: 0;
    border: none;
    overflow: hidden;
    border-radius: 30px;
}

.email-img-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* --- Utility --- */
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.w-100 { width: 100%; }
.text-center { text-align: center; }
.br-20 { border-radius: 20px; }
.fw-600 { font-weight: 600; }
.text-white { color: white !important; }

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--color-accent);
    color: var(--color-primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
}

@media (max-width: 768px) {
    .hero-content h1 { 
        font-size: 2.2rem; 
        line-height: 1.2;
    }
    
    nav { 
        padding: 15px 5%; 
        justify-content: center;
    }
    
    .logo img {
        height: 45px; /* Logo más chico en móvil */
    }

    .nav-links { display: none; }
    
    .hero {
        padding: 120px 5% 60px 5%;
        text-align: center;
        align-items: flex-start;
    }

    .uptime-badge, .hero-badge {
        font-size: 0.7rem;
        padding: 4px 12px;
        margin-bottom: 10px;
        display: inline-flex;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .hero-link-alt {
        margin-left: 0;
    }

    .tech-logos { gap: 30px; }
    .tech-logos img { height: 40px; }
    .section-header h2 { font-size: 2rem; }
    .section-padding { padding: 60px 5%; }
    .email-grid { grid-template-columns: 1fr; gap: 40px; }
    
    .wa-floating {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}
