@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* =========================================
   Podcast Cyber-Audio Design System (pod-)
   ========================================= */

*, *::before, *::after { box-sizing: border-box; }

:root {
    /* Surfaces */
    --pod-bg:            #090D16; /* Obsidian Deep */
    --pod-surface:       #121824; /* Dark Slate */
    --pod-surface-2:     #1E2638; /* Muted Slate Card */
    --pod-surface-glow:  rgba(139, 92, 246, 0.05);

    /* Brand Palette */
    --pod-primary:       #8B5CF6; /* Electric Violet */
    --pod-primary-hover: #A78BFA;
    --pod-primary-muted: rgba(139, 92, 246, 0.15);
    --pod-accent:        #10B981; /* Electric Emerald */
    --pod-accent-hover:  #34D399;
    --pod-accent-muted:  rgba(16, 185, 129, 0.15);
    --pod-danger:        #EF4444;
    --pod-danger-muted:  rgba(239, 68, 68, 0.15);

    /* Text */
    --pod-text:          #FFFFFF; /* White */
    --pod-text-muted:    #94A3B8; /* Slate Muted */
    --pod-text-light:    #64748B;

    /* Borders */
    --pod-border:        #1E2638; /* Cyber Dark Slate Border */
    --pod-border-strong: #334155;
    --pod-border-glow:   rgba(139, 92, 246, 0.3);

    /* Geometric Rounded Shapes */
    --pod-radius-sm:     4px;
    --pod-radius:        8px;
    --pod-radius-lg:     16px;
    --pod-radius-pill:   999px;

    /* Fonts */
    --pod-font-heading:  'Outfit', sans-serif;
    --pod-font-body:     'Inter', sans-serif;

    /* Shadows */
    --pod-shadow-sm:     0 2px 10px rgba(0,0,0,0.5);
    --pod-shadow:        0 8px 30px rgba(0,0,0,0.7);
    --pod-shadow-glow:   0 0 20px rgba(139, 92, 246, 0.15);
    --pod-shadow-glow-lg:0 0 40px rgba(139, 92, 246, 0.3);

    /* Transition */
    --pod-transition:    all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    margin: 0;
    font-family: var(--pod-font-body);
    color: var(--pod-text);
    background-color: var(--pod-bg);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

/* ── Card ─────────────────────── */
.pod-card {
    background-color: var(--pod-surface);
    border: 1px solid var(--pod-border);
    border-radius: var(--pod-radius-lg);
    box-shadow: var(--pod-shadow);
    padding: 2.25rem;
    transition: var(--pod-transition);
}

.pod-card:hover {
    border-color: var(--pod-border-glow);
    box-shadow: var(--pod-shadow-glow);
}

/* ── Typography ───────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--pod-font-heading);
    font-weight: 700;
    margin: 0;
    color: var(--pod-text);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

p { 
    font-family: var(--pod-font-body); 
    color: var(--pod-text-muted); 
    margin: 0; 
    line-height: 1.6; 
}

/* ── Buttons ──────────────────── */
.pod-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--pod-font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--pod-radius-pill);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: var(--pod-transition);
    white-space: nowrap;
    user-select: none;
}

.pod-btn-primary { 
    background-color: var(--pod-primary); 
    color: var(--pod-text); 
    border-color: var(--pod-primary); 
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
}
.pod-btn-primary:hover { 
    background-color: var(--pod-primary-hover); 
    border-color: var(--pod-primary-hover); 
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
    transform: translateY(-1px);
}

.pod-btn-accent { 
    background-color: var(--pod-accent); 
    color: var(--pod-bg); 
    border-color: var(--pod-accent); 
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}
.pod-btn-accent:hover { 
    background-color: var(--pod-accent-hover); 
    border-color: var(--pod-accent-hover); 
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
    transform: translateY(-1px);
}

.pod-btn-outline { 
    background-color: transparent; 
    color: var(--pod-text); 
    border-color: var(--pod-border-strong); 
}
.pod-btn-outline:hover { 
    background-color: var(--pod-surface-2); 
    border-color: var(--pod-primary);
}

