:root {
    --primary-color: #4f46e5;
    --primary-light: #818cf8;
    --primary-dark: #3730a3;
    --secondary-color: #10b981;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --gray-color: #94a3b8;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

/* Header & Navigation */
header.hero {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

header.hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"%3E%3Cpath fill="%23ffffff" fill-opacity="0.1" d="M0,160L48,144C96,128,192,96,288,106.7C384,117,480,171,576,186.7C672,203,768,181,864,154.7C960,128,1056,96,1152,90.7C1248,85,1344,107,1392,117.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"%3E%3C/path%3E%3C/svg%3E');
    background-size: cover;
    background-position: bottom;
    opacity: 0.6;
    z-index: 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: relative;
    z-index: 1;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav ul li a {
    padding: 0.5rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-light);
}

.hero-content {
    max-width: 800px;
    margin: 4rem auto;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.tagline {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.coming-soon {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    text-align: center;
    background-color: white;
}

.features h2 {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

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

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* AI Capabilities Section */
.ai-capabilities {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #1e293b, #374151);
    color: white;
    position: relative;
    overflow: hidden;
}

.ai-capabilities::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 25% 25%, rgba(79, 70, 229, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(129, 140, 248, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.ai-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.ai-capabilities h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ai-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #fbbf24;
}

.ai-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.neuroscience-section {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid #fbbf24;
    backdrop-filter: blur(10px);
}

.neuroscience-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fbbf24;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.neuroscience-section p {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    opacity: 0.95;
}

.ai-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ai-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-icon {
    font-size: 1.5rem;
    min-width: 40px;
}

.ai-feature strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #fbbf24;
}

.ai-feature p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* AI Visual Animation */
.ai-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-brain {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brain-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(129, 140, 248, 0.5);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.brain-pulse::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(79, 70, 229, 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite 0.5s;
}

.brain-core {
    font-size: 4rem;
    z-index: 2;
    animation: glow 3s ease-in-out infinite alternate;
}

.neural-network {
    position: absolute;
    width: 100%;
    height: 100%;
}

.neuron {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fbbf24;
    border-radius: 50%;
    animation: neuron-pulse 1.5s infinite;
}

.neuron.n1 { top: 20%; left: 30%; animation-delay: 0s; }
.neuron.n2 { top: 30%; right: 25%; animation-delay: 0.3s; }
.neuron.n3 { bottom: 25%; left: 25%; animation-delay: 0.6s; }
.neuron.n4 { bottom: 30%; right: 30%; animation-delay: 0.9s; }

.connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #818cf8, transparent);
    animation: data-flow 2s infinite;
}

.connection.c1 {
    top: 25%;
    left: 30%;
    width: 40%;
    transform: rotate(15deg);
}

.connection.c2 {
    top: 45%;
    left: 25%;
    width: 50%;
    transform: rotate(-30deg);
}

.connection.c3 {
    bottom: 35%;
    left: 30%;
    width: 35%;
    transform: rotate(45deg);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes glow {
    0% { text-shadow: 0 0 10px rgba(129, 140, 248, 0.5); }
    100% { text-shadow: 0 0 20px rgba(129, 140, 248, 0.8), 0 0 30px rgba(79, 70, 229, 0.5); }
}

@keyframes neuron-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes data-flow {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* How it Works Section */
.how-it-works {
    padding: 5rem 2rem;
    background-color: #f3f4f6;
    text-align: center;
}

.how-it-works h2 {
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Subscribe Section */
.subscribe {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.subscribe-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.subscribe h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.subscribe p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

#waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

input, select {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

select {
    background-color: white;
}

/* Hidden field for Netlify anti-spam */
.hidden {
    display: none;
}

/* Form messages */
.form-message {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.success-message {
    border-left: 4px solid var(--secondary-color);
}

.success-message h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.success-message p {
    color: var(--dark-color);
    opacity: 0.8;
    margin-bottom: 0;
}

.error-message {
    border-left: 4px solid #ef4444;
}

.error-message h3 {
    color: #ef4444;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.error-message p {
    color: var(--dark-color);
    opacity: 0.8;
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-contact {
    text-align: center;
}

.contact-info p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.contact-info a {
    color: #fbbf24;
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-info a:hover {
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-social a:hover {
    opacity: 1;
}

.footer-social svg {
    fill: white;
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 2rem;
}

/* Media Queries */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .ai-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .ai-capabilities h2 {
        font-size: 2rem;
    }
    
    .ai-brain {
        width: 150px;
        height: 150px;
    }
    
    .brain-core {
        font-size: 3rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-contact {
        margin: 1rem 0;
    }
    
    .footer-links {
        justify-content: center;
    }
}