/* --- Global Styles & Variables --- */
:root {
    --dark-bg: #0A0A1A;
    --primary-purple: #8A2BE2;
    --vibrant-purple: #A450F9;
    --neon-green: #39FF14;
    --light-text: #F0F0F0;
    --secondary-text: #A0A0B0;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(138, 43, 226, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-weight: 600;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--vibrant-purple);
}

p {
    color: var(--secondary-text);
    line-height: 1.7;
}

section {
    padding: 6rem 5%;
    position: relative;
    z-index: 2;
}

.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    margin: 0.5rem;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-purple), var(--vibrant-purple));
    color: white;
    box-shadow: 0 0 15px var(--primary-purple);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px var(--vibrant-purple);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-text);
    border: 2px solid var(--primary-purple);
}

.btn-secondary:hover {
    background-color: var(--primary-purple);
    color: white;
}

/* --- Particles.js Background --- */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

/* --- Header & Navigation --- */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba(10, 10, 26, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 400;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--neon-green);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--light-text);
    margin: 5px;
    transition: all 0.3s ease;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

.main-heading {
    background: -webkit-linear-gradient(45deg, var(--light-text), var(--vibrant-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

.cta-buttons {
    margin-top: 2rem;
}

/* --- Vision Section --- */
.vision-section .section-description {
    max-width: 700px;
    margin: 0 auto 3rem auto;
    text-align: center;
    font-size: 1.1rem;
}

.vision-icons {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
}

.icon-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 200px;
}

.icon-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.2);
}

.icon-card i {
    font-size: 3rem;
    color: var(--neon-green);
    margin-bottom: 1rem;
}

/* --- How It Works Section --- */
.how-it-works-section {
    background-color: #0F0F20; /* Slightly different background to make it stand out */
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.how-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(138, 43, 226, 0.25);
}

.how-card-icon {
    font-size: 2.5rem;
    color: var(--neon-green);
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(57, 255, 20, 0.1);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    line-height: 60px;
}

.how-card h3 {
    color: var(--vibrant-purple);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.how-card p {
    font-size: 0.95rem;
}

/* --- Why Choose USDT.x Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.feature-card:hover {
    background-color: rgba(138, 43, 226, 0.1);
}

.feature-card h3 {
    color: var(--neon-green);
    margin-bottom: 1rem;
}

/* --- Roadmap Section --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--primary-purple);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    box-shadow: 0 0 10px var(--primary-purple);
    opacity: 0.5;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    margin-bottom: 30px;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -12px;
    background-color: var(--dark-bg);
    border: 4px solid var(--neon-green);
    top: 30px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 15px var(--neon-green);
}

.timeline-item:nth-child(even)::after {
    left: -8px;
}

.timeline-content {
    padding: 20px 30px;
    background: var(--card-bg);
    position: relative;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.03);
}

.timeline-content h3 {
    color: var(--vibrant-purple);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.timeline-status {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.status-completed {
    background-color: rgba(57, 255, 20, 0.2);
    color: var(--neon-green);
}

.status-progress {
    background-color: rgba(164, 80, 249, 0.2);
    color: var(--vibrant-purple);
}

.status-planned {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary-text);
}

.timeline-content ul {
    list-style-type: none;
    padding-left: 0;
}

.timeline-content ul li {
    color: var(--secondary-text);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
}

.timeline-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--neon-green);
    font-weight: 900;
}

/* --- Join Section --- */
.join-section {
    background: linear-gradient(rgba(10, 10, 26, 0.9), rgba(10, 10, 26, 0.9)), url('https://www.transparenttextures.com/patterns/cubes.png');
    text-align: center;
}

.join-content h2 {
    font-size: 2.2rem;
    color: var(--light-text);
}

.join-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.newsletter-signup {
    margin-top: 3rem;
}

.newsletter-signup p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background-color: var(--card-bg);
    color: var(--light-text);
    font-family: 'Poppins', sans-serif;
}

.newsletter-form input::placeholder {
    color: var(--secondary-text);
}

.newsletter-form .btn {
    min-width: 120px;
}


/* --- Footer --- */
footer {
    text-align: center;
    padding: 2rem 5%;
    background-color: #050510;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 5;
}

.social-icons {
    margin-bottom: 1rem;
}

.social-icons a {
    color: var(--secondary-text);
    font-size: 1.5rem;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--neon-green);
}


/* --- Font Awesome Fallback --- */
.fas {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}
.fa-users-cog::before { content: "\f509"; }
.fa-cubes::before { content: "\f1b3"; }
.fa-palette::before { content: "\f53f"; }
.fa-shopping-cart::before { content: "\f07a"; }
.fa-layer-group::before { content: "\f5fd"; }
.fa-chart-line::before { content: "\f201"; }
.fa-lightbulb::before { content: "\f0eb"; }
.fa-vote-yea::before { content: "\f772"; }
.fa-rocket::before { content: "\f135"; }
.fa-gift::before { content: "\f06b"; }
.fa-recycle::before { content: "\f1b8"; }

/* --- Responsive Design --- */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .nav-links {
        position: fixed;
        right: 0px;
        top: 0px;
        height: 100vh;
        background: var(--dark-bg);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        width: 60%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 100;
    }

    .nav-links li {
        margin-left: 0;
        opacity: 0;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .burger {
        display: block;
        z-index: 101;
    }

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .toggle .line2 {
        opacity: 0;
    }
    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }
        to {
            opacity: 1;
            transform: translateX(0px);
        }
    }

    .timeline::after {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 10px;
        left: 0 !important;
        margin-bottom: 20px;
    }

    .timeline-item:nth-child(odd) {
        text-align: left;
    }

    .timeline-item::after {
        left: 10px;
    }

    /* How it works responsive */
    .steps-container::after {
        left: 20px;
    }
    .step-card, .step-card:nth-child(odd), .step-card:nth-child(even) {
        width: 100%;
        left: 0;
        padding-left: 60px;
        padding-right: 15px;
        text-align: left;
    }
    .step-card::after, .step-card:nth-child(odd)::after, .step-card:nth-child(even)::after {
        left: 10px;
    }


    .newsletter-form {
        flex-direction: column;
        width: 90%;
    }

    .newsletter-form input,
    .newsletter-form .btn {
        width: 100%;
    }
}

