/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-color: #7c3aed;
    --primary-dark: #6d28d9;
    --primary-light: #a78bfa;
    --secondary-color: #c084fc;
    --gradient-start: #3b82f6;
    --accent-color: #00ff88;
    --background: #0a0e1a;
    --surface: #131824;
    --surface-light: #1a2030;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-tertiary: #64748b;
    --border-color: #1e293b;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(124, 58, 237, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* News Banner */
.news-banner {
    background: linear-gradient(135deg, var(--gradient-start), var(--primary-color));
    position: sticky;
    top: 0;
    z-index: 1100;
    padding: 0.6rem 0;
    text-align: center;
}

.news-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.news-banner-badge {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    flex-shrink: 0;
}

.news-banner-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: opacity 0.2s ease;
    min-width: 0;
    overflow: hidden;
}

.news-banner-link-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-banner-link:hover {
    opacity: 0.85;
}

.news-banner-link svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.news-banner-link:hover svg {
    transform: translateX(3px);
}

.news-banner-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0 0.3rem;
    line-height: 1;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.news-banner-close:hover {
    color: #fff;
}

.news-banner.hidden {
    display: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: var(--banner-height, 0px);
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.95);
    box-shadow: var(--shadow-lg);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--primary-color));
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

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

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: rgba(124, 58, 237, 0.1);
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(80px + var(--banner-height, 0px));
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.pulse-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(124, 58, 237, 0.1) 50%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.5rem 1rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 2rem;
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
}

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Section Styles */
section {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 2rem;
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Technology Section */
.technology {
    background: var(--surface);
    position: relative;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.tech-card {
    background: var(--surface-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
}

.tech-icon {
    width: 60px;
    height: 60px;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.tech-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.tech-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Features Section */
.features {
    padding: var(--spacing-2xl) 0;
}

.features-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.features-content {
    max-width: 600px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.feature-item {
    display: flex;
    gap: var(--spacing-md);
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

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

.feature-text h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
}

.feature-text p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Performance Chart */
.performance-chart {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
}

.performance-chart-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.chart-container {
    display: flex;
    gap: 0.5rem;
    height: 260px;
}

.chart-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 28px;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-family: var(--font-primary);
    text-align: right;
    min-width: 28px;
}

.chart-area {
    flex: 1;
    position: relative;
}

.chart-gridlines {
    position: absolute;
    inset: 0;
    bottom: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.gridline {
    height: 1px;
    background: var(--border-color);
}

.chart-groups {
    position: absolute;
    inset: 0;
    bottom: 0;
    display: flex;
    justify-content: space-evenly;
}

.chart-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 220px;
}

.chart-bars {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0 1rem;
}

.bar-wrapper {
    flex: 1;
    max-width: 64px;
    height: 100%;
    position: relative;
}

.bar-value {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    z-index: 3;
}

.bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 4px 4px 0 0;
    transition: height 1s ease-out;
}

.bar-traditional {
    background: linear-gradient(180deg, #67c7ff, #3b9edd);
}

.bar-pulse {
    background: linear-gradient(180deg, #d07af5, #a855f7);
}

.error-bar {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: var(--text-secondary);
    z-index: 2;
    pointer-events: none;
}

.error-bar::before,
.error-bar::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 2px;
    background: var(--text-secondary);
}

.error-bar::before {
    top: 0;
}

.error-bar::after {
    bottom: 0;
}

.chart-group-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    height: 28px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-shrink: 0;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-md);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

.legend-traditional {
    background: linear-gradient(180deg, #67c7ff, #3b9edd);
}

.legend-pulse {
    background: linear-gradient(180deg, #d07af5, #a855f7);
}

.chart-footnote {
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.8rem;
    margin-top: var(--spacing-md);
    font-style: italic;
}

/* Features Visual - 12 Lead ECG Paper */
.features-visual {
    position: relative;
}

.ecg-paper {
    background-color: #faf9f7;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.11) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.11) 1px, transparent 1px),
        linear-gradient(rgba(0, 0, 0, 0.04) 0.5px, transparent 0.5px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.04) 0.5px, transparent 0.5px);
    background-size:
        20px 20px,
        20px 20px,
        4px 4px,
        4px 4px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.06),
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 12px 40px rgba(0, 0, 0, 0.12);
}

/* ── Header ────────────────────────────────────────── */
.ecg-paper-header {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 0;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-family: 'SF Mono', 'Menlo', 'Courier New', monospace;
    font-size: 0.56rem;
    line-height: 1.45;
    color: #444;
}

.ecg-header-left {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.55rem 0.75rem;
    flex: 1;
}

.ecg-header-patient {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.35rem;
}

.ecg-meta {
    color: #888;
    font-size: 0.52rem;
}

.ecg-measures {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 1.1rem;
    margin-bottom: 0.3rem;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.ecg-measures.visible {
    opacity: 1;
}

.ecg-m {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.ecg-m-label {
    color: #999;
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ecg-m-val {
    color: #111;
    font-weight: 700;
    font-size: 0.56rem;
}

.ecg-settings {
    color: #aaa;
    font-size: 0.48rem;
    letter-spacing: 0.02em;
}

/* Analysis panel - right column */
.ecg-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 0.3rem;
    text-align: right;
    flex-shrink: 0;
    padding: 0.55rem 0.75rem;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    opacity: 0;
    transition: opacity 0.8s ease;
}

.ecg-header-right.visible {
    opacity: 1;
}

.ecg-paper-title {
    font-family: 'SF Mono', 'Menlo', 'Courier New', monospace;
    font-size: 0.62rem;
    font-weight: 800;
    color: #111;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ecg-ai-badge {
    background: linear-gradient(135deg, var(--gradient-start), var(--primary-color));
    color: #fff;
    padding: 0.2rem 0.55rem;
    border-radius: 3px;
    font-weight: 700;
    font-family: 'SF Mono', 'Menlo', 'Courier New', monospace;
    font-size: 0.48rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ecg-interp {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.1rem;
}

.ecg-diagnosis-alert {
    color: #d00;
    font-weight: 800;
    font-size: 0.58rem;
    letter-spacing: 0.04em;
}

.ecg-diagnosis-detail {
    color: #b00;
    font-weight: 600;
    font-size: 0.52rem;
    letter-spacing: 0.02em;
}

/* ── 12-lead grid ──────────────────────────────────── */
.ecg-leads-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
}

.ecg-lead-cell {
    position: relative;
    height: 105px;
    overflow: hidden;
}

.ecg-lead-label {
    position: absolute;
    top: 4px;
    left: 6px;
    font-family: 'SF Mono', 'Menlo', 'Courier New', monospace;
    font-size: 0.58rem;
    font-weight: 800;
    color: #555;
    z-index: 2;
    line-height: 1;
}

.ecg-lead-svg,
.ecg-rhythm-svg {
    width: 100%;
    height: 100%;
    display: block;
    clip-path: inset(0 100% 0 0);
}

.ecg-trace-path {
    stroke: #000;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ecg-cal-path {
    stroke: #000;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: square;
    stroke-linejoin: miter;
}

/* ── Rhythm strip ──────────────────────────────────── */
.ecg-rhythm-strip {
    position: relative;
    height: 105px;
    overflow: hidden;
}

.ecg-rhythm-strip .ecg-lead-label {
    top: 4px;
    left: 6px;
}

/* Statement Library Section */
.statement-library {
    padding: var(--spacing-2xl) 0;
}

.sl-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: var(--spacing-xl);
}

.sl-tab {
    padding: 0.5rem 1.15rem;
    border-radius: 2rem;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.sl-tab:hover {
    border-color: var(--primary-color);
    color: var(--text-primary);
}

.sl-tab.active {
    background: rgba(124, 58, 237, 0.15);
    border-color: var(--primary-color);
    color: var(--primary-light);
}

.sl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: var(--spacing-lg);
}

.sl-group {
    background: linear-gradient(135deg, rgba(19, 24, 36, 0.8), rgba(26, 32, 48, 0.6));
    border: 1px solid rgba(124, 58, 237, 0.12);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.sl-group:hover {
    border-color: rgba(124, 58, 237, 0.3);
}

.sl-group.sl-hidden {
    display: none;
}

.sl-group-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.sl-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.sl-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.45rem 0.6rem;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.sl-item:last-child {
    border-bottom: none;
}

.sl-item:hover {
    background: rgba(124, 58, 237, 0.08);
}

.sl-code {
    font-family: 'SF Mono', 'Menlo', 'Courier New', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent-color);
    background: rgba(0, 255, 136, 0.06);
    border: 1px solid rgba(0, 255, 136, 0.1);
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    min-width: 80px;
    text-align: center;
    flex-shrink: 0;
    white-space: nowrap;
}

.sl-name {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Devices Section */
.devices {
    padding: var(--spacing-2xl) 0;
    position: relative;
}

.devices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

.device-card {
    background: var(--surface-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    position: relative;
    overflow: hidden;
}

.device-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--gradient-start));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.device-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
}

.device-card:hover::before {
    opacity: 1;
}

.device-icon {
    width: 72px;
    height: 72px;
    color: var(--primary-color);
    flex-shrink: 0;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: var(--radius-md);
    padding: 14px;
    transition: all 0.3s ease;
}

.device-card:hover .device-icon {
    background: rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.15);
}

.device-content h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-bottom: var(--spacing-xs);
}

.device-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.device-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.device-tag {
    padding: 0.3rem 0.75rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: 2rem;
    font-size: 0.8rem;
    color: var(--primary-light);
    font-weight: 500;
}

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

.image-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.image-placeholder svg {
    width: 100%;
    height: 100%;
}


/* Global Impact Section */
.global-impact {
    padding: var(--spacing-2xl) 0;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.global-impact::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 30% 80%, rgba(124, 58, 237, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.global-impact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.global-impact-content {
    max-width: 580px;
}

.global-impact-text {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    font-size: 1.05rem;
}

.global-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.global-stat {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    text-align: center;
    transition: all 0.3s ease;
}

.global-stat:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.15);
}

.global-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-start), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.global-stat-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.4;
}

