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

:root {
    --bg-cream: #F9F8F6;
    --bg-warm: #F5F4F1;
    --card-bg: #FFFFFF;
    --accent: #7D2E3A;
    --accent-hover: #943648;
    --accent-light: rgba(125, 46, 58, 0.08);
    --accent-gold: #B8963E;
    --text-dark: #1C1917;
    --text-body: #292524;
    --text-medium: #57534E;
    --text-muted: #A8A29E;
    --border-light: #E7E5E4;
    --border-medium: #D6D3D1;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.08);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-cream);
    color: var(--text-body);
    min-height: 100vh;
    line-height: 1.6;
    font-size: 15px;
}

/* Main Container */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

/* ===================== INPUT SECTION ===================== */
.input-wrapper {
    background: linear-gradient(180deg, #FFFFFF 0%, #F9F8F6 50%, #F5F3F0 100%);
    border-bottom: 2px solid var(--border-light);
    padding: 60px 64px 48px;
    display: flex;
    justify-content: center;
}

.input-inner {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.logo-section {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 96px;
    font-weight: 500;
    font-style: italic;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #1C1917 0%, #3D3835 40%, #292524 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.logo-subtitle {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 10px;
    color: var(--accent);
    font-weight: 700;
}

/* Video/GIF Container */
.video-container {
    margin-bottom: 40px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.demo-video {
    width: 100%;
    border-radius: var(--radius-md);
    display: block;
}

/* Textarea */
.textarea-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 700;
}

textarea {
    width: 100%;
    height: 140px;
    background: var(--bg-warm);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-style: italic;
    color: var(--text-dark);
    resize: none;
    transition: all 0.2s ease;
    line-height: 1.6;
}

textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--card-bg);
    box-shadow: 0 0 0 3px var(--accent-light);
}

textarea::placeholder {
    color: var(--text-muted);
}

/* Dropdowns */
.dropdowns-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.dropdown-group {
    display: flex;
    flex-direction: column;
}

.dropdown-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 700;
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '▾';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--text-muted);
    pointer-events: none;
}

select {
    width: 100%;
    background: var(--bg-warm);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 12px 32px 12px 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
}

select:hover, select:focus {
    border-color: var(--accent);
    background: var(--card-bg);
    outline: none;
}

/* Generate Button */
.generate-btn {
    width: 100%;
    padding: 16px 32px;
    background: var(--accent);
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
    position: relative;
}

.generate-btn:hover {
    background: var(--accent-hover);
}

.generate-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.generate-btn .btn-loading {
    display: none;
}

.generate-btn.loading .btn-text {
    display: none;
}

.generate-btn.loading .btn-loading {
    display: inline-block;
}

.generate-btn.loading::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Error Message */
.error-message {
    display: none;
    margin-top: 16px;
    padding: 16px 20px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: var(--radius-md);
    text-align: center;
}

.error-message.visible {
    display: block;
}

.error-text {
    color: #DC2626;
    font-size: 14px;
    margin-right: 12px;
}

.retry-btn {
    padding: 8px 16px;
    background: var(--accent);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.retry-btn:hover {
    background: var(--accent-hover);
}

/* ===================== RESULTS SECTION ===================== */
.results-wrapper {
    display: none;
}

.results-wrapper.visible {
    display: block;
}

/* Editorial Header */
.editorial-header {
    background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-warm) 100%);
    border-bottom: 1px solid var(--border-light);
    padding: 64px 64px;
    text-align: center;
}

.editorial-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.editorial-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-align: center;
}

.editorial-dek {
    font-size: 22px;
    color: var(--text-medium);
    margin-bottom: 28px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    text-align: center;
}

.editorial-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.editorial-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.editorial-meta .separator {
    color: var(--border-medium);
}

