:root {
    --bg-color: #F8FAFC;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --accent: #0284C7; /* Corporate Blue */
    --accent-hover: #0369A1;
    --card-bg: #FFFFFF;
    --border: #E2E8F0;
}

* {
    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;
}

.top-bar {
    height: 4px;
    background: linear-gradient(90deg, #0284C7, #38BDF8);
}

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

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

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

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

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

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

h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    color: #0F172A;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
}

.form-container {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.input-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1E293B;
}

textarea {
    width: 100%;
    background: #F1F5F9;
    border: 1px solid var(--border);
    color: #334155;
    padding: 1rem;
    font-size: 1rem;
    font-family: inherit;
    border-radius: 8px;
    outline: none;
    resize: vertical;
    min-height: 120px;
}

textarea:focus {
    border-color: var(--accent);
    background: #FFFFFF;
}

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

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

.hidden {
    display: none !important;
}

#loading {
    margin-top: 2rem;
    color: var(--accent);
    font-weight: 600;
}

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

.result-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.pitch-section h3 {
    margin-bottom: 1rem;
    color: #1E293B;
    font-size: 1.25rem;
}

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

pre {
    white-space: pre-wrap;
    font-family: 'Inter', sans-serif; /* Keep readable font for letters */
    font-size: 1rem;
    line-height: 1.6;
    color: #334155;
}

.btn-copy {
    background: #E2E8F0;
    color: #0F172A;
    width: auto;
}

.btn-copy:hover {
    background: #CBD5E1;
}

.upgrade-banner {
    margin-top: 3rem;
    padding: 2rem;
    background: #F0F9FF;
    border-radius: 8px;
    border: 1px solid #BAE6FD;
    text-align: center;
}

.scarcity {
    color: #B91C1C;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.upgrade-banner p {
    margin-bottom: 1.5rem;
    color: #0369A1;
}

.btn-upgrade {
    display: inline-block;
    background: #0070BA;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 600;
}

/* 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; } }