.global-impact-globe {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

#globeCanvas {
    display: block;
    width: 100%;
    max-width: 550px;
    aspect-ratio: 1 / 1;
    cursor: grab;
}

#globeCanvas:active {
    cursor: grabbing;
}

.globe-caption {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-tertiary);
    font-size: 0.85rem;
    margin-top: var(--spacing-sm);
}

.globe-caption-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(0, 255, 136, 0.5);
}

@media (max-width: 968px) {
    .global-impact-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .global-impact-globe {
        order: -1;
    }

    #globeCanvas {
        max-width: 350px;
        margin: 0 auto;
    }

    .global-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #globeCanvas {
        max-width: 280px;
        margin: 0 auto;
    }

    .global-stat-number {
        font-size: 1.5rem;
    }
}

/* Contact Section */
.contact {
    padding: var(--spacing-2xl) 0;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.contact-form {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--surface-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.contact-form button[type="submit"] {
    width: 100%;
    margin-top: var(--spacing-md);
}

/* Footer */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-md);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-description {
    color: var(--text-secondary);
    margin-top: var(--spacing-md);
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    color: var(--text-tertiary);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border-color);
        padding: var(--spacing-md) var(--spacing-lg);
        gap: 0;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.875rem 0;
        border-bottom: 1px solid var(--border-color);
        font-size: 1.05rem;
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .nav-links a:not(.btn-primary)::after {
        display: none;
    }

    .nav-links .btn-primary {
        text-align: center;
        margin-top: var(--spacing-sm);
    }

    .mobile-menu-btn {
        display: flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-btn span {
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .features-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .features-visual {
        order: -1;
    }

    .ecg-lead-cell {
        height: 75px;
    }

    .ecg-rhythm-strip {
        height: 75px;
    }

    .ecg-paper-header {
        font-size: 0.5rem;
    }

    .ecg-measures {
        gap: 0.1rem 0.7rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .sl-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stats {
        gap: var(--spacing-lg);
    }

    .stat-number {
        font-size: 2rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.75rem;
    }

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

    .ecg-lead-cell {
        height: 60px;
    }

    .ecg-rhythm-strip {
        height: 60px;
    }

    .ecg-paper-header {
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.4rem 0.6rem;
        font-size: 0.44rem;
    }

    .ecg-header-right {
        align-items: flex-start;
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        padding: 0.3rem 0;
    }

    .ecg-measures {
        gap: 0.05rem 0.5rem;
    }

    .ecg-lead-label {
        font-size: 0.48rem;
    }

    .performance-chart {
        padding: var(--spacing-md);
    }

    .chart-container {
        height: 220px;
    }

    .performance-chart-title {
        font-size: 0.95rem;
    }

    .news-banner-link {
        font-size: 0.8rem;
    }

    .global-stats {
        grid-template-columns: 1fr;
    }

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

    .sl-categories {
        gap: 0.35rem;
    }

    .sl-tab {
        font-size: 0.78rem;
        padding: 0.4rem 0.85rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    section {
        padding: var(--spacing-xl) 0;
    }

    .hero-title {
        font-size: 1.65rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.8rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.45rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .ecg-leads-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, 1fr);
    }

    .ecg-lead-cell {
        height: 50px;
    }

    .ecg-rhythm-strip {
        height: 50px;
    }

    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .news-banner-badge {
        display: none;
    }

    .news-banner-content {
        gap: 0.5rem;
    }

    .news-banner-link {
        font-size: 0.75rem;
    }

    .news-banner {
        padding: 0.5rem 0;
    }

    .contact-form {
        padding: var(--spacing-md);
    }

    .device-card {
        padding: var(--spacing-lg);
    }
}

/* Partners Logo Banner */
.partners-banner {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    background: var(--background);
    overflow: hidden;
    position: relative;
}

.partners-label {
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-lg);
}

.logo-scroll-wrapper {
    position: relative;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logo-scroll-track {
    display: flex;
    width: max-content;
    animation: logoScroll 40s linear infinite;
}

.logo-scroll-track:hover {
    animation-play-state: paused;
}

.logo-scroll-set {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 0 2rem;
    flex-shrink: 0;
}

.partner-logo {
    flex-shrink: 0;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    filter: brightness(0) invert(1);
}

.partner-logo:hover {
    opacity: 0.9;
}

.partner-logo img {
    height: 100%;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

@keyframes logoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .logo-scroll-set {
        gap: 2.5rem;
    }

    .partner-logo {
        height: 30px;
    }

    .partner-logo img {
        max-width: 140px;
    }

    .partners-banner {
        padding: var(--spacing-lg) 0 var(--spacing-md);
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo-scroll-track {
        animation: none;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }

    .logo-scroll-set:nth-child(2) {
        display: none;
    }

    .logo-scroll-set {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
        padding: 0 var(--spacing-lg);
    }

    .hiw-col {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* How It Works - Pipeline Data Flow */
.how-it-works {
    padding: var(--spacing-2xl) 0;
    position: relative;
    overflow: hidden;
}

.hiw-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(124, 58, 237, 0.07) 1px, transparent 0);
    background-size: 32px 32px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
    pointer-events: none;
}

/* Pipeline layout: inputs | engine+connectors | outputs */
.hiw-pipeline {
    display: grid;
    grid-template-columns: 1fr 2.5fr 1fr;
    align-items: center;
    gap: 0;
    margin-top: var(--spacing-2xl);
    min-height: 400px;
}

/* Columns (inputs / outputs) */
.hiw-col {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.hiw-outputs {
    transform: translateX(30px);
}

.how-it-works.fade-in .hiw-col {
    opacity: 1;
    transform: translateX(0);
}

.how-it-works.fade-in .hiw-inputs {
    transition-delay: 0s;
}

.how-it-works.fade-in .hiw-engine {
    transition-delay: 0.3s;
}

.how-it-works.fade-in .hiw-outputs {
    transition-delay: 0.55s;
}

.hiw-col-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-tertiary);
    margin-bottom: 0.25rem;
    padding-left: 0.5rem;
}

.hiw-inputs .hiw-col-label {
    color: rgba(245, 158, 11, 0.5);
}

.hiw-outputs .hiw-col-label {
    color: rgba(0, 255, 136, 0.5);
}

/* Device / output items */
.hiw-device-item,
.hiw-output-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    background: linear-gradient(135deg, rgba(19, 24, 36, 0.9), rgba(26, 32, 48, 0.9));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

/* Input items - raw/noisy side */
.hiw-device-item {
    border-color: rgba(245, 158, 11, 0.15);
}

.hiw-device-item:hover {
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.08);
    transform: translateX(4px);
}

/* Output items - clean side */
.hiw-output-item {
    border-color: rgba(0, 255, 136, 0.1);
}

.hiw-output-item:hover {
    border-color: rgba(0, 255, 136, 0.35);
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.08);
    transform: translateX(-4px);
}

.hiw-item-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    transition: color 0.3s ease;
}