.editorial-meta .tag {
    background: var(--accent-light);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.editorial-byline {
    font-size: 14px;
    color: var(--text-body);
    margin-bottom: 24px;
    text-align: center;
}

.editorial-byline strong {
    font-weight: 600;
}

.editorial-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.editorial-btn {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.editorial-btn.primary {
    background: var(--accent);
    border: none;
    color: white;
}

.editorial-btn.primary:hover {
    background: var(--accent-hover);
}

.editorial-btn.secondary {
    background: transparent;
    border: 1px solid var(--border-medium);
    color: var(--text-body);
}

.editorial-btn.secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Two Column Layout */
.results-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: calc(100vh - 200px);
}

/* Sticky TOC */
.toc-sidebar {
    background: var(--bg-warm);
    border-right: 1px solid var(--border-light);
    padding: 40px 32px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.toc-list {
    list-style: none;
}

.toc-item {
    margin-bottom: 6px;
}

.toc-link {
    display: block;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-medium);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.15s ease;
}

.toc-link:hover {
    background: var(--card-bg);
    color: var(--text-dark);
}

.toc-link.active {
    background: var(--accent-light);
    color: var(--accent);
    font-weight: 600;
}

.toc-number {
    display: inline-block;
    width: 28px;
    color: var(--text-muted);
    font-size: 13px;
}

/* Content Panel */
.content-panel {
    padding: 56px 80px;
    background: var(--bg-cream);
    display: flex;
    justify-content: center;
}

.content-inner {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

/* Section Styling */
.section {
    margin-bottom: 64px;
    scroll-margin-top: 24px;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 28px;
    border-bottom: 2px solid var(--border-light);
    cursor: pointer;
    text-align: center;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: var(--accent);
    margin-bottom: 20px;
}

.section-actions {
    display: flex;
    gap: 10px;
}

.section-btn {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.section-btn.copy {
    background: transparent;
    border: 1px solid var(--border-medium);
    color: var(--text-medium);
}

.section-btn.copy:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.section-btn.copy.copied {
    background: #2d8a4e;
    border-color: #2d8a4e;
    color: white;
}

.section-btn.regen {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
}

.section-btn.regen:hover {
    background: var(--accent);
    color: white;
}

.section-content {
    transition: all 0.3s ease;
    overflow: hidden;
}

.section.collapsed .section-content {
    display: none;
}

.section.collapsed .section-header {
    border-bottom-color: transparent;
    margin-bottom: 0;
    padding-bottom: 20px;
}

.collapse-icon {
    font-size: 14px;
    color: var(--text-muted);
    margin-left: 12px;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.section.collapsed .collapse-icon {
    transform: rotate(-90deg);
}

.section-header:hover .collapse-icon {
    color: var(--accent);
}

/* Content Blocks */
.content-block {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 40px 48px;
    margin-bottom: 24px;
    text-align: center;
}

.content-block:last-child {
    margin-bottom: 0;
}

.block-label {
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
}

.block-text {
    font-size: 19px;
    line-height: 1.8;
    color: var(--text-body);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.block-text strong {
    font-weight: 600;
    color: var(--text-dark);
}

/* Frame Section - 3 Column Grid */
.frame-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.frame-grid .content-block {
    padding: 32px 28px;
    margin-bottom: 0;
}

.frame-grid .block-label {
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.frame-grid .block-text {
    font-size: 16px;
    line-height: 1.7;
}

/* Prediction Block - Dominant Style */
.prediction-block {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-left: 5px solid var(--accent);
    border-radius: var(--radius-md);
    padding: 36px 44px;
    margin-bottom: 24px;
    text-align: left;
}

.prediction-block .block-label {
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 14px;
    text-align: left;
}

.prediction-block .block-text {
    font-size: 26px;
    line-height: 1.5;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    max-width: none;
    font-family: 'Playfair Display', serif;
}

/* Bets Section - Timeline Style */
.bets-timeline {
    position: relative;
    padding-left: 60px;
}

.bets-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent) 0%, rgba(125, 46, 58, 0.2) 100%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 28px 36px;
    margin-bottom: 20px;
}

.timeline-item::before {
    content: attr(data-number);
    position: absolute;
    left: -48px;
    top: 28px;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(125, 46, 58, 0.3);
}

.timeline-item .item-text {
    font-size: 18px;
    line-height: 1.75;
    color: var(--text-body);
}

/* Contrarian Takes - Quote Style */
.quote-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.quote-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 36px 44px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.quote-number {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 700;
    color: var(--accent);
    line-height: 0.8;
    opacity: 0.25;
    flex-shrink: 0;
}

.quote-text {
    font-size: 20px;
    line-height: 1.7;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    padding-top: 8px;
}

/* Wedge Block */
.wedge-block {
    background: linear-gradient(135deg, rgba(125, 46, 58, 0.08) 0%, rgba(125, 46, 58, 0.04) 100%);
    border: 1px solid rgba(125, 46, 58, 0.2);
    border-radius: var(--radius-md);
    padding: 44px 52px;
    margin-top: 24px;
    text-align: center;
}

.wedge-block .block-label {
    color: var(--accent);
    font-size: 22px;
}

.wedge-block .block-text {
    font-size: 20px;
}

/* Pitch Cards */
.pitch-card {
    background: linear-gradient(165deg, #F5F5F5 0%, #EBEBEB 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 48px 56px;
    margin-bottom: 28px;
    position: relative;
}

.pitch-header {
    text-align: center;
    margin-bottom: 36px;
    position: relative;
}

.pitch-copy-btn {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px 18px;
    background: transparent;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-medium);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.15s ease;
}

.pitch-copy-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.pitch-copy-btn.copied {
    background: #2d8a4e;
    border-color: #2d8a4e;
    color: white;
}

.pitch-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 14px;
}

.pitch-name {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.pitch-oneliner {
    font-size: 20px;
    color: var(--text-medium);
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.pitch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.pitch-field {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 28px 32px;
    text-align: center;
}

.pitch-field-label {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 14px;
    text-align: center;
}

.pitch-field-value {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-body);
    text-align: center;
}

.pitch-assumptions {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 28px 32px;
    text-align: center;
}

.pitch-assumptions-label {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-muted);
    font-weight: 800;
    margin-bottom: 16px;
    text-align: center;
}

.pitch-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.pitch-tag {
    background: var(--bg-warm);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 10px 18px;
    font-size: 14px;
    color: var(--text-medium);
}

/* Post Blocks */
.post-block {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 36px 44px;
    margin-bottom: 20px;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.post-platform {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.post-platform-icon {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background: var(--bg-warm);
    border: 1px solid var(--border-light);
    color: var(--text-medium);
}

.post-copy-btn {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-medium);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.15s ease;
}

.post-copy-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.post-copy-btn.copied {
    background: #2d8a4e;
    border-color: #2d8a4e;
    color: white;
}

.post-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-body);
}

.post-content strong {
    display: block;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--text-dark);
}

.post-content ul {
    list-style: none;
    margin-top: 14px;
}

.post-content ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.post-content ul li:last-child {
    border-bottom: none;
}

.post-content ul li::before {
    content: '→';
    color: var(--accent);
    font-weight: 600;
}

/* Launch Kit */
.launch-kit {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 40px 48px;
    margin-top: 32px;
}

.launch-kit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.launch-kit-title {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--accent);
}