.pod-btn-ghost { 
    background-color: transparent; 
    color: var(--pod-text-muted); 
    border-color: transparent; 
}
.pod-btn-ghost:hover { 
    background-color: var(--pod-surface-2); 
    color: var(--pod-text); 
}

.pod-btn-sm { padding: 0.5rem 1.15rem; font-size: 0.8rem; }
.pod-btn-lg { padding: 0.95rem 2rem; font-size: 1rem; }
.pod-btn-block { width: 100%; }
.pod-btn-icon { width: 44px; height: 44px; padding: 0; border-radius: var(--pod-radius-pill); }

/* ── Form Controls ────────────── */
.pod-input {
    width: 100%;
    padding: 0.75rem 1.1rem;
    border: 1px solid var(--pod-border);
    border-radius: var(--pod-radius);
    font-family: var(--pod-font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--pod-text);
    background-color: var(--pod-bg);
    outline: none;
    transition: var(--pod-transition);
}

.pod-input::placeholder { color: var(--pod-text-light); }

.pod-input:focus { 
    border-color: var(--pod-primary); 
    background-color: rgba(139, 92, 246, 0.02);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.pod-label {
    display: block;
    margin-bottom: 0.45rem;
    font-family: var(--pod-font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--pod-text-muted);
}

.pod-select {
    width: 100%;
    padding: 0.75rem 2rem 0.75rem 1.1rem;
    border: 1px solid var(--pod-border);
    border-radius: var(--pod-radius);
    font-family: var(--pod-font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--pod-text);
    background-color: var(--pod-bg);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 1rem;
    outline: none;
    cursor: pointer;
    transition: var(--pod-transition);
}

.pod-select:focus { border-color: var(--pod-primary); }

/* ── Badges ───────────────────── */
.pod-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.85rem;
    border-radius: var(--pod-radius-pill);
    font-family: var(--pod-font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid transparent;
}

.pod-badge-primary { background-color: var(--pod-primary-muted); color: var(--pod-primary-hover); border-color: rgba(139, 92, 246, 0.3); }
.pod-badge-accent  { background-color: var(--pod-accent-muted);  color: var(--pod-accent-hover);  border-color: rgba(16, 185, 129, 0.3); }
.pod-badge-danger  { background-color: var(--pod-danger-muted);  color: var(--pod-danger);        border-color: rgba(239, 68, 68, 0.3); }
.pod-badge-default { background-color: var(--pod-surface-2);      color: var(--pod-text-muted);    border-color: var(--pod-border); }

/* ── Audio Wave indicator ─────── */
.pod-wave {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 16px;
    width: 20px;
}

.pod-wave-bar {
    width: 3px;
    background-color: var(--pod-primary);
    border-radius: var(--pod-radius-pill);
    height: 30%;
    animation: wave-bounce 1s ease-in-out infinite alternate;
}

.pod-wave-bar:nth-child(2) { height: 60%; animation-delay: 0.15s; }
.pod-wave-bar:nth-child(3) { height: 90%; animation-delay: 0.3s; }
.pod-wave-bar:nth-child(4) { height: 45%; animation-delay: 0.45s; }

@keyframes wave-bounce {
    0% { height: 20%; }
    100% { height: 100%; }
}

/* ── Divider ──────────────────── */
.pod-divider { border: none; border-top: 1px solid var(--pod-border); margin: 0; }

/* ── Logo ─────────────────────── */
.pod-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    font-family: var(--pod-font-heading);
    font-size: 1.35rem;
    color: var(--pod-text);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.pod-logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--pod-primary) 0%, #7C3AED 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--pod-radius);
    box-shadow: 0 4px 10px rgba(139, 92, 246, 0.3);
}

/* ── Utilities ────────────────── */
.text-primary { color: var(--pod-primary) !important; }
.text-accent  { color: var(--pod-accent)  !important; }
.text-danger  { color: var(--pod-danger)  !important; }
.text-muted   { color: var(--pod-text-muted) !important; }
.text-light   { color: var(--pod-text-light) !important; }