.hiw-inputs .hiw-item-icon {
    color: var(--text-secondary);
}

.hiw-device-item:hover .hiw-item-icon {
    color: var(--warning);
}

.hiw-output-item:hover .hiw-item-icon {
    color: var(--accent-color);
}

.hiw-icon-success {
    color: var(--accent-color);
}

.hiw-item-icon svg {
    width: 100%;
    height: 100%;
}

.hiw-item-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.hiw-item-text span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.2;
}

.hiw-item-text small {
    font-size: 0.72rem;
    color: var(--text-tertiary);
    font-weight: 400;
}


/* Centre engine - moondust circle */
.hiw-engine {
    transform: translateY(20px) scale(0.97);
    position: relative;
}

.how-it-works.fade-in .hiw-engine {
    transform: translateX(0) scale(1);
}

.hiw-moondust-wrap {
    position: relative;
    width: 100%;
    height: 280px;
}

#moondustCanvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* Responsive: tablet */
@media (max-width: 968px) {
    .hiw-pipeline {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: var(--spacing-lg);
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .hiw-col {
        transform: translateY(20px);
    }

    .hiw-outputs {
        transform: translateY(20px);
    }

    .how-it-works.fade-in .hiw-col {
        transform: translateY(0);
    }

    .hiw-device-item:hover {
        transform: translateY(-2px);
    }

    .hiw-output-item:hover {
        transform: translateY(-2px);
    }

    .hiw-moondust-wrap {
        height: 320px;
    }
}

/* Responsive: phone */
@media (max-width: 480px) {
    .hiw-item-icon {
        width: 32px;
        height: 32px;
    }

    .hiw-item-text span {
        font-size: 0.85rem;
    }

    .hiw-item-text small {
        font-size: 0.68rem;
    }

    .hiw-moondust-wrap {
        height: 260px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Smooth Scrolling */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* ========================================
   BLOG STYLES
   ======================================== */

/* Blog Hero */
.blog-hero {
    padding: calc(80px + var(--spacing-2xl)) 0 var(--spacing-2xl);
    background: var(--surface);
    text-align: center;
}

.blog-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Blog Filters */
.blog-filters {
    padding: var(--spacing-xl) 0;
    background: var(--background);
    position: sticky;
    top: 80px;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.blog-filters .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.filter-tabs {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    border-color: var(--primary-color);
    color: var(--text-primary);
}

.filter-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-primary);
}

.search-box {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem;
    min-width: 250px;
}

.search-box svg {
    width: 20px;
    height: 20px;
    color: var(--text-tertiary);
}

.search-box input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    outline: none;
    width: 100%;
}

/* Featured Post */
.featured-post {
    padding: var(--spacing-2xl) 0;
    background: var(--background);
}

.featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.featured-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
}

