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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

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

/* Header */
header {
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.beta-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

header a {
    text-decoration: none;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 16px;
    opacity: 0.9;
    font-weight: 300;
}

.hero .description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* AI Conversation Example */
.ai-demo {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    margin: 60px auto;
    max-width: 700px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.chat-bubble {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 16px 20px;
    margin: 16px 0;
    border-left: 4px solid #667eea;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.chat-bubble.visible {
    opacity: 1;
    transform: translateY(0);
}

.user-message {
    background: #667eea;
    color: white;
    border-left: none;
    margin-left: 80px;
}

.ai-response {
    background: #e8f5e8;
    border-left-color: #28a745;
}

.typing-indicator {
    color: #666;
    font-style: italic;
    margin: 8px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.typing-indicator.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animated text cycling */
.cd-words-wrapper {
    display: inline-block;
    position: relative;
}

.cd-words-wrapper b {
    display: inline-block;
    position: absolute;
    white-space: nowrap;
    left: 0;
    top: 0;
}

.cd-words-wrapper b.is-visible {
    position: relative;
}

.cd-words-wrapper b.is-hidden {
    opacity: 0;
}

.cd-words-wrapper b.is-visible {
    opacity: 1;
}

/* Animated ellipsis */
.loading:after {
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
    -webkit-animation: ellipsis steps(4,end) 900ms infinite;      
    animation: ellipsis steps(4,end) 900ms infinite;
    content: "\2026"; /* ascii code for the ellipsis character */
    width: 0px;
}

.loading.stopped:after {
    animation: none;
    -webkit-animation: none;
    width: 1.25em;
}

@keyframes ellipsis {
    to {
        width: 1.25em;    
    }
}

@-webkit-keyframes ellipsis {
    to {
        width: 1.25em;    
    }
}

/* Benefits Section */
.benefits {
    background: white;
    padding: 80px 0;
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #2c3e50;
}

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

.benefit-card {
    text-align: center;
    padding: 30px 20px;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #2c3e50;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* Social Proof */
.social-proof {
    background: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.social-proof h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #2c3e50;
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0.6;
}

.logo-item {
    font-size: 24px;
    font-weight: 600;
    color: #666;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Form */
.waitlist-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.form-input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.cta-button {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.cta-button:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.trust-indicators {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.8;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }
    
    .waitlist-form {
        flex-direction: column;
    }
    
    .ai-demo {
        margin: 40px 20px;
        padding: 20px;
    }
    
    .user-message {
        margin-left: 20px;
    }
}

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

.hero, .ai-demo, .benefit-card {
    animation: fadeInUp 0.8s ease-out;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-consent:not(.hidden) {
    transform: translateY(0);
}

.cookie-consent.hidden {
    transform: translateY(100%);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-decline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-decline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cookie-accept {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cookie-accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        max-width: 120px;
    }
}