/* Base styles */
:root {
    --primary-color: #3B82F6;
    --primary-light: #93C5FD;
    --primary-dark: #1E40AF;
    --neutral-50: #F9FAFB;
    --neutral-100: #F3F4F6;
    --neutral-200: #E5E7EB;
    --neutral-300: #D1D5DB;
    --neutral-400: #9CA3AF;
    --neutral-500: #6B7280;
    --neutral-600: #4B5563;
    --neutral-700: #374151;
    --neutral-800: #1F2937;
    --neutral-900: #111827;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: var(--neutral-800);
    background-color: var(--neutral-50);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 {
    font-size: 3rem;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: -0.025em;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-demo {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

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

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

.btn-secondary {
    background-color: var(--neutral-100);
    color: var(--neutral-800);
    border: 1px solid var(--neutral-200);
}

.btn-secondary:hover {
    background-color: var(--neutral-200);
}

.btn-demo {
    background-color: transparent;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-demo:hover {
    color: var(--primary-dark);
}

/* Header */
header {
    padding: 1.5rem 0;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--neutral-200);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo-nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--neutral-900);
    justify-content: center; /* Centers the logo */
}

.logo img {
    width: 20%; /* Adjust logo image size */
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--neutral-700);
    transition: var(--transition);
}

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

.cta-buttons {
    display: flex;
    gap: 1rem;
}

/* Mobile menu */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

.menu-icon {
    width: 24px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: 0.4s;
}

/* Email input for waitlist */
.header-waitlist-form {
    display: flex;
    align-items: center;
}

.email-input {
    padding: 8px 12px;
    border: 1px solid var(--neutral-200);
    border-radius: 4px;
    margin-right: 8px;
}

#waitlist-message {
    font-size: 12px;
    margin-top: 4px;
    color: var(--success);
}

/* Hero section */
.hero {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background-image: url('https://images.unsplash.com/photo-1518655048521-f130df041f66?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--neutral-700);
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* Problem section */
.problem {
    padding: 6rem 0;
    background-color: white;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--neutral-600);
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-card {
    padding: 2rem;
    background-color: var(--neutral-50);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.problem-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Solution section */
.solution {
    padding: 6rem 0;
    background-color: var(--neutral-50);
}

.solution-demo {
    margin-top: 3rem;
}

.terminal {
    background-color: var(--neutral-900);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.terminal-header {
    background-color: var(--neutral-800);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
}

.terminal-dots {
    display: flex;
    gap: 0.5rem;
}

.terminal-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--neutral-600);
}

.terminal-dots span:nth-child(1) {
    background-color: var(--error);
}

.terminal-dots span:nth-child(2) {
    background-color: var(--warning);
}

.terminal-dots span:nth-child(3) {
    background-color: var(--success);
}

.terminal-title {
    margin-left: auto;
    margin-right: auto;
    color: var(--neutral-400);
    font-size: 0.875rem;
}

.terminal-body {
    padding: 1.5rem;
    font-family: monospace;
    color: var(--neutral-300);
    font-size: 0.875rem;
    line-height: 1.7;
}

.terminal-body p {
    margin-bottom: 0.5rem;
}

.prompt {
    color: var(--primary-light);
    margin-right: 0.5rem;
}

.response {
    color: white;
}

.response-icon {
    margin-right: 0.5rem;
}

.indent {
    padding-left: 1.5rem;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background-color: var(--primary-light);
    animation: blink 1s infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Features section */
.features {
    padding: 6rem 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background-color: var(--neutral-50);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

/* Differentiation section */
.differentiation {
    padding: 6rem 0;
    background-color: var(--neutral-50);
}

.comparison-table {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.comparison-header, .comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
}

.comparison-header {
    background-color: var(--neutral-200);
    font-weight: 600;
}

.comparison-header .highlight {
    background-color: var(--primary-color);
    color: white;
}

.comparison-row {
    background-color: white;
    border-bottom: 1px solid var(--neutral-200);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row .highlight {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 500;
}

.comparison-cell {
    padding: 1rem 1.5rem;
}

/* CTA section */
.cta {
    padding: 6rem 0;
    background-color: var(--neutral-800);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    margin-bottom: 1.5rem;
}

.cta p {
    color: var(--neutral-300);
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    background-color: var(--neutral-900);
    color: var(--neutral-300);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    color: white;
}

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

.footer-column h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    text-decoration: none;
    color: var(--neutral-400);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--neutral-800);
    text-align: center;
    color: var(--neutral-500);
    font-size: 0.875rem;
}

/* Hidden form elements */
.hidden {
    display: none;
}

/* Responsive styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    nav {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
        /* Mobile menu toggle */
        .mobile-menu-toggle {
            display: block;
        }
        
        header .container {
            flex-direction: column;
            align-items: stretch;
        }
        
        nav {
            display: none;
            width: 100%;
        }
        
        nav.active {
            display: block;
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background-color: rgba(255, 255, 255, 0.95);
            border-bottom: 1px solid var(--neutral-200);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        
        nav ul {
            flex-direction: column;
            width: 100%;
            padding: 1rem;
        }
        
        nav ul li {
            width: 100%;
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--neutral-200);
        }
        
        nav ul li:last-child {
            border-bottom: none;
        }
    
    nav ul, .cta-buttons {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }
    
    nav.active ul, nav.active .cta-buttons {
        display: flex;
    }
    
    .logo {
        font-size: 1rem; /* Adjust font size for mobile */
        justify-content: flex-start; /* Align to the left on mobile */
    }

    .logo img {
        width: 15%; /* Adjust image size for mobile */
    }
    
    /* Hero and CTA sections */
    .hero {
        padding: 4rem 0;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .hero-cta a {
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }
    
    /* Forms */
    .waitlist-form, .header-waitlist-form {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .waitlist-form input, .waitlist-form button,
    .header-waitlist-form input, .header-waitlist-form button {
        width: 100%;
        margin: 5px 0;
    }
    
    /* Grid layouts */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Comparison table */
    .comparison-header, .comparison-row {
        grid-template-columns: 1fr;
    }
    
    .comparison-header .comparison-cell:not(:first-child),
    .comparison-row .comparison-cell:not(:first-child) {
        border-top: 1px solid var(--neutral-200);
    }
    
    .comparison-table {
        font-size: 14px;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
    }
}