/* Cyberservers CSS */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    --gradient-secondary: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --border-radius: 0.5rem;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 1030;
    padding: 0.5rem 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    text-decoration: none;
}

/* Modern Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon-modern {
    position: relative;
    width: 45px;
    height: 45px;
}

.cyber-logo {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-layer {
    position: absolute;
    border-radius: 12px;
    animation: logoFloat 3s ease-in-out infinite;
}

.layer-1 {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    animation-delay: 0s;
}

.layer-2 {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    animation-delay: 0.5s;
    opacity: 0.8;
}

.layer-3 {
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    animation-delay: 1s;
    opacity: 0.6;
}

.logo-center {
    position: relative;
    z-index: 10;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.brand-text-modern {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.brand-accent {
    color: var(--primary-color);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-tagline {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -2px;
}

/* Footer Logo Styles */
.logo-container-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.logo-icon-modern-footer {
    position: relative;
    width: 40px;
    height: 40px;
}

.cyber-logo-footer {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-layer-footer {
    position: absolute;
    border-radius: 10px;
    animation: logoFloat 3s ease-in-out infinite;
}

.logo-layer-footer.layer-1 {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    animation-delay: 0s;
}

.logo-layer-footer.layer-2 {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    animation-delay: 0.5s;
    opacity: 0.8;
}

.logo-layer-footer.layer-3 {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    animation-delay: 1s;
    opacity: 0.6;
}

.logo-center-footer {
    position: relative;
    z-index: 10;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.brand-text-footer {
    display: flex;
    flex-direction: column;
}

.brand-accent-footer {
    color: #4facfe;
}

/* Logo Animation */
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-2px) rotate(1deg);
    }
    50% {
        transform: translateY(-4px) rotate(0deg);
    }
    75% {
        transform: translateY(-2px) rotate(-1deg);
    }
}

/* Legacy logo styles for backward compatibility */
.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

.logo-icon .logo-text {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-icon-footer {
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon-footer .logo-text {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.brand-text {
    margin-left: 0.5rem;
    font-weight: 600;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.language-switcher .dropdown-toggle {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.language-switcher .dropdown-toggle:hover {
    background: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::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 1000 1000"><polygon fill="%23ffffff08" points="0,0 1000,300 1000,1000 0,700"/></svg>');
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero .btn-primary {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    margin-right: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.hero .btn-primary:hover {
    background: var(--light-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.hero .btn-outline-light {
    border: 2px solid white;
    color: white;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.hero .btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .lead {
        font-size: 1.1rem;
    }
}

/* Section Styles */
.section {
    padding: 6rem 0;
    position: relative;
}

.section:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.3rem;
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Services Section */
.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15);
    border-color: var(--primary-color);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.2rem;
    color: white;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
}

.service-card h4 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    font-size: 1.4rem;
}

.service-card p {
    color: var(--secondary-color);
    line-height: 1.7;
    font-size: 1rem;
}

/* Pricing Section */
.pricing-card {
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
    position: relative;
}

.pricing-card.premium {
    border: 2px solid #6c5ce7;
    background: linear-gradient(135deg, #fff 0%, #f5f3ff 100%);
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: 1.5rem;
    right: -3rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 4rem;
    font-size: 0.85rem;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
    z-index: 10;
}

.pricing-badge-premium {
    position: absolute;
    top: 1.5rem;
    right: -3rem;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    padding: 0.5rem 4rem;
    font-size: 0.85rem;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(108, 92, 231, 0.3);
    z-index: 10;
}

.pricing-card.featured::before {
    content: 'Meest populair';
    position: absolute;
    top: 1.5rem;
    right: -3rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 4rem;
    font-size: 0.85rem;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
}

.pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-15px);
}

.pricing-card.premium:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(108, 92, 231, 0.2);
}

.pricing-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f1f3f4;
}

.pricing-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.pricing-price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.pricing-description {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--dark-color);
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--success-color);
    margin-right: 0.75rem;
    font-size: 1.1rem;
    min-width: 20px;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.about-text p {
    color: var(--secondary-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Why Choose Section */
.why-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.why-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.6rem;
    color: white;
    transition: all 0.3s ease;
}

.why-card:hover .why-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.why-card h5 {
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--dark-color);
    font-size: 1.3rem;
}

.why-card p {
    color: var(--secondary-color);
    line-height: 1.6;
    font-size: 1rem;
}

/* Contact Section */
.contact-form {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.form-control {
    border-radius: var(--border-radius);
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
}

.footer h5,
.footer h6 {
    color: white;
    font-weight: 600;
}

.footer .text-muted {
    color: #adb5bd !important;
}

.footer a {
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color) !important;
}

.social-links a {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    z-index: 1000;
    transition: all 0.3s ease;
}

#backToTop:hover {
    transform: translateY(-2px);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    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); }
}

/* Alerts */
.alert {
    border-radius: var(--border-radius);
    border: none;
    font-weight: 500;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(220, 53, 69, 0.2);
}

/* Responsive Design */
@media (max-width: 991px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-bottom: 2rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem 0;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero .lead {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    /* Mobile Logo Adjustments */
    .logo-icon-modern {
        width: 35px;
        height: 35px;
    }
    
    .cyber-logo .layer-1 {
        width: 35px;
        height: 35px;
    }
    
    .cyber-logo .layer-2 {
        width: 25px;
        height: 25px;
    }
    
    .cyber-logo .layer-3 {
        width: 15px;
        height: 15px;
    }
    
    .logo-center {
        font-size: 1rem;
    }
    
    .brand-name {
        font-size: 1.2rem;
    }
    
    .brand-tagline {
        font-size: 0.6rem;
    }
    
    .logo-container {
        gap: 0.5rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .pricing-price {
        font-size: 2.8rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
    }
    
    .logo-icon .logo-text {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .lead {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .pricing-price {
        font-size: 2.5rem;
    }
    
    .service-card h4 {
        font-size: 1.2rem;
    }
    
    .pricing-title {
        font-size: 1.5rem;
    }
}

/* Utility Classes */
.bg-gradient-primary {
    background: var(--gradient-primary);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: var(--shadow);
}

.border-radius-custom {
    border-radius: var(--border-radius);
}
