/* Market Intel - Styles (Rello Design System) */

/* Import fonts - Inter for modern dashboard look */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Hind:wght@500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mina:wght@400;700&display=swap');

/* CSS Variables - Rello Design System */
:root {
    /* Primary colors (MLO customizable) */
    --color-primary: #3B5998;
    --color-primary-hover: #2E4A7D;
    --color-primary-active: #243C66;
    --color-primary-light: #E8EDF5;
    --color-primary-lighter: #4A6BA8;

    /* Accent colors (MLO customizable) */
    --color-accent: #C9785D;
    --color-accent-hover: #B5694F;
    --color-accent-light: #F9F0ED;

    /* Neutrals (fixed) */
    --color-white: #FFFFFF;
    --color-cloud: #E1E4E8;
    --color-silver: #B5BDC4;
    --color-sage-mist: #AEB4AC;
    --color-stone: #939CA3;
    --color-slate: #646F77;
    --color-charcoal: #2D3339;

    /* Semantic colors */
    --color-success: #6B9080;
    --color-success-light: #EDF3F0;
    --color-warning: #D4A84B;
    --color-warning-light: #FBF6EB;
    --color-error: #C9605D;
    --color-error-light: #F9EDEC;

    /* Legacy mappings for compatibility */
    --color-secondary: var(--color-stone);
    --color-bg: var(--color-cloud);
    --color-bg-white: var(--color-white);
    --color-text: var(--color-charcoal);
    --color-text-light: var(--color-slate);
    --color-text-lighter: var(--color-stone);
    --color-border: var(--color-silver);

    /* Fonts - Rello stack */
    --font-heading: 'Montserrat', system-ui, sans-serif;
    --font-body: 'Open Sans', system-ui, sans-serif;
    --font-ui: 'Hind', system-ui, sans-serif;
    --font-accent: 'Mina', system-ui, sans-serif;
    --font-sans: var(--font-body);
    --font-mono: 'SF Mono', 'Menlo', 'Monaco', monospace;

    /* Shadows - Rello style */
    --shadow-sm: 0 1px 2px rgba(45, 51, 57, 0.05);
    --shadow-md: 0 4px 6px rgba(45, 51, 57, 0.07);
    --shadow-lg: 0 10px 15px rgba(45, 51, 57, 0.08);
    --shadow-xl: 0 20px 25px rgba(45, 51, 57, 0.10);

    /* Border radius - Rello rounded style */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
    --transition: var(--transition-base);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Base */
html {
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

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

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 600;
    color: var(--color-primary);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.main-content {
    flex: 1;
    padding: 2rem 0;
}

/* Header - New Design */
.site-header {
    background-color: #1a365d;
    color: #FFFFFF;
    padding: 0;
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 24px;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #FFFFFF;
}

.header-logo {
    height: 40px;
    width: auto;
}

.header-brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
}

.header-brand-icon svg {
    stroke: #FFFFFF;
}

.header-brand-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFFFFF;
}

/* Header Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.header-nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.header-nav-item.active {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.header-nav-item svg {
    flex-shrink: 0;
}

.header-nav-item span {
    white-space: nowrap;
}

/* Header Right Section */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-admin-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.header-admin-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-primary, #3B5998);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.header-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.2s ease;
}

.header-logout-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.header-login-btn {
    padding: 10px 20px;
    background: var(--color-accent, #C9785D);
    color: #FFFFFF;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.header-login-btn:hover {
    background: var(--color-accent-hover, #B5694F);
    color: #FFFFFF;
}

/* Mobile Menu Button */
.header-mobile-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
}

.mobile-nav-overlay.active {
    display: flex;
    justify-content: flex-end;
}

.mobile-nav-content {
    width: 300px;
    max-width: 80%;
    height: 100%;
    background: #FFFFFF;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #E1E4E8;
}

.mobile-nav-header .header-brand-text {
    color: var(--color-charcoal);
    font-size: 1.1rem;
}

.mobile-nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: var(--color-slate);
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 12px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 8px;
    color: var(--color-charcoal);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease;
}

.mobile-nav-link:hover {
    background: var(--color-primary-light);
    color: var(--color-primary);
}

.mobile-nav-link--admin {
    color: var(--color-primary);
}

.mobile-nav-link--logout {
    margin-top: 12px;
    border-top: 1px solid #E1E4E8;
    padding-top: 26px;
    color: var(--color-slate);
}

/* Legacy Header Classes (for compatibility) */
.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
}

.header-logo {
    max-height: 60px;
    width: auto;
    margin-bottom: 0.75rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.header-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin: 0;
    text-transform: uppercase;
}

.header-subtitle {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-text-light);
    margin: 0.25rem 0 0 0;
}

.header-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 27px;
    font-weight: 700;
    font-style: normal;
    color: var(--color-primary);
    margin: 0.5rem 0 0 0;
    letter-spacing: 1px;
}

/* Header Responsive */
@media (max-width: 1100px) {
    .header-nav {
        display: none;
    }

    .header-mobile-btn {
        display: flex;
    }
}

@media (max-width: 600px) {
    .header-container {
        padding: 12px 16px;
    }

    .header-admin-btn span {
        display: none;
    }

    .header-admin-btn {
        padding: 8px;
    }
}

.logo {
    color: var(--color-primary);
    text-decoration: none;
}

.logo h1 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin: 0;
}

.logo .tagline {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.main-nav {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
}

.nav-link:hover {
    color: var(--color-primary-light);
}

.nav-link--secondary {
    color: var(--color-text-light);
}

/* Site Navigation Menu */
.site-nav {
    width: 100%;
    margin-top: 1rem;
}

.site-nav__menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__menu li a {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition);
    padding: 0.5rem 0;
    display: block;
}

.site-nav__menu li a:hover {
    color: var(--color-primary-light);
}

.site-nav__menu li a.site-nav__active {
    color: var(--color-primary-light);
    border-bottom: 2px solid var(--color-primary-light);
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0 auto;
}

.hamburger__line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger animation when open */
.hamburger.active .hamburger__line:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.hamburger.active .hamburger__line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger__line:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .site-nav__menu {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg-white);
        box-shadow: var(--shadow-md);
        padding: 1rem 0;
        z-index: 1000;
    }

    .site-nav__menu.active {
        display: flex;
    }

    .site-nav__menu li {
        width: 100%;
        text-align: center;
    }

    .site-nav__menu li a {
        padding: 0.75rem 1.5rem;
        border-bottom: none;
    }

    .site-nav__menu li a:hover {
        background-color: var(--color-bg);
    }

    .site-nav__menu li a.site-nav__active {
        border-bottom: none;
        background-color: var(--color-bg);
    }

    .site-nav {
        position: relative;
    }
}

/* Footer */
.site-footer {
    background-color: #FFFFFF !important;
    color: var(--color-text);
    padding: 2rem 0 1.5rem;
    margin-top: auto;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 1.5rem;
}

.footer-left {
    flex: 1;
    max-width: 60%;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links a:hover {
    color: var(--color-primary-light);
}

.footer-links .separator {
    margin: 0 0.75rem;
    color: var(--color-text-light);
}

.footer-nmls {
    font-size: 15px;
    font-weight: 300;
    color: var(--color-text);
    margin: 0.75rem 0;
}

.footer-legal {
    font-size: 11px;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
}

.footer-right {
    text-align: right;
    min-width: 250px;
    flex-shrink: 0;
}

.footer-company {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
}

.footer-phone,
.footer-email {
    font-size: 15px;
    font-weight: 300;
    color: var(--color-text);
    margin: 0.25rem 0;
}

.footer-phone a,
.footer-email a {
    color: var(--color-text);
    text-decoration: none;
}

.footer-phone a:hover,
.footer-email a:hover {
    color: var(--color-primary-light);
}

.footer-badges {
    margin-top: 1rem;
}

.footer-badges img {
    max-width: 200px;
    height: auto;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 1rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--color-text-light);
}