.featured-image {
    position: relative;
    overflow: hidden;
}

.featured-badge {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background: var(--primary-color);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.featured-content {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin: var(--spacing-md) 0;
    line-height: 1.3;
}

.featured-content p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

/* Blog Grid */
.blog-grid {
    padding: var(--spacing-2xl) 0;
    background: var(--background);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.blog-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--surface-light);
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img,
.featured-card:hover .blog-card-img {
    transform: scale(1.05);
}

.featured-image .blog-card-img {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-light);
}

.image-placeholder.small {
    aspect-ratio: 16 / 10;
}

.image-placeholder.large {
    aspect-ratio: 2 / 1;
    max-height: 500px;
}

.image-placeholder svg {
    width: 100%;
    height: 100%;
}

.blog-card-content {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.post-category {
    padding: 0.25rem 0.75rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: var(--radius-sm);
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 600;
}

.post-date,
.post-read-time {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.blog-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
    color: var(--text-primary);
}

.blog-card-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    flex: 1;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 0.75rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-2xl);
}

.pagination-btn {
    padding: 0.75rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--primary-color);
    background: rgba(124, 58, 237, 0.1);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: var(--spacing-xs);
    align-items: center;
}

.pagination-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-number:hover {
    border-color: var(--primary-color);
    background: rgba(124, 58, 237, 0.1);
}

.pagination-number.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination-dots {
    color: var(--text-tertiary);
}

/* Newsletter Section */
.newsletter {
    padding: var(--spacing-2xl) 0;
    background: var(--surface);
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-xl);
    padding: var(--spacing-xl);
    background: var(--surface-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.newsletter-text h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: var(--spacing-xs);
}

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

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
    min-width: 400px;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* Blog Post Page */
.blog-post {
    padding-top: 100px;
    background: var(--background);
}

