/* Page Hero Styles */
.page-hero {
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-hero-bg {
    position: relative;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(168, 85, 247, 0.15) 0%, transparent 50%);
    padding: 60px 0;
    text-align: center;
}

.page-hero-title {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
}

.page-hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
    background: var(--dark-surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.contact-form-wrapper {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 40px;
}

.contact-form-wrapper h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Contact Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 10px;
    color: white;
    flex-shrink: 0;
}

.contact-info-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-info-content p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 4px;
}

.contact-info-note {
    font-size: 12px !important;
    color: var(--text-muted) !important;
}

/* Contact FAQ */
.contact-faq {
    margin-top: 20px;
    padding: 24px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
}

.contact-faq h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.faq-item {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--dark-border);
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-item h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.faq-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Legal Pages (Privacy Policy & Terms) */
.legal-section {
    padding: 80px 0;
    background: var(--dark-surface);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-intro {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
}

.legal-intro p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.legal-block {
    margin-bottom: 48px;
}

.legal-block h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--dark-border);
}

.legal-block h3 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--primary-light);
}

.legal-block p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.legal-block ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 16px;
}

.legal-block li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
}

.legal-block li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.legal-block a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-block a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Auth Pages (Login & Register) */
.auth-page {
    background: var(--dark-bg);
    min-height: 100vh;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.auth-branding {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-branding::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(168, 85, 247, 0.3) 0%, transparent 50%);
}

.auth-branding-content {
    position: relative;
    z-index: 1;
    max-width: 450px;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 60px;
    text-decoration: none;
}

.auth-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
}

.auth-logo-text {
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-branding h1 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.1;
}

.auth-branding p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-size: 15px;
}

.auth-feature svg {
    color: var(--accent);
    flex-shrink: 0;
}

.auth-form-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: var(--dark-bg);
}

.auth-form-container {
    max-width: 450px;
    width: 100%;
}

.auth-header {
    margin-bottom: 32px;
}

.auth-header h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
}

.auth-header p {
    font-size: 16px;
    color: var(--text-secondary);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    width: 100%;
    padding: 12px 48px 12px 16px;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.password-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.toggle-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: var(--text-primary);
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 4px;
    background: var(--dark-border);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px;
}

.strength-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: 0;
    background: #ef4444;
    transition: all 0.3s ease;
}

.strength-bar.weak::after {
    width: 33%;
    background: #ef4444;
}

.strength-bar.medium::after {
    width: 66%;
    background: #f59e0b;
}

.strength-bar.strong::after {
    width: 100%;
    background: #10b981;
}

.strength-text {
    font-size: 12px;
    color: var(--text-muted);
}

/* Checkbox Styles */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--dark-border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--gradient-1);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label a {
    color: var(--primary-light);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Forgot Password Link */
.forgot-password {
    color: var(--primary-light);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--primary);
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 14px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--dark-border);
}

/* Social Auth Buttons */
.social-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-social:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

/* Auth Footer & Back */
.auth-footer {
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
}

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

.auth-back {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid var(--dark-border);
}

.auth-back a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.auth-back a:hover {
    color: var(--text-primary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-branding {
        display: none;
    }
    
    .auth-form-wrapper {
        padding: 40px 24px;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-row-between {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .legal-block h2 {
        font-size: 24px;
    }
    
    .legal-block h3 {
        font-size: 18px;
    }
    
    .auth-form-wrapper {
        padding: 30px 20px;
    }
    
    .auth-header h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 100px 0 40px;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .legal-intro {
        padding: 24px;
    }
    
    .legal-block {
        margin-bottom: 32px;
    }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 100px;
    right: 24px;
    min-width: 320px;
    max-width: 400px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    z-index: 10000;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-success {
    border-color: #10b981;
}

.notification-error {
    border-color: #ef4444;
}

.notification-info {
    border-color: var(--primary);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-content svg {
    flex-shrink: 0;
}

.notification-success .notification-content svg {
    color: #10b981;
}

.notification-error .notification-content svg {
    color: #ef4444;
}

.notification-info .notification-content svg {
    color: var(--primary);
}

.notification-content p {
    font-size: 14px;
    color: var(--text-primary);
    margin: 0;
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Nav Links Active State */
.nav-links a.active {
    color: var(--primary-light);
}

.nav-links a.active::after {
    width: 100%;
}