.footer-bottom p {
    margin: 0;
}

/* Legacy footer styles for backwards compatibility */
.footer-brand h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.footer-brand p,
.footer-contact p {
    color: var(--color-text-light);
    margin: 0;
}

.footer-contact a {
    color: var(--color-text);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn--primary {
    background: var(--color-primary);
    color: white;
}

.btn--primary:hover {
    background: var(--color-primary-hover);
    color: white;
}

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

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

.btn--danger {
    background: var(--color-error);
    color: white;
}

.btn--danger:hover {
    background: #c53030;
}

.btn--warning {
    background: #d69e2e;
    color: white;
}

.btn--warning:hover {
    background: #b7791f;
}

.btn--full {
    width: 100%;
}

.btn--small {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

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

.btn--outline:hover {
    background: var(--color-primary);
    color: white;
}

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

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

/* Forms */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: white;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary-light);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

.form-group input:disabled {
    background: var(--color-bg);
    cursor: not-allowed;
}

.form-help {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.alert--success {
    background: #f0fff4;
    border: 1px solid #9ae6b4;
    color: #276749;
}

.alert--error {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    color: #c53030;
}

/* Auth Pages */
.auth-intro {
    max-width: 900px;
    margin: 0 auto 2rem;
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.intro-text {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.intro-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.intro-list li {
    position: relative;
    padding-left: 1.75rem;
    font-size: 1rem;
    color: var(--color-text);
}

.intro-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: bold;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 2rem auto;
}

@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-info {
        order: -1;
    }
}

.auth-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--color-text-light);
    margin: 0;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.auth-footer p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin: 0;
}

.auth-info {
    padding: 2rem 0;
}

.auth-info h3 {
    margin-bottom: 1rem;
}

.auth-info ul {
    list-style: none;
    padding: 0;
}

.auth-info li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.auth-info li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: bold;
}