.breadcrumbs {
    display: flex;
    gap: var(--spacing-xs);
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-lg);
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.post-header {
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
}

.post-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
    margin: var(--spacing-lg) 0;
}

.post-excerpt {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
}

.post-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.author-avatar svg {
    width: 100%;
    height: 100%;
}

.author-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.author-title {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.post-featured-image {
    margin-bottom: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.post-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--spacing-2xl);
    max-width: 1200px;
    margin: 0 auto;
}

.post-content {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
}

.post-content h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin: var(--spacing-xl) 0 var(--spacing-md);
    color: var(--text-primary);
}

.post-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: var(--spacing-lg) 0 var(--spacing-md);
    color: var(--text-primary);
}

.post-content h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin: var(--spacing-md) 0 var(--spacing-sm);
    color: var(--text-primary);
}

.post-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    font-size: 1.05rem;
}

.post-content ul,
.post-content ol {
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-xl);
    color: var(--text-secondary);
    line-height: 1.8;
}

.post-content li {
    margin-bottom: var(--spacing-sm);
}

.post-content blockquote {
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-lg);
    background: var(--surface-light);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--radius-md);
    font-style: italic;
    color: var(--text-primary);
}

.post-content blockquote cite {
    display: block;
    margin-top: var(--spacing-md);
    font-style: normal;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.post-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-color: rgba(124, 58, 237, 0.3);
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.post-content a:hover {
    color: var(--secondary-color);
    text-decoration-color: var(--secondary-color);
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: var(--spacing-lg) 0;
    display: block;
}

.post-content em {
    font-style: italic;
}

.post-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.highlight-box {
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.highlight-box h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.info-box {
    background: var(--surface-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
    display: flex;
    gap: var(--spacing-md);
}

.info-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-box h4 {
    margin-top: 0;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.stat-box {
    background: var(--surface-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    text-align: center;
}

.stat-number-large {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

/* Post Sidebar */
.post-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-section {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.sidebar-section h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

.share-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(124, 58, 237, 0.1);
}

.share-btn svg {
    width: 20px;
    height: 20px;
}

.toc {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.toc-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: var(--spacing-xs);
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.toc-link:hover {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: var(--spacing-sm);
}

.cta-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(124, 58, 237, 0.1));
    border-color: rgba(124, 58, 237, 0.3);
}

.cta-box p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
}

.cta-box .btn-primary {
    width: 100%;
    text-align: center;
}

/* Related Articles */
.related-articles {
    padding: var(--spacing-2xl) 0;
    background: var(--surface);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

/* Active nav link */
.nav-links a.active {
    color: var(--primary-color);
}

/* Blog Responsive */
@media (max-width: 1024px) {
    .post-content-wrapper {
        grid-template-columns: 1fr;
    }

    .post-sidebar {
        position: static;
    }

    .newsletter-form {
        min-width: auto;
        flex: 1;
    }
}

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

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

    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        width: 100%;
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form .btn-primary {
        width: 100%;
    }

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

    .pagination {
        flex-wrap: wrap;
    }

    .blog-filters .container {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        width: 100%;
        min-width: 0;
    }

    .featured-content h2 {
        font-size: 1.5rem;
    }

    .post-content {
        padding: var(--spacing-lg);
    }

    .blog-hero {
        padding: calc(80px + var(--spacing-xl)) 0 var(--spacing-xl);
    }
}

/* ========================================
   TEAM PAGE STYLES
   ======================================== */

/* Technology Hero */
.tech-hero {
    padding: calc(80px + var(--spacing-2xl)) 0 var(--spacing-2xl);
    background: var(--surface);
    text-align: center;
}

.tech-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.tech-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* Team Hero */
.team-hero {
    padding: calc(80px + var(--spacing-2xl)) 0 var(--spacing-2xl);
    background: var(--surface);
    text-align: center;
}

.team-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Leadership Section */
.team-leadership {
    padding: var(--spacing-2xl) 0;
    background: var(--background);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.team-member {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
}

.team-member.featured {
    position: relative;
}

.member-image {
    position: relative;
    margin-bottom: var(--spacing-lg);
    width: 120px;
    height: 120px;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 3px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.team-member:hover .avatar-placeholder {
    border-color: var(--primary-color);
}

.avatar-placeholder svg {
    width: 100%;
    height: 100%;
}

.avatar-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.member-initials {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

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

.member-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

.member-credentials {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
    font-style: italic;
}

.member-bio {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    flex: 1;
}

.member-social {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(124, 58, 237, 0.1);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Board Section */
.team-board {
    padding: var(--spacing-2xl) 0;
    background: var(--surface);
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.board-member .member-image {
    width: 100px;
    height: 100px;
}

.board-badge {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--text-primary);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

/* Values Section */
.team-values {
    padding: var(--spacing-2xl) 0;
    background: var(--background);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.value-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.15);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Join Team CTA */
.join-team-cta {
    padding: var(--spacing-2xl) 0;
    background: var(--surface);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: var(--spacing-2xl);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(124, 58, 237, 0.1));
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: var(--radius-lg);
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
    font-size: 1.1rem;
}

/* Team Page Responsive */
@media (max-width: 1024px) {
    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

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

    .member-image {
        width: 100px;
        height: 100px;
    }

    .member-initials {
        font-size: 1.5rem;
    }

    .board-member .member-image {
        width: 80px;
        height: 80px;
    }
}

/* ========================================
   CAREERS / JOB LISTING STYLES
   ======================================== */

.careers-section {
    padding: var(--spacing-2xl) 0;
    background: var(--surface);
}

.job-listing {
    max-width: 900px;
    margin: 0 auto;
}

.job-header-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(124, 58, 237, 0.12));
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.job-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.job-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.job-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.job-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--primary-color));
    color: #fff;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    flex-shrink: 0;
}

.job-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md) var(--spacing-xl);
}

.job-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.job-meta-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary-light);
    flex-shrink: 0;
}

