/* Cyberpods Custom Branding and Enhanced Styles */

/* Primary Brand Colors */
:root {
    --cyberpods-primary: #0056b3;
    --cyberpods-secondary: #6c757d;
    --cyberpods-success: #28a745;
    --cyberpods-warning: #ffc107;
    --cyberpods-danger: #dc3545;
    --cyberpods-info: #17a2b8;
    --cyberpods-light: #f8f9fa;
    --cyberpods-dark: #343a40;
    --cyberpods-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Enhanced Hero Section */
.hero-section {
    background: var(--cyberpods-gradient);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.15"/><circle cx="10" cy="90" r="0.5" fill="white" opacity="0.15"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Service Cards Enhancement */
.service-card, .card {
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

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

.service-card .service-icon i {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

/* Specific service card color enhancements */
.service-card:nth-child(1):hover {
    box-shadow: 0 8px 30px rgba(0, 86, 179, 0.2);
}

.service-card:nth-child(2):hover {
    box-shadow: 0 8px 30px rgba(23, 162, 184, 0.2);
}

.service-card:nth-child(3):hover {
    box-shadow: 0 8px 30px rgba(40, 167, 69, 0.2);
}

.service-card:nth-child(4):hover {
    box-shadow: 0 8px 30px rgba(255, 193, 7, 0.2);
}

.service-card:nth-child(5):hover {
    box-shadow: 0 8px 30px rgba(108, 117, 125, 0.2);
}

.service-card:nth-child(6):hover {
    box-shadow: 0 8px 30px rgba(220, 53, 69, 0.2);
}

/* Support Cards Enhancement */
.support-card {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.support-card:hover {
    border-color: var(--cyberpods-primary);
    background: linear-gradient(45deg, #f8f9fa, #fff);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 86, 179, 0.1);
}

.support-card h6 {
    margin: 0;
    font-weight: 600;
    color: var(--cyberpods-dark);
}

/* Button Enhancements */
.btn {
    border-radius: 25px;
    font-weight: 600;
    padding: 10px 24px;
    transition: all 0.3s ease;
    border-width: 2px;
}

.btn-primary {
    background: var(--cyberpods-primary);
    border-color: var(--cyberpods-primary);
    box-shadow: 0 3px 10px rgba(0, 86, 179, 0.3);
}

.btn-primary:hover {
    background: #004494;
    border-color: #004494;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.4);
}

.btn-outline-primary {
    color: var(--cyberpods-primary);
    border-color: var(--cyberpods-primary);
}

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

/* Typography Improvements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--cyberpods-dark);
}

.display-4 {
    font-weight: 800;
    letter-spacing: -0.5px;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Product Group Cards */
.card-body {
    padding: 2rem;
}

.card-title {
    color: var(--cyberpods-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-text {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Pricing and Feature Lists */
.list-unstyled li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.list-unstyled .fas.fa-check {
    font-size: 0.9rem;
}

/* Background Sections */
.bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0 !important;
    }
    
    .hero-section .display-4 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section .container {
        padding: 0 1rem;
    }
    
    .support-card {
        padding: 1rem !important;
    }
    
    .support-card h6 {
        font-size: 0.85rem;
    }
    
    .service-icon i {
        font-size: 2rem !important;
    }
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading States */
.btn:disabled {
    opacity: 0.6;
    transform: none !important;
}

/* Focus States for Accessibility */
.btn:focus, .support-card:focus {
    outline: 2px solid var(--cyberpods-primary);
    outline-offset: 2px;
}

/* Order Form Enhancements */
.store-order-container .product-header-card h1 {
    font-weight: 800;
    letter-spacing: -0.5px;
}

.pricing-badge .badge-content {
    border: 2px solid var(--cyberpods-primary);
    transition: all 0.3s ease;
}

.pricing-badge:hover .badge-content {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 86, 179, 0.2);
}

.payment-term-modern select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
}

.payment-term-modern select:focus {
    border-color: var(--cyberpods-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

.store-domain-tabs .nav-link {
    border-radius: 25px;
    margin: 0 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.store-domain-tabs .nav-link.active {
    background: var(--cyberpods-primary);
    border-color: var(--cyberpods-primary);
}

.store-domain-tabs .nav-link:hover {
    background: rgba(0, 86, 179, 0.1);
}

.tab-content {
    border-radius: 8px;
    padding: 1.5rem;
    background: #f8f9fa;
    margin-top: 1rem;
}

.domain-validation {
    font-weight: 600;
    padding: 0.5rem;
    border-radius: 5px;
}

.domain-validation.ok {
    background: rgba(40, 167, 69, 0.1);
    color: var(--cyberpods-success);
}

/* Upsell Product Enhancement */
.store-promoted-product {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 2px solid var(--cyberpods-primary);
}

.store-promoted-product .icon img {
    max-width: 80px;
    border-radius: 10px;
}

.store-promoted-product h3 {
    color: var(--cyberpods-primary);
    font-weight: 700;
}

.store-promoted-product .features li {
    padding: 0.5rem 0;
    color: var(--cyberpods-dark);
}

.store-promoted-product .features .fa-check-circle {
    color: var(--cyberpods-success);
    margin-right: 0.5rem;
}

/* Mobile Responsiveness for Order Form */
@media (max-width: 768px) {
    .store-order-container .pricing-badge {
        margin-top: 1rem;
    }
    
    .store-domain-tabs {
        flex-wrap: wrap;
    }
    
    .store-domain-tabs .nav-link {
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .d-flex.gap-2 {
        flex-direction: column;
        gap: 0.5rem !important;
    }
    
    .d-flex.gap-2 .btn {
        width: 100%;
    }
}

/* Cyberpods Logo Styling */
.cyberpods-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    transition: all 0.3s ease;
}

.cyberpods-logo .logo-cyber {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--cyberpods-primary);
    letter-spacing: -0.5px;
    text-transform: uppercase;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.cyberpods-logo .logo-pods {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--cyberpods-secondary);
    letter-spacing: -0.5px;
    text-transform: uppercase;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    margin-left: -2px;
}

.cyberpods-logo .logo-tagline {
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--cyberpods-info);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -2px;
    margin-left: 1px;
    opacity: 0.8;
}

.navbar-brand:hover .cyberpods-logo .logo-cyber {
    color: #004494;
    transform: translateX(1px);
}

.navbar-brand:hover .cyberpods-logo .logo-pods {
    color: var(--cyberpods-primary);
    transform: translateX(-1px);
}

.navbar-brand:hover .cyberpods-logo .logo-tagline {
    opacity: 1;
    color: var(--cyberpods-primary);
}

/* Alternative Horizontal Logo Layout for Mobile */
@media (max-width: 768px) {
    .cyberpods-logo {
        flex-direction: row;
        align-items: center;
    }
    
    .cyberpods-logo .logo-cyber,
    .cyberpods-logo .logo-pods {
        font-size: 1.3rem;
    }
    
    .cyberpods-logo .logo-tagline {
        display: none;
    }
}

/* Extra Small Screens */
@media (max-width: 576px) {
    .cyberpods-logo .logo-cyber,
    .cyberpods-logo .logo-pods {
        font-size: 1.2rem;
    }
}

/* Logo with Icon Alternative (if wanted later) */
.cyberpods-logo-with-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cyberpods-logo-with-icon::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--cyberpods-primary) 0%, var(--cyberpods-info) 100%);
    border-radius: 6px;
    position: relative;
}

.cyberpods-logo-with-icon::after {
    content: '⚡';
    position: absolute;
    left: 8px;
    top: 4px;
    font-size: 16px;
    color: white;
    z-index: 1;
}

/* Print Styles */
@media print {
    .hero-section,
    .support-card,
    .btn {
        background: #fff !important;
        color: #000 !important;
        box-shadow: none !important;
    }
    
    .cyberpods-logo .logo-cyber,
    .cyberpods-logo .logo-pods {
        color: #000 !important;
    }
    
    .cyberpods-logo .logo-tagline {
        display: none;
    }
}