.subscribe-form {
    margin-top: 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.subscribe-form iframe {
    display: block;
}

/* Dashboard */
.dashboard-header {
    margin-bottom: 2rem;
}

.dashboard-header h2 {
    margin-bottom: 0.25rem;
}

.date-display {
    color: var(--color-text-light);
    margin: 0;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.dashboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Cards */
.digest-card,
.sidebar-card,
.profile-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.digest-card--featured {
    border: 2px solid var(--color-primary-lighter);
}

.digest-card__header {
    margin-bottom: 1rem;
}

.digest-card__badge {
    display: inline-block;
    background: var(--color-primary-light);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.digest-card__title {
    font-size: 1.25rem;
    margin: 0;
}

.digest-card__content {
    line-height: 1.7;
}

.digest-card__footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.digest-card__meta {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* Audio Player */
.audio-player {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin: 1rem 0;
}

.audio-player__label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.audio-player__element {
    width: 100%;
    height: 40px;
}

.audio-player__duration {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 0.5rem;
}

.audio-player--large {
    padding: 1.5rem;
}

/* Sidebar */
.sidebar-card h4 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.digest-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.digest-list__item {
    border-bottom: 1px solid var(--color-border);
}

.digest-list__item:last-child {
    border-bottom: none;
}

.digest-list__item a {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--color-text);
}

.digest-list__item a:hover {
    color: var(--color-primary-light);
}

.digest-list__date {
    font-size: 0.8rem;
    color: var(--color-text-light);
    min-width: 50px;
}

.digest-list__title {
    font-size: 0.9rem;
    line-height: 1.4;
}

.sidebar-empty {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-style: italic;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: var(--color-bg);
    border-radius: var(--radius-md);
}

.stat__value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stat__label {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

/* Archive */
.archive-header {
    margin-bottom: 2rem;
}

.archive-header h2 {
    margin-bottom: 0.25rem;
}

.archive-header p {
    color: var(--color-text-light);
    margin: 0;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.archive-card {
    display: flex;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
    color: var(--color-text);
}

.archive-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: var(--color-text);
}

.archive-card__date {
    background: var(--color-primary);
    color: white;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
}

.archive-card__day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.archive-card__month {
    font-size: 0.75rem;
    text-transform: uppercase;
}

.archive-card__year {
    font-size: 0.7rem;
    opacity: 0.8;
}

.archive-card__content {
    padding: 1rem 1.25rem;
    flex: 1;
}

.archive-card__title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.archive-card__preview {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.archive-card__meta {
    font-size: 0.75rem;
    color: var(--color-text-lighter);
    display: flex;
    gap: 1rem;
}

.archive-card__audio {
    color: var(--color-primary-light);
}

.archive-card__badge {
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #ef4444;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    margin-top: 0.35rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.pagination__info {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* Digest View */
.digest-view__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.back-link {
    font-size: 0.9rem;
}

.digest-view__date {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.digest-article {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.digest-article__title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.digest-article__content {
    line-height: 1.8;
}

.digest-article__content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.digest-article__content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.digest-article__content li {
    margin: 0.5rem 0;
}

.digest-sources {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.digest-sources h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

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

.sources-list__item {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
}

.sources-list__name {
    font-weight: 500;
}

.sources-list__subject {
    color: var(--color-text-light);
    display: block;
    font-size: 0.85rem;
}

.sources-list__number {
    font-weight: 600;
    color: var(--color-primary);
    margin-right: 0.5rem;
}

.sources-list__link {
    color: var(--color-primary-light);
    text-decoration: none;
}

.sources-list__link:hover {
    text-decoration: underline;
}

.sources-list__type {
    color: var(--color-text-lighter);
    font-size: 0.75rem;
    margin-left: 0.5rem;
    background: var(--color-bg);
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
}

/* Inline citations */
.citation {
    color: var(--color-primary-light);
    text-decoration: none;
    font-weight: 500;
}

.citation:hover {
    text-decoration: underline;
}

/* Special edition badge */
.digest-view__special {
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    margin-left: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
}

.digest-nav {
    margin-top: 2rem;
    text-align: center;
}

/* Profile */
.profile {
    max-width: 600px;
}

.profile h2 {
    margin-bottom: 1.5rem;
}

.profile-info {
    margin-bottom: 1.5rem;
}

.profile-field {
    display: flex;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
}

.profile-field:last-child {
    border-bottom: none;
}

.profile-label {
    font-weight: 500;
    color: var(--color-text-light);
    min-width: 100px;
}

.profile-value {
    color: var(--color-text);
}

.profile-note {
    font-size: 0.9rem;
    color: var(--color-text-light);
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.profile-danger {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.profile-danger h3 {
    color: var(--color-error);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.profile-danger p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: var(--radius-lg);
}

.empty-state h3 {
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--color-text-light);
    margin: 0;
}

/* Error Page */
.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
}

.error-content {
    text-align: center;
}

.error-code {
    font-size: 6rem;
    font-weight: 700;
    color: var(--color-border);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-message {
    margin-bottom: 1rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Public Pages */
.public-digest {
    background: white;
}

.public-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.public-header h1 {
    color: white;
    margin-bottom: 0.25rem;
}

.public-header p {
    opacity: 0.9;
    margin: 0;
}

.public-main {
    padding: 2rem 0;
}

.digest-article--public {
    max-width: 700px;
    margin: 0 auto;
}

.digest-article__header {
    text-align: center;
    margin-bottom: 2rem;
}

.digest-article__date {
    display: inline-block;
    background: var(--color-bg);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.public-cta {
    max-width: 500px;
    margin: 3rem auto 0;
    text-align: center;
    padding: 2rem;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
}

.public-cta h3 {
    margin-bottom: 0.5rem;
}

.public-cta p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.public-footer {
    background: var(--color-primary);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.public-footer h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.public-footer p {
    margin: 0;
    opacity: 0.9;
}

.public-footer__copy {
    margin-top: 1rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Admin Pages */
.admin-page {
    max-width: 1100px;
    margin: 0 auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-header__title h2 {
    margin-bottom: 0.25rem;
}

.admin-header__title p {
    color: var(--color-text-light);
    margin: 0;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-card__value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-card__label {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.admin-nav-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.admin-nav-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: var(--color-text);
    transition: all var(--transition);
    border: 2px solid transparent;
}

.admin-nav-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
    color: var(--color-text);
}

.admin-nav-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.admin-nav-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.admin-nav-card--primary {
    background: var(--color-primary);
    color: white;
}

.admin-nav-card--primary h3,
.admin-nav-card--primary p {
    color: white;
}

.admin-nav-card--primary p {
    opacity: 0.9;
}

.admin-nav-card--primary:hover {
    background: var(--color-primary-light);
    color: white;
}

.admin-section {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.admin-section h3 {
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border);
}

.admin-table-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.admin-table th {
    background: var(--color-bg);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table tbody tr:hover {
    background: var(--color-bg);
}

.admin-table .row--inactive,
.admin-table .row--excluded {
    opacity: 0.6;
}

.actions-cell {
    white-space: nowrap;
}

.actions-cell form {
    margin-right: 0.5rem;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge--active,
.status-badge--include,
.status-badge--ready,
.status-badge--sent {
    background: #c6f6d5;
    color: #276749;
}

.status-badge--inactive,
.status-badge--exclude,
.status-badge--failed {
    background: #fed7d7;
    color: #c53030;
}

.status-badge--pending,
.status-badge--draft,
.status-badge--generating {
    background: #fefcbf;
    color: #975a16;
}

.status-badge--processed {
    background: #e2e8f0;
    color: #4a5568;
}

.nav-link--admin {
    color: var(--color-primary-light);
    font-weight: 600;
}

/* Digest Actions */
.digest-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.digest-action-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.digest-action-card h3 {
    margin: 0 0 0.5rem 0;
}

.digest-action-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.digest-action-card--breaking {
    border: 2px solid var(--color-error);
    background: #fff5f5;
}

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

.pending-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
}

.pending-list li:last-child {
    border-bottom: none;
}

.pending-list__meta {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 0.25rem;
}

.empty-message {
    color: var(--color-text-light);
    font-style: italic;
}

/* Breaking News Section */
.breaking-news-section {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border: 2px solid var(--color-error);
}

.breaking-news-section h3 {
    color: var(--color-error);
}

.section-description {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-md);
}

.section-description p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.section-description p:first-child {
    margin-top: 0;
}

.section-description p:last-child {
    margin-bottom: 0;
}

.breaking-news-form textarea {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-family: var(--font-sans);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    resize: vertical;
    min-height: 150px;
}

.breaking-news-form textarea:focus {
    outline: none;
    border-color: var(--color-error);
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.2);
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.action-description {
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
}

.action-description p {
    margin: 0.5rem 0;
}

.action-description p:first-child {
    margin-top: 0;
}

.action-description p:last-child {
    margin-bottom: 0;
}

.section-note {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.section-note a {
    font-weight: 500;
}

/* Home Page */
.home {
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 2rem 0 3rem;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 3rem;
}

.hero__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 700;
    font-style: normal;
    color: var(--color-primary);
    margin: 0 0 0.5rem 0;
}

.hero__subtitle {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    font-style: italic;
    color: var(--color-text);
    margin: 0 0 2rem 0;
}

.hero__intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.hero__intro p {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.hero__benefits {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    color: var(--color-text);
    line-height: 1.7;
    margin: 1.5rem 0 0 1.5rem;
    padding: 0;
}

.hero__benefits li {
    margin-bottom: 0.5rem;
}

/* Two Column Layout */
.home-columns {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
}

.home-column--main {
    min-width: 0;
}

.home-column--sidebar {
    min-width: 0;
}

.home-column--sidebar .auth-card {
    margin-bottom: 1.5rem;
}

.home-column--sidebar .auth-card:last-child {
    margin-bottom: 0;
}

/* Report Section */
.report-section {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.report-section__header {
    font-family: 'Montserrat', sans-serif;
    font-size: 34px;
    font-weight: 700;
    font-style: normal;
    color: var(--color-primary);
    margin: 0 0 1.5rem 0;
}

.report-meta {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.report-meta__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 0.5rem 0;
}

.report-meta__date {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin: 0;
}

/* Podcast Section */
.podcast-section {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.podcast-section__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 1rem 0;
}

.podcast-section__player {
    width: 100%;
    margin-bottom: 0.5rem;
}

.podcast-section__duration {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* Report Content */
.report-content {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
}

.report-content h1,
.report-content h2,
.report-content h3,
.report-content h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--color-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.report-content p {
    margin-bottom: 1rem;
}

.report-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.report-footer__meta {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* Archive Banner */
.archive-banner {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--radius-lg);
    color: white;
}

.archive-banner h3 {
    font-family: 'Montserrat', sans-serif;
    color: white;
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
}

.archive-banner p {
    font-family: 'Merriweather', Georgia, serif;
    margin: 0;
    opacity: 0.95;
    font-size: 1rem;
    line-height: 1.6;
}

/* Spam Notice */
.spam-notice {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 0.8rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 2rem;
    color: var(--color-text-light);
}

.empty-state h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.empty-state p {
    font-family: 'Merriweather', Georgia, serif;
    margin: 0;
}

/* Responsive Home Page */
@media (max-width: 900px) {
    .home-columns {
        grid-template-columns: 1fr;
    }

    .home-column--sidebar {
        order: -1;
    }

    .hero__title {
        font-size: 32px;
    }

    .hero__subtitle {
        font-size: 18px;
    }

    .hero__intro p,
    .hero__benefits {
        font-size: 16px;
    }

    .report-section__header {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 1.5rem 0 2rem;
    }

    .hero__title {
        font-size: 28px;
    }

    .hero__subtitle {
        font-size: 16px;
    }

    .report-section {
        padding: 1.5rem;
    }

    .report-section__header {
        font-size: 24px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-left {
        max-width: 100%;
    }

    .footer-right {
        text-align: left;
    }
}

@media (max-width: 600px) {
    .site-header {
        padding: 0.75rem 0;
    }

    .header-content {
        flex-direction: column;
        align-items: center;
    }

    .main-nav {
        width: 100%;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .auth-card,
    .digest-article {
        padding: 1.5rem;
    }

    .footer-links a {
        display: block;
        margin-bottom: 0.5rem;
    }

    .footer-links .separator {
        display: none;
    }
}

/* TL;DR Card */
.tldr-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.tldr-card__title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    margin: 0 0 1rem 0;
    color: white;
}

.tldr-card__list {
    margin: 0;
    padding: 0 0 0 1.25rem;
    list-style-type: disc;
}

.tldr-card__list li {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Shareable Snippets */
.shareable-snippets {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.shareable-snippets__title {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--color-primary);
}

.shareable-snippets__subtitle {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

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

.snippet-card {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.snippet-card:hover {
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow-sm);
}

.snippet-card__text {
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    color: var(--color-text);
}

.snippet-card__actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.snippet-card__actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
}

.snippet-card__actions .btn svg {
    flex-shrink: 0;
}

/* Saved Insights Button */
.save-insight-btn {
    color: var(--color-primary-light);
    background: transparent;
    border: 1px solid var(--color-primary-light);
}

.save-insight-btn:hover {
    background: var(--color-primary-light);
    color: white;
}

.save-insight-btn.saved {
    background: var(--color-success);
    border-color: var(--color-success);
    color: white;
}

/* Responsive Snippets */
@media (max-width: 600px) {
    .shareable-snippets__grid {
        grid-template-columns: 1fr;
    }

    .snippet-card__actions {
        flex-direction: column;
    }

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

/* ==========================================================================
   Modal Component
   ========================================================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal--open {
    display: flex;
}

.modal__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 51, 57, 0.6);
    cursor: pointer;
}

.modal__content {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1001;
}

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.modal__header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--color-text);
}

.modal__close {
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--color-text-light);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color var(--transition);
}

.modal__close:hover {
    color: var(--color-text);
}

.modal__content form {
    padding: 1.5rem;
}

.modal__actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

/* Snippet Selector for Share Modal */
.snippet-selector {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.snippet-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background var(--transition);
}

.snippet-checkbox:hover {
    background: var(--color-cloud);
}

.snippet-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.snippet-checkbox__text {
    font-size: 0.9rem;
    color: var(--color-text);
    line-height: 1.5;
}

/* Share Success Page */
.share-success {
    text-align: center;
    padding: 2rem;
}

.share-success__icon {
    width: 80px;
    height: 80px;
    background: var(--color-success-light);
    color: var(--color-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.share-success__icon svg {
    width: 40px;
    height: 40px;
}

.share-success h2 {
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.share-success p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.share-url-box {
    background: var(--color-bg);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    word-break: break-all;
}

.share-url-box code {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--color-primary);
}

.share-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.empty-state h3 {
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--color-text-light);
}

/* Notification Settings */
.notification-settings {
    max-width: 600px;
    margin: 0 auto;
}

.notification-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.notification-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.notification-card__header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notification-card__header h3 svg {
    color: var(--color-primary);
}

.notification-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch__slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-silver);
    transition: var(--transition);
    border-radius: 26px;
}

.toggle-switch__slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-switch__slider {
    background-color: var(--color-primary);
}

.toggle-switch input:checked + .toggle-switch__slider:before {
    transform: translateX(24px);
}

/* Frequency Options */
.frequency-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.frequency-option {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.75rem;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    font-size: 0.9rem;
}

.frequency-option:hover {
    background: var(--color-cloud);
}

.frequency-option input[type="radio"] {
    cursor: pointer;
}

.frequency-option input[type="radio"]:checked ~ span {
    color: var(--color-primary);
    font-weight: 500;
}

/* ==========================================================================
   NEW DASHBOARD DESIGN SYSTEM
   ========================================================================== */

/* Icon Component */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon svg {
    width: 1em;
    height: 1em;
}

.icon--sm svg { width: 16px; height: 16px; }
.icon--md svg { width: 20px; height: 20px; }
.icon--lg svg { width: 24px; height: 24px; }
.icon--xl svg { width: 32px; height: 32px; }

/* Dashboard Layout */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
    background-color: #F5F6F8;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Dashboard Sidebar (Admin) */
.dashboard-sidebar {
    width: 240px;
    background-color: var(--color-white);
    border-right: 1px solid var(--color-cloud);
    min-height: calc(100vh - 60px);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 12px;
    flex: 1;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-slate);
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    transition: all 0.2s;
}

.sidebar-nav-item:hover {
    background-color: #F5F6F8;
    color: var(--color-charcoal);
}

.sidebar-nav-item.active {
    background-color: rgba(59, 89, 152, 0.08);
    color: var(--color-primary);
    font-weight: 600;
}

.sidebar-nav-item .icon {
    font-size: 18px;
    color: inherit;
}

.sidebar-nav-badge {
    margin-left: auto;
    padding: 2px 8px;
    background-color: var(--color-error);
    color: var(--color-white);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.sidebar-quick-actions {
    padding: 20px;
    border-top: 1px solid var(--color-cloud);
    margin-top: auto;
}

.sidebar-quick-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-stone);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

/* Dashboard Main Content */
.dashboard-main {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    max-width: 100%;
}

/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background-color: #1a365d;
    color: var(--color-white);
}

.dashboard-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dashboard-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dashboard-logo-icon {
    font-size: 24px;
    color: var(--color-white);
}

.dashboard-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
}

.dashboard-badge {
    padding: 4px 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.dashboard-tagline {
    font-size: 13px;
    opacity: 0.9;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.dashboard-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dashboard-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
}

/* Tab Navigation (Subscriber) */
.dashboard-tabs {
    display: flex;
    gap: 4px;
    padding: 12px 32px;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-cloud);
}

.dashboard-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-slate);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.dashboard-tab:hover {
    background-color: #F5F6F8;
}

.dashboard-tab.active {
    background-color: rgba(59, 89, 152, 0.08);
    color: var(--color-primary);
    font-weight: 600;
}

.dashboard-tab .icon {
    font-size: 16px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F5F6F8;
    border-radius: 10px;
    color: var(--color-primary);
}

.stat-card-icon .icon svg {
    width: 24px;
    height: 24px;
}

.stat-card-info {
    display: flex;
    flex-direction: column;
}

.stat-card-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-charcoal);
    line-height: 1.2;
}

.stat-card-label {
    font-size: 13px;
    color: var(--color-slate);
    margin-top: 2px;
}

.stat-card-subtext {
    font-size: 11px;
    color: var(--color-stone);
    margin-top: 2px;
}

/* Dashboard Cards */
.dashboard-card {
    background-color: var(--color-white);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}

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

.dashboard-card-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-card-title-group .icon {
    font-size: 20px;
    color: var(--color-primary);
}

.dashboard-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-charcoal);
    margin: 0;
}

.dashboard-card-subtitle {
    font-size: 14px;
    color: var(--color-slate);
    margin: 4px 0 0 0;
}

/* Status Badge */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge--sent {
    background-color: rgba(107, 144, 128, 0.12);
    color: #6B9080;
}

.status-badge--ready {
    background-color: rgba(59, 89, 152, 0.12);
    color: #3B5998;
}

.status-badge--generating {
    background-color: rgba(212, 168, 75, 0.12);
    color: #D4A84B;
}

.status-badge--failed {
    background-color: rgba(217, 83, 79, 0.12);
    color: #D9534F;
}

/* TL;DR Card - New Style */
.tldr-card-new {
    background: linear-gradient(135deg, #1a365d 0%, #2d4a7c 100%);
    border-radius: 16px;
    padding: 24px;
    color: var(--color-white);
}

.tldr-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.tldr-card-header .icon {
    font-size: 24px;
    color: var(--color-white);
}

.tldr-card-header h2 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    color: var(--color-white);
}

.tldr-bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tldr-bullet {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 14px 18px;
    border-radius: 10px;
}

.tldr-bullet-text {
    font-size: 15px;
    font-weight: 500;
}

.tldr-bullet-action {
    background: none;
    border: none;
    color: var(--color-white);
    opacity: 0.7;
    cursor: pointer;
    transition: opacity 0.2s;
}

.tldr-bullet-action:hover {
    opacity: 1;
}

.tldr-date {
    margin-top: 16px;
    font-size: 13px;
    opacity: 0.7;
}

/* Audio Player Card */
.audio-card {
    background-color: var(--color-white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.audio-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.audio-card-header .icon {
    font-size: 32px;
    color: var(--color-primary);
}

.audio-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-charcoal);
    margin: 0;
}

.audio-card-subtitle {
    font-size: 13px;
    color: var(--color-slate);
    margin: 4px 0 0 0;
}

.audio-player-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.audio-play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--color-primary);
    border: none;
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.audio-play-btn:hover {
    background-color: var(--color-primary-hover);
}

.audio-play-btn .icon svg {
    width: 24px;
    height: 24px;
}

.audio-progress-container {
    flex: 1;
}

.audio-progress-bar {
    height: 8px;
    background-color: var(--color-cloud);
    border-radius: 4px;
    overflow: hidden;
}

.audio-progress-fill {
    height: 100%;
    background-color: var(--color-primary);
    border-radius: 4px;
    transition: width 0.3s;
}

.audio-progress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 12px;
    color: var(--color-slate);
}

.audio-speed-control {
    padding: 6px 12px;
    background-color: #F5F6F8;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-slate);
}

.audio-actions {
    display: flex;
    gap: 8px;
}

.audio-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: #F5F6F8;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    color: var(--color-slate);
    cursor: pointer;
    transition: background-color 0.2s;
}

.audio-action-btn:hover {
    background-color: var(--color-cloud);
}

.audio-action-btn .icon svg {
    width: 16px;
    height: 16px;
}

/* Smart Snippets Grid */
.snippets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.snippet-card-new {
    padding: 20px;
    background-color: #F8F9FA;
    border-radius: 12px;
    border: 1px solid var(--color-cloud);
}

.snippet-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.snippet-card-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-slate);
}

.snippet-card-label .icon {
    font-size: 16px;
}

.snippet-card-text {
    font-size: 14px;
    color: var(--color-charcoal);
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.snippet-copy-btn {
    width: 100%;
    padding: 10px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s;
}

.snippet-copy-btn:hover {
    background-color: var(--color-primary-hover);
}

.snippet-copy-btn.copied {
    background-color: var(--color-success);
}

.snippet-copy-btn .icon svg {
    width: 16px;
    height: 16px;
}

/* Metrics Row */
.metrics-row {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #F8F9FA;
    border-radius: 12px;
    margin-bottom: 20px;
}

.metric-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.metric-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-charcoal);
}

.metric-label {
    font-size: 12px;
    color: var(--color-slate);
    margin-top: 4px;
}

.metric-percent {
    font-size: 11px;
    color: var(--color-success);
    margin-top: 2px;
}

.metric-divider {
    width: 1px;
    height: 40px;
    background-color: var(--color-cloud);
}

/* Queue List */
.queue-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.queue-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background-color: #F8F9FA;
    border-radius: 8px;
}

.queue-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.queue-item-from {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-charcoal);
}

.queue-item-subject {
    font-size: 12px;
    color: var(--color-slate);
}

.queue-item-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.queue-item-time {
    font-size: 11px;
    color: var(--color-stone);
}

.queue-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.queue-badge--included {
    background-color: rgba(107, 144, 128, 0.12);
    color: #6B9080;
}

.queue-badge--excluded {
    background-color: rgba(217, 83, 79, 0.12);
    color: #D9534F;
}

/* Subscriber List */
.subscriber-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.subscriber-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background-color: #F8F9FA;
    border-radius: 8px;
}

.subscriber-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.subscriber-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.subscriber-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-charcoal);
}

.subscriber-detail {
    font-size: 12px;
    color: var(--color-slate);
}

.subscriber-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.subscriber-joined {
    font-size: 11px;
    color: var(--color-stone);
}

.subscriber-notifs {
    display: flex;
    gap: 4px;
}

.subscriber-notifs .icon {
    font-size: 14px;
    color: var(--color-slate);
}

/* View All Link */
.view-all-link {
    background: none;
    border: none;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.view-all-link:hover {
    text-decoration: underline;
}

/* Bottom Grid */
.bottom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

/* Stats Banner */
.stats-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 20px;
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.stats-banner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stats-banner-value {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-charcoal);
}

.stats-banner-value .icon {
    font-size: 18px;
    color: var(--color-primary);
}

.stats-banner-label {
    font-size: 12px;
    color: var(--color-slate);
}

.stats-banner-divider {
    width: 1px;
    height: 40px;
    background-color: var(--color-cloud);
}

/* Breaking News Button */
.breaking-news-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--color-error);
    color: var(--color-white);
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.breaking-news-btn:hover {
    background-color: #c0504c;
}

