/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-cyan-400: #22d3ee;
    --color-cyan-500: #06b6d4;
    --color-cyan-600: #0891b2;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
    --font-orbitron: 'Orbitron', sans-serif;
    --font-roboto: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-roboto);
    background-color: var(--color-black);
    color: var(--color-gray-300);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Neural Network Canvas */
#neural-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.35;
}

/* Background Gradients */
.bg-gradient {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.bg-gradient-top {
    top: -20%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0) 60%);
    opacity: 0.15;
}

.bg-gradient-bottom {
    bottom: -30%;
    right: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(0, 150, 255, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    opacity: 0.1;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 10;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.waitlist-container {
    max-width: 700px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.delay-100 {
    animation-delay: 0.1s;
    opacity: 0;
}

.delay-200 {
    animation-delay: 0.2s;
    opacity: 0;
}

.delay-300 {
    animation-delay: 0.3s;
    opacity: 0;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
}

.logo-container {
    width: 150px;
    margin: 0 auto;
    filter: drop-shadow(0 0 25px rgba(0, 255, 255, 0.4));
}

.logo {
    width: 100%;
    height: auto;
    display: block;
}

.hero-title {
    font-family: var(--font-orbitron);
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 2rem;
    color: var(--color-white);
}

.hero-subtitle {
    margin-top: 1rem;
    font-size: 1.25rem;
    color: var(--color-cyan-400);
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-description {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    color: var(--color-gray-300);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Section Title */
.section-title {
    font-family: var(--font-orbitron);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    text-align: center;
    line-height: 1.2;
    margin-bottom: 4rem;
}

.section-title .accent {
    color: var(--color-cyan-400);
}

/* Features Section */
.features-section {
    padding: 5rem 1rem;
}

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

.feature-item {
    position: relative;
    padding-left: 2rem;
    text-align: left;
}

.feature-line {
    position: absolute;
    left: 0;
    top: 0.25rem;
    height: 100%;
    width: 1px;
    background: linear-gradient(to bottom, rgba(6, 182, 212, 0.5), rgba(6, 182, 212, 0.2), transparent);
}

.feature-dot {
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 8px;
    height: 8px;
    margin-left: -3.5px;
    border-radius: 50%;
    background-color: var(--color-cyan-400);
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.8);
}

.feature-title {
    font-family: var(--font-orbitron);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--color-gray-400);
    line-height: 1.6;
}

/* Philosophy Section */
.philosophy-section {
    padding: 5rem 1rem;
    background-color: var(--color-black);
}

.philosophy-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    border-top: 1px solid rgba(6, 182, 212, 0.5);
    border-bottom: 1px solid rgba(6, 182, 212, 0.5);
    padding: 3rem 2rem;
}

.philosophy-text {
    margin-top: 2rem;
    font-size: 1.125rem;
    color: var(--color-gray-400);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Waitlist Section */
.waitlist-section {
    padding: 5rem 1rem;
}

.waitlist-intro {
    text-align: center;
    margin-top: 1rem;
    font-size: 1.125rem;
    color: var(--color-gray-400);
}

#form-container {
    margin-top: 3rem;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.form-input {
    flex-grow: 1;
    background-color: rgba(17, 24, 39, 0.5);
    border: 1px solid var(--color-gray-700);
    color: var(--color-white);
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: var(--color-gray-500);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-cyan-500);
    box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.3);
}

.form-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-button {
    font-family: var(--font-orbitron);
    background-color: var(--color-cyan-600);
    color: var(--color-black);
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.form-button:hover {
    background-color: var(--color-cyan-500);
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
}

.form-button:disabled {
    background-color: var(--color-gray-600);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.turnstile-widget {
    margin-top: 1.5rem;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    font-size: 1rem;
    display: none;
}

.form-message.success {
    display: block;
    color: var(--color-cyan-400);
    border: 1px solid rgba(6, 182, 212, 0.3);
    background-color: rgba(6, 182, 212, 0.1);
}

.form-message.error {
    display: block;
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    background-color: rgba(239, 68, 68, 0.1);
}

/* Footer */
.footer {
    position: relative;
    z-index: 10;
    padding: 2rem 1rem;
    border-top: 1px solid rgba(55, 65, 81, 0.5);
    text-align: center;
    color: var(--color-gray-500);
}

.footer-tagline {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-family: var(--font-orbitron);
}

/* Responsive Design */
@media (min-width: 640px) {
    .form-group {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .logo-container {
        width: 200px;
    }

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

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .philosophy-content {
        padding: 4rem 3rem;
    }

    .philosophy-text {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .features-section,
    .philosophy-section,
    .waitlist-section {
        padding: 8rem 1rem;
    }
}
