/* Landing Page Styles - SwimSwam */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--text-blue) 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    min-width: 150px;
}

.hero-buttons .btn-primary {
    background-color: var(--white);
    color: var(--primary-red);
}

.hero-buttons .btn-primary:hover {
    background-color: var(--light-gray);
    transform: translateY(-3px);
}

.hero-buttons .btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.hero-buttons .btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-red);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--white);
    position: relative;
    z-index: 1;
    margin-top: 0;
    clear: both;
}

.features h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    background-color: var(--white);
    border-top: 4px solid var(--primary-red);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    color: var(--primary-red);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-blue);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* User Roles Section */
.user-roles {
    padding: 6rem 0;
    background-color: var(--light-gray);
    position: relative;
    z-index: 1;
}

.user-roles h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.role-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--text-blue);
}

.role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.role-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    display: block;
}

.role-card h3 {
    color: var(--primary-red);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.role-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 2.5rem;
}

.role-card li {
    color: var(--text-blue);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.1rem;
}

.role-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.role-card .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    min-width: 150px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 0;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .features,
    .user-roles {
        padding: 4rem 0;
    }
    
    .features h2,
    .user-roles h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .features-grid,
    .roles-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-card,
    .role-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .role-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .features,
    .user-roles {
        padding: 3rem 0;
    }
    
    .features h2,
    .user-roles h2 {
        font-size: 1.8rem;
    }
    
    .feature-card,
    .role-card {
        padding: 1.5rem 1rem;
    }
    
    .feature-card h3,
    .role-card h3 {
        font-size: 1.3rem;
    }
    
    .role-card li {
        font-size: 1rem;
    }
}