.breaking-news-btn .icon {
    font-size: 16px;
}

/* Streak Badge */
.streak-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: var(--color-warning-light);
    color: #856404;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.streak-badge .icon {
    font-size: 16px;
}

/* Greeting Section */
.greeting-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.greeting-text h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-charcoal);
    margin: 0;
}

.greeting-text p {
    font-size: 16px;
    color: var(--color-slate);
    margin: 4px 0 0 0;
}

/* Top Section Grid */
.top-section-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

@media (max-width: 900px) {
    .top-section-grid {
        grid-template-columns: 1fr;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-tabs {
        padding: 12px 16px;
        overflow-x: auto;
    }

    .dashboard-main {
        padding: 16px;
    }

    .greeting-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ========================================
   AUTH PAGE STYLES - SPLIT SCREEN
   ======================================== */

.auth-split {
    display: flex;
    min-height: 100vh;
}

/* Left Side - Features */
.auth-split__left {
    flex: 1;
    background: var(--color-primary);
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-split__content {
    max-width: 480px;
}

.auth-split__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
}

.auth-split__logo-img {
    width: 48px;
    height: 48px;
}

.auth-split__logo-text {
    color: white;
    font-size: 24px;
    font-weight: 600;
    font-family: var(--font-heading);
}

.auth-split__title {
    font-size: 42px;
    font-weight: 700;
    color: white;
    line-height: 1.15;
    margin: 0 0 24px 0;
    font-family: var(--font-heading);
}

.auth-split__subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0 0 40px 0;
}

.auth-split__features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.auth-split__feature {
    display: flex;
    gap: 16px;
    color: white;
}

.auth-split__feature strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.auth-split__feature p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

.auth-split__feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.auth-split__feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

/* Provider Badge */
.auth-split__provider {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.auth-split__provided-by {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
}

.auth-split__provider-info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.auth-split__provider-info strong {
    display: block;
    font-size: 15px;
}

.auth-split__provider-info span {
    font-size: 13px;
    opacity: 0.8;
}

.auth-split__provider-avatar {
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

/* Right Side - Login */
.auth-split__right {
    width: 520px;
    background: var(--color-cloud);
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.auth-card__title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-charcoal);
    margin: 0 0 8px 0;
    font-family: var(--font-heading);
}

.auth-card__subtitle {
    font-size: 15px;
    color: var(--color-slate);
    margin: 0 0 24px 0;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    background: var(--color-cloud);
    border-radius: var(--radius-md);
    padding: 4px;
    margin-bottom: 24px;
}

.auth-tab {
    flex: 1;
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-ui);
    color: var(--color-slate);
    cursor: pointer;
    transition: var(--transition-fast);
}

.auth-tab:hover {
    color: var(--color-charcoal);
}

.auth-tab.active {
    background: white;
    color: var(--color-charcoal);
    box-shadow: var(--shadow-sm);
}

/* Auth Tab Content */
.auth-tab-content {
    display: none;
}

.auth-tab-content.active {
    display: block;
}

/* Auth Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.auth-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-form label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-charcoal);
}

.auth-form input {
    padding: 12px 16px;
    border: 1px solid var(--color-silver);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-family: var(--font-body);
    transition: var(--transition-fast);
}

.auth-form input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.auth-form input::placeholder {
    color: var(--color-stone);
}

/* Auth Hint */
.auth-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-stone);
    margin-top: 12px;
}

