/* AH Advisor - Custom Styles
 * Tailwind handles utility classes via CDN
 * This file contains custom components and effects
 */

/* ============================================
   Custom Scrollbar
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0f;
}

::-webkit-scrollbar-thumb {
    background: #2a2a3e;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3a3a4e;
}

/* ============================================
   Glowing Border Effect
   ============================================ */
.glow-border {
    box-shadow:
        0 0 20px rgba(215, 145, 58, 0.15),
        inset 0 0 20px rgba(215, 145, 58, 0.05);
}

.glow-border:hover {
    box-shadow:
        0 0 30px rgba(215, 145, 58, 0.25),
        inset 0 0 30px rgba(215, 145, 58, 0.1);
}

/* ============================================
   Gold Text Gradient
   ============================================ */
.text-gold-gradient {
    background: linear-gradient(135deg, #e9a84d 0%, #d7913a 50%, #b87a2e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Animated Background Pattern
   ============================================ */
.bg-pattern {
    background-image:
        radial-gradient(circle at 25% 25%, rgba(215, 145, 58, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(148, 132, 188, 0.03) 0%, transparent 50%);
}

/* ============================================
   Primary Button
   ============================================ */
.btn-primary {
    background: linear-gradient(135deg, #d7913a 0%, #b87a2e 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e9a84d 0%, #d7913a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(215, 145, 58, 0.3);
}

/* ============================================
   Feature Card
   ============================================ */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(215, 145, 58, 0.5);
}

/* ============================================
   Icon Effects
   ============================================ */
.icon-gold {
    filter: drop-shadow(0 0 8px rgba(215, 145, 58, 0.4));
}

/* ============================================
   Feature Showcase Tabs
   ============================================ */
.showcase-tab {
    background: transparent;
    border-color: transparent;
    cursor: pointer;
    opacity: 0.6;
}

.showcase-tab:hover {
    opacity: 0.85;
    background: rgba(18, 18, 26, 0.5);
    border-color: rgba(42, 42, 62, 0.5);
}

.showcase-tab.active {
    opacity: 1;
    background: #12121a;
    border-color: rgba(215, 145, 58, 0.5);
    box-shadow: 0 0 12px rgba(215, 145, 58, 0.08);
}

/* ============================================
   Feature Showcase Panels (crossfade)
   ============================================ */
.showcase-panel {
    display: none;
    opacity: 0;
    animation: showcaseFadeIn 0.35s ease forwards;
}

.showcase-panel.active {
    display: flex;
}

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

/* ============================================
   Animations
   ============================================ */
@keyframes pulse-gold {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(215, 145, 58, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(215, 145, 58, 0);
    }
}

.animate-pulse-gold {
    animation: pulse-gold 2s infinite;
}
