/* Dapta AI Hero - Complete Styles */
[data-dapta-ai-hero="1"] {
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #fdfcfc;
    background: linear-gradient(135deg, #1a1a1c 0%, #111318 100%);
    padding: 40px 20px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

/* Hero Content */
.hero-content {
    max-width: 816px;
    margin: 0 auto;
    text-align: center;
}

/* Hero Header */
.hero-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 32px;
    color: #fdfcfc;
}

#hero-dynamic {
    color: #cbe84f;
    transition: all 0.4s ease;
}

.typewriter-cursor {
    color: #cbe84f;
    animation: blink 1s infinite;
    font-weight: normal;
}

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

/* Prompt Card */
.prompt-card {
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid #cbe84f;
    border-radius: 16px;
    padding: 16px;
    position: relative;
    backdrop-filter: blur(10px);
}

.prompt-input-wrapper {
    position: relative;
}

/* Textarea */
#hero-prompt {
    width: 100%;
    min-height: 120px;
    padding: 16px;
    background: transparent;
    border: none;
    color: #fdfcfc;
    font-size: 15px;
    line-height: 1.4;
    resize: none;
    font-family: inherit;
}

#hero-prompt:focus {
    outline: none;
}

#hero-prompt::placeholder {
    color: rgba(253, 252, 252, 0.6);
}

/* Language Pills */
.language-pills {
    position: absolute;
    bottom: 12px;
    left: 16px;
    display: flex;
    gap: 8px;
}

.lang-pill {
    background: rgba(255, 255, 255, 0.08);
    color: #fdfcfc;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-pill:hover {
    background: rgba(255, 255, 255, 0.12);
}

.lang-pill.active {
    background: #cbe84f;
    color: #1a1a1c;
    border-color: #cbe84f;
    box-shadow: 0 0 0 2px rgba(203, 232, 79, 0.25);
}

/* Prompt Controls */
.prompt-controls {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 12px;
    min-height: 48px;
}

/* Use Case Chips */
.usecase-chips {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.usecase-chip {
    background: rgba(255, 255, 255, 0.08);
    color: #fdfcfc;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.usecase-chip:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.usecase-chip.active {
    background: #cbe84f;
    color: #1a1a1c;
    border-color: #cbe84f;
}

.chip-emoji {
    margin-right: 6px;
}

/* Actions */
.actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 12px;
}

/* Microphone Button */
.prompt-mic {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.2s ease;
    color: #fdfcfc;
}

.prompt-mic:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.prompt-mic.recording {
    background: #9059FC;
    border-color: #9059FC;
    box-shadow: 0 0 20px rgba(144, 89, 252, 0.4);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(144, 89, 252, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(144, 89, 252, 0); }
    100% { box-shadow: 0 0 0 0 rgba(144, 89, 252, 0); }
}

/* Send Button */
.prompt-send {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #cbe84f;
    color: #1a1a1c;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.prompt-send:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(203, 232, 79, 0.3);
}

.prompt-send:active {
    transform: translateY(0);
}

/* SVG Icons */
.prompt-mic svg,
.prompt-send svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Responsive Design */
@media (max-width: 768px) {
    [data-dapta-ai-hero="1"] {
        padding: 24px 16px;
    }
    
    .hero-header h1 {
        font-size: 1.8rem;
        margin-bottom: 24px;
    }
    
    #hero-prompt {
        min-height: 100px;
        padding: 14px;
        font-size: 14px;
    }
    
    .prompt-controls {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .usecase-chips {
        justify-content: center;
    }
    
    .actions {
        justify-content: center;
        margin-left: 0;
    }
    
    .language-pills {
        position: static;
        justify-content: center;
        margin-top: 12px;
    }
}

@media (max-width: 480px) {
    .hero-header h1 {
        font-size: 1.6rem;
    }
    
    .usecase-chip {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .prompt-mic,
    .prompt-send {
        width: 40px;
        height: 40px;
    }
}