:root {
    --bg-color: #0A0A0B;
    --text-primary: #FFFFFF;
    --text-secondary: #A1A1AA;
    --accent: #6366F1;
    --accent-hover: #4F46E5;
    --card-bg: rgba(24, 24, 27, 0.7);
    --border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.glow-bg {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, rgba(0,0,0,0) 50%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 4rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--text-primary);
}

.btn-login {
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.hero {
    text-align: center;
    margin-bottom: 4rem;
}

h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.5rem;
    backdrop-filter: blur(10px);
}

input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 1rem;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
}

input::placeholder {
    color: #52525B;
}

button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover {
    background: var(--accent-hover);
}

.hidden {
    display: none !important;
}

#loading {
    margin-top: 2rem;
    color: var(--accent);
    font-weight: 500;
    animation: pulse 1.5s infinite;
}

.error-msg {
    margin-top: 2rem;
    color: #EF4444;
    font-weight: 500;
}

.glass {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.podcast-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.pod-cover {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.pod-details h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pod-details p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.email-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    color: #34D399;
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.875rem;
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.pitch-section h3 {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pitch-box {
    background: #000;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

pre {
    white-space: pre-wrap;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.6;
    color: #E4E4E7;
}

.btn-copy {
    background: transparent;
    border: 1px solid var(--text-secondary);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
}

.btn-copy:hover {
    background: rgba(255, 255, 255, 0.1);
}

.upgrade-banner {
    margin-top: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(99, 102, 241, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    text-align: center;
}

.upgrade-banner p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.btn-upgrade {
    display: inline-block;
    background: #0070BA; /* PayPal Blue */
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s;
}

.btn-upgrade:hover {
    transform: translateY(-2px);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .podcast-info { flex-direction: column; text-align: center; }
    .search-box { flex-direction: column; background: transparent; padding: 0; border: none; gap: 1rem; }
    input, button { width: 100%; border: 1px solid var(--border); padding: 1rem; background: var(--card-bg); }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 400px;
    width: 90%;
    animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.modal-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.modal-content p {
    color: var(--text-secondary);
}

@keyframes modalPop {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
