* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Arial', sans-serif;
    background: #0a1227;
    color: #e0e7ff;
    line-height: 1.6;
    overflow-x: hidden;
}

#web3-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.top-bar {
    position: fixed;           /* Fixes the bar at the top of the viewport */
    top: 0;                    /* Positions it at the top edge */
    width: 100%;               /* Spans the full width of the page */
    padding: 15px 30px;        /* Adds padding for spacing (matches original header) */
    display: flex;             /* Uses flexbox for layout */
    justify-content: space-between; /* Places logo on left, CTA on right */
    align-items: center;       /* Vertically centers the contents */
    z-index: 100;              /* Ensures it stays above other content */
    background: linear-gradient(90deg, rgba(10, 18, 39, 0.95), rgba(26, 42, 68, 0.9)); /* Retains original gradient */
    transition: background 0.3s, box-shadow 0.3s; /* Keeps the smooth transition effect */
}

.header.scrolled {
    background: linear-gradient(90deg, #0a1227, #1a2a44);
    box-shadow: 0 2px 8px rgba(0, 204, 153, 0.3);
}

/* Updated logo positioning to place it on the background */
.logo {
    width: 120px;
    height: auto;
    position: absolute;       /* Positions it absolutely over the canvas */
    top: 20px;               /* Distance from the top */
    left: 30px;              /* Distance from the left */
    transition: transform 0.3s, filter 0.3s;
    cursor: pointer;
    z-index: 10;             /* Ensures it stays above the canvas */
}

.logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(0, 204, 153, 0.6));
}

/* Updated CTA button positioning to place it on the background */
.cta-button {
    padding: 12px 25px;
    background: linear-gradient(45deg, #00cc99, #00e6b3);
    border: none;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    text-transform: uppercase;
    position: absolute;      /* Positions it absolutely over the canvas */
    top: 20px;              /* Distance from the top */
    right: 30px;            /* Distance from the right */
    transition: transform 0.2s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 204, 153, 0.5);
}

/* Adjusted container margin to avoid overlap with positioned elements */
.container {
    margin-top: 80px; /* Adjusted to ensure content starts below the positioned logo/CTA */
    padding: 60px 30px;
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.icon-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
}

.icon-row img {
    width: 80px;
    height: 80px;
    transition: transform 0.3s, filter 0.3s;
}

.icon-row img:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 12px rgba(0, 204, 153, 0.8));
}

h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #00cc99, #a0c4ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 12px rgba(0, 204, 153, 0.7);
}

h2 {
    font-size: 1.6em;
    color: #a0c4ff;
    margin-bottom: 20px;
    font-weight: 500;
}

p {
    font-size: 1.3em;
    color: #d1e0ff;
    margin-bottom: 20px;
}

.stats {
    margin: 30px 0;
    font-size: 1.2em;
    animation: fadeIn 1s ease-in;
}

.stats i {
    color: #ffd700;
    margin: 0 5px;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.video-container {
    margin: 30px auto;
    max-width: 800px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 204, 153, 0.4);
}

iframe {
    width: 100%;
    height: 600px;
    border: none;
}

.youtube-link {
    display: block;
    margin-top: 10px;
    color: #00cc99;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 500;
    transition: color 0.3s, transform 0.2s;
}

.youtube-link:hover {
    color: #00e6b3;
    transform: translateY(-2px);
}

.sound-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5em;
    color: #00cc99;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
}

.sound-icon:hover {
    color: #00e6b3;
    transform: scale(1.1);
}

.main-cta {
    padding: 15px 40px;
    background: linear-gradient(45deg, #00cc99, #00e6b3);
    border: none;
    color: #fff;
    border-radius: 25px;
    font-size: 1.3em;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.main-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 204, 153, 0.6);
}

.testimonials {
    padding: 60px 30px;
    background: #0a1227;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-items: center;
}

.testimonial-card {
    background: linear-gradient(135deg, #1a2a44, #2a4060);
    border: 2px solid #a0c4ff;
    border-radius: 15px;
    padding: 25px;
    max-width: 350px;
    text-align: left;
    color: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 204, 153, 0.4);
}

.testimonial-card q {
    font-size: 1.2em;
    display: block;
    margin-bottom: 15px;
    color: #d1e0ff;
}

.testimonial-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    float: left;
    margin-right: 15px;
    border: 2px solid #00cc99;
    transition: transform 0.3s;
}

.testimonial-card img:hover {
    transform: scale(1.1);
}

.testimonial-card p {
    margin: 0;
    font-size: 1.1em;
    color: #fff;
}

.beat-the-crowds, .elite-invest, .member-success {
    padding: 60px 30px;
    background: linear-gradient(180deg, #e0e7f0, #c3d2f5);
    text-align: center;
    color: #0a1227;
    position: relative;
    overflow: hidden;
}

.beat-the-crowds h2, .elite-invest h2, .member-success h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #0a1227;
    text-shadow: 0 0 8px rgba(0, 204, 153, 0.3);
}

.beat-the-crowds p, .elite-invest p, .member-success p {
    font-size: 1.2em;
    color: #0a1227;
    max-width: 800px;
    margin: 0 auto 20px;
}

.summary {
    padding: 60px 30px;
    background: #0a1227;
    text-align: center;
}

.summary ul {
    list-style: none;
    max-width: 800px;
    margin: 30px auto;
    text-align: left;
}

