/* Promphy.ai - Premium Custom Styles */

:root {
    --bg-dark: #0b0f19;
    --panel-bg: rgba(20, 25, 40, 0.6);
    --panel-border: rgba(255, 255, 255, 0.08);
    --accent-primary: #6366f1;
    --accent-secondary: #ec4899;
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
    --glow: rgba(99, 102, 241, 0.5);
    --card-hover: rgba(255, 255, 255, 0.05);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .logo-text {
    font-family: 'Outfit', sans-serif;
}

/* Background Effects */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -2;
    opacity: 0.5;
    animation: float 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    top: -200px;
    left: -200px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.glass-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    z-index: -1;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Layout */
.app-container {
    max-width: 900px;
    padding-top: 1rem;
}

.glass-panel {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Header */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--accent-primary);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.premium-badge {
    background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(236,72,153,0.2));
    border: 1px solid rgba(255,255,255,0.1);
    color: #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
}

/* Typography */
.text-gradient {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Progress Bar */
.progress {
    background-color: rgba(255,255,255,0.05);
    border-radius: 10px;
    overflow: visible;
}

.custom-progress-bar {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0 10px var(--glow);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-progress-bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-secondary);
}

/* Steps */
.step-pane {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.step-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Selection Cards */
.select-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.select-card:hover {
    background: var(--card-hover);
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.15);
}

.select-card.selected {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.select-card.selected::before {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--accent-primary);
    font-size: 0.8rem;
}

.card-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.card-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Color Palettes */
.color-swatches {
    display: flex;
    gap: 4px;
    margin-bottom: 1rem;
    border-radius: 6px;
    overflow: hidden;
    height: 30px;
}

.color-swatches span {
    flex: 1;
    height: 100%;
}

/* Inputs */
.custom-input {
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--panel-border);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.custom-input:focus {
    background: rgba(0,0,0,0.3);
    border-color: var(--accent-primary);
    color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.2);
}

.custom-input::placeholder {
    color: rgba(255,255,255,0.3);
}

.form-control-color {
    height: 40px;
    padding: 0.25rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
}

/* Buttons */
.custom-btn {
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary.custom-btn {
    background: linear-gradient(135deg, var(--accent-primary), #818cf8);
    border: none;
    box-shadow: 0 4px 15px rgba(99,102,241,0.3);
}

.btn-primary.custom-btn:hover {
    background: linear-gradient(135deg, #4f46e5, var(--accent-primary));
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99,102,241,0.4);
}

.btn-outline-secondary.custom-btn {
    border-color: var(--panel-border);
    color: var(--text-primary);
}

.btn-outline-secondary.custom-btn:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
}

/* Prompt Output */
.prompt-textarea {
    background: rgba(0,0,0,0.3);
    border: none;
    color: #e2e8f0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    resize: vertical;
    border-radius: 8px;
}

.prompt-textarea:focus {
    background: rgba(0,0,0,0.3);
    color: #e2e8f0;
    box-shadow: none;
    outline: none;
}

/* Feature Checkboxes (Toggle pills) */
.feature-pill {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--panel-border);
    border-radius: 50px;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.feature-pill:hover {
    background: rgba(255,255,255,0.1);
}

.feature-pill.selected {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* Toast */
.glass-toast {
    background: rgba(20, 25, 40, 0.9) !important;
    backdrop-filter: blur(10px);
    border: 1px solid var(--accent-primary) !important;
    color: white !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark); 
}
::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1); 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.2); 
}
