/* Portal Styles */
.portal-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
}

.portal-header {
    padding: 2rem 0;
    text-align: center;
    color: var(--white);
}

.portal-header .logo h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.portal-header .logo p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.portal-main {
    flex: 1;
    padding: 2rem 0;
}

.portal-content {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 3rem;
    margin: 0 auto;
    max-width: 1000px;
}

.portal-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.portal-intro h2 {
    color: var(--gray-800);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.portal-intro .lead {
    font-size: 1.25rem;
    color: var(--gray-600);
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.stat-content p {
    color: var(--gray-600);
    font-weight: 500;
    margin-bottom: 0;
}

/* Choice Section */
.choice-section {
    margin-bottom: 3rem;
    text-align: center;
}

.choice-section h3 {
    font-size: 2rem;
    color: var(--gray-800);
    margin-bottom: 2rem;
}

.choice-form {
    max-width: 800px;
    margin: 0 auto;
}

.choice-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.choice-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.choice-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: var(--transition);
}

.choice-card:hover::before {
    transform: scaleX(1);
}

.choice-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.choice-card[data-type="artisan"]:hover {
    border-color: var(--primary-color);
}

.choice-card[data-type="client"]:hover {
    border-color: var(--secondary-color);
}

.choice-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.choice-card[data-type="client"] .choice-icon {
    color: var(--secondary-color);
}

.choice-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.choice-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.choice-benefits {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.choice-benefits li {
    padding: 0.5rem 0;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.choice-benefits li i {
    color: var(--success-color);
    font-size: 0.875rem;
    width: 16px;
    flex-shrink: 0;
}

.choice-card .btn {
    width: 100%;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-lg);
}

.remember-choice {
    text-align: center;
    margin-top: 2rem;
}

.remember-choice .checkbox-label {
    justify-content: center;
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Features Section */
.features-section {
    margin-bottom: 2rem;
    text-align: center;
}

.features-section h3 {
    font-size: 2rem;
    color: var(--gray-800);
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--gray-50);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.feature-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.feature-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.feature-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.feature-card p {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Footer */
.portal-footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 2rem 0 1rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section h5 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin: 0;
}

/* Contact Info in Modal */
.contact-info {
    margin-top: 1rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--gray-700);
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .portal-content {
        padding: 2rem 1.5rem;
        margin: 0 10px;
    }
    
    .portal-header .logo h1 {
        font-size: 2rem;
    }
    
    .portal-intro h2 {
        font-size: 1.75rem;
    }
    
    .choice-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .choice-card {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .portal-content {
        padding: 1.5rem 1rem;
        margin: 0 5px;
    }
    
    .stats-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .choice-card {
        padding: 1rem;
    }
    
    .choice-icon {
        font-size: 2rem;
    }
    
    .choice-card h4 {
        font-size: 1.25rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-content h3 {
        font-size: 1.5rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
}