.summary li {
    font-size: 1.2em;
    color: #d1e0ff;
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.summary li:before {
    content: "✔";
    color: #00cc99;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.founder {
    padding: 60px 30px;
    background: linear-gradient(135deg, #1a2a44, #2a4060);
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.founder img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid #00cc99;
    transition: transform 0.3s, box-shadow 0.3s;
}

.founder img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(0, 204, 153, 0.6);
}

.founder-text {
    flex: 1;
}

.founder h1 {
    font-size: 2em;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #00cc99, #a0c4ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.founder p {
    font-size: 1.1em;
    color: #d1e0ff;
}

.process {
    padding: 60px 30px;
    background: #0a1227;
    text-align: center;
}

.process-step {
    margin: 30px 0;
    font-size: 1.2em;
    color: #d1e0ff;
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, #1a2a44, #2a4060);
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 204, 153, 0.4);
}

.process-step i {
    color: #00cc99;
    margin-right: 10px;
    text-shadow: 0 0 5px rgba(0, 204, 153, 0.5);
}

.faq {
    padding: 60px 30px;
    background: linear-gradient(135deg, #1a2a44, #2a4060);
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
}

.faq h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
    background: linear-gradient(45deg, #00cc99, #a0c4ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.faq-item {
    margin-bottom: 20px;
    padding: 15px;
    background: #0a1227;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.faq-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 204, 153, 0.4);
}

.faq-item h3 {
    font-size: 1.3em;
    color: #00cc99;
    margin-bottom: 10px;
}

.faq-item p {
    color: #d1e0ff;
    font-size: 1.1em;
}

.footer {
    padding: 30px;
    background: #0a1227;
    text-align: center;
    font-size: 1em;
    color: #d1e0ff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer img {
    width: 100px;
    transition: transform 0.3s, filter 0.3s;
}

.footer img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(0, 204, 153, 0.6));
}

.footer a {
    color: #00cc99;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s, transform 0.2s;
}

.footer a:hover {
    color: #00e6b3;
    transform: translateY(-2px);
}

.hidden {
    display: none !important;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 200;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    animation: fadeIn 0.4s ease-in;
}

.modal-content {
    background: linear-gradient(135deg, #1a2a44, #2a4060);
    padding: 30px;
    border: 2px solid #a0c4ff;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    min-height: 400px;
    position: relative;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 204, 153, 0.5);
    animation: slideIn 0.5s ease-in-out;
}

.close {
    color: #fff;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2em;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
}

.close:hover {
    color: #00cc99;
    transform: scale(1.2);
}

.question {
    display: none;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    padding: 20px;
}

.question.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.question.prev {
    opacity: 0;
    transform: translateX(-100%);
}

.question .progress-bar {
    width: 100%;
    height: 5px;
    background: #1a2a44;
    border-radius: 5px;
    margin-bottom: 20px;
}

.question .progress-bar::before {
    content: '';
    height: 100%;
    background: linear-gradient(45deg, #00cc99, #00e6b3);
    border-radius: 5px;
    display: block;
    width: calc((var(--step) - 1) * (100% / 8));
    transition: width 0.3s ease-in-out;
}

.question h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #00cc99;
    text-shadow: 0 0 5px rgba(0, 204, 153, 0.5);
}

.question p {
    font-size: 1.2em;
    color: #d1e0ff;
    margin-bottom: 20px;
}

.options button {
    background: linear-gradient(45deg, #00cc99, #00e6b3);
    color: #fff;
    padding: 12px;
    border: none;
    width: 100%;
    margin: 8px 0;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s;
}

.options button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 204, 153, 0.5);
}

.options button.active {
    background: linear-gradient(45deg, #0052cc, #007bff);
    box-shadow: 0 2px 8px rgba(0, 82, 204, 0.5);
}

input[type="text"], input[type="email"], input[type="tel"], textarea {
    width: 100%;
    padding: 12px;
    font-size: 1.1em;
    margin-bottom: 10px;
    border: 1px solid #a0c4ff;
    border-radius: 8px;
    background: #0a1227;
    color: #e0e7ff;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #00cc99;
    box-shadow: 0 0 8px rgba(0, 204, 153, 0.6);
}

textarea {
    resize: vertical;
}

.small-note {
    font-size: 0.9em;
    color: #d1e0ff;
    margin-top: 5px;
}

.error-message {
    color: #ff4d4d;
    font-size: 0.9em;
    margin-top: 5px;
    display: none;
    text-shadow: 0 0 3px rgba(255, 77, 77, 0.5);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@media (max-width: 768px) {
    iframe {
        height: 400px; /* Reduces height on mobile for better fit */
    }
}

@media (max-width: 768px) {
    .header {
        padding: 10px 15px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .logo {
        width: 100px;
    }
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .testimonials {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: 2.2em;
    }
    h2 {
        font-size: 1.3em;
    }
    iframe {
        height: 200px;
    }
    .modal-content {
        width: 95%;
        padding: 20px;
        min-height: 300px;
    }
    .question {
        padding: 15px;
    }
    .icon-row {
        flex-direction: column;
        gap: 20px;
    }
    .icon-row img {
        width: 60px;
        height: 60px;
    }
    .founder {
        flex-direction: column;
        text-align: center;
    }
    .founder-text {
        max-width: 100%;
    }
}