/* ============================================
   Модальные окна авторизации - StormHosting UA
   ============================================ */

/* Основные модальные стили */
.auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
}

.auth-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.auth-modal-content {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    padding: 40px;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.auth-modal.show .auth-modal-content {
    transform: scale(1) translateY(0);
}

/* Кнопка закрытия */
.auth-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #6c757d;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.auth-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #495057;
    transform: rotate(90deg);
}

/* Заголовок модального окна */
.auth-modal-header {
    text-align: center;
    margin-bottom: 30px;
    padding-right: 40px;
}

.auth-modal-header h2 {
    color: #2d3748;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-modal-header p {
    color: #718096;
    font-size: 16px;
    margin: 0;
}

/* Форма */
.auth-form {
    display: block;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-label i {
    color: #667eea;
    width: 16px;
}

/* Input Groups */
.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.input-group-text {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #6b7280;
    text-align: center;
    white-space: nowrap;
    background-color: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 12px 0 0 12px;
    border-right: none;
}

.input-group .form-control {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    border-left: none;
    border-radius: 0;
}

/* Password toggle button */
.input-group .btn-outline-secondary {
    border-left: none;
    border-radius: 0 12px 12px 0;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border-color: #d1d5db;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

.input-group .btn-outline-secondary:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #374151;
}

.input-group .btn-outline-secondary:focus,
.input-group .btn-outline-secondary:active {
    box-shadow: none !important;
    outline: none !important;
    background: #e5e7eb;
    border-color: #6b7280;
}

/* Form Controls */
.form-control {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #374151;
    background-color: #ffffff;
    background-image: none;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: #374151;
    background-color: #ffffff;
    border-color: #667eea;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control::placeholder {
    color: #9ca3af;
    opacity: 1;
}

/* Validation States */
.form-control.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-control.is-valid {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #ef4444;
}

.invalid-feedback.show,
.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

.form-text {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #6b7280;
}

/* Checkbox */
.form-check {
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.form-check-input {
    width: 1rem;
    height: 1rem;
    margin-top: 0.25rem;
    margin-left: -1.5rem;
    vertical-align: top;
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    transition: all 0.15s ease-in-out;
}

.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.form-check-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-check-label {
    color: #374151;
    font-size: 0.95rem;
    cursor: pointer;
}

.form-check-label a {
    color: #667eea;
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* Auth Button */
.btn-auth {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-auth:hover:not(:disabled) {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-auth:active {
    transform: translateY(0);
}

.btn-auth:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Loading Spinner */
.loading-spinner {
    display: none;
    width: 1rem;
    height: 1rem;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Auth Switch */
.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.auth-switch p {
    margin: 0;
    color: #6b7280;
    font-size: 0.95rem;
}

.auth-switch a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Forgot Password */
.forgot-password {
    text-align: center;
    margin-top: 1rem;
}

.forgot-password a {
    color: #667eea;
    text-decoration: none;
    font-size: 0.95rem;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* Alert Styles */
.alert {
    position: relative;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
}

.alert-success {
    color: #065f46;
    background-color: #d1fae5;
    border-color: #a7f3d0;
}

.alert-danger {
    color: #991b1b;
    background-color: #fee2e2;
    border-color: #fecaca;
}

.alert-dismissible .btn-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    padding: 1.25rem 1rem;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.5;
}

.alert-dismissible .btn-close:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-modal-content {
        padding: 30px 20px;
        margin: 20px;
        max-width: calc(100% - 40px);
    }
    
    .auth-modal-header {
        padding-right: 30px;
    }
    
    .auth-modal-header h2 {
        font-size: 1.75rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .btn-auth {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .auth-modal-content {
        padding: 25px 15px;
        margin: 15px;
        max-width: calc(100% - 30px);
    }
    
    .input-group-text,
    .form-control,
    .btn-outline-secondary {
        padding: 0.625rem 0.75rem;
        font-size: 0.95rem;
    }
}

/* Улучшения для accessibility */
.form-control:focus,
.btn-auth:focus,
.form-check-input:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

/* Анимации появления */
.auth-modal {
    animation: fadeInBackdrop 0.3s ease;
}

.auth-modal.show .auth-modal-content {
    animation: slideInUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes fadeInBackdrop {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Дополнительные улучшения для лучшего UX */
.form-control:disabled,
.form-control[readonly] {
    background-color: #f9fafb;
    opacity: 1;
}

.input-group .form-control:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group .form-control:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Стили для корректного отображения иконок */
.bi {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: currentcolor;
}

/* Убираем outline по умолчанию */
button:focus {
    outline: none;
}

/* Исправления для кнопки показа пароля */
.input-group .btn-outline-secondary {
    position: relative;
    z-index: 2;
    min-width: 48px;
}

.input-group .btn-outline-secondary i {
    font-size: 1rem;
    line-height: 1;
}

/* Убираем стандартные стили кнопки в Firefox */
.input-group .btn-outline-secondary::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/* Обеспечиваем корректное выравнивание */
.input-group > .form-control,
.input-group > .input-group-text,
.input-group > .btn {
    display: flex;
    align-items: center;
}

/* Исправляем z-index для корректного отображения границ */
.input-group > .form-control:focus {
    z-index: 3;
}

.input-group > .form-control:not(:first-child) {
    margin-left: -1px;
}

.input-group > .btn:not(:first-child) {
    margin-left: -1px;
}/**
 * Premium Design Enhancements for StormHosting UA
 * Modern, prestigious styling improvements
 */

/* ========================================
   Enhanced Color Scheme
   ======================================== */
:root {
    /* Premium Color Palette */
    --premium-primary: #667eea;
    --premium-secondary: #764ba2;
    --premium-accent: #00d4ff;
    --premium-gold: #FFD700;
    --premium-dark: #1a1a2e;
    --premium-light: #f8f9ff;

    /* Gradients */
    --premium-gradient-main: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --premium-gradient-accent: linear-gradient(135deg, #00d4ff 0%, #667eea 100%);
    --premium-gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);

    /* Shadows */
    --premium-shadow-sm: 0 2px 8px rgba(102, 126, 234, 0.15);
    --premium-shadow-md: 0 4px 16px rgba(102, 126, 234, 0.2);
    --premium-shadow-lg: 0 8px 32px rgba(102, 126, 234, 0.25);
    --premium-shadow-xl: 0 16px 48px rgba(102, 126, 234, 0.3);
}

/* ========================================
   Trust Badges Styling
   ======================================== */
.trust-badges {
    background: linear-gradient(to bottom, transparent, rgba(102, 126, 234, 0.05));
    border-radius: 12px;
    padding: 20px;
}

.trust-badges .badge-item {
    padding: 10px;
    transition: transform 0.3s ease;
}

.trust-badges .badge-item:hover {
    transform: translateY(-5px);
}

.trust-badges .badge-item i {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* ========================================
   Enhanced Buttons
   ======================================== */
.btn-premium {
    background: var(--premium-gradient-main);
    border: none;
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: var(--premium-shadow-md);
    transition: all 0.3s ease;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: var(--premium-shadow-lg);
    color: white;
}

.btn-premium-outline {
    background: transparent;
    border: 2px solid var(--premium-primary);
    color: var(--premium-primary);
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-premium-outline:hover {
    background: var(--premium-gradient-main);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
}

/* ========================================
   Enhanced Cards
   ======================================== */
.premium-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--premium-shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.premium-card:hover {
    box-shadow: var(--premium-shadow-lg);
    transform: translateY(-4px);
    border-color: var(--premium-primary);
}

.premium-card-header {
    background: var(--premium-gradient-main);
    color: white;
    padding: 20px;
    border-radius: 16px 16px 0 0;
    margin: -30px -30px 20px -30px;
}

/* ========================================
   Premium Header Enhancements
   ======================================== */
.main-header {
    backdrop-filter: blur(10px);
    box-shadow: var(--premium-shadow-md);
}

.navbar-brand img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* ========================================
   Premium Footer Enhancements
   ======================================== */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--premium-gradient-accent);
}

/* ========================================
   Premium Animations
   ======================================== */
@keyframes premium-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.premium-float {
    animation: premium-float 3s ease-in-out infinite;
}

@keyframes premium-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(102, 126, 234, 0.3); }
    50% { box-shadow: 0 0 40px rgba(102, 126, 234, 0.6); }
}

.premium-glow {
    animation: premium-glow 2s ease-in-out infinite;
}

/* ========================================
   Premium Text Styles
   ======================================== */
.text-premium-gradient {
    background: var(--premium-gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.text-premium-gold {
    background: var(--premium-gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* ========================================
   Premium Badges
   ======================================== */
.premium-badge {
    background: var(--premium-gradient-main);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--premium-shadow-sm);
}

.premium-badge-gold {
    background: var(--premium-gradient-gold);
    color: #1a1a2e;
}

/* ========================================
   Responsive Enhancements
   ======================================== */
@media (max-width: 768px) {
    .trust-badges {
        gap: 2rem !important;
    }

    .trust-badges .badge-item {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 576px) {
    .trust-badges .badge-item {
        flex: 0 0 100%;
    }
}

/* ========================================
   Premium Features Section
   ======================================== */
.premium-feature-icon {
    width: 64px;
    height: 64px;
    background: var(--premium-gradient-main);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    box-shadow: var(--premium-shadow-md);
    margin-bottom: 20px;
}

/* ========================================
   Premium Pricing Cards
   ======================================== */
.premium-pricing-card {
    position: relative;
    overflow: hidden;
}

.premium-pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--premium-gradient-main);
}

.premium-pricing-popular {
    border: 2px solid var(--premium-primary);
    transform: scale(1.05);
}

.premium-pricing-popular::after {
    content: 'Популярний';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--premium-gradient-gold);
    color: #1a1a2e;
    padding: 4px 40px;
    transform: rotate(45deg);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
/* vds-dedicated.css - Стили для страницы выделенных серверов */

/* Hero Section */
.dedicated-hero {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
}

.dedicated-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.min-vh-60 {
    min-height: 60vh;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge i {
    color: #60a5fa;
    margin-right: 8px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #60a5fa;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* 3D Server Visualization */
.server-3d-view {
    position: relative;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.server-chassis {
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.server-front {
    width: 300px;
    height: 200px;
    background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
    border-radius: 10px;
    border: 2px solid #4a5568;
    position: relative;
    transform: rotateY(-15deg) rotateX(5deg);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 2px 10px rgba(255, 255, 255, 0.1);
    transition: all 0.6s ease;
}

.server-front:hover {
    transform: rotateY(-25deg) rotateX(10deg) scale(1.05);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.6),
        inset 0 2px 10px rgba(255, 255, 255, 0.2);
}

.drive-bay {
    display: flex;
    gap: 5px;
    margin-bottom: 8px;
    padding: 10px 15px;
}

.drive {
    width: 60px;
    height: 20px;
    background: #4a5568;
    border-radius: 3px;
    border: 1px solid #2d3748;
    position: relative;
    transition: all 0.3s ease;
}

.drive.active {
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.drive.active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 8px;
    width: 8px;
    height: 2px;
    background: #60a5fa;
    border-radius: 1px;
    animation: diskActivity 2s ease-in-out infinite;
}

@keyframes diskActivity {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.control-panel {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.power-button {
    width: 20px;
    height: 20px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid #dc2626;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.power-button:hover {
    background: #22c55e;
    border-color: #16a34a;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.6);
}

.power-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.status-led {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-left: 3px;
}

.status-led.power {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
    animation: pulse 2s ease-in-out infinite;
}

.status-led.network {
    background: #3b82f6;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.8);
    animation: pulse 1.5s ease-in-out infinite;
}

.status-led.storage {
    background: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.8);
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.server-specs-overlay {
    position: absolute;
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: all 0.5s ease;
    min-width: 200px;
}

.server-3d-view:hover .server-specs-overlay {
    right: -220px;
    opacity: 1;
}

.spec-line {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.spec-line i {
    color: #60a5fa;
}

/* Server Cards */
.server-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.server-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.server-card.popular {
    border-color: #3b82f6;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.popular-badge {
    position: absolute;
    top: -1px;
    right: 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 0 0 10px 10px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 2;
}

.server-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 25px;
    text-align: center;
    position: relative;
}

.server-card.popular .server-header {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.server-card.popular .server-header h4,
.server-card.popular .server-header .price,
.server-card.popular .server-header .period {
    color: white !important;
}

.server-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e293b;
}

.price-info {
    margin-bottom: 10px;
}

.price-info .price {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
}

.price-info .period {
    font-size: 1rem;
    color: #64748b;
    margin-left: 5px;
}

.setup-fee {
    font-size: 0.875rem;
    color: #ef4444;
    font-weight: 500;
}

/* Server Specs */
.server-specs {
    padding: 25px;
    flex: 1;
}

.spec-group {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.spec-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

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

.spec-group h6 i {
    margin-right: 8px;
    color: #3b82f6;
}

.spec-group p {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1rem;
}

.spec-group small {
    display: block;
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Server Features */
.server-features {
    padding: 20px 25px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #475569;
    margin-bottom: 8px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item i {
    font-size: 1rem;
}

.server-footer {
    padding: 20px;
    background: #f1f5f9;
    margin-top: auto;
}

/* Custom Config CTA */
.custom-config-cta {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #3b82f6;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
}

.custom-config-cta h3 {
    color: #1e293b;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.custom-config-cta p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.feature-card h5 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.feature-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Use Case Cards */
.use-case-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.use-case-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: white;
}

.use-case-card h5 {
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 600;
}

.use-case-card p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Data Center Section */
.dc-features {
    display: grid;
    gap: 25px;
}

.dc-feature {
    display: flex;
    align-items: start;
    gap: 15px;
}

.dc-feature i {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.dc-feature strong {
    display: block;
    color: #1e293b;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.dc-feature p {
    color: #64748b;
    margin: 0;
    font-size: 0.95rem;
}

.dc-image {
    position: relative;
}

.dc-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
}

.dc-stats {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.dc-stats .stat {
    text-align: center;
}

.dc-stats .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    display: block;
}

.dc-stats .label {
    font-size: 0.875rem;
    color: #64748b;
}

/* FAQ */
.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    background: white;
    color: #1e293b;
    font-weight: 600;
    padding: 20px;
    border: none;
    font-size: 1.05rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.05) 0%, rgba(51, 65, 85, 0.05) 100%);
    color: #1e293b;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    padding: 20px;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.cta-content {
    position: relative;
    z-index: 1;
}

/* Order Modal */
.modal-content {
    border: none;
    border-radius: 15px;
}

.modal-header {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 20px 25px;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-title {
    font-weight: 600;
    font-size: 1.2rem;
}

.order-summary {
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.order-summary h6 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 15px;
}

.total-summary {
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.total-summary .d-flex {
    margin-bottom: 10px;
}

.total-summary .d-flex:last-child {
    margin-bottom: 0;
}

/* Gradients for icons */
.gradient-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.gradient-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.gradient-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.gradient-6 {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

/* Responsive Design */
@media (max-width: 991px) {
    .server-3d-view {
        padding: 20px;
    }
    
    .server-front {
        width: 250px;
        height: 160px;
    }
    
    .drive {
        width: 45px;
        height: 15px;
    }
    
    .server-specs-overlay {
        display: none;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .dedicated-hero {
        padding: 80px 0 60px;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .server-3d-view {
        display: none;
    }
    
    .dc-stats {
        position: static;
        margin-top: 20px;
    }
    
    .dc-features {
        gap: 20px;
    }
    
    .custom-config-cta {
        padding: 30px 20px;
    }
}

@media (max-width: 575px) {
    .hero-stats {
        gap: 20px;
    }
    
    .stat-value {
        font-size: 1.3rem;
    }
    
    .server-header {
        padding: 20px;
    }
    
    .server-specs {
        padding: 20px;
    }
    
    .feature-card {
        padding: 25px;
    }
    
    .modal-body {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    .dedicated-hero,
    .cta-section {
        background: none !important;
        color: black !important;
    }
    
    .server-3d-view,
    .floating-elements {
        display: none;
    }
    
    .server-card {
        break-inside: avoid;
        border: 1px solid #ccc;
    }
}