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

body { 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f8fafc;
    min-height: 100vh;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Index-specific button styles */
.btn-login {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-login:hover {
    background: #f3f4f6;
    color: #374151;
}

/* Override common.css btn-primary for index page */
.btn-primary {
    background: #111827;
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #000;
}

.hero {
    padding: 120px 24px 80px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    color: #111827;
}

.hero-lovable {
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: #6b7280;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.workflow-selector {
    display: flex;
    gap: 24px;
    margin-top: 32px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.workflow-card {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
    flex: 1;
    min-width: 280px;
    max-width: 360px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.workflow-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #667eea;
}

.workflow-icon {
    font-size: 56px;
    margin-bottom: 20px;
    display: block;
}

.workflow-card h3 {
    margin: 0 0 12px 0;
    color: #111827;
    font-size: 20px;
    font-weight: 600;
}

.workflow-card p {
    margin: 0 0 16px 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.enterprise-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
}

.feature-tag {
    background: linear-gradient(135deg, #667eea15, #764ba215);
    color: #667eea;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #667eea30;
}

.login-required {
    margin: 16px 0 0 0 !important;
    color: #ef4444 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

@media (max-width: 768px) {
    .workflow-selector {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
}
