/* Professional Enterprise Website CSS - Server Cluster Products */
/* Modern dark blue/gray color scheme */

:root {
    --primary-color: #003366;
    --primary-hover: #004080;
    --secondary-color: #36454f;
    --accent-color: #0077b6;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --light-gray: #ecf0f1;
    --border-color: #dfe6e9;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--light-gray);
}

/* Header */
.header {
    background: var(--primary-color);
    color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .logo {
    flex: 0 0 auto;
}

.header .logo img {
    height: 80px;
    width: auto;
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-menu li {
    position: relative;
    list-style: none;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    padding: 10px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background-color: rgba(255,255,255,0.1);
    color: #4fc3f7;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 15px 0;
    display: none;
    z-index: 1000;
}

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

.dropdown-menu li {
    display: block;
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
}

.dropdown-menu a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #002244 100%);
    color: var(--white);
    padding: 100px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero .hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.hero p.subtitle {
    font-size: 20px;
    color: #b3d9f2;
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.btn {
    padding: 14px 35px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #0066aa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,119,182,0.3);
}

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

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--white);
}

.features .section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 60px;
}

.features .features-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.feature-card h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
}

/* Product Section */
.products {
    padding: 80px 0;
    background: var(--light-gray);
}

.products .section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 60px;
}

.product-tabs {
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 0 50px;
    text-align: center;
}

.product-tabs .tab-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.product-tabs .tab-nav button {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-tabs .tab-nav button.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.product-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-card .product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-card .product-info {
    padding: 25px;
}

.product-card h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.product-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-card .product-specs {
    background: var(--light-gray);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product-card .product-specs p {
    font-size: 13px;
    margin-bottom: 5px;
}

.product-card .btn-primary {
    width: 100%;
    padding: 12px;
}

/* Solutions Section */
.solutions {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--white);
}

.solutions .section-title {
    color: var(--white);
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
}

.solution-cards {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.solution-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.solution-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.solution-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #4fc3f7;
}

.solution-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #b3d9f2;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--white);
}

.about .about-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.about .about-inner h2 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.about .about-inner p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--light-gray);
}

.contact .contact-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.contact-info-item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-info-item > div:last-child {
    min-width: 0;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 4px;
}

.contact-info-item p {
    margin: 0;
    overflow-wrap: anywhere;
}

.contact-info-item .icon {
    font-size: 24px;
    color: var(--primary-color);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    font-family: inherit;
}

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

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.btn-submit {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 14px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer .footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

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

.footer .footer-top h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #4fc3f7;
}

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

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

.footer .footer-top ul li a {
    color: #b0bec5;
    text-decoration: none;
    font-size: 14px;
}

.footer .footer-top ul li a:hover {
    color: var(--white);
}

.footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
}

.footer .footer-bottom p {
    font-size: 14px;
    color: #b0bec5;
}

/* Mobile Responsive */
@media (max-width: 1200px) {
    .header .header-inner,
    .hero .hero-inner,
    .features .features-grid,
    .product-tabs,
    .product-grid,
    .solution-cards,
    .about .about-inner,
    .contact .contact-inner,
    .footer .footer-inner,
    .footer .footer-top {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .header .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .cta-buttons {
        justify-content: center;
        flex-direction: column;
    }
    
    .features .features-grid,
    .product-grid,
    .solution-cards,
    .contact .contact-inner,
    .footer .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer .footer-top {
        grid-template-columns: 1fr;
    }
    
    .hero,
    .features,
    .products,
    .solutions,
    .about,
    .contact {
        padding: 60px 0;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}


/* Integrated server and cluster services card */
.server-cluster-services {
    max-width: 980px;
    margin: 0 auto 60px;
    padding: 34px 38px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--accent-color);
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.07);
}

.server-cluster-heading {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
}

.server-cluster-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(0, 119, 182, 0.1);
    color: var(--accent-color);
    font-size: 24px;
}

.server-cluster-heading h2 {
    margin: 0 0 6px;
    color: var(--text-dark);
    font-size: 24px;
}

.server-cluster-heading p {
    margin: 0;
    color: var(--text-light);
    font-size: 15px;
}

.server-cluster-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    padding: 0;
    list-style: none;
}

.server-cluster-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 8px;
    background: var(--light-gray);
    color: var(--text-dark);
    line-height: 1.6;
}

.server-cluster-list li i {
    flex: 0 0 auto;
    margin-top: 4px;
    color: var(--accent-color);
}

@media (max-width: 600px) {
    .server-cluster-services {
        padding: 24px 20px;
        margin-bottom: 44px;
    }

    .server-cluster-heading {
        gap: 12px;
    }

    .server-cluster-heading h2 {
        font-size: 20px;
    }

    .server-cluster-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}



