/* FTP Hero Section */
.ftp-hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    overflow: hidden;
    padding: 6rem 0;
    position: relative;
    color: white;
}

.ftp-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/pattern-dots.png') repeat;
    opacity: 0.1;
}

.ftp-hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.ftp-hero-content::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    z-index: -1;
}

.ftp-hero-section .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ftp-hero-section .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.ftp-illustration {
    position: relative;
    padding: 2rem;
    animation: float 6s ease-in-out infinite;
}

.ftp-illustration img {
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* FTP Categories Section */
.ftp-categories-section {
    background: #f8f9fa;
    position: relative;
    padding: 5rem 0;
}

.ftp-categories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), transparent);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    display: inline-block;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.section-subtitle:hover::after {
    width: 100%;
}

.server-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.server-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: all 0.3s ease;
}

.server-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(var(--primary-color-rgb), 0.2);
}

.server-card:hover::before {
    transform: scaleX(1);
}

.server-card:hover::after {
    opacity: 1;
    width: 80%;
}

.server-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    padding: 1.2rem;
    background: #f8f9fa;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

.server-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px dashed var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.server-card:hover .server-icon {
    background: var(--light-gray);
    transform: scale(1.1) rotate(5deg);
}

.server-card:hover .server-icon::after {
    opacity: 0.2;
    animation: spin 10s linear infinite;
}

.server-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.server-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.server-card:hover h4 {
    color: var(--primary-color);
}

.server-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.server-link {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: var(--light-gray);
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.server-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.server-card:hover .server-link {
    color: white;
    transform: translateY(-2px);
}

.server-card:hover .server-link::before {
    opacity: 1;
}

/* Category Headers */
.category-header {
    position: relative;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.category-header::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

/* Additional Animations */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .ftp-hero-section {
        text-align: center;
        padding: 4rem 0;
    }
    
    .ftp-illustration {
        margin-top: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .server-card {
        padding: 1.5rem;
    }
    
    .server-icon {
        width: 70px;
        height: 70px;
    }

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