/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #00020f;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(75, 117, 255, 0.1) 0%, rgba(0, 2, 15, 0.8) 70%, #00020f 100%);
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, #4C75FF, transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90% 40%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 50% 50%, #4C75FF, transparent),
        radial-gradient(2px 2px at 80% 10%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 10% 90%, rgba(255,255,255,0.5), transparent),
        radial-gradient(2px 2px at 30% 80%, #4C75FF, transparent),
        radial-gradient(1px 1px at 70% 20%, rgba(255,255,255,0.8), transparent);
    background-repeat: repeat;
    background-size: 300px 300px, 200px 200px, 250px 250px, 350px 350px, 400px 400px, 150px 150px, 320px 320px, 180px 180px;
    animation: twinkle 20s linear infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

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

/* Header Styles */
header {
    background: rgba(14, 18, 46, 0.9);
    backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(35, 45, 107, 0.3);
}

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

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #4C75FF, #1A4FFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-container {
    background: rgba(14, 18, 46, 0.9);
    border: 1px solid rgba(35, 45, 107, 0.5);
    border-radius: 50px;
    padding: 4px 8px;
    backdrop-filter: blur(20px);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.75rem 1.2rem;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    font-weight: 500;
    font-size: 0.9rem;
}

.nav-links a:hover {
    background: rgba(22, 28, 68, 0.8);
    border: 1px solid rgba(35, 45, 107, 0.8);
    transform: none;
    box-shadow: none;
}

.btn-apply-header {
    background: linear-gradient(45deg, #4C75FF, #1A4FFF);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-apply-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 117, 255, 0.4);
}



.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    position: relative;
    max-width: 800px;
}

.breaking-news {
    background: rgba(76, 117, 255, 0.15);
    border: 1px solid rgba(76, 117, 255, 0.3);
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    margin-bottom: 2rem;
    font-weight: 600;
    animation: pulse 2s infinite;
    backdrop-filter: blur(10px);
    color: #A7ADBE;
    font-size: 1rem;
}