.auth-hint svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.auth-hint--small {
    font-size: 13px;
    text-align: center;
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: var(--color-stone);
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-cloud);
}

.auth-divider span {
    padding: 0 16px;
}

/* Auth Subscribe Section */
.auth-subscribe {
    text-align: center;
}

.auth-subscribe p {
    font-size: 14px;
    color: var(--color-slate);
    margin: 0 0 12px 0;
}

/* Auth Back Link */
.auth-back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--color-primary);
    font-size: 14px;
    font-family: var(--font-ui);
    cursor: pointer;
    margin-top: 16px;
    padding: 8px;
}

.auth-back-link svg {
    width: 16px;
    height: 16px;
}

.auth-back-link:hover {
    text-decoration: underline;
}

/* Auth Footer */
.auth-footer {
    font-size: 13px;
    color: var(--color-stone);
    text-align: center;
    margin-top: 24px;
}

/* Auth Responsive */
@media (max-width: 1024px) {
    .auth-split {
        flex-direction: column;
    }

    .auth-split__left {
        padding: 48px 24px;
    }

    .auth-split__title {
        font-size: 32px;
    }

    .auth-split__right {
        width: 100%;
        padding: 32px 24px;
    }
}

@media (max-width: 768px) {
    .auth-split__left {
        padding: 32px 20px;
    }

    .auth-split__title {
        font-size: 28px;
    }

    .auth-split__subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .auth-split__features {
        gap: 16px;
        margin-bottom: 32px;
    }

    .auth-split__feature-icon {
        width: 40px;
        height: 40px;
    }

    .auth-split__feature-icon svg {
        width: 20px;
        height: 20px;
    }

    .auth-split__right {
        padding: 24px 20px;
    }

    .auth-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .auth-split__logo {
        margin-bottom: 32px;
    }

    .auth-split__title {
        font-size: 24px;
    }

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

/* ========================================
   DASHBOARD REDESIGN STYLES
   ======================================== */

.dashboard-redesign {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px 32px;
}

/* Dashboard Header - Redesign Override */
.dashboard-redesign .dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    padding: 0;
    background: none;
    color: inherit;
}

