/* Aurora Theme Styles for Transparent Horizons */

:root {
    --aurora-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --aurora-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --aurora-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --aurora-dark: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    --aurora-light: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    --aurora-purple: #667eea;
    --aurora-blue: #4facfe;
    --text-light: #f8f9fa;
    --text-dark: #2c3e50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Aurora Gradient Classes */
.aurora-gradient {
    background: var(--aurora-primary);
}

.aurora-text {
    background: var(--aurora-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    position: relative;
}

/* Fallback for better visibility */
.aurora-text::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    color: #667eea;
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

/* Enhanced aurora text with better contrast */
.aurora-text-enhanced {
    color: #4facfe;
    font-weight: bold;
    text-shadow: 
        0 0 10px rgba(79, 172, 254, 0.5),
        0 0 20px rgba(79, 172, 254, 0.3),
        0 0 30px rgba(79, 172, 254, 0.2);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Aurora text with background for better visibility */
.aurora-text-contrast {
    background: linear-gradient(135deg, #4facfe 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    position: relative;
}

.aurora-text-contrast::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    z-index: -1;
    padding: 2px 8px;
    margin: -2px -8px;
}

/* Navigation */
.aurora-nav {
    background: rgba(102, 126, 234, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.aurora-nav .navbar-brand {
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
}

/* Logo Styles */
.navbar-logo {
    height: 40px;
    width: auto;
    max-width: 50px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

/* Hero Logo */
.hero-logo {
    height: 120px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5)) brightness(1.1);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}

/* Footer Logo */
.footer-logo {
    height: 50px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) brightness(1.2);
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.aurora-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.aurora-nav .nav-link:hover,
.aurora-nav .nav-link.active {
    color: #fff !important;
    transform: translateY(-2px);
}

.aurora-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--aurora-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.aurora-nav .nav-link:hover::after,
.aurora-nav .nav-link.active::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: var(--aurora-primary);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="rgba(255,255,255,0.1)"/><stop offset="100%" stop-color="rgba(255,255,255,0)"/></radialGradient></defs><circle cx="200" cy="300" r="150" fill="url(%23a)"/><circle cx="800" cy="200" r="100" fill="url(%23a)"/><circle cx="600" cy="700" r="120" fill="url(%23a)"/></svg>') no-repeat center center;
    background-size: cover;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-icon {
    animation: floatIcon 6s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Buttons */
.btn-aurora {
    background: var(--aurora-accent);
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-aurora::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-aurora:hover::before {
    left: 100%;
}

.btn-aurora:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
    color: white;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

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

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Support Page Styles */
.support-header {
    background: var(--aurora-primary);
    padding: 120px 0 80px;
    position: relative;
}

.support-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="b" cx="50%" cy="50%"><stop offset="0%" stop-color="rgba(255,255,255,0.05)"/><stop offset="100%" stop-color="rgba(255,255,255,0)"/></radialGradient></defs><circle cx="100" cy="200" r="80" fill="url(%23b)"/><circle cx="900" cy="300" r="120" fill="url(%23b)"/><circle cx="300" cy="800" r="100" fill="url(%23b)"/></svg>') no-repeat center center;
    background-size: cover;
}

.support-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.1);
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.support-card .card-header {
    padding: 25px;
    border-bottom: none;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--aurora-purple);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-check-input:checked {
    background-color: var(--aurora-purple);
    border-color: var(--aurora-purple);
}

.form-check-input:focus {
    border-color: var(--aurora-purple);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-check-label {
    color: var(--text-dark);
    line-height: 1.5;
}

.form-check-label a:hover {
    text-decoration: underline !important;
}

.form-label {
    color: var(--text-dark);
    margin-bottom: 8px;
}

/* Help Cards */
.help-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

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

/* Footer */
.aurora-footer {
    background: var(--aurora-dark);
    color: var(--text-light);
}

.aurora-footer a {
    transition: all 0.3s ease;
}

.aurora-footer a:hover {
    color: #4facfe !important;
    text-decoration: none;
}

/* Modal Styles */
.modal-content {
    border-radius: 20px;
    border: none;
    overflow: hidden;
}

.modal-header.aurora-gradient {
    border-bottom: none;
}

.privacy-content h6 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.privacy-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Alert Styles */
.alert {
    border-radius: 10px;
    border: none;
    padding: 15px 20px;
}

.alert-warning {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    color: #2d3436;
}

.alert-success {
    background: linear-gradient(135deg, #55efc4 0%, #00b894 100%);
    color: #2d3436;
}

.alert-danger {
    background: linear-gradient(135deg, #fd79a8 0%, #e84393 100%);
    color: white;
}

/* Character Counter */
.form-text {
    font-size: 0.875rem;
    color: #6c757d;
}

/* Loading Animation */
.btn-aurora.loading {
    position: relative;
    color: transparent;
}

.btn-aurora.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

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


/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        margin-top: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .floating-icon {
        margin-top: 3rem;
    }
    
    .floating-icon i {
        font-size: 4rem !important;
    }
    
    .support-card {
        margin-top: -30px;
    }
}

@media (max-width: 576px) {
    .support-header {
        padding: 100px 0 60px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .hero-logo {
        height: 80px;
        max-width: 120px;
    }
    
    .footer-logo {
        height: 35px;
        max-width: 60px;
        margin-bottom: 1rem;
    }
    
    .navbar-logo {
        height: 30px;
        max-width: 40px;
    }
}
