* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(135deg, #000000, #1a1a1a);
    color: #ffffff;
    overflow-x: hidden;
}

header {
    display: flex;
    justify-content: space-between; /* Changed to space-between to allow left and right alignment */
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.5rem 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    margin-right: auto; /* Pushes the logo to the left */
}

.logo img {
    width: 90px; /* Adjust this value to make the logo smaller (e.g., 40px) */
    height: auto;
    margin-right: 0.5rem; /* Space between logo and text */
    border-radius: 10px; /* Rounded corners for smoother look */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Slight shadow for depth */
}

nav a:not(.logo) {
    margin-left: 1.5rem; /* Space between Features and Join Waitlist links */
    text-decoration: none;
    color: inherit;
}

nav {
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: #eee;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #ffd700;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffd700;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.05);
    filter: blur(80px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse 8s infinite alternate;
}

/* Removed initial opacity and transform for immediate visibility */
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #ffd700;
    /* opacity: 0; */ /* Removed */
    /* transform: translateY(30px); */ /* Removed */
    /* animation: fadeUp 1s ease-out forwards 0.3s; */ /* Removed */
}

.hero h1 span {
    display: block;
    font-size: 2.8rem;
    color: #ffffff;
    margin-top: 0.5rem;
}

/* Removed initial opacity and transform for immediate visibility */
.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    /* opacity: 0; */ /* Removed */
    /* transform: translateY(30px); */ /* Removed */
    /* animation: fadeUp 1s ease-out forwards 0.6s; */ /* Removed */
}

/* Removed initial opacity for immediate visibility */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    /* opacity: 0; */ /* Removed */
    animation: bounce 2s infinite; /* Kept bounce animation */
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    fill: #ffd700;
}

/* Updated features section for 3x3 layout */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Removed initial opacity and transform for immediate visibility */
.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(6px);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* opacity: 0; */ /* Removed */
    /* transform: translateY(20px); */ /* Removed */
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.3);
}

.feature-card h3 {
    color: #ffd700;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.feature-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #ffd700;
}

.waitlist {
    text-align: center;
    padding: 8rem 2rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(255, 215, 0, 0.05));
    position: relative;
}

/* Removed initial opacity and transform for immediate visibility */
.waitlist h2 {
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 1.5rem;
    /* opacity: 0; */ /* Removed */
    /* transform: translateY(20px); */ /* Removed */
}

/* Removed initial opacity and transform for immediate visibility */
.waitlist p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    /* opacity: 0; */ /* Removed */
    /* transform: translateY(20px); */ /* Removed */
}

/* Removed initial opacity and transform for immediate visibility */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    /* opacity: 0; */ /* Removed */
    /* transform: translateY(20px); */ /* Removed */
}

.form-control {
    margin-bottom: 1rem;
}

.form-control input {
    padding: 1rem;
    width: 100%;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control input:focus {
    outline: none;
    box-shadow: 0 0 0 2px #ffd700;
}

.waitlist button {
    background-color: #ffd700;
    color: #000;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    width: 100%;
}

.waitlist button:hover {
    background-color: #ffea00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.waitlist button:active {
    transform: translateY(0);
}

.success-message {
    display: none;
    color: #4BB543;
    margin-top: 1rem;
    font-weight: 600;
    padding: 1rem;
    background: rgba(75, 181, 67, 0.1);
    border-radius: 8px;
}

.error-message {
    display: none;
    color: #ff3333;
    margin-top: 1rem;
    font-weight: 600;
    padding: 1rem;
    background: rgba(255, 51, 51, 0.1);
    border-radius: 8px;
}

footer {
    text-align: center;
    padding: 3rem 2rem;
    color: #999;
    font-size: 0.875rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(255, 215, 0, 0.05));
}

footer a {
    color: #ffd700;
    text-decoration: none;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1rem 0;
}

.social-links a {
    color: #ffd700;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Loading animation */
.loading {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border-top-color: #000;
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto;
    margin-top: 0.5rem;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #ffd700;
    color: #000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #ffea00;
    transform: translateY(-3px);
}

/* Particle effect */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    animation: float 15s infinite linear;
}

/* Animations */
/* Removed fadeUp and fadeIn as they are no longer used for initial visibility */
/* @keyframes fadeUp {
    to {
    opacity: 1;
    transform: translateY(0);
    }
} */

/* @keyframes fadeIn {
    to {
    opacity: 1;
    }
} */

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
    }
    40% {
    transform: translateY(-10px) translateX(-50%);
    }
    60% {
    transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes spin {
    to {
    transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.2);
    }
}

@keyframes float {
    0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
    }
    10% {
    opacity: 1;
    }
    90% {
    opacity: 1;
    }
    100% {
    transform: translateY(-100vh) translateX(100px);
    opacity: 0;
    }
}

/* Responsive */
@media screen and (max-width: 992px) {
    .features {
    grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .hero h1 {
    font-size: 2.5rem;
    }

    .hero h1 span {
    font-size: 1.8rem;
    }
    
    .hero p {
    font-size: 1.1rem;
    }
    
    .features {
    grid-template-columns: 1fr;
    }
}
