/* 
 * Morningbriefing.io Web Portal Stylesheet
 * Brand colors: Black (#000000), White (#FFFFFF), Crimson Red (#CE1141)
 * Premium "Editorial Business Journal" Design Language.
 * Focused on high-end typography, generous whitespace, and sharp details.
 * Psychology: Cognitive ease, micro-delight, ritual signals, value-first.
 */

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

:root {
    --bg-dark: #000000;
    --bg-card: #0c0c0e;
    --border-card: #1d1d21;
    --border-hover: #2d2d34;
    
    --text-primary: #f4f4f6;
    --text-secondary: #a1a1aa;
    --text-muted: #61616a;
    
    --accent: #CE1141; /* syfrt.de Accent Red */
    --accent-hover: #e51d4e;
    
    --success: #10b981;
    --error: #ef4444;
    
    --font-heading: 'Lora', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 6px;
    
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Smooth page fade-in */
body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    animation: pageIn 0.4s ease-out;
}

@keyframes pageIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

/* ─── Scroll Reveal Animation System ─── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children */
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }

/* ─── Editorial Link Hover (sliding underline) ─── */
.editorial-link {
    position: relative;
    display: inline;
}

.editorial-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.editorial-link:hover::after {
    width: 100%;
}

/* Container spacing */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Header & Journal Navigation */
header {
    border-bottom: 1px solid var(--border-card);
    background-color: var(--bg-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

header .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.015em;
}

.logo span {
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

nav a {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:not(.btn):hover::after {
    width: 100%;
}

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

/* ─── Editorial Buttons (with hover lift) ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: #ffffff;
    border: 1px solid var(--accent);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(206, 17, 65, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: none;
}

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

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

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

.btn-outline:hover {
    background: rgba(206, 17, 65, 0.03);
}

.btn-danger-outline {
    background: transparent;
    color: var(--error);
    border: 1px solid var(--error);
}

.btn-danger-outline:hover {
    background: rgba(239, 68, 68, 0.03);
    border-color: #f87171;
    color: #f87171;
}

/* Large CTA variant */
.btn-lg {
    padding: 16px 36px;
    font-size: 15px;
    letter-spacing: 0.01em;
}

/* ─── Hero Section (Single-Focus) ─── */
.hero {
    padding: 100px 0 60px 0;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 52px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.hero h1 span {
    color: var(--accent);
    font-style: italic;
}

.hero p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 36px auto;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
}

/* ─── Social Proof Bar ─── */
.social-proof-bar {
    text-align: center;
    padding: 28px 0;
    border-top: 1px solid var(--border-card);
    border-bottom: 1px solid var(--border-card);
}

.social-proof-bar p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.proof-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    opacity: 0.5;
}

.proof-logos span {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ─── Live Preview Card (Value-First) ─── */
.preview-section {
    padding: 60px 0;
}

.preview-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover), var(--accent));
}

.preview-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    font-family: var(--font-body);
}

.preview-label .pulse {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.preview-headline {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 16px;
}

.preview-excerpt {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 600px;
}

.preview-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

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

/* ─── Benefit Strip (horizontal, no cards) ─── */
.benefit-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 48px 0;
    border-top: 1px solid var(--border-card);
}

.benefit-item {
    padding: 0 32px;
    text-align: center;
}

.benefit-item:not(:last-child) {
    border-right: 1px solid var(--border-card);
}

.benefit-icon {
    font-size: 24px;
    margin-bottom: 12px;
}

.benefit-item h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.benefit-item p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ─── Human Workflow Section ─── */
.workflow-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-card);
}

.workflow-section h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 12px;
}

.workflow-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 48px;
}

.workflow-steps {
    display: flex;
    justify-content: center;
    gap: 48px;
    text-align: center;
}

.workflow-step {
    max-width: 220px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 16px;
    font-family: var(--font-body);
}

.workflow-step h4 {
    font-size: 15px;
    margin-bottom: 8px;
    font-weight: 600;
}

.workflow-step p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ─── Comparison Grid (Old Way vs. New Way) ─── */
.comparison-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-card);
}

.comparison-section h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.comparison-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    padding: 32px;
    transition: var(--transition);
}

.comparison-card.old-way {
    opacity: 0.8;
}

.comparison-card.new-way {
    border-top: 3px solid var(--accent);
}

.comparison-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.comparison-card h3 {
    font-size: 18px;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 24px;
}

.comparison-card.old-way h3 {
    color: var(--text-secondary);
}

.comparison-card.new-way h3 {
    color: var(--text-primary);
}

.comparison-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comparison-list li {
    font-size: 14.5px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
}

.comparison-card.old-way .comparison-list li::before {
    content: "✕";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--text-muted);
    font-size: 12px;
}

.comparison-card.new-way .comparison-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-size: 14px;
    font-weight: bold;
}

/* ─── Closing Quote Teaser (Homepage) ─── */
.senf-teaser {
    padding: 48px 0;
    border-top: 1px solid var(--border-card);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.senf-label {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    font-family: var(--font-body);
}

.senf-quote {
    font-family: var(--font-heading);
    font-size: 20px;
    font-style: italic;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.senf-source {
    font-size: 12px;
    color: var(--text-muted);
}

/* ─── Next Briefing Hook ─── */
.next-briefing {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--border-card);
    margin-top: 40px;
}

.next-briefing p {
    font-size: 14px;
    color: var(--text-secondary);
}

.next-briefing .time {
    color: var(--accent);
    font-weight: 600;
    font-family: var(--font-body);
}

.next-briefing .btn {
    margin-top: 16px;
}

/* ─── Reading Progress Bar ─── */
.reading-progress {
    position: fixed;
    top: 72px; /* below header */
    left: 0;
    height: 2px;
    background-color: var(--accent);
    z-index: 1001;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    transition: width 0.1s linear;
    width: 0;
}

/* ─── Reading Time Badge ─── */
.reading-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--text-muted);
}

/* ─── Issue Number Badge ─── */
.issue-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-family: var(--font-body);
}

/* ─── Share Buttons ─── */
.share-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-card);
}

.share-bar span {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition);
    background: transparent;
    cursor: pointer;
}

.share-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

/* Feature Columns (kept for dashboard or legacy) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    padding: 40px 0 80px 0;
    border-top: 1px solid var(--border-card);
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    padding: 36px;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.feature-card h3 {
    font-size: 19px;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Auth Cards */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 40px 0;
}

.auth-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 800px;
    width: 100%;
    align-items: center;
}

.auth-benefits {
    padding: 20px 0;
}

.auth-benefits h2 {
    font-size: 28px;
    margin-bottom: 24px;
    font-weight: 600;
    line-height: 1.2;
}

.auth-benefits ul {
    list-style: none;
    margin-bottom: 32px;
}

.auth-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 14px;
}

.auth-benefits li .check {
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.auth-proof {
    font-size: 12px;
    color: var(--text-muted);
    padding-top: 20px;
    border-top: 1px solid var(--border-card);
}

.auth-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-top: 3px solid var(--accent);
    border-radius: var(--radius-sm);
    width: 100%;
    max-width: 440px;
    padding: 40px;
}

.auth-card h2 {
    font-size: 25px;
    margin-bottom: 8px;
    font-weight: 600;
}

.auth-card p.subtitle {
    color: var(--text-secondary);
    font-size: 13.5px;
    margin-bottom: 28px;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-control {
    width: 100%;
    background-color: #070708;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14.5px;
    padding: 10px 14px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background-color: #000000;
}

textarea.form-control {
    min-height: 110px;
    resize: vertical;
}

/* Alerts */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid transparent;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.04);
    color: var(--success);
    border-color: rgba(16, 185, 129, 0.2);
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.04);
    color: var(--error);
    border-color: rgba(239, 68, 68, 0.2);
}

/* Dashboard Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    padding: 40px 0 80px 0;
}

.sidebar {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    padding: 24px;
    align-self: start;
}

.sidebar-user {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-card);
    margin-bottom: 20px;
}

.sidebar-user h4 {
    font-size: 15px;
    font-weight: 600;
}

.sidebar-user p {
    font-size: 12px;
    color: var(--text-secondary);
}

.sidebar-nav {
    list-style: none;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 500;
    margin-bottom: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.sidebar-link:hover, .sidebar-link.active {
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
}

.sidebar-link.active {
    border-left: 2px solid var(--accent);
    padding-left: 12px;
}

/* Main Dashboard Panel */
.dashboard-panel {
    display: none;
}

.dashboard-panel.active {
    display: block;
}

.panel-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    padding: 36px;
    margin-bottom: 32px;
}

.panel-header {
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border-card);
    padding-bottom: 16px;
}

.panel-header h2 {
    font-size: 22px;
    margin-bottom: 4px;
    font-weight: 600;
}

.panel-header p {
    color: var(--text-secondary);
    font-size: 13.5px;
}

/* Grid of Checkboxes for Industries */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.checkbox-tile {
    position: relative;
    background-color: #070708;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.checkbox-tile:hover {
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.checkbox-tile input[type="checkbox"] {
    position: absolute;
    top: 14px;
    right: 14px;
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
}

.checkbox-tile.checked {
    border-color: var(--accent);
    background-color: rgba(206, 17, 65, 0.01);
}

.checkbox-tile h4 {
    font-size: 15px;
    margin-bottom: 4px;
    font-weight: 600;
}

.checkbox-tile p {
    font-size: 11.5px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Lists styling inside dashboard */
.item-list {
    list-style: none;
    margin-top: 20px;
}

.item-list-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #070708;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.item-list-row:hover {
    border-color: var(--border-hover);
}

.item-list-row p {
    font-size: 13.5px;
}

.item-list-row .item-url {
    font-family: monospace;
    font-size: 11px;
    color: var(--text-muted);
}

.badge {
    display: inline-block;
    padding: 3px 6px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-pending {
    background-color: rgba(234, 179, 8, 0.05);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.15);
}

.badge-approved {
    background-color: rgba(16, 185, 129, 0.05);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

/* Premium Editorial News Styling */
.article-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-top: 3px solid var(--accent); /* Premium crimson top accent mark */
    border-radius: var(--radius-sm);
    padding: 40px;
    margin-bottom: 40px;
    transition: var(--transition);
}

.article-card:hover {
    border-color: var(--border-hover);
    border-top-color: var(--accent);
}

.article-meta {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.source-tag {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-card);
    color: var(--text-secondary);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-title {
    font-family: var(--font-heading);
    font-size: 25px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.article-fact {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.article-impact {
    background-color: rgba(255, 255, 255, 0.01);
    border-left: 3px solid var(--text-muted);
    padding: 16px 20px;
    margin-bottom: 24px;
}

.article-impact strong {
    display: block;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-family: var(--font-body);
}

.article-impact p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.article-takeaway {
    background-color: rgba(206, 17, 65, 0.015);
    border: 1px solid rgba(206, 17, 65, 0.1);
    border-left: 3px solid var(--accent);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.takeaway-label {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    font-family: var(--font-body);
}

.article-takeaway p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0;
}

.article-footer {
    display: flex;
    justify-content: flex-end;
}

.read-more-btn {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--accent);
    position: relative;
}

.read-more-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.read-more-btn:hover {
    color: var(--accent-hover);
}

.read-more-btn:hover::after {
    width: 100%;
}

/* ─── Trust Footer ─── */
footer {
    border-top: 1px solid var(--border-card);
    padding: 48px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 12.5px;
    margin-top: 60px;
}

.footer-trust {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 12px;
    letter-spacing: 0.02em;
}

footer p a {
    color: var(--text-secondary);
    position: relative;
}

footer p a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--text-secondary);
    transition: width 0.3s ease;
}

footer p a:hover::after {
    width: 100%;
}

/* ─── Responsive ─── */
@media(max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .sidebar {
        margin-bottom: 24px;
    }
    .benefit-strip {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .benefit-item:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid var(--border-card);
        padding-bottom: 32px;
    }
    .workflow-steps {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    .auth-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media(max-width: 600px) {
    .hero h1 {
        font-size: 36px;
    }
    .hero {
        padding: 60px 0 40px 0;
    }
    .auth-card {
        padding: 32px 24px;
    }
    .article-card {
        padding: 24px;
    }
    .preview-card {
        padding: 24px;
    }
    .preview-headline {
        font-size: 20px;
    }
    nav ul {
        gap: 16px;
    }
}

/* ─── Mobile Menu Toggle Styles ─── */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 200;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
    transform-origin: left center;
}

@media(max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    header nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(6, 6, 8, 0.98); /* Glass/dark overlay style */
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 150;
    }
    
    header nav.nav-active {
        right: 0;
    }
    
    header nav ul {
        flex-direction: column;
        gap: 32px;
        text-align: center;
        width: 100%;
        padding: 40px;
    }
    
    header nav a {
        font-size: 20px;
        font-weight: 500;
        font-family: var(--font-heading);
        color: var(--text-primary);
        display: block;
    }
    
    header nav .btn {
        font-size: 15px;
        padding: 12px 28px;
        width: 100%;
        max-width: 240px;
        margin: 0 auto;
    }

    /* Transform hamburger into 'X' when active */
    .nav-toggle.toggle-active span:nth-child(1) {
        transform: rotate(45deg) translate(0px, -2px);
        background-color: var(--accent);
    }
    
    .nav-toggle.toggle-active span:nth-child(2) {
        width: 0%;
        opacity: 0;
    }
    
    .nav-toggle.toggle-active span:nth-child(3) {
        transform: rotate(-45deg) translate(0px, 2px);
        background-color: var(--accent);
    }
}

/* ─── Reduced Motion ─── */
@media(prefers-reduced-motion: reduce) {
    body {
        animation: none;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .preview-label .pulse {
        animation: none;
    }
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
