:root {
    --primary-color: #00a8e8;
    /* Cyan/Blue from logo/theme */
    --secondary-color: #0077b6;
    /* Darker blue */
    --accent-color: #48cae4;
    /* Lighter cyan */
    --text-color: #333;
    --light-text: #666;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a2e;
    /* Dark blue/black for footer or hero bg */
    --white: #ffffff;
    --container-width: 1200px;
    --font-main: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-text {
    color: var(--primary-color);
    font-weight: 700;
}

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
}

.logo-text .highlight {
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    gap: 20px;
}

.main-nav a {
    font-weight: 500;
    color: var(--text-color);
}

.main-nav a:hover {
    color: var(--primary-color);
}

.client-area a {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 4px;
}

.intranet-btn {
    border: 2px solid var(--primary-color);
    color: var(--primary-color) !important;
    padding: 6px 15px;
    border-radius: 4px;
    font-weight: 700 !important;
}

.intranet-btn:hover {
    background-color: var(--primary-color);
    color: var(--white) !important;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    /* Default center for mobile, adjust for desktop */
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    text-align: left;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.server-illustration {
    font-size: 150px;
    color: rgba(255, 255, 255, 0.2);
}

/* Domain Search */
.domain-search {
    background-color: var(--bg-light);
    padding: 40px 0;
    text-align: center;
}

.domain-search h2 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.domain-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 700px;
    margin: 0 auto;
}

.domain-form input {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.domain-form select {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: var(--white);
}

/* Services */
.services {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card .icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

.service-card p {
    color: var(--light-text);
    margin-bottom: 20px;
}

/* Features */
.features {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.feature-text p {
    margin-bottom: 20px;
    color: var(--light-text);
}

.feature-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list i {
    color: var(--primary-color);
}

.feature-image {
    flex: 1;
    text-align: center;
}

.big-icon {
    font-size: 120px;
    color: #ddd;
}

/* Why Choose Us */
.why-us {
    padding: 80px 0;
    text-align: center;
}

.why-us h2 {
    margin-bottom: 50px;
    font-size: 32px;
    color: var(--secondary-color);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.reason-item i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.reason-item h3 {
    margin-bottom: 15px;
}

.reason-item p {
    color: var(--light-text);
}

/* Footer */
.main-footer {
    background-color: var(--bg-dark);
    color: #aaa;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        /* Simple hide for now, would need JS for toggle */
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        text-align: center;
    }

    .feature-list li {
        justify-content: center;
    }

    .domain-form {
        flex-direction: column;
    }
}

/* Inner Page Styles */
.page-hero {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 18px;
    opacity: 0.9;
}

.main-nav a.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* Pricing Tables */
.pricing {
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #eee;
    position: relative;
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.pricing-card .price {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 30px;
}

.pricing-card .price span {
    font-size: 16px;
    color: var(--light-text);
    font-weight: 400;
}

.pricing-card .features-list {
    margin-bottom: 30px;
    text-align: left;
}

.pricing-card .features-list li {
    margin-bottom: 15px;
    color: var(--light-text);
}

.pricing-card .features-list i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* WhatsApp Floating Button */
/* Animación de pulso para WhatsApp */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Animación de bounce para el botón */
@keyframes bounce-whatsapp {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Animación de shake (movimiento suave) */
@keyframes shake-whatsapp {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    25% {
        transform: translateX(5px) rotate(5deg);
    }
    50% {
        transform: translateX(0) rotate(0deg);
    }
    75% {
        transform: translateX(-5px) rotate(-5deg);
    }
}

.whatsapp-float {
    position: fixed !important;
    width: 60px !important;
    height: 60px !important;
    bottom: 30px !important;
    right: 30px !important;
    background-color: #25d366 !important;
    color: white !important;
    border-radius: 50% !important;
    text-align: center !important;
    font-size: 30px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    z-index: 99999 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    border: none !important;
    padding: 0 !important;
    line-height: 60px !important;
    animation: pulse-whatsapp 2s infinite, bounce-whatsapp 3s infinite !important;
}

.whatsapp-float:hover {
    background-color: #20ba5a !important;
    transform: scale(1.15) !important;
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6) !important;
    animation: shake-whatsapp 0.5s infinite !important;
}

.whatsapp-float:active {
    transform: scale(0.95) !important;
}

/* Tooltip para WhatsApp */
.whatsapp-tooltip {
    position: absolute;
    bottom: 70px;
    right: 0;
    background-color: #25d366;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
    
    .whatsapp-tooltip {
        bottom: 65px;
    }
}