/**
 * Landing Page and Authentication Styles
 * Theme-aware components for public-facing pages
 */

/* Logo Styles */
.hero-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
}

.auth-logo {
    max-width: 250px;
    width: 100%;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
}

/* Alert Components */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    position: relative;
}

.alert-success {
    background-color: var(--success-bg, #d1fae5);
    color: var(--success-text, #065f46);
    border-left: 4px solid var(--success-border, #10b981);
}

.alert-centered {
    text-align: center;
}

.alert-error {
    background-color: var(--error-bg, #fee2e2);
    color: var(--error-text, #991b1b);
    border-left: 4px solid var(--error-border, #ef4444);
}

.alert-warning {
    background-color: var(--warning-bg, #fef3c7);
    color: var(--warning-text, #92400e);
    border-left: 4px solid var(--warning-border, #f59e0b);
}

.alert-info {
    background-color: var(--info-bg, #dbeafe);
    color: var(--info-text, #1e40af);
    border-left: 4px solid var(--info-border, #3b82f6);
}

.alert-dismissible {
    padding-right: 3rem;
}

.alert-close {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: inherit;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.alert-close:hover {
    opacity: 1;
}

/* Authentication Page Containers */
.auth-container {
    max-width: 400px;
    margin: 4rem auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    color: var(--primary, #667eea);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #6b7280;
    font-size: 0.95rem;
}

/* Landing Page Hero Section */
.hero-section {
    text-align: center;
    padding: 4rem 2rem;
}

.hero-section h1 {
    color: var(--primary, #667eea);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-section p {
    color: #6b7280;
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* CTA Buttons */
.btn-cta {
    background: linear-gradient(135deg, var(--gradient-start, #667eea) 0%, var(--gradient-end, #764ba2) 100%);
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-card h3 {
    color: var(--primary, #667eea);
    margin-bottom: 1rem;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}