.job-section {
    background: var(--surface-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.job-section-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid rgba(124, 58, 237, 0.2);
}

.job-section > p,
.job-section-intro {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
}

.job-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-section ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.job-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

.job-section ul li strong {
    color: var(--text-primary);
}

/* Track cards */
.track-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.track-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    transition: all 0.3s ease;
}

.track-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.12);
}

.track-label {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 2rem;
    color: var(--primary-light);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--spacing-sm);
}

.track-card h5 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.track-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
}

/* Responsibility groups */
.responsibility-group {
    margin-bottom: var(--spacing-lg);
}

.responsibility-group:last-child {
    margin-bottom: 0;
}

.responsibility-group h5 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--primary-light);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

/* Requirements */
.req-group {
    margin-bottom: var(--spacing-lg);
}

.req-group:last-child {
    margin-bottom: 0;
}

.req-heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-sm);
    display: inline-block;
}

.req-must {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--success);
}

.req-desirable {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: var(--gradient-start);
}

.req-nice {
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.25);
    color: var(--primary-light);
}

/* Perks grid */
.perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.perk-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    transition: all 0.3s ease;
}

.perk-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.12);
}

.perk-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.perk-icon svg {
    width: 100%;
    height: 100%;
}

.perk-card h5 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.perk-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Salary banner */
.salary-banner {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(124, 58, 237, 0.15));
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.salary-amount {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-start), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.salary-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Benefits grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.benefit-item {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
}

.benefit-item h5 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.benefit-item p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* Interview steps */
.interview-steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.interview-step {
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
}

.step-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--gradient-start), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.step-content h5 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-duration {
    font-weight: 400;
    color: var(--text-tertiary);
    font-size: 0.9rem;
    font-family: var(--font-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.interview-commitment {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
}

.interview-commitment h5 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

/* Apply card */
.apply-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
}

.apply-card > p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.apply-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

.apply-note {
    color: var(--text-tertiary);
    font-size: 0.85rem;
    margin-top: var(--spacing-sm);
}

.apply-note strong {
    color: var(--text-secondary);
}

/* Culture grid */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.culture-item {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
}

.culture-item h5 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.culture-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Footer notices */
.job-section-footer {
    background: transparent;
    border: none;
    padding: 0;
}

.job-footer-notices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.job-notice {
    background: var(--surface-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
}

.job-notice h5 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.job-notice p {
    color: var(--text-tertiary);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* Job preview cards (team page) */
.job-cards-grid {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.job-preview-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--surface-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all 0.3s ease;
    position: relative;
}

.job-preview-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
    transform: translateY(-4px);
}

.job-preview-top {
    margin-bottom: var(--spacing-md);
}

.job-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: 0.25rem;
    flex-wrap: wrap;
}

.job-preview-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.job-preview-subtitle {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 1rem;
}

.job-preview-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    font-size: 0.95rem;
}

.job-preview-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm) var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.job-preview-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    transition: gap 0.3s ease;
}

.job-preview-card:hover .job-preview-link {
    gap: 0.85rem;
}

.job-preview-link svg {
    width: 18px;
    height: 18px;
}

/* Job post hero (dedicated page) */
.job-hero {
    padding: calc(80px + var(--spacing-2xl)) 0 0;
    background: var(--surface);
}

.job-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.job-hero .breadcrumbs {
    margin-bottom: var(--spacing-lg);
}

.job-hero .job-header-card {
    margin-bottom: 0;
}

.job-content-section {
    padding: var(--spacing-xl) 0 var(--spacing-2xl);
    background: var(--background);
}

.job-content-section .job-listing {
    padding-top: var(--spacing-xl);
}

/* Careers responsive */
@media (max-width: 768px) {
    .job-header-card {
        padding: var(--spacing-lg);
    }

    .job-meta-row {
        gap: var(--spacing-sm) var(--spacing-md);
    }

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

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

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

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

    .job-footer-notices {
        grid-template-columns: 1fr;
    }

    .interview-step {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .salary-amount {
        font-size: 1.5rem;
    }

    .job-section {
        padding: var(--spacing-lg);
    }

    .job-preview-card {
        padding: var(--spacing-lg);
    }

    .job-preview-header h3 {
        font-size: 1.25rem;
    }

    .job-preview-meta {
        gap: var(--spacing-xs) var(--spacing-md);
    }

    .job-hero {
        padding: calc(80px + var(--spacing-xl)) 0 0;
    }
}

/* ========================================
   PUBLICATIONS PAGE STYLES
   ======================================== */

/* Publications Hero */
.pub-hero {
    padding: calc(80px + var(--spacing-2xl)) 0 var(--spacing-2xl);
    background: var(--surface);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pub-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.pub-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pub-scholar-link {
    margin-top: var(--spacing-lg);
}

.pub-scholar-link .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.pub-stats-row {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}

.pub-stat-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg) var(--spacing-xl);
    backdrop-filter: blur(8px);
    min-width: 120px;
    transition: all 0.3s ease;
}

