/*
Theme Name: CloudSystems Theme
Theme URI: https://example.com/cloudsystems-theme
Author: CloudSystems
Author URI: https://example.com
Description: Tema principal para CloudSystems, listo para integrar el dashboard del plugin.
Version: 1.0.0
Text Domain: cloudsystems-theme
*/

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #030816;
    color: #ffffff;
    line-height: 1.5;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar {
    background-color: rgba(3, 8, 22, 0.95);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 28px;
    color: #0088ff;
}

.logo-text {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.1;
}

.logo-text span {
    display: block;
    font-size: 9px;
    color: #0088ff;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    font-size: 11px;
    font-weight: 600;
    color: #a0aec0;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: #0088ff;
}

.btn-client {
    background: #0066ff;
    padding: 9px 20px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.btn-client:hover {
    background: #0052cc;
}

.hero {
    padding: 70px 0;
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(0, 102, 255, 0.15) 0%, rgba(3, 8, 22, 0) 60%);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

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

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 20px;
}

.highlight {
    color: #0088ff;
}

.hero-subtitle {
    color: #a0aec0;
    font-size: 13.5px;
    margin-bottom: 30px;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 45px;
}

.btn {
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #0066ff;
    color: #fff;
}

.btn-primary:hover {
    background: #0052cc;
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    background: rgba(255, 255, 255, 0.02);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.hero-features {
    display: flex;
    gap: 45px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.feature-item i {
    color: #0088ff;
    font-size: 18px;
    border: 1px solid rgba(0, 136, 255, 0.4);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item strong {
    font-size: 13px;
    display: block;
}

.feature-item small {
    color: #718096;
    font-size: 11px;
    display: block;
}

.hero-image {
    position: relative;
    width: 500px;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(0, 136, 255, 0.25);
    border: 1px solid rgba(0, 136, 255, 0.3);
}

.section-title {
    text-align: center;
    font-size: 15px;
    letter-spacing: 2px;
    margin-bottom: 40px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
}

.section-title span {
    color: #0088ff;
}

.services {
    padding: 70px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.service-card {
    background: rgba(10, 20, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 20px 18px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: #0088ff;
    background: rgba(15, 30, 60, 0.9);
}

.service-icon {
    font-size: 26px;
    color: #0088ff;
    background: rgba(0, 136, 255, 0.1);
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    min-height: 50px;
}

.service-body h3 {
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 600;
}

.service-body p {
    font-size: 11px;
    color: #8a99ad;
    line-height: 1.4;
    margin-bottom: 12px;
    min-height: 48px;
}

.service-link {
    font-size: 10px;
    color: #0088ff;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.why-us {
    padding: 70px 0;
    background: rgba(5, 12, 30, 0.6);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    text-align: center;
}

.why-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(10, 20, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 22px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.why-box:hover {
    border-color: #0088ff;
    transform: translateY(-3px);
}

.why-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(0, 136, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0088ff;
    font-size: 20px;
    margin-bottom: 12px;
    background: rgba(0, 136, 255, 0.05);
}

.why-box h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #ffffff;
}

.why-box p {
    font-size: 11px;
    color: #718096;
    line-height: 1.35;
}

.enterprise-solutions {
    padding: 70px 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.solution-card {
    background: rgba(10, 20, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px 10px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.solution-card:hover {
    border-color: #0088ff;
    background: rgba(15, 30, 60, 0.8);
    transform: translateY(-3px);
}

.solution-card i {
    font-size: 22px;
    color: #0088ff;
    margin-bottom: 10px;
}

.solution-card h3 {
    font-size: 11.5px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
}

.tech-infra {
    padding: 70px 0;
    background: rgba(5, 12, 30, 0.6);
}

.sub-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 25px;
    text-align: center;
}

.sub-title span {
    color: #0088ff;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.tech-item {
    background: rgba(10, 20, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 14px 6px;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-item:hover {
    border-color: #0088ff;
    transform: translateY(-2px);
}

.tech-item i {
    font-size: 22px;
    margin-bottom: 6px;
    display: block;
}

.tech-item span {
    font-size: 10.5px;
    color: #a0aec0;
    display: block;
    font-weight: 500;
}

.pricing {
    padding: 70px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pricing-card {
    background: rgba(10, 20, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px 22px;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.hosting { border-color: rgba(0, 136, 255, 0.4); }
.pricing-card.vps { border-color: rgba(0, 200, 150, 0.4); }
.pricing-card.cloud-plan { border-color: rgba(150, 80, 220, 0.4); }
.pricing-card.dedicados { border-color: rgba(0, 120, 215, 0.4); }

.pricing-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.pricing-header i {
    font-size: 24px;
}

.pricing-card.hosting .pricing-header i { color: #0088ff; }
.pricing-card.vps .pricing-header i { color: #00c896; }
.pricing-card.cloud-plan .pricing-header i { color: #9650dc; }
.pricing-card.dedicados .pricing-header i { color: #0078d7; }

.pricing-header h3 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pricing-subtitle {
    font-size: 11px;
    color: #718096;
    margin-bottom: 20px;
    padding-left: 36px;
}

.price-container {
    margin-bottom: 25px;
    padding-left: 36px;
}

.price-from {
    font-size: 10px;
    color: #718096;
    display: block;
    margin-bottom: -2px;
}

.price-val {
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
}

.pricing-card.hosting .price-val { color: #0088ff; }
.pricing-card.vps .price-val { color: #00c896; }
.pricing-card.cloud-plan .price-val { color: #9650dc; }
.pricing-card.dedicados .price-val { color: #0078d7; }

.price-val span {
    font-size: 11px;
    font-weight: 400;
    color: #718096;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    font-size: 11.5px;
    color: #c0caf5;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    font-size: 11px;
}

.pricing-card.hosting .pricing-features li i { color: #0088ff; }
.pricing-card.vps .pricing-features li i { color: #00c896; }
.pricing-card.cloud-plan .pricing-features li i { color: #9650dc; }
.pricing-card.dedicados .pricing-features li i { color: #0078d7; }

.btn-plan {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
}

.btn-plan:hover {
    background: rgba(255, 255, 255, 0.1);
}

.faq {
    padding: 70px 0;
    background: rgba(5, 12, 30, 0.6);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.faq-item {
    background: rgba(10, 20, 42, 0.8);
    padding: 16px 20px;
    border-radius: 6px;
    font-size: 11.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    color: #d0d7de;
}

.faq-item span {
    color: #0088ff;
    font-size: 16px;
    font-weight: 700;
}

.partners {
    padding: 50px 0;
    background: rgba(3, 8, 22, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.partners-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 45px;
    flex-wrap: wrap;
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    pointer-events: none;
}

.cta-banner {
    background: linear-gradient(90deg, #10069f 0%, #0052cc 100%);
    padding: 35px 0;
    margin-top: 40px;
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-text h2 {
    font-size: 22px;
    font-weight: 700;
}

.cta-text p {
    font-size: 13px;
    opacity: 0.85;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.cta-buttons .btn-primary {
    background: #0066ff;
    border: 1px solid #3385ff;
}

.cta-buttons .btn-secondary {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.footer {
    background: #02050e;
    padding: 60px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 18px;
    color: #fff;
}

.footer-col p {
    font-size: 11px;
    color: #718096;
    margin-bottom: 10px;
    line-height: 1.5;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 11px;
    color: #718096;
}

.footer-col ul li a:hover {
    color: #0088ff;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-links a {
    color: #0088ff;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    font-size: 10.5px;
    color: #4a5568;
}

.cloudsystems-dashboard-shell {
    background: #081120;
    min-height: 100vh;
    padding: 32px 20px;
}

.cloudsystems-dashboard-frame {
    max-width: 1480px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    background: rgba(9, 17, 29, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
}

.cloudsystems-sidebar {
    background: #0d172b;
    padding: 26px 18px;
    border-right: 1px solid rgba(255,255,255,0.06);
}

.cloudsystems-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 8px 8px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #1d4ed8, #38bdf8);
    color: white;
}

.cloudsystems-brand strong {
    display: block;
    font-size: 1rem;
}

.cloudsystems-brand small {
    color: #8ea2c3;
}

.cloudsystems-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cloudsystems-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    color: #dbe7ff;
    border-radius: 12px;
    background: transparent;
    transition: 0.2s ease;
}

.cloudsystems-nav a.active,
.cloudsystems-nav a:hover {
    background: rgba(59, 130, 246, 0.12);
    color: #7dd3fc;
}

.cloudsystems-main {
    padding: 24px 28px 28px;
}

.cloudsystems-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.cloudsystems-kicker {
    color: #7dd3fc;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 11px;
    margin-bottom: 6px;
}

.cloudsystems-header h1 {
    font-size: clamp(1.8rem, 2vw, 2.5rem);
    color: #f8fbff;
}

.cloudsystems-user {
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    padding: 10px 16px;
    color: #dfeafc;
    font-weight: 600;
}

.cloudsystems-dashboard-app {
    display: grid;
    gap: 22px;
}

.cloudsystems-loading-card {
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148,163,184,0.12);
    border-radius: 18px;
}

.cloudsystems-spinner {
    width: 42px;
    height: 42px;
    border: 4px solid rgba(125,211,252,0.25);
    border-top-color: #38bdf8;
    border-radius: 50%;
    display: inline-block;
    animation: cloudsystems-spin 0.9s linear infinite;
}

@keyframes cloudsystems-spin {
  to { transform: rotate(360deg); }
}

.cloudsystems-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.cloudsystems-stat-card,
.cloudsystems-panel,
.cloudsystems-list-card {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148,163,184,0.12);
    border-radius: 18px;
    padding: 18px 18px 16px;
}

.cloudsystems-stat-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9cb2d3;
    font-size: 12px;
    margin-bottom: 14px;
}

.cloudsystems-stat-value {
    font-size: clamp(1.9rem, 2vw, 2.4rem);
    font-weight: 700;
    color: #f7fbff;
}

.cloudsystems-stat-foot {
    margin-top: 8px;
    font-size: 12px;
    color: #7dd3fc;
}

.cloudsystems-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cloudsystems-panel-header h3 {
    color: #edf6ff;
    font-size: 1.1rem;
}

.cloudsystems-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.cloudsystems-badge.success { background: rgba(34,197,94,0.12); color: #4ade80; }
.cloudsystems-badge.warning { background: rgba(245,158,11,0.12); color: #fbbf24; }
.cloudsystems-badge.danger { background: rgba(239,68,68,0.12); color: #fca5a5; }

.cloudsystems-panel-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 18px;
}

.cloudsystems-server-table {
    width: 100%;
    border-collapse: collapse;
    color: #dfeafc;
    font-size: 13px;
}

.cloudsystems-server-table th,
.cloudsystems-server-table td {
    padding: 12px 8px;
    border-bottom: 1px solid rgba(148,163,184,0.12);
    text-align: left;
}

.cloudsystems-server-table th {
    color: #9cb2d3;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cloudsystems-server-status {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 11px;
}

.cloudsystems-server-status.running { background: rgba(34,197,94,0.12); color: #4ade80; }
.cloudsystems-server-status.stopped { background: rgba(239,68,68,0.12); color: #fca5a5; }

.cloudsystems-progress-wrap {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(148,163,184,0.12);
    overflow: hidden;
    margin-top: 8px;
}

.cloudsystems-progress {
    height: 100%;
    background: linear-gradient(90deg, #38bdf8, #2563eb);
    border-radius: inherit;
}

.cloudsystems-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.cloudsystems-actions button {
    appearance: none;
    border: none;
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 11px;
}

.cloudsystems-actions .start { background: rgba(34,197,94,0.15); color: #4ade80; }
.cloudsystems-actions .stop { background: rgba(239,68,68,0.15); color: #fca5a5; }
.cloudsystems-actions .reboot { background: rgba(245,158,11,0.14); color: #fbbf24; }

@media (max-width: 1200px) {
    .cloudsystems-dashboard-frame {
        grid-template-columns: 1fr;
    }

    .cloudsystems-sidebar {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .cloudsystems-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cloudsystems-panel-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cloudsystems-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .cloudsystems-grid {
        grid-template-columns: 1fr;
    }

    .cloudsystems-main {
        padding: 20px 16px 24px;
    }
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container,
    .hero-container,
    .cta-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-wrap: wrap;
    }

    .hero {
        padding-top: 40px;
    }

    .hero-content {
        width: 100%;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-buttons,
    .hero-features,
    .cta-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .services-grid,
    .why-grid,
    .solutions-grid,
    .tech-grid,
    .pricing-grid,
    .faq-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 22px;
    }

    .feature-item {
        white-space: normal;
    }
}