.dashboard-greeting__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-charcoal);
    margin: 0 0 8px 0;
    font-family: var(--font-heading);
}

.dashboard-greeting__subtitle {
    font-size: 16px;
    color: var(--color-slate);
    margin: 0;
}

/* Streak Badge */
.streak-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-warning-light);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-warning);
}

.streak-badge__icon {
    font-size: 16px;
}

.streak-badge__text {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-charcoal);
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
}

.dashboard-column--main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dashboard-column--sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Dashboard Card */
.dashboard-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.dashboard-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.dashboard-card__title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-card__title-group svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-primary);
}

.dashboard-card__title-group h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-charcoal);
    margin: 0;
    font-family: var(--font-heading);
}

.dashboard-card__link {
    font-size: 14px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.dashboard-card__link:hover {
    text-decoration: underline;
}

.dashboard-card__empty {
    color: var(--color-slate);
    font-size: 14px;
    margin: 0;
}

/* ========================================
   MLO: RATES CARD
   ======================================== */

.rates-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.rates-card__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-charcoal);
    margin: 0 0 16px 0;
    font-family: var(--font-heading);
}

.rates-card__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.rates-card__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rates-card__label {
    font-size: 13px;
    color: var(--color-stone);
}

.rates-card__value {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-charcoal);
    font-family: var(--font-heading);
}

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

.rates-card__trend-arrow {
    font-weight: 600;
    font-size: 14px;
}

.rates-card__trend-arrow--down {
    color: var(--color-sage);
}

.rates-card__trend-arrow--up {
    color: var(--color-accent);
}

.rates-card__trend-value {
    font-weight: 600;
    font-size: 14px;
    color: var(--color-sage);
}

.rates-card__trend-label {
    font-size: 13px;
    color: var(--color-stone);
}

.rates-card__cta {
    font-size: 14px;
    color: var(--color-slate);
    margin: 0;
    line-height: 1.5;
}

.rates-card__link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.rates-card__link:hover {
    text-decoration: underline;
}

/* ========================================
   BROKER: MARKET PULSE CARD
   ======================================== */

.pulse-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

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

.pulse-card__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-charcoal);
    margin: 0;
    font-family: var(--font-heading);
}

.pulse-card__title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pulse-card__title-group svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-primary);
}

.pulse-card__title-group h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-charcoal);
    margin: 0;
    font-family: var(--font-heading);
}

.pulse-card__update {
    font-size: 12px;
    color: var(--color-stone);
}

/* Pulse Gauge */
.pulse-gauge {
    margin-bottom: 20px;
}

.pulse-gauge__track {
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(to right, var(--color-primary) 0%, var(--color-warning) 50%, var(--color-accent) 100%);
    position: relative;
    margin-bottom: 8px;
}

.pulse-gauge__indicator {
    position: absolute;
    top: -4px;
    width: 20px;
    height: 20px;
    background-color: var(--color-white);
    border-radius: 50%;
    border: 3px solid var(--color-charcoal);
    transform: translateX(-50%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pulse-gauge__labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--color-stone);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pulse-gauge__reading {
    text-align: center;
    margin-top: 12px;
}

.pulse-gauge__value {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-charcoal);
    font-family: var(--font-heading);
}

.pulse-gauge__subtext {
    font-size: 12px;
    color: var(--color-stone);
}

/* Pulse Indicators */
.pulse-indicators {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.pulse-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background-color: var(--color-cloud);
    border-radius: var(--radius-sm);
}

.pulse-indicator__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.pulse-indicator__dot--seller {
    background-color: var(--color-accent);
}

.pulse-indicator__dot--buyer {
    background-color: var(--color-primary);
}

.pulse-indicator__dot--balanced {
    background-color: var(--color-warning);
}

.pulse-indicator__label {
    font-size: 12px;
    color: var(--color-slate);
}

/* Pulse Legend */
.pulse-legend {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--color-cloud);
}

.pulse-legend__item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--color-slate);
}

.pulse-legend__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.pulse-legend__dot--buyer {
    background-color: var(--color-primary);
}

.pulse-legend__dot--balanced {
    background-color: var(--color-warning);
}

.pulse-legend__dot--seller {
    background-color: var(--color-accent);
}

/* ========================================
   INTEL CARD (Today's Digest)
   ======================================== */

.intel-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.intel-card--empty {
    text-align: center;
    padding: 48px 24px;
}

.intel-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.intel-card__label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-success);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.intel-card__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-success);
}

.intel-card__date {
    font-size: 14px;
    color: var(--color-stone);
}

.intel-card__title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-charcoal);
    margin: 0 0 20px 0;
    line-height: 1.3;
    font-family: var(--font-heading);
}

.intel-card__actions {
    display: flex;
    gap: 12px;
}

/* Intel Player */
.intel-player {
    background: var(--color-primary-light);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 24px;
}

.intel-player__info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.intel-player__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.intel-player__icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-white);
}

.intel-player__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-charcoal);
}

.intel-player__meta {
    font-size: 14px;
    color: var(--color-slate);
    margin-top: 2px;
}

.intel-player__audio {
    width: 100%;
    height: 40px;
}

/* Intel Highlights */
.intel-highlights {
    margin-bottom: 24px;
}

.intel-highlights__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-slate);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.intel-highlights__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.intel-highlights__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--color-charcoal);
    line-height: 1.5;
}

.intel-highlights__bullet {
    color: var(--color-accent);
    font-weight: 600;
}

/* Empty State */
.empty-state__icon {
    width: 64px;
    height: 64px;
    background: var(--color-cloud);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.empty-state__icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--color-stone);
}

.empty-state__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-charcoal);
    margin: 0 0 8px 0;
    font-family: var(--font-heading);
}

.empty-state__text {
    font-size: 15px;
    color: var(--color-slate);
    line-height: 1.6;
    margin: 0 0 24px 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Digest List */
.digest-list {
    display: flex;
    flex-direction: column;
}

.digest-list__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-cloud);
    text-decoration: none;
    transition: var(--transition-fast);
}

.digest-list__item:last-child {
    border-bottom: none;
}

.digest-list__item:hover {
    background: var(--color-cloud);
    margin: 0 -24px;
    padding: 16px 24px;
    border-radius: var(--radius-md);
}

.digest-list__info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.digest-list__date {
    font-size: 13px;
    color: var(--color-stone);
    width: 50px;
}