.pub-stat-card:hover {
    border-color: var(--primary-color);
    background: rgba(124, 58, 237, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.15);
}

.pub-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-start), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.pub-stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Publications List */
.pub-list-section {
    padding: var(--spacing-2xl) 0;
    background: var(--background);
}

.pub-timeline {
    position: relative;
    padding-left: 2rem;
}

.pub-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color), var(--gradient-start), transparent);
    border-radius: 1px;
}

.pub-year-group {
    margin-bottom: var(--spacing-2xl);
    position: relative;
}

.pub-year-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.pub-year-marker {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--background);
    padding: 0.4rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    position: relative;
    z-index: 1;
    margin-left: -2.85rem;
}

.pub-year-count {
    color: var(--text-tertiary);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.pub-cards {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.pub-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    border-left: 3px solid transparent;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pub-card:hover {
    border-color: var(--border-color);
    border-left-color: var(--primary-color);
    box-shadow: 0 4px 24px rgba(124, 58, 237, 0.12);
    transform: translateX(4px);
}

a.pub-card-body,
.pub-card-body {
    display: block;
    padding: var(--spacing-lg) var(--spacing-xl) var(--spacing-md) var(--spacing-lg);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.pub-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    transition: color 0.2s ease;
}

.pub-card:hover .pub-title {
    color: var(--primary-light);
}

.pub-authors {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 0.6rem;
}

.pub-authors em {
    color: var(--text-tertiary);
}

.pub-card-footer {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    padding-top: 0.6rem;
    border-top: 1px solid var(--border-color);
}

.pub-journal {
    color: var(--text-tertiary);
    font-size: 0.8rem;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.pub-journal::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    flex-shrink: 0;
    opacity: 0.7;
}

/* Publication Type Badges */
.pub-card-meta {
    margin-bottom: 0.5rem;
}

.pub-type {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.6rem;
    border-radius: 2rem;
    white-space: nowrap;
}

.pub-type-journal {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.pub-type-conference {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-light);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.pub-type-abstract {
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* External link indicator on hover */
.pub-card {
    position: relative;
}

.pub-card::after {
    content: '';
    position: absolute;
    right: 1.25rem;
    top: 1.25rem;
    width: 16px;
    height: 16px;
    background: var(--primary-light);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pub-card:hover::after {
    opacity: 0.6;
}

/* Publications CTA */
.pub-cta-section {
    padding: var(--spacing-2xl) 0;
    background: var(--surface);
}

/* Publications Responsive */
@media (max-width: 968px) {
    .pub-timeline {
        padding-left: 1.5rem;
    }

    .pub-year-marker {
        margin-left: -2.35rem;
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .pub-timeline {
        padding-left: 0;
    }

    .pub-timeline::before {
        display: none;
    }

    .pub-year-marker {
        margin-left: 0;
        font-size: 1.1rem;
    }

    .pub-stats-row {
        gap: var(--spacing-sm);
    }

    .pub-stat-card {
        padding: var(--spacing-md) var(--spacing-md);
        min-width: 0;
        flex: 1;
    }

    .pub-stat-number {
        font-size: 1.6rem;
    }

    .pub-stat-label {
        font-size: 0.7rem;
    }

    .pub-card-footer {
        gap: var(--spacing-sm);
    }
}

/* ========================================
   MEDIA PAGE STYLES
   ======================================== */

.media-hero {
    padding: calc(80px + var(--spacing-2xl)) 0 var(--spacing-2xl);
    background: var(--surface);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.media-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(0, 255, 136, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.media-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.media-stats-row {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}

.media-stat-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg) var(--spacing-xl);
    backdrop-filter: blur(8px);
    min-width: 120px;
    transition: all 0.3s ease;
}

.media-stat-card:hover {
    border-color: var(--primary-color);
    background: rgba(124, 58, 237, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.15);
}

.media-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-start), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.media-stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Media Filters */
.media-filters {
    padding: var(--spacing-xl) 0;
    background: var(--background);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.media-filters .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

/* ── Featured Card ── */
/* ── Featured Card ── */
.media-featured-section {
    padding: 0 0 var(--spacing-xl);
    background: var(--background);
}

.media-featured-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.media-featured-card:hover {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.media-featured-image {
    position: relative;
    overflow: hidden;
}

.media-featured-content {
    padding: var(--spacing-xl) var(--spacing-xl) var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}

.media-featured-content .media-type {
    align-self: flex-start;
}

.media-featured-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
}

.media-featured-source {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-tertiary);
}

.media-featured-date {
    font-size: 0.78rem;
    color: var(--text-tertiary);
}

.media-featured-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.media-featured-card:hover .media-featured-title {
    color: #fff;
}

.media-featured-description {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.media-featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-top: 0.5rem;
    transition: color 0.2s ease, gap 0.2s ease;
}

.media-featured-cta svg {
    width: 16px;
    height: 16px;
}

.media-featured-card:hover .media-featured-cta {
    color: #fff;
    gap: 0.65rem;
}

/* ── Media Grid ── */
.media-grid-section {
    padding: 0 0 var(--spacing-2xl);
    background: var(--background);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

/* ── Media Card (Spotify-style) ── */
.media-card {
    background: rgba(255, 255, 255, 0.03);
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.media-card:hover {
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}

.media-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    padding: 12px;
    gap: 12px;
}

.media-card-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.media-card-content {
    padding: 0 4px 4px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.media-card-content .media-type {
    align-self: flex-start;
    margin-bottom: 0.4rem;
}

.media-card-title {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-primary);
    margin-bottom: auto;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.media-card:hover .media-card-title {
    color: #fff;
}

.media-card-footer {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding-top: 0.6rem;
    border: none;
}

.media-card-source {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-tertiary);
}

.media-card-dot {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    opacity: 0.5;
}

.media-card-date {
    font-size: 0.72rem;
    color: var(--text-tertiary);
    opacity: 0.7;
    white-space: nowrap;
}

/* ── Media Visual Panels ── */
.media-visual {
    position: relative;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    overflow: hidden;
}

.media-featured-image .media-visual {
    aspect-ratio: auto;
    height: 100%;
    min-height: 280px;
}

.media-visual-grain {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: cover;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.media-visual .media-type {
    display: none;
}

.media-visual-icon,
.media-visual-icon--lg {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 0.45;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.media-visual-icon {
    width: 52px;
    height: 52px;
}

.media-visual-icon svg {
    width: 28px;
    height: 28px;
}

.media-visual-icon--lg {
    width: 68px;
    height: 68px;
}

.media-visual-icon--lg svg {
    width: 36px;
    height: 36px;
}

.media-card:hover .media-visual-icon,
.media-featured-card:hover .media-visual-icon--lg {
    opacity: 0.7;
    transform: scale(1.1);
}

.media-visual-source {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.35;
    text-align: center;
    padding: 0 var(--spacing-md);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: opacity 0.35s ease;
}

.media-visual-source--lg {
    font-size: 0.95rem;
}

.media-card:hover .media-visual-source,
.media-featured-card:hover .media-visual-source {
    opacity: 0.55;
}

/* Play button overlay for podcasts */
.media-play-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.media-play-btn svg {
    width: 16px;
    height: 16px;
    color: #fff;
    margin-left: 2px;
}

.media-card:hover .media-play-btn,
.media-featured-card:hover .media-play-btn {
    opacity: 1;
    transform: translateY(0);
}

.media-featured-image .media-play-btn {
    width: 52px;
    height: 52px;
    bottom: 16px;
    right: 16px;
}

.media-featured-image .media-play-btn svg {
    width: 20px;
    height: 20px;
}

/* Type-specific gradient backgrounds */
.media-visual-article {
    background: linear-gradient(145deg, #0f2040 0%, #1e3a6e 40%, #162d52 100%);
    color: #60a5fa;
}

.media-visual-press-release {
    background: linear-gradient(145deg, #082015 0%, #0f3d27 40%, #0c301e 100%);
    color: #34d399;
}

.media-visual-podcast {
    background: linear-gradient(145deg, #250d24 0%, #451840 40%, #351230 100%);
    color: #f472b6;
}

.media-visual-conference {
    background: linear-gradient(145deg, #150d2e 0%, #2a1854 40%, #1f1240 100%);
    color: #a78bfa;
}

.media-visual-feature {
    background: linear-gradient(145deg, #201a0c 0%, #3a2e14 40%, #2c230f 100%);
    color: #fbbf24;
}

/* ── Media Type Badges ── */
.media-type {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    white-space: nowrap;
    border: none;
}

.media-type-article {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
}

.media-type-press-release {
    background: rgba(52, 211, 153, 0.12);
    color: #34d399;
}

.media-type-podcast {
    background: rgba(236, 72, 153, 0.12);
    color: #f472b6;
}

.media-type-conference {
    background: rgba(124, 58, 237, 0.12);
    color: var(--primary-light);
}

.media-type-feature {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
}

/* ── Media CTA ── */
.media-cta {
    padding: var(--spacing-2xl) 0;
    background: var(--surface);
}

.media-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.media-cta-content h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.media-cta-content p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

/* ── Media Empty State ── */
.media-empty {
    text-align: center;
    padding: var(--spacing-2xl);
    color: var(--text-tertiary);
    grid-column: 1 / -1;
}

/* ── Media Responsive ── */
@media (max-width: 1024px) {
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .media-featured-card {
        grid-template-columns: 1fr;
    }

    .media-featured-image .media-visual {
        min-height: 220px;
    }

    .media-filters .container {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .media-card-link {
        padding: 10px;
        gap: 10px;
    }

    .media-card-title {
        font-size: 0.82rem;
    }

    .media-stats-row {
        gap: var(--spacing-sm);
    }

    .media-stat-card {
        padding: var(--spacing-md);
        min-width: 0;
        flex: 1;
    }

    .media-stat-number {
        font-size: 1.6rem;
    }

    .media-stat-label {
        font-size: 0.7rem;
    }

    .media-featured-content {
        padding: var(--spacing-lg);
    }

    .media-featured-title {
        font-size: 1.15rem;
    }
}

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

/* ========================================
   FAQ Section
   ======================================== */

.faq {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.faq-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-primary);
}

.faq-item[open] {
    border-color: var(--accent-primary);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg) var(--spacing-xl);
    cursor: pointer;
    list-style: none;
    gap: var(--spacing-md);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.5;
}

.faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 var(--spacing-xl) var(--spacing-lg);
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
    margin: 0;
}

.faq-answer strong {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .faq-question {
        padding: var(--spacing-md) var(--spacing-lg);
    }

    .faq-question h3 {
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0 var(--spacing-lg) var(--spacing-md);
    }
}