:root {
    --primary-red: #FF3B30;
    --primary-red-glow: rgba(255, 59, 48, 0.5);
    --bg-color: #050505;
    --text-color: #ffffff;
    --text-secondary: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.1);
    --glass-dim: rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Particle Canvas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

/* Ambient Background Glows */
.background-glow {
    position: fixed;
    top: -20%;
    left: -20%;
    width: 140vw;
    height: 140vh;
    background: radial-gradient(circle at 30% 30%, rgba(255, 59, 48, 0.12), transparent 60%);
    z-index: -1;
    pointer-events: none;
    animation: pulseGlow 10s ease-in-out infinite alternate;
}

.background-glow-2 {
    position: fixed;
    bottom: -20%;
    right: -20%;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 70% 70%, rgba(76, 175, 80, 0.05), transparent 60%);
    z-index: -1;
    pointer-events: none;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 40px;
    width: 40px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 59, 48, 0.2);
}

.logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--text-color);
}

.nav-bug {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ff6b6b !important;
    font-weight: 600 !important;
}

.nav-bug:hover {
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

.nav-cta {
    padding: 0.6rem 1.8rem;
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid var(--primary-red);
    color: var(--primary-red) !important;
    border-radius: 50px;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    background: var(--primary-red);
    color: white !important;
    box-shadow: 0 0 25px var(--primary-red-glow);
}

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

.hero-content {
    flex: 1;
    max-width: 650px;
    z-index: 2;
}

.badge-pill {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--primary-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1.1rem 2.5rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background: var(--primary-red);
    color: white;
    box-shadow: 0 4px 25px var(--primary-red-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px var(--primary-red-glow);
}

.btn-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: var(--glass-highlight);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* Hero Visual & Mockup */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 700px;
}

.phone-mockup {
    width: 320px;
    height: 650px;
    background: #0a0a0a;
    border-radius: 45px;
    border: 8px solid #1a1a1a;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    z-index: 2;
}

.screen-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #111 0%, #050505 100%);
    padding: 20px;
    position: relative;
}

/* CSS Mockup UI */
.mockup-ui {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.mockup-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #FF3B30, #ff8a80);
}

