:root {
    --primary-color: rgba(141, 161, 172, 1);
    --secondary-color: rgba(94, 120, 134, 1);
    --accent-color: rgba(240, 76, 60, 1);
    --accent-glow: rgba(240, 76, 60, 0.25);
    --light-color: rgba(236, 240, 241, 1);
    --dark-color: rgba(44, 62, 80, 1);
    --text-color: rgba(51, 51, 51, 1);
    --primary-color-transparent: rgba(141, 161, 172, 0.6);
    --secondary-color-transparent: rgba(94, 120, 134, 0.6);
    --accent-color-transparent: rgba(231, 76, 60, 0.6);
    --light-color-transparent: rgba(236, 240, 241, 0.6);
    --dark-color-transparent: rgba(44, 62, 80, 0.7);
    --text-color-transparent: rgba(51, 51, 51, 0.6);
    --deep-bg: #0a0f1e;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glow-blue: rgba(94, 120, 134, 0.25);
    --glow-red: rgba(240, 76, 60, 0.15);
}

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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--deep-bg);
    color: var(--light-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scroll-based fade-in animation */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    min-height: 100vh;
    padding: 80px 0;
    display: flex;
    align-items: center;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 15, 30, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 15, 30, 0.85);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo-container:hover {
    opacity: 0.8;
}

.logo-img {
    width: 50px;
    height: 50px;
    margin-right: 0px;
}

.logo-text {
    font-size: 2rem;
    font-weight: bold;
    color: var(--light-color);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: rgba(236, 240, 241, 0.7);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--light-color);
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), #e67e22);
    border-radius: 1px;
    transition: width 0.3s ease;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--light-color);
    cursor: pointer;
}

/* Hero Section */
#home {
    background: linear-gradient(160deg, #0a0f1e 0%, #121a30 30%, #16203a 60%, #0d1225 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Aurora blobs for hero */
#home::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--glow-red) 0%, transparent 70%);
    top: -15%;
    right: -10%;
    border-radius: 50%;
    animation: auroraHero1 12s ease-in-out infinite alternate;
    filter: blur(80px);
    pointer-events: none;
}

#home::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--glow-blue) 0%, transparent 70%);
    bottom: -10%;
    left: -5%;
    border-radius: 50%;
    animation: auroraHero2 10s ease-in-out infinite alternate;
    filter: blur(80px);
    pointer-events: none;
}

@keyframes auroraHero1 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    50% { transform: translate(-60px, 30px) scale(1.2); opacity: 0.8; }
    100% { transform: translate(-20px, -20px) scale(1.05); opacity: 0.5; }
}

@keyframes auroraHero2 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(50px, -25px) scale(1.15); opacity: 0.7; }
    100% { transform: translate(15px, 10px) scale(0.95); opacity: 0.4; }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
}

.hero-image img {
    width: 100%;
    border-radius: 1.25rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--light-color);
    padding: 10px;
    line-height: 1.2;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #c8d8e4 50%, #f04c3c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(236, 240, 241, 0.7);
    padding: 10px;
    border-radius: 5px;
    line-height: 1.7;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

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

.countdown-container {
    display: flex;
    flex-wrap: wrap;
    margin: 30px 0;
    justify-content: center;
}

.countdown-item {
    margin-right: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--light-color);
    padding: 5px;
    border-radius: 10px;
    min-width: 80px;
    display: inline-block;
    border: 1px solid var(--glass-border);
}

.countdown-label {
    font-size: 1rem;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(236, 240, 241, 0.5);
    font-weight: 600;
}

.cta-button {
    display: flex;
    background: linear-gradient(135deg, var(--accent-color), #e67e22);
    color: white;
    padding: 15px 30px;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 0.75rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 1px;
    margin: 10px;
    justify-content: center;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(240, 76, 60, 0.4);
    filter: brightness(1.1);
}

/* Features Section */
#features {
    background: linear-gradient(180deg, #0d1225 0%, #111a30 50%, #0e1528 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative glow */
#features::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--glow-blue) 0%, transparent 70%);
    top: -150px;
    left: -150px;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--light-color);
    position: relative;
    display: inline-block;
    font-weight: 600;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(236, 240, 241, 0.6);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 30px;
    border-radius: 1.25rem;
    text-align: left;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(94, 120, 134, 0.15);
    border-color: rgba(255, 255, 255, 0.12);
}

.feature-item p {
    color: rgba(236, 240, 241, 0.6);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--light-color);
}

/* Signup Section */
#signup {
    background: linear-gradient(180deg, #0e1528 0%, #131d35 50%, #0d1225 100%);
    position: relative;
    overflow: hidden;
}

#signup::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--glow-red) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.signup-content {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 40px;
    border-radius: 1.5rem;
    border: 1px solid var(--glass-border);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.form-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: var(--light-color);
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: rgba(236, 240, 241, 0.8);
    font-size: 0.95rem;
}

input, textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--light-color);
    font-size: 1rem;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus {
    border-color: rgba(240, 76, 60, 0.5);
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    box-shadow: 0 0 0 3px rgba(240, 76, 60, 0.1);
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.btn {
    background: linear-gradient(135deg, var(--accent-color), #e67e22);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 0.75rem;
    cursor: pointer;
    letter-spacing: 1px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    margin-top: 30px;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(240, 76, 60, 0.4);
    filter: brightness(1.1);
}

/* About Section */
#ourmission {
    background: linear-gradient(180deg, #0d1225 0%, #101a2e 50%, #0e1528 100%);
    position: relative;
    overflow: hidden;
}

#ourmission::before {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(94, 120, 134, 0.12) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.ourmission-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.ourmission-image {
    flex: 1;
    min-width: 300px;
}

.ourmission-image img {
    width: 100%;
    border-radius: 1.25rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
}

.ourmission-text {
    flex: 1;
    min-width: 300px;
}

.ourmission-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--light-color);
}

.ourmission-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: rgba(236, 240, 241, 0.7);
    line-height: 1.7;
}

/* Contact Section */
#contact {
    background: linear-gradient(180deg, #0d1225 0%, #111b32 50%, #0b1020 100%);
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--glow-red) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--light-color);
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--light-color);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--light-color);
    text-decoration: none;
}

.contact-item:visited {
    color: var(--light-color);
}

.contact-item:hover .contact-text,
.contact-item:focus-visible .contact-text {
    text-decoration: underline;
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--light-color);
    border-radius: 25%;
    font-size: 1.2rem;
    padding: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

.instagram:hover svg{
    fill: #E1306C;
}

.reddit:hover svg{
    fill: #FF4500;
}

.threads:hover svg{
    fill: #000000;
}

.tiktok:hover svg{
    fill: #000000;
}

.youtube:hover svg{
    fill: #FF0000;
}

.facebook:hover svg {
    fill: #1877F2;
}

.x:hover svg {
    fill: #000000;
}

.threads:hover svg {
    fill: #000000;
}

/* About Section */
#faq {
    background: linear-gradient(180deg, #0e1528 0%, #111d33 50%, #0d1225 100%);
    position: relative;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.dark-section-header h2 {
    color: var(--light-color);
}

.faq-item {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 0.75rem;
    margin-bottom: 20px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--light-color);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
    margin-bottom: 20px;
    color: var(--light-color);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 20px 20px;
}

.faq-item.active .faq-answer p {
    opacity: 1;
    transform: translateY(0);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Footer */
footer {
    background: linear-gradient(180deg, #0b1020, #060a16);
    color: var(--light-color);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-links {
    display: ruby;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
    gap: 10px;
}

.footer-legal a {
    color: var(--light-color);
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.7;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-legal a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.footer-legal p {
    margin: 0;
    color: var(--light-color);
    font-size: 0.85rem;
    opacity: 0.7;
}

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: #151d32;
    margin: 50px auto;
    max-width: 800px;
    width: 90%;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--glass-border);
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: #151d32;
    border-radius: 1rem 1rem 0 0;
    z-index: 1;
}

.modal-header h2 {
    margin: 0;
    color: var(--light-color);
}

.modal-close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--accent-color);
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    color: rgba(236, 240, 241, 0.8);
}

.modal-body h3 {
    color: var(--light-color);
    margin: 20px 0 10px;
}

.modal-body p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.modal-body ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 8px;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px auto;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .countdown-item {
        margin-right: 15px;
    }
    
    .countdown-number {
        font-size: 2rem;
        min-width: 70px;
        padding: 12px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 15, 30, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: all 0.3s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .countdown-container {
        justify-content: center;
    }
    
    .countdown-item {
        margin: 10px;
    }
    
    .countdown-number {
        font-size: 1.8rem;
        min-width: 60px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
    
    .countdown-item {
        margin: 8px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
        min-width: 50px;
        padding: 10px;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
}