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

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #6366f1;
    --accent-hover: #4f46e5;
    --border: rgba(255, 255, 255, 0.1);
    --success: #10b981;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Patent Badge */
.badge {
    position: fixed;
    top: 24px;
    right: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 500;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 80px;
}

.logo {
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: clamp(20px, 4vw, 28px);
    color: var(--accent);
    margin-bottom: 8px;
    font-weight: 500;
}

.subtitle {
    font-size: clamp(16px, 3vw, 18px);
    color: var(--text-secondary);
    font-weight: 400;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.feature {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 24px;
    transition: all 0.3s ease;
}

.feature:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.feature h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Waitlist Section */
.waitlist {
    text-align: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 48px 32px;
    margin-bottom: 80px;
}

.waitlist h2 {
    font-size: clamp(28px, 5vw, 36px);
    font-weight: 600;
    margin-bottom: 12px;
}

.waitlist-description {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 32px;
}

.waitlist-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.waitlist-form input {
    flex: 1;
    padding: 14px 20px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.2s ease;
}

.waitlist-form input:focus {
    outline: none;
    border-color: var(--accent);
}

.waitlist-form input::placeholder {
    color: var(--text-secondary);
}

.waitlist-form button {
    padding: 14px 28px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.waitlist-form button:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

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

/* Success Message */
.success-message {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.success-message.hidden {
    display: none;
}

.checkmark {
    font-size: 24px;
    color: var(--success);
}

.success-message p {
    color: var(--text-primary);
    font-size: 15px;
}

/* Footer */
.footer {
    text-align: center;
    padding-top: 40px;
    margin-top: auto;
}

.footer p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Responsive Adjustments */
@media (max-width: 640px) {
    .container {
        padding: 40px 20px;
    }

    .badge {
        top: 16px;
        right: 16px;
        font-size: 11px;
        padding: 6px 12px;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .waitlist {
        padding: 32px 24px;
    }

    .waitlist-form {
        flex-direction: column;
    }

    .waitlist-form button {
        width: 100%;
    }
}

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

.hero, .features, .waitlist {
    animation: fadeIn 0.8s ease-out;
}

.features {
    animation-delay: 0.2s;
}

.waitlist {
    animation-delay: 0.4s;
}