.launch-kit-copy-all {
    padding: 14px 28px;
    background: var(--accent);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.15s ease;
}

.launch-kit-copy-all:hover {
    background: var(--accent-hover);
}

.launch-kit-copy-all.copied {
    background: #2d8a4e;
}

.launch-kit-section {
    background: linear-gradient(165deg, #F5F4F1 0%, #EDECEA 50%, #E8E6E3 100%);
    border-radius: var(--radius-md);
    padding: 36px 40px;
    border: 1px solid var(--border-light);
}

.launch-kit-section-title {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 24px;
    text-align: center;
}

.launch-checklist {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
}

.launch-checklist li {
    padding: 16px 0;
    font-size: 17px;
    color: var(--text-body);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border-bottom: 1px solid var(--border-light);
}

.launch-checklist li:last-child {
    border-bottom: none;
}

.launch-checkbox {
    width: 28px;
    height: 28px;
    border: 2px solid var(--accent);
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    background: white;
}

.launch-checkbox:hover {
    background: var(--accent-light);
}

.launch-checkbox.checked {
    background: var(--accent);
    color: white;
}

.launch-checkbox.checked::after {
    content: '✓';
    font-size: 18px;
    font-weight: 700;
}

/* Signals Grid */
.signals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.signal-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 28px;
    text-align: center;
}

.signal-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-warm);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 18px;
    color: var(--text-muted);
}

.signal-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
}

/* Implications Grid */
.implications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.implication-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 28px;
    text-align: center;
}

.implication-number {
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 18px;
    font-weight: 700;
}

.implication-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
}

/* Bottom Bar */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-light);
    padding: 16px 24px;
    display: none;
    justify-content: center;
    gap: 12px;
    z-index: 100;
}

.bottom-bar.visible {
    display: flex;
}

.bottom-btn {
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.15s ease;
}

.bottom-btn.primary {
    background: var(--accent);
    border: none;
    color: white;
}

.bottom-btn.primary:hover {
    background: var(--accent-hover);
}

.bottom-btn.secondary {
    background: transparent;
    border: 1px solid var(--border-medium);
    color: var(--text-body);
}

.bottom-btn.secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Mobile TOC Drawer */
.toc-mobile-toggle {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 99;
}

/* Responsive */
@media (max-width: 1024px) {
    .results-layout {
        grid-template-columns: 1fr;
    }

    .toc-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        z-index: 200;
        box-shadow: var(--shadow-lg);
    }

    .toc-sidebar.open {
        display: block;
    }

    .toc-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .signals-grid,
    .implications-grid {
        grid-template-columns: 1fr;
    }

    .pitch-grid {
        grid-template-columns: 1fr;
    }

    .frame-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .input-wrapper,
    .editorial-header,
    .content-panel {
        padding: 32px 20px;
    }

    .logo {
        font-size: 42px;
    }

    .editorial-title {
        font-size: 32px;
    }

    .editorial-dek {
        font-size: 17px;
    }

    .dropdowns-row {
        grid-template-columns: 1fr;
    }

    .editorial-actions {
        flex-direction: column;
    }

    .editorial-btn {
        width: 100%;
        justify-content: center;
    }

    .pitch-name {
        font-size: 28px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .section-actions {
        width: 100%;
    }

    .section-btn {
        flex: 1;
        justify-content: center;
    }
}