.breaking-news i {
    margin: 0 0.5rem;
    color: #4C75FF;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
    background: linear-gradient(45deg, #fff, #4C75FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.4rem);
    margin-bottom: 2.5rem;
    color: #A7ADBE;
    animation: fadeInUp 1s ease-out 0.3s both;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: linear-gradient(45deg, #4C75FF, #1A4FFF);
    color: white;
    box-shadow: 0 8px 30px rgba(76, 117, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(76, 117, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(76, 117, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(76, 117, 255, 0.1);
    color: #4C75FF;
    border-color: #4C75FF;
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(76, 117, 255, 0.3);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-element {
    position: absolute;
    font-size: 2.5rem;
    animation: float 4s ease-in-out infinite;
    opacity: 0.7;
    color: rgba(255,255,255,0.8);
}

.float-element i {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.float-element:nth-child(1) { animation-delay: 0s; }
.float-element:nth-child(2) { animation-delay: 0.5s; }
.float-element:nth-child(3) { animation-delay: 1s; }
.float-element:nth-child(4) { animation-delay: 1.5s; }
.float-element:nth-child(5) { animation-delay: 2s; }
.float-element:nth-child(6) { animation-delay: 2.5s; }

.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    animation: particleFloat 20s linear infinite;
}

.particle:nth-child(1) { left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 40%; animation-delay: 4s; }
.particle:nth-child(3) { left: 60%; animation-delay: 8s; }
.particle:nth-child(4) { left: 80%; animation-delay: 12s; }
.particle:nth-child(5) { left: 10%; animation-delay: 16s; }

/* About Section */
.about {
    padding: 6rem 0;
    background: rgba(14, 18, 46, 0.1);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(35, 45, 107, 0.3);
    border-bottom: 1px solid rgba(35, 45, 107, 0.3);
}

.about h2 {
    text-align: center;
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
    background: linear-gradient(45deg, #fff, #4C75FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: rgba(76, 117, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(76, 117, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(76, 117, 255, 0.1), transparent);
    opacity: 0;
    transition: all 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(76, 117, 255, 0.3);
    background: rgba(76, 117, 255, 0.15);
}

.feature-card i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #4C75FF, #1A4FFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: #A7ADBE;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Roles Section */
.roles {
    padding: 6rem 0;
}

.roles h2 {
    text-align: center;
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
    background: linear-gradient(45deg, #fff, #4C75FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.role-card {
    background: rgba(76, 117, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(76, 117, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.role-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(76, 117, 255, 0.1), rgba(26, 79, 255, 0.1));
    opacity: 0;
    transition: all 0.3s ease;
}

.role-card:hover::before {
    opacity: 1;
}

.role-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 50px rgba(76, 117, 255, 0.3);
}

.role-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #4C75FF;
}

.role-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #4C75FF, #1A4FFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.role-card p {
    color: #A7ADBE;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Apply Section */
.apply-section {
    padding: 6rem 0;
    background: rgba(14, 18, 46, 0.1);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(35, 45, 107, 0.3);
}

.apply-section h2 {
    text-align: center;
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 4rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
    background: linear-gradient(45deg, #fff, #4C75FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(76, 117, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(76, 117, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

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

.step:hover::before {
    left: 100%;
}

.step:hover {
    transform: translateX(15px);
    box-shadow: 0 15px 40px rgba(76, 117, 255, 0.3);
    background: rgba(76, 117, 255, 0.15);
}

.step-number {
    background: linear-gradient(45deg, #4C75FF, #1A4FFF);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(76, 117, 255, 0.4);
}

.step-content h3 {
    margin-bottom: 0.5rem;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.download-btn.android {
    background: linear-gradient(45deg, #3DDC84, #4CAF50);
}

.download-btn.ios {
    background: linear-gradient(45deg, #007AFF, #0051D5);
}

/* Referral Section */
.referral-section {
    text-align: center;
    background: rgba(76, 117, 255, 0.15);
    padding: 3rem;
    border-radius: 25px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(76, 117, 255, 0.2);
    box-shadow: 0 10px 30px rgba(76, 117, 255, 0.2);
}

.referral-section h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #4C75FF, #1A4FFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.referral-code {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.referral-code input {
    background: rgba(76, 117, 255, 0.1);
    border: 2px solid rgba(76, 117, 255, 0.3);
    padding: 1rem;
    border-radius: 15px;
    color: white;
    font-size: 1.1rem;
    text-align: center;
    min-width: 320px;
    backdrop-filter: blur(10px);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.referral-code input:focus {
    outline: none;
    border-color: #4C75FF;
    box-shadow: 0 0 20px rgba(76, 117, 255, 0.3);
}

.copy-btn {
    background: linear-gradient(45deg, #4C75FF, #1A4FFF);
    border: none;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(76, 117, 255, 0.4);
}

.copy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 117, 255, 0.6);
}

/* Links Section */
.links-section {
    padding: 6rem 0;
}

.links-section h2 {
    text-align: center;
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 4rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
    background: linear-gradient(45deg, #fff, #4C75FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    background: rgba(76, 117, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(76, 117, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(76, 117, 255, 0.1), rgba(26, 79, 255, 0.1));
    opacity: 0;
    transition: all 0.3s ease;
}

.link-card:hover::before {
    opacity: 1;
}

.link-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 50px rgba(76, 117, 255, 0.3);
    background: rgba(76, 117, 255, 0.15);
}

.link-card i {
    font-size: 3rem;
    background: linear-gradient(45deg, #4C75FF, #1A4FFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.link-card span {
    font-size: 1.3rem;
    font-weight: 600;
}

/* Footer */
footer {
    background: rgba(14, 18, 46, 0.3);
    padding: 3rem 0;
    text-align: center;
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(35, 45, 107, 0.3);
}

footer p {
    font-size: 1.1rem;
    color: #A7ADBE;
    font-weight: 500;
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes glow {
    0% { box-shadow: 0 8px 30px rgba(76, 117, 255, 0.4); }
    100% { box-shadow: 0 8px 30px rgba(76, 117, 255, 0.8); }
}

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

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

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .features-grid, .roles-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-container {
        background: transparent;
        border: none;
        padding: 0;
        border-radius: 0;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(14, 18, 46, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        border-radius: 0 0 20px 20px;
        border: 1px solid rgba(35, 45, 107, 0.3);
        gap: 0.5rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 1rem;
        border-radius: 15px;
        text-align: center;
    }
    
    .btn-apply-header {
        display: none;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .features-grid, .roles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .links-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}