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

:root {
    --primary: #2E5C8A;
    --secondary: #4472C4;
    --accent: #5B9BD5;
    --dark: #0A1628;
    --darker: #050B15;
    --light: #F8F9FA;
    --text: #E8E8E8;
    --text-dim: #A0A0A0;
    --success: #00B050;
    --warning: #FFC000;
    --gradient-primary: linear-gradient(135deg, #2E5C8A 0%, #4472C4 100%);
    --gradient-accent: linear-gradient(135deg, #4472C4 0%, #5B9BD5 100%);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--darker);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Language Toggle */
.language-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
}

.lang-button {
    background: rgba(46, 92, 138, 0.95);
    border: 2px solid var(--accent);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lang-button:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(68, 114, 196, 0.4);
}

.lang-icon {
    font-size: 1.2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-brand h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:not(.cta-nav):after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:not(.cta-nav):hover:after {
    width: 100%;
}

.cta-nav {
    background: var(--gradient-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    color: white !important;
}

.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 92, 138, 0.4);
}

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

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(10, 22, 40, 0.95) 0%, 
        rgba(46, 92, 138, 0.8) 50%,
        rgba(68, 114, 196, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #FFFFFF 0%, #5B9BD5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text);
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    font-size: 0.95rem;
}

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

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

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.15rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(46, 92, 138, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--text);
}

.btn-secondary:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 800px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--darker) 0%, var(--dark) 100%);
}

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

.about-card {
    background: rgba(46, 92, 138, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2rem;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.about-card.highlight {
    background: linear-gradient(135deg, 
        rgba(46, 92, 138, 0.3) 0%, 
        rgba(68, 114, 196, 0.2) 100%);
    border-color: var(--accent);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.about-card p {
    color: var(--text-dim);
    line-height: 1.8;
}

/* Explainer Section */
.explainer-section {
    padding: 8rem 0;
    background: var(--dark);
}

.video-container-large {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-container-large video {
    width: 100%;
    display: block;
}

/* Technology Section */
.technology-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--dark) 0%, var(--darker) 100%);
}

.tech-grid {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.tech-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tech-feature.reverse {
    direction: rtl;
}

.tech-feature.reverse > * {
    direction: ltr;
}

.tech-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.tech-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.tech-image:hover img {
    transform: scale(1.05);
}

.tech-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.tech-content p {
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.tech-content ul {
    list-style: none;
    margin-top: 2rem;
}

.tech-content ul li {
    padding: 0.75rem 0;
    color: var(--text);
    font-size: 1.1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(46, 92, 138, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Specifications */
.specs-section {
    padding: 8rem 0;
    background: var(--dark);
}

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

.spec-card {
    background: rgba(46, 92, 138, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
}

.spec-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.spec-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.spec-card ul {
    list-style: none;
}

.spec-card ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-dim);
}

.spec-card ul li:last-child {
    border-bottom: none;
}

.spec-card ul li strong {
    color: var(--text);
}

/* Gallery */
.gallery-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--dark) 0%, var(--darker) 100%);
}

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

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay p {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Support Section */
.support-section {
    padding: 8rem 0;
    background: var(--dark);
}

.support-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.support-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.support-info p {
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.support-list {
    list-style: none;
    margin: 2rem 0;
}

.support-list li {
    padding: 0.75rem 0;
    color: var(--text);
    font-size: 1.1rem;
}

.funding-goal {
    background: rgba(46, 92, 138, 0.2);
    border: 1px solid var(--accent);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 3rem;
}

.funding-goal h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.goal-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.goal-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.goal-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    color: var(--text);
}

.donation-tiers {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.donation-tiers h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.tier-card {
    background: rgba(46, 92, 138, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.tier-card:hover {
    transform: translateX(5px);
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.tier-card.featured {
    border-color: var(--accent);
    background: rgba(68, 114, 196, 0.15);
}

.tier-card.premium {
    border-color: var(--warning);
    background: rgba(255, 192, 0, 0.1);
}

.tier-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.tier-card.premium .tier-badge {
    background: var(--warning);
    color: var(--dark);
}

.tier-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.tier-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.tier-card p {
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.custom-tier {
    background: rgba(91, 155, 213, 0.1);
    border: 2px dashed var(--accent);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

.custom-tier h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.gratitude-message {
    background: linear-gradient(135deg, 
        rgba(46, 92, 138, 0.3) 0%, 
        rgba(68, 114, 196, 0.2) 100%);
    border: 1px solid var(--accent);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    margin-top: 4rem;
}

.gratitude-message p {
    font-size: 1.2rem;
    color: var(--text);
    line-height: 1.8;
    font-style: italic;
}

/* Team Section */
.team-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--dark) 0%, var(--darker) 100%);
}

.team-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.team-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.team-title {
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.team-license, .team-location {
    color: var(--text-dim);
    margin-bottom: 0.5rem;
}

.team-info > p:last-child {
    margin-top: 2rem;
    line-height: 1.8;
    color: var(--text-dim);
}

/* Footer */
.footer {
    background: var(--darker);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.footer-brand p {
    color: var(--text-dim);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-column h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--accent);
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    color: var(--text-dim);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .tech-feature {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .support-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