.mockup-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.glass-card-mini {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 16px;
    backdrop-filter: blur(5px);
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.glass-card-mini p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.mockup-reactions {
    display: flex;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* War Thread Mockup */
.mockup-war-thread {
    border-left: 3px solid var(--primary-red);
}

.war-header {
    font-size: 0.8rem;
    color: var(--primary-red);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.war-bars {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 3px;
}

.bar-fill.red {
    background: var(--primary-red);
}

.bar-fill.green {
    background: #4CAF50;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Elements */
.floating-card {
    position: absolute;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(20px);
    padding: 0.8rem 1.2rem;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    z-index: 3;
    animation: float 6s ease-in-out infinite;
    white-space: nowrap;
}

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

.card-text {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Positioning Floating Cards */
.card-1 {
    top: 20%;
    right: 5%;
    animation-delay: 0s;
    border-left: 3px solid var(--primary-red);
}

.card-2 {
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
    border-left: 3px solid #4CAF50;
}

.card-3 {
    top: 15%;
    left: 10%;
    animation-delay: 1.5s;
    border-left: 3px solid #FF9800;
}

.card-4 {
    bottom: 30%;
    right: 8%;
    animation-delay: 3s;
    border-left: 3px solid #2196F3;
}

.card-5 {
    top: 50%;
    right: -5%;
    animation-delay: 1s;
    border-left: 3px solid #9C27B0;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Purpose Section */
.purpose-section {
    padding: 5rem 10%;
}

.glass-card-large {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    backdrop-filter: blur(10px);
}

.purpose-content {
    flex: 1;
}

.purpose-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.purpose-text strong {
    color: white;
    font-size: 1.3rem;
}

.purpose-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 200px;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.stat-number {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-red);
}

.stat-symbol {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-red);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Features Section */
.features-section {
    padding: 8rem 10%;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.text-red {
    color: var(--primary-red);
}

.text-gray {
    color: #666;
}

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

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.glass-card:hover::before {
    transform: translateX(100%);
}

.glass-card:hover {
    transform: translateY(-10px);
    background: var(--glass-highlight);
    border-color: rgba(255, 59, 48, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Roadmap Section */
.roadmap-section {
    padding: 5rem 10%;
    background: linear-gradient(180deg, transparent, rgba(5, 5, 5, 0.8));
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.glass-card-dim {
    background: var(--glass-dim);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.glass-card-dim:hover {
    background: var(--glass-bg);
    border-color: var(--text-secondary);
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--primary-red);
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 0 10px var(--primary-red);
}

.glass-card-dim h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.glass-card-dim p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* FAQ Section */
.faq-section {
    padding: 8rem 10%;
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    cursor: pointer;
    padding: 1.5rem 2rem;
}

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

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.toggle-icon {
    font-size: 1.5rem;
    color: var(--primary-red);
    transition: transform 0.3s ease;
}

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

.faq-answer p {
    padding-top: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.faq-item.active .faq-answer {
    max-height: 200px;
    /* Adjust based on content */
}

/* Community Section */
.community-section {
    padding: 5rem 10%;
}

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

.community-box,
.donate-box {
    text-align: center;
    padding: 3rem;
}

.icon-large {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.community-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* CTA Section */
.cta-section {
    padding: 8rem 10%;
    text-align: center;
}

.cta-container {
    padding: 5rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 59, 48, 0.2);
}

.cta-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 59, 48, 0.15), transparent 70%);
    z-index: -1;
}

.cta-container h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.cta-container p {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.3rem;
}

.btn-large {
    padding: 1.3rem 3.5rem;
    font-size: 1.2rem;
}

/* Footer */
footer {
    padding: 4rem 10% 2rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.5);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.footer-brand h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.newsletter-signup {
    display: flex;
    gap: 10px;
}

.newsletter-signup input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    color: white;
    outline: none;
}

.btn-small {
    background: var(--primary-red);
    border: none;
    color: white;
    padding: 0 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
    margin-top: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
}

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

.footer-bottom {
    text-align: center;
    color: #444;
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        margin-bottom: 5rem;
        max-width: 100%;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        height: 500px;
        width: 100%;
    }

    .phone-mockup {
        width: 260px;
        height: 520px;
    }

    .glass-card-large {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }

    .purpose-stats {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
    }

    .stat-item {
        flex: 1;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        align-items: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        /* For simplicity in this demo */
    }
}
/* FAQ Section Redesign */
.faq-section {
    padding: 5rem 10%;
}

.faq-container {
    max-width: 1200px;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.faq-item {
    cursor: pointer;
    padding: 1.5rem 2rem;
    height: fit-content;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-red);
}

/* Final CTA Section Redesign */
.final-cta-section {
    padding: 5rem 10% 8rem;
}

.final-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: 5rem !important;
    position: relative;
    overflow: hidden;
}

.final-cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at 100% 50%, rgba(255, 59, 48, 0.1), transparent 70%);
    pointer-events: none;
}

.cta-main {
    flex: 1.5;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.cta-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.btn-xl {
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
    border-radius: 16px;
}

.cta-divider {
    width: 1px;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--glass-border), transparent);
}

.cta-socials {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cta-socials h3 {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-card:hover {
    background: var(--glass-highlight);
    transform: translateY(-3px);
    border-color: var(--primary-red);
}

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

.support-mini {
    margin-top: 1rem;
}

.btn-text {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-text:hover {
    color: var(--primary-red);
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .faq-container {
        grid-template-columns: 1fr;
    }

    .final-cta-content {
        flex-direction: column;
        text-align: center;
        padding: 3rem !important;
        gap: 3rem;
    }

    .cta-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(to right, transparent, var(--glass-border), transparent);
    }

    .cta-main {
        width: 100%;
    }

    .cta-socials {
        width: 100%;
    }
}

/* Footer Brand Update */
.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.8rem;
}

.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 59, 48, 0.3);
}

.footer-brand h4 {
    margin-bottom: 0; /* Reset margin since it's in wrapper */
}

/* Anonymous Avatar Update */
.anonymous-avatar {
    background: #222 !important; /* Override gradient */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
}

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