.digest-list__title {
    font-size: 15px;
    color: var(--color-charcoal);
}

.digest-list__badge {
    color: var(--color-success);
    display: flex;
}

.digest-list__badge svg {
    width: 16px;
    height: 16px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stats-grid__item {
    text-align: center;
}

.stats-grid__value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-charcoal);
    font-family: var(--font-heading);
}

.stats-grid__label {
    font-size: 12px;
    color: var(--color-stone);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background-color: var(--color-cloud);
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--color-charcoal);
    cursor: pointer;
    font-family: var(--font-ui);
    text-align: left;
    text-decoration: none;
    transition: var(--transition-fast);
}

.quick-action:hover {
    background-color: var(--color-silver);
}

.quick-action svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-slate);
}

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

    .dashboard-column--sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .dashboard-redesign {
        padding: 16px;
    }

    .dashboard-header {
        flex-direction: column;
        gap: 16px;
    }

    .dashboard-column--sidebar {
        grid-template-columns: 1fr;
    }

    .rates-card__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pulse-indicators {
        grid-template-columns: 1fr;
    }

    .intel-card__actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .dashboard-greeting__title {
        font-size: 22px;
    }

    .intel-card__title {
        font-size: 20px;
    }

    .pulse-legend {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}

/* ==========================================================================
   Landing Page
   ========================================================================== */

.landing-page {
    background: var(--color-white);
    min-height: 100vh;
}

/* Landing Navigation */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 24px;
    background: transparent;
    transition: all var(--transition-base);
}

.landing-nav--scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.landing-nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landing-nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.landing-nav__logo-img {
    width: 36px;
    height: 36px;
}

.landing-nav__logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-charcoal);
}

.landing-nav__links {
    display: flex;
    gap: 32px;
}

.landing-nav__link {
    color: var(--color-slate);
    font-size: 15px;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.landing-nav__link:hover {
    color: var(--color-primary);
}

.landing-nav__right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Landing Hero */
.landing-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    padding: 100px 24px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.landing-hero__content {
    flex: 1;
    max-width: 560px;
}

.landing-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.landing-hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.landing-hero__title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-charcoal);
    margin-bottom: 24px;
}

.landing-hero__title-accent {
    color: var(--color-primary);
}

.landing-hero__subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-slate);
    margin-bottom: 32px;
}

.landing-hero__ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.landing-hero__ctas .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.landing-hero__ctas .btn svg {
    width: 18px;
    height: 18px;
}

.landing-hero__note {
    font-size: 14px;
    color: var(--color-stone);
    margin-bottom: 0;
}

/* Hero Visual */
.landing-hero__visual {
    position: relative;
    flex-shrink: 0;
    perspective: 1000px;
}

.landing-mockup {
    width: 280px;
    border-radius: 40px;
    background: #1a1a1a;
    padding: 12px;
    box-shadow: var(--shadow-xl), 0 30px 60px rgba(0, 0, 0, 0.3), inset 0 0 0 2px #333;
    position: relative;
    transform: rotateY(-12deg) rotateX(5deg);
    transform-style: preserve-3d;
}

/* Phone frame details */
.landing-mockup::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

/* Camera dot in notch */
.landing-mockup::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #333;
    border-radius: 50%;
    z-index: 11;
}

.landing-mockup__screen {
    background: var(--color-white);
    border-radius: 32px;
    padding: 16px;
    padding-top: 40px;
    min-height: 540px;
    position: relative;
    overflow: hidden;
}

/* Status bar */
.landing-mockup__status-bar {
    position: absolute;
    top: 12px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-charcoal);
    z-index: 5;
}

.landing-mockup__status-left {
    font-weight: 600;
}

.landing-mockup__status-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

.landing-mockup__status-right svg {
    width: 16px;
    height: 16px;
}

.landing-mockup__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 12px;
    color: var(--color-slate);
    padding-top: 8px;
}

.landing-mockup__time {
    font-weight: 600;
    font-size: 13px;
    color: var(--color-charcoal);
}

.landing-mockup__notification {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--color-cloud);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
}

.landing-mockup__notif-icon {
    width: 36px;
    height: 36px;
    background: var(--color-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.landing-mockup__notif-icon img {
    width: 20px;
    height: 20px;
}

.landing-mockup__notif-content {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    min-width: 0;
}

.landing-mockup__notif-content strong {
    color: var(--color-charcoal);
    font-weight: 600;
    font-size: 12px;
}

.landing-mockup__notif-content span {
    color: var(--color-slate);
    font-size: 11px;
}

.landing-mockup__digest {
    padding: 14px;
    background: var(--color-cloud);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
}

.landing-mockup__digest h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: 10px;
    line-height: 1.3;
}

.landing-mockup__player {
    display: flex;
    align-items: center;
    gap: 10px;
}

.landing-mockup__play-btn {
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.landing-mockup__play-btn svg {
    width: 14px;
    height: 14px;
    stroke: white;
}

.landing-mockup__wave {
    flex: 1;
    height: 20px;
    background: linear-gradient(90deg,
        var(--color-primary) 0%, var(--color-primary) 2%,
        transparent 2%, transparent 4%,
        var(--color-primary) 4%, var(--color-primary) 6%,
        transparent 6%, transparent 8%,
        var(--color-primary) 8%, var(--color-primary) 12%,
        transparent 12%, transparent 14%,
        var(--color-primary) 14%, var(--color-primary) 20%,
        transparent 20%, transparent 22%,
        var(--color-primary) 22%, var(--color-primary) 24%,
        transparent 24%
    );
    background-size: 100% 100%;
    border-radius: 4px;
    opacity: 0.4;
}

.landing-mockup__player span {
    font-size: 11px;
    color: var(--color-slate);
    font-weight: 500;
}

/* Home indicator bar */
.landing-mockup__home-bar {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--color-charcoal);
    border-radius: 4px;
    opacity: 0.3;
}

/* Floating badges */
.landing-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-white);
    padding: 10px 16px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-charcoal);
    white-space: nowrap;
}

.landing-float svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-primary);
}

.landing-float--1 {
    top: 80px;
    right: -50px;
    animation: float 3s ease-in-out infinite;
}

.landing-float--2 {
    bottom: 140px;
    left: -60px;
    animation: float 3s ease-in-out infinite 0.5s;
}

.landing-float--3 {
    bottom: 40px;
    right: -30px;
    animation: float 3s ease-in-out infinite 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Pain Point Section */
.landing-pain {
    background: var(--color-cloud);
    padding: 100px 24px;
}

.landing-pain__content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.landing-pain__title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: 48px;
}

.landing-pain__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.landing-pain__card {
    background: var(--color-white);
    padding: 32px 24px;
    border-radius: var(--radius-xl);
    text-align: center;
}

.landing-pain__emoji {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--color-primary-light);
    border-radius: 16px;
    margin: 0 auto 16px;
}

.landing-pain__emoji svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-primary);
}

.landing-pain__card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: 8px;
}

.landing-pain__card p {
    font-size: 15px;
    color: var(--color-slate);
    margin-bottom: 0;
    line-height: 1.5;
}

.landing-pain__punch {
    font-size: 1.25rem;
    color: var(--color-slate);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

/* Section Labels */
.landing-section-label {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.landing-section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: 48px;
    text-align: center;
}

/* Features Section */
.landing-features {
    padding: 100px 24px;
    background: var(--color-white);
}

.landing-features__content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.landing-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.landing-feature-card {
    background: var(--color-cloud);
    padding: 32px 24px;
    border-radius: var(--radius-xl);
    text-align: left;
}

.landing-feature-card__icon {
    width: 56px;
    height: 56px;
    background: var(--color-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.landing-feature-card__icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

.landing-feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: 12px;
}

.landing-feature-card p {
    font-size: 15px;
    color: var(--color-slate);
    line-height: 1.6;
    margin-bottom: 16px;
}

.landing-feature-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.landing-feature-card__list li {
    font-size: 14px;
    color: var(--color-charcoal);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.landing-feature-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
}

/* How It Works */
.landing-how {
    padding: 100px 24px;
    background: var(--color-cloud);
}

.landing-how__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.landing-how__steps {
    text-align: left;
}

.landing-how__step {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
}

.landing-how__step:last-child {
    margin-bottom: 0;
}

.landing-how__step-number {
    width: 56px;
    height: 56px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.landing-how__step-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: 8px;
}

.landing-how__step-content p {
    font-size: 15px;
    color: var(--color-slate);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Sample Section */
.landing-sample {
    padding: 100px 24px;
    background: var(--color-white);
}

.landing-sample__content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.landing-sample__card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    text-align: left;
}

.landing-sample__header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--color-primary);
    color: white;
}

.landing-sample__date {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.landing-sample__day {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.landing-sample__month {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.landing-sample__meta h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.landing-sample__meta span {
    font-size: 13px;
    opacity: 0.8;
}

.landing-sample__body {
    padding: 24px;
}

.landing-sample__pulse {
    background: var(--color-cloud);
    padding: 20px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

.landing-sample__pulse-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-slate);
    margin-bottom: 12px;
}

.landing-sample__gauge-track {
    height: 10px;
    background: linear-gradient(90deg,
        #6B9080 0%,
        #6B9080 33%,
        var(--color-stone) 33%,
        var(--color-stone) 66%,
        var(--color-accent) 66%,
        var(--color-accent) 100%
    );
    border-radius: var(--radius-full);
    position: relative;
    margin-bottom: 8px;
}

.landing-sample__gauge-indicator {
    position: absolute;
    top: 50%;
    left: 62%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    background: var(--color-charcoal);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.landing-sample__gauge-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--color-stone);
}

.landing-sample__pulse-reading {
    font-weight: 600;
    color: var(--color-charcoal);
    text-align: center;
    margin-top: 8px;
}

.landing-sample__highlights {
    margin-bottom: 20px;
}

.landing-sample__highlights h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: 12px;
}

.landing-sample__highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.landing-sample__highlights li {
    font-size: 14px;
    color: var(--color-slate);
    padding: 6px 0;
}

.landing-sample__player {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--color-cloud);
    border-radius: var(--radius-lg);
}

.landing-sample__play-btn {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.landing-sample__play-btn:hover {
    transform: scale(1.05);
}

.landing-sample__play-btn svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

.landing-sample__player-info {
    display: flex;
    flex-direction: column;
}

.landing-sample__player-info strong {
    font-size: 14px;
    color: var(--color-charcoal);
}

.landing-sample__player-info span {
    font-size: 13px;
    color: var(--color-slate);
}

/* Social Proof */
.landing-proof {
    padding: 80px 24px;
    background: var(--color-primary);
    color: white;
}

.landing-proof__content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.landing-proof__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 48px;
}

.landing-proof__stats {
    display: flex;
    justify-content: center;
    gap: 64px;
}

.landing-proof__stat {
    text-align: center;
}

.landing-proof__stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.landing-proof__stat-label {
    font-size: 14px;
    opacity: 0.8;
}

/* Final CTA */
.landing-final-cta {
    padding: 100px 24px;
    background: var(--color-white);
}

.landing-final-cta__content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.landing-final-cta__title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: 16px;
}

.landing-final-cta__subtitle {
    font-size: 1.1rem;
    color: var(--color-slate);
    margin-bottom: 32px;
    line-height: 1.6;
}

.landing-final-cta__note {
    font-size: 14px;
    color: var(--color-stone);
    margin-top: 24px;
    margin-bottom: 0;
}

.landing-final-cta__note a {
    color: var(--color-primary);
    font-weight: 500;
}

/* Landing Footer */
.landing-footer {
    background: var(--color-cloud);
    padding: 48px 24px 24px;
}

.landing-footer__content {
    max-width: 1000px;
    margin: 0 auto;
}

.landing-footer__main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--color-silver);
}

.landing-footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.landing-footer__logo img {
    width: 32px;
    height: 32px;
}

.landing-footer__logo span {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-charcoal);
}

.landing-footer__tagline {
    font-size: 14px;
    color: var(--color-slate);
    margin-bottom: 0;
}

.landing-footer__provider {
    text-align: right;
}

.landing-footer__provider-label {
    display: block;
    font-size: 12px;
    color: var(--color-stone);
    margin-bottom: 8px;
}

.landing-footer__provider-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.landing-footer__provider-avatar {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.landing-footer__provider-info strong {
    display: block;
    color: var(--color-charcoal);
    font-weight: 600;
}

.landing-footer__provider-info span {
    display: block;
    font-size: 13px;
    color: var(--color-slate);
}

.landing-footer__contact {
    margin-top: 8px;
}

.landing-footer__contact a {
    color: var(--color-primary);
    font-size: 14px;
}

.landing-footer__bottom {
    text-align: center;
    font-size: 13px;
    color: var(--color-stone);
}

/* Landing Responsive */
@media (max-width: 1024px) {
    .landing-hero {
        flex-direction: column;
        gap: 48px;
        padding-top: 120px;
    }

    .landing-hero__content {
        text-align: center;
        max-width: 600px;
    }

    .landing-hero__ctas {
        justify-content: center;
    }

    .landing-hero__visual {
        order: -1;
    }

    .landing-float--1 {
        top: 60px;
        right: 10px;
    }

    .landing-float--2 {
        left: 20px;
    }

    .landing-float--3 {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .landing-nav__links {
        display: none;
    }

    .landing-hero__title {
        font-size: 2.5rem;
    }

    .landing-pain__grid {
        grid-template-columns: 1fr;
    }

    .landing-features__grid {
        grid-template-columns: 1fr;
    }

    .landing-proof__stats {
        flex-wrap: wrap;
        gap: 32px;
    }

    .landing-proof__stat-number {
        font-size: 2.5rem;
    }

    .landing-footer__main {
        flex-direction: column;
        gap: 24px;
    }

    .landing-footer__provider {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .landing-hero__title {
        font-size: 2rem;
    }

    .landing-hero__ctas {
        flex-direction: column;
    }

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

    .landing-mockup {
        width: 240px;
    }

    .landing-mockup__screen {
        min-height: 460px;
        padding: 12px;
        padding-top: 36px;
    }

    .landing-mockup__status-bar {
        font-size: 10px;
    }

    .landing-mockup__status-right svg {
        width: 12px;
        height: 12px;
    }

    .landing-mockup__header {
        font-size: 10px;
        margin-bottom: 12px;
    }

    .landing-mockup__notification {
        padding: 8px;
        gap: 8px;
    }

    .landing-mockup__notif-icon {
        width: 28px;
        height: 28px;
    }

    .landing-mockup__notif-content strong {
        font-size: 11px;
    }

    .landing-mockup__notif-content span {
        font-size: 10px;
    }

    .landing-mockup__digest {
        padding: 10px;
    }

    .landing-mockup__digest h4 {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .landing-mockup__play-btn {
        width: 26px;
        height: 26px;
    }

    .landing-mockup__play-btn svg {
        width: 12px;
        height: 12px;
    }

    .landing-mockup__player span {
        font-size: 10px;
    }

    .landing-float {
        display: none;
    }

    .landing-section-title {
        font-size: 2rem;
    }

    .landing-how__step {
        flex-direction: column;
        text-align: center;
    }

    .landing-how__step-number {
        margin: 0 auto;
    }

    .landing-sample__header {
        flex-direction: column;
        text-align: center;
    }

    .landing-proof__stats {
        flex-direction: column;
        gap: 24px;
    }
}
