/* Landing Page Styles */
.landing {
    padding: 40px 0;
}

.landing-hero {
    text-align: center;
    margin-bottom: 50px;
}

.landing-hero h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.landing-hero .subtitle {
    font-size: 1.2rem;
    color: var(--dark);
    opacity: 0.8;
}

/* Role Selection */
.role-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.role-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

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

.role-card.selected {
    border-color: var(--primary);
    background: var(--light-bg);
}

.role-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.role-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.role-card p {
    margin-bottom: 25px;
    color: var(--dark);
    opacity: 0.8;
    line-height: 1.6;
}

.role-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.role-features span {
    color: var(--secondary);
    font-weight: 500;
}

.role-card .btn {
    width: 100%;
}

/* Auth Section */
.auth-section {
    margin-bottom: 60px;
}

.auth-container {
    max-width: 400px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.auth-container h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark);
}

.auth-form {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(36, 107, 206, 0.1);
}

.full-width {
    width: 100%;
}

/* Divider */
.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--light-gray);
}

.divider span {
    background: var(--white);
    padding: 0 15px;
    color: var(--dark);
    opacity: 0.7;
}

/* Google Button */
.google-btn {
    background: var(--white);
    color: var(--dark);
    border: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.google-btn:hover {
    background: #f8f9fa;
    border-color: var(--primary);
}

.google-icon {
    font-weight: bold;
    color: #4285F4;
}

/* Auth Switch */
.auth-switch {
    text-align: center;
    margin-top: 20px;
}

.auth-switch a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

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

/* Preview Section */
.preview-section {
    text-align: center;
}

.preview-section h3 {
    margin-bottom: 40px;
    color: var(--dark);
    font-size: 1.8rem;
}

.preview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.preview-card {
    background: var(--white);
    padding: 30px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: none;
    cursor: default;
}

.preview-card:hover {
    transform: none;
    box-shadow: var(--shadow);
}

.preview-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.preview-card h4 {
    margin-bottom: 15px;
    color: var(--dark);
}

.preview-card p {
    color: var(--dark);
    opacity: 0.8;
    line-height: 1.5;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.modal-content h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

.modal-content p {
    margin-bottom: 25px;
    color: var(--dark);
    opacity: 0.8;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .landing-hero h2 {
        font-size: 2rem;
    }
    
    .role-selection {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .role-card {
        padding: 30px 20px;
    }
    
    .auth-container {
        padding: 30px 20px;
    }
    
    .preview-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .landing {
        padding: 20px 0;
    }
    
    .landing-hero {
        margin-bottom: 30px;
    }
    
    .landing-hero h2 {
        font-size: 1.8rem;
    }
    
    .role-selection {
        grid-template-columns: 1fr;
    }
}