/* ========================================
   VPS Hosting Page
   Professional design inspired by IDwebhost VPS
   ======================================== */

/* Base imports from home-v2 for consistency */
@import url('./home-v2.css');

/* Page Specific Styles */
.page-hero-vps {
    background: linear-gradient(135deg, #2E5CFF 0%, #1a4acc 100%);
    min-height: 600px;
    padding: 120px 0 100px;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: -90px;
}

.page-hero-vps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M40 40c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20zm20 0c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-vps::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.vps-pricing-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 100px 0;
}

.pricing-card-vps {
    background: white;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 40px rgba(46, 92, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border: 2px solid #e2e8f0;
    position: relative;
    overflow: visible;
}

.pricing-card-vps::before {
    content: '';
    position: absolute;
    top: 0;
    right: 11px;
    height: 4px;
    background: linear-gradient(90deg, #2E5CFF, #1a4acc);
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    width: 95%;
    text-align: center;
}

.pricing-card-vps:hover::before {
    opacity: 1;
}

.pricing-card-vps:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 70px rgba(46, 92, 255, 0.2);
    border-color: #2E5CFF;
}

.pricing-card-vps.featured {
    background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
    border: 3px solid #2E5CFF;
    transform: scale(1.03);
    z-index: 2;
    margin-top: 15px;
    margin-bottom: 15px;
}

.pricing-card-vps.featured::before {
    opacity: 1;
}

.pricing-card-vps.featured:hover {
    transform: translateY(-15px) scale(1.05);
}

.badge-performance {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    z-index: 10;
    animation: shake 3s infinite;
    white-space: nowrap;
}

@keyframes shake {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: rotate(-3deg);
    }
    20%, 40%, 60%, 80% {
        transform: rotate(3deg);
    }
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.spec-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.spec-item:hover {
    background: #3498db;
    color: white;
    transform: translateY(-3px);
}

.spec-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.spec-item:hover .spec-label {
    color: rgba(255, 255, 255, 0.9);
}

.spec-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.spec-item:hover .spec-value {
    color: white;
}

.price-display-vps {
    text-align: center;
    padding: 2rem 0;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 2rem;
}

.price-amount-vps {
    font-size: 3.5rem;
    font-weight: 800;
    color: #2E5CFF;
    line-height: 1;
}

.price-currency-vps {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2E5CFF;
    vertical-align: super;
}

.price-period-vps {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

.features-list-vps {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.features-list-vps li {
    padding: 0.875rem 0;
    color: #4a5568;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.features-list-vps li:hover {
    color: #3498db;
    padding-left: 0.5rem;
}

.features-list-vps li::before {
    content: '⚡';
    margin-right: 0.875rem;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.btn-primary-vps {
    background: linear-gradient(135deg, #2E5CFF 0%, #1a4acc 100%);
    border: none;
    color: white;
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(46, 92, 255, 0.3);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-primary-vps::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary-vps:hover::before {
    left: 100%;
}

.btn-primary-vps:hover {
    background: linear-gradient(135deg, #3d6bff 0%, #2E5CFF 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(46, 92, 255, 0.4);
}

.btn-outline-vps {
    background: transparent;
    border: 2px solid #2E5CFF;
    color: #2E5CFF;
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-outline-vps:hover {
    background: #2E5CFF;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 92, 255, 0.3);
}

/* OS Options */
.os-options-section {
    padding: 80px 0;
    background: white;
}

.os-option-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.os-option-card:hover {
    background: white;
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.15);
    border-color: #3498db;
    transform: translateY(-5px);
}

.os-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2E5CFF 0%, #1a4acc 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(46, 92, 255, 0.3);
    transition: transform 0.3s ease;
}

.os-option-card:hover .os-icon {
    transform: scale(1.1) rotate(10deg);
}

.os-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.os-version {
    font-size: 0.9rem;
    color: #64748b;
}

/* Technical Specs */
.tech-specs-section {
    background: linear-gradient(135deg, #2E5CFF 0%, #1a4acc 100%);
    padding: 100px 0;
    color: white;
}

.spec-highlight {
    text-align: center;
    padding: 3rem 2rem;
}

.spec-icon-large {
    width: 120px;
    height: 120px;
    background: rgba(46, 92, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 4rem;
    color: #2E5CFF;
    box-shadow: 0 10px 40px rgba(46, 92, 255, 0.3);
    transition: transform 0.3s ease;
}

.spec-highlight:hover .spec-icon-large {
    transform: scale(1.1) rotate(10deg);
}

.spec-highlight h3 {
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
}

.spec-highlight p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0;
}

/* Comparison Table */
.comparison-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.comparison-table {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(44, 62, 80, 0.1);
}

.comparison-table thead {
    background: linear-gradient(135deg, #2E5CFF 0%, #1a4acc 100%);
    color: white;
}

.comparison-table th {
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    border: none;
}

.comparison-table td {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
}

.comparison-table tbody tr:hover {
    background: #f0f9ff;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.check-icon {
    color: #2ecc71;
    font-size: 1.5rem;
}

.cross-icon {
    color: #e74c3c;
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 991px) {
    .page-hero-vps {
        padding: 100px 0 70px;
        min-height: 500px;
    }

    .page-hero-vps h1 {
        font-size: 2.5rem !important;
    }

    .page-hero-vps p {
        font-size: 1.1rem !important;
    }

    .price-amount-vps {
        font-size: 3rem;
    }

    .pricing-card-vps.featured {
        transform: scale(1);
    }

    .pricing-card-vps.featured:hover {
        transform: translateY(-10px) scale(1.02);
    }

    .badge-performance {
        font-size: 0.75rem;
        padding: 6px 16px;
        top: -12px;
    }

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

@media (max-width: 767px) {
    .page-hero-vps {
        padding: 80px 0 50px;
        min-height: 450px;
    }

    .page-hero-vps h1 {
        font-size: 2rem !important;
    }

    .page-hero-vps p {
        font-size: 1rem !important;
    }

    .price-amount-vps {
        font-size: 2.5rem;
    }

    .price-currency-vps {
        font-size: 1.25rem;
    }

    .pricing-card-vps {
        padding: 2rem 1.5rem;
    }

    .pricing-card-vps:hover {
        transform: translateY(-8px) scale(1.01);
    }

    .badge-performance {
        font-size: 0.7rem;
        padding: 5px 14px;
        top: -10px;
        right: 15px;
    }

    .section-title {
        font-size: 1.75rem !important;
    }

    .section-subtitle {
        font-size: 0.95rem !important;
    }

    /* Specs Grid */
    .specs-grid {
        padding: 1rem;
        gap: 0.75rem;
    }

    .spec-item {
        padding: 0.75rem;
    }

    .spec-label {
        font-size: 0.65rem;
    }

    .spec-value {
        font-size: 1.25rem;
    }

    /* OS Options */
    .os-option-card {
        padding: 1.5rem;
    }

    .os-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .os-name {
        font-size: 1.1rem;
    }

    .os-version {
        font-size: 0.85rem;
    }

    /* Tech Specs */
    .spec-highlight {
        padding: 2rem 1.5rem;
    }

    .spec-icon-large {
        width: 90px;
        height: 90px;
        font-size: 3rem;
    }

    .spec-highlight h3 {
        font-size: 1.35rem;
    }

    .spec-highlight p {
        font-size: 0.95rem;
    }

    /* Comparison Table */
    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }

    /* Buttons */
    .btn-primary-vps,
    .btn-outline-vps {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    /* Process Steps */
    .process-step {
        padding: 2rem 1.5rem;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .step-title {
        font-size: 1.25rem;
    }
}
