/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
    color: #e2e8f0;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 40px;
    width: 40px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.nav-menu {
    display: none;
    gap: 2rem;
}

.nav-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: white;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
}

.hidden {
    display: none !important;
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(30, 58, 138, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    width: 100%;
    background: url('assets/311_hero_image.png?v=1') center/contain no-repeat;
    background-size: contain;
    background-position: center;
    background-attachment: fixed;
    background-color: #0f172a;
}

/* Mobile optimization for hero section */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }
}





/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
    font-weight: 500;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: #ea580c;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(234, 88, 12, 0.25);
}

.btn-primary:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(234, 88, 12, 0.25);
}

.btn-outline {
    background: transparent;
    color: #cbd5e1;
    border: 2px solid #64748b;
}

.btn-outline:hover {
    background: #1e293b;
    color: white;
    border-color: #1e293b;
}



/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: rgba(30, 41, 59, 0.5);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fb923c;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #cbd5e1;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 48rem;
    margin: 0 auto;
}

/* Story Section */
.story-section {
    padding: 5rem 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
}

.story-grid-reverse {
    margin-bottom: 5rem;
}

.story-image {
    position: relative;
    border-radius: 1rem;
    overflow: visible;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    margin-bottom: 4rem;
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    position: absolute;
    bottom: -60px;
    left: 1rem;
    right: 1rem;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(15px);
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.image-caption-center {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    max-width: 400px;
}

.caption-name {
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.caption-title {
    font-size: 0.875rem;
    color: #cbd5e1;
    opacity: 0.9;
}

.story-content {
    space-y: 1.5rem;
}

.story-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.story-icon {
    color: #fb923c;
}

.story-icon-green {
    color: #34d399;
}

.story-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.story-content p {
    color: #cbd5e1;
    margin-bottom: 1rem;
}

/* Badges */
.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid;
}

.badge-orange {
    background: rgba(251, 146, 60, 0.2);
    color: #fbbf24;
    border-color: rgba(251, 146, 60, 0.3);
}

.badge-blue {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.3);
}

.badge-green {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.3);
}

.badge-purple {
    background: rgba(147, 51, 234, 0.2);
    color: #a78bfa;
    border-color: rgba(147, 51, 234, 0.3);
}

/* Quote Box */
.quote-box {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 1.5rem;
}

.quote-text {
    font-weight: 600;
    color: #86efac;
    margin-bottom: 0.5rem;
}

.quote-author {
    color: #34d399;
    font-size: 0.875rem;
}

/* Community Section */
.community-section {
    text-align: center;
    margin-top: 5rem;
}

.community-image {
    position: relative;
    margin-bottom: 6rem;
    border-radius: 1rem;
    overflow: visible;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.community-image img {
    width: 100%;
    max-width: 64rem;
    margin: 0 auto;
    display: block;
}

.community-content {
    max-width: 48rem;
    margin: 0 auto;
}

.community-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.community-content p {
    color: #cbd5e1;
    margin-bottom: 1rem;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: rgba(30, 41, 59, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: 0.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(251, 146, 60, 0.5);
    transform: translateY(-5px);
}

.feature-icon {
    color: #fb923c;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: #cbd5e1;
}



/* About Section */
.about-section {
    padding: 5rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content p {
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.about-features {
    background: linear-gradient(to bottom right, rgba(251, 146, 60, 0.2), rgba(59, 130, 246, 0.2));
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 116, 139, 0.3);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.about-feature {
    text-align: center;
}

.about-feature-icon {
    color: #fb923c;
    margin: 0 auto 0.75rem;
}

.about-feature-icon-blue {
    color: #3b82f6;
}

.about-feature-icon-green {
    color: #22c55e;
}

.about-feature-icon-purple {
    color: #9333ea;
}

.about-feature h3 {
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.about-feature p {
    font-size: 0.875rem;
    color: #cbd5e1;
}

/* Download Section */
.download-section {
    padding: 5rem 0;
    background: rgba(30, 41, 59, 0.3);
}

.download-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    margin: 3rem 0;
}

.download-btn {
    transition: transform 0.3s ease;
}

.download-btn:hover {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.download-btn img {
    height: 120px;
    width: auto;
    border-radius: 12px;
}

.coming-soon-box {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-top: 3rem;
}

.coming-soon-box h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.coming-soon-box p {
    color: #cbd5e1;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: #0f172a;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 32px;
    width: 32px;
}

.footer-logo span {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
}

.footer-description {
    color: #94a3b8;
}

.footer-column h4 {
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
    space-y: 0.5rem;
}

.footer-list li {
    color: #94a3b8;
}

.footer-bottom {
    border-top: 1px solid rgba(100, 116, 139, 0.3);
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
}

/* Animations */
.animate-scale {
    animation: scaleIn 0.8s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.animate-fade-up {
    animation: fadeUp 0.8s ease-out;
}

.animate-fade-up-delay {
    animation: fadeUp 0.8s ease-out 0.3s both;
}

.animate-fade-up-delay-2 {
    animation: fadeUp 0.8s ease-out 0.5s both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (min-width: 640px) {
    .download-buttons {
        flex-direction: row;
    }
    
    .download-btn img {
        height: 140px;
    }
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .story-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .story-grid-reverse {
        grid-template-columns: 1fr 1fr;
    }
    
    .story-grid-reverse .story-content {
        order: 1;
    }
    
    .story-grid-reverse .story-image {
        order: 2;
    }
    
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .download-btn img {
        height: 180px;
    }
    
    .download-buttons {
        flex-direction: row;
        gap: 3rem;
    }
}