.elementor-1857 .elementor-element.elementor-element-3e7c3cf{--display:flex;}:root{--page-title-display:none;}/* Start custom CSS *//* ============================================================
   AI VIDEO TOOLS DIRECTORY — EDITORIAL PREMIUM CSS
   Prefix: mpv- (Max Productive Video)
   All styles scoped under .mpv-directory for Elementor safety
   ============================================================ */

.mpv-directory {
    /* ---------- Color Tokens ---------- */
    --mpv-ink: #0B1221;
    --mpv-ink-2: #1C2538;
    --mpv-ink-3: #3A4254;
    --mpv-muted: #64708A;
    --mpv-subtle: #8C97AE;
    --mpv-line: #E4E8F0;
    --mpv-line-soft: #EFF2F7;
    --mpv-surface: #FFFFFF;
    --mpv-surface-warm: #FAFAF7;
    --mpv-surface-cool: #F6F8FC;
    --mpv-cream: #FAF7F2;
    --mpv-accent: #4F46E5;
    --mpv-accent-dark: #3730A3;
    --mpv-accent-soft: #EEF0FD;
    --mpv-gold: #B08B4F;
    --mpv-gold-soft: #F5EFE3;
    --mpv-success: #2D7A55;
    --mpv-success-soft: #E6F4EC;

    /* ---------- Typography Tokens ---------- */
    --mpv-font-display: 'Fraunces', 'Source Serif 4', 'Playfair Display', Georgia, serif;
    --mpv-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mpv-font-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;

    /* ---------- Spacing & Radius ---------- */
    --mpv-radius-sm: 4px;
    --mpv-radius-md: 8px;
    --mpv-radius-lg: 14px;
    --mpv-radius-xl: 20px;
    --mpv-shadow-sm: 0 1px 2px rgba(11, 18, 33, 0.04), 0 1px 3px rgba(11, 18, 33, 0.06);
    --mpv-shadow-md: 0 4px 12px rgba(11, 18, 33, 0.06), 0 2px 4px rgba(11, 18, 33, 0.04);
    --mpv-shadow-lg: 0 20px 40px -12px rgba(11, 18, 33, 0.12), 0 8px 16px -8px rgba(11, 18, 33, 0.08);

    /* ---------- Base ---------- */
    font-family: var(--mpv-font-body);
    color: var(--mpv-ink);
    line-height: 1.6;
    font-feature-settings: 'ss01', 'cv01', 'cv02';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Import Fraunces + Inter (lightweight, variable fonts) */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400..800;1,9..144,400..700&family=Inter:wght@400;500;600;700&display=swap');

.mpv-directory *,
.mpv-directory *::before,
.mpv-directory *::after {
    box-sizing: border-box;
}

/* Container */
.mpv-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   SECTION HEADER (reused across sections)
   ============================================================ */
.mpv-section-header {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}

.mpv-section-header__eyebrow {
    display: inline-block;
    font-family: var(--mpv-font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--mpv-muted);
    margin-bottom: 20px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--mpv-line);
}

.mpv-section-header__title {
    font-family: var(--mpv-font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--mpv-ink);
    margin: 0 0 18px;
    font-style: italic;
}

.mpv-section-header__desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--mpv-ink-3);
    margin: 0 auto 20px;
    max-width: 640px;
}

.mpv-section-header__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--mpv-accent);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: gap 0.3s ease, color 0.3s ease;
}

.mpv-section-header__link:hover {
    color: var(--mpv-accent-dark);
    gap: 10px;
}

/* ============================================================
   HERO
   ============================================================ */
.mpv-hero {
    padding: 80px 0 72px;
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(79, 70, 229, 0.06), transparent 60%),
        linear-gradient(180deg, var(--mpv-cream) 0%, var(--mpv-surface) 100%);
    border-bottom: 1px solid var(--mpv-line);
    position: relative;
    overflow: hidden;
}

.mpv-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--mpv-line-soft) 1px, transparent 1px),
        linear-gradient(90deg, var(--mpv-line-soft) 1px, transparent 1px);
    background-size: 80px 80px;
    background-position: center center;
    opacity: 0.35;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 0%, transparent 70%);
    pointer-events: none;
}

.mpv-hero > .mpv-container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.mpv-hero__meta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--mpv-font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--mpv-muted);
    margin-bottom: 32px;
    padding: 8px 18px;
    background: var(--mpv-surface);
    border: 1px solid var(--mpv-line);
    border-radius: 100px;
    box-shadow: var(--mpv-shadow-sm);
}

.mpv-hero__kicker {
    color: var(--mpv-accent);
    font-weight: 600;
}

.mpv-hero__divider {
    width: 1px;
    height: 12px;
    background: var(--mpv-line);
}

.mpv-hero__title {
    font-family: var(--mpv-font-display);
    font-size: clamp(2.5rem, 6vw, 4.75rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.035em;
    color: var(--mpv-ink);
    margin: 0 0 28px;
}

.mpv-hero__title-accent {
    font-style: italic;
    font-weight: 400;
    color: var(--mpv-accent);
    font-feature-settings: 'ss01';
}

.mpv-hero__lede {
    font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
    line-height: 1.65;
    color: var(--mpv-ink-3);
    max-width: 680px;
    margin: 0 auto 48px;
    font-weight: 400;
}

.mpv-hero__lede strong {
    color: var(--mpv-ink);
    font-weight: 600;
}

/* Stats */
.mpv-hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 680px;
    margin: 0 auto 48px;
    background: var(--mpv-surface);
    border: 1px solid var(--mpv-line);
    border-radius: var(--mpv-radius-lg);
    box-shadow: var(--mpv-shadow-sm);
}

.mpv-hero__stat {
    padding: 24px 16px;
    text-align: center;
    border-right: 1px solid var(--mpv-line);
}

.mpv-hero__stat:last-child {
    border-right: none;
}

.mpv-hero__stat-num {
    display: block;
    font-family: var(--mpv-font-display);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1;
    color: var(--mpv-ink);
    margin-bottom: 8px;
    font-feature-settings: 'lnum';
}

.mpv-hero__stat-label {
    display: block;
    font-family: var(--mpv-font-mono);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--mpv-muted);
}

/* Hero nav */
.mpv-hero__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 8px;
}

.mpv-hero__nav-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--mpv-ink-3);
    background: var(--mpv-surface);
    border: 1px solid var(--mpv-line);
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.mpv-hero__nav-link:hover {
    border-color: var(--mpv-accent);
    color: var(--mpv-accent);
    transform: translateY(-1px);
    box-shadow: var(--mpv-shadow-sm);
}

/* ============================================================
   FEATURED / EDITOR'S CHOICE
   ============================================================ */
.mpv-featured {
    padding: 96px 0;
    background: var(--mpv-surface);
}

.mpv-featured__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: repeat(3, auto);
    gap: 20px;
    align-items: stretch;
}

/* Primary card */
.mpv-featured__primary {
    grid-row: 1 / span 3;
    position: relative;
    background: linear-gradient(135deg, #0B1221 0%, #1C2538 100%);
    border-radius: var(--mpv-radius-xl);
    padding: 48px;
    color: white;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mpv-featured__primary::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 60%;
    height: 140%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.35) 0%, transparent 60%);
    pointer-events: none;
}

.mpv-featured__primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.mpv-featured__primary-ribbon {
    position: absolute;
    top: 24px;
    right: -36px;
    transform: rotate(45deg);
    background: var(--mpv-gold);
    color: white;
    font-family: var(--mpv-font-mono);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 6px 40px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mpv-featured__primary-inner {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.mpv-featured__primary-logo {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    background: white;
    border-radius: var(--mpv-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.mpv-featured__primary-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mpv-featured__primary-body {
    flex: 1;
    min-width: 0;
}

.mpv-featured__primary-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.mpv-featured__primary-rating .mpv-stars {
    color: #F5D97D;
    font-size: 1rem;
    letter-spacing: 2px;
}

.mpv-featured__primary-rating .mpv-rating-val {
    font-family: var(--mpv-font-mono);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.mpv-featured__primary-name {
    font-family: var(--mpv-font-display);
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
    color: white;
}

.mpv-featured__primary-tagline {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    margin: 0 0 18px;
    font-style: italic;
}

.mpv-featured__primary-desc {
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 20px;
}

.mpv-featured__primary-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.mpv-featured__primary-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

.mpv-featured__primary-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 14px;
    height: 1px;
    background: var(--mpv-gold);
}

.mpv-featured__primary-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Secondary card */
.mpv-featured__secondary {
    background: var(--mpv-surface);
    border: 1px solid var(--mpv-line);
    border-radius: var(--mpv-radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.mpv-featured__secondary:hover {
    border-color: var(--mpv-ink-3);
    transform: translateY(-2px);
    box-shadow: var(--mpv-shadow-md);
}

.mpv-featured__secondary-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
}

.mpv-featured__secondary-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.mpv-featured__secondary-tag {
    font-family: var(--mpv-font-mono);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mpv-gold);
    background: var(--mpv-gold-soft);
    padding: 5px 10px;
    border-radius: var(--mpv-radius-sm);
}

.mpv-featured__secondary-name {
    font-family: var(--mpv-font-display);
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0 0 10px;
    color: var(--mpv-ink);
}

.mpv-featured__secondary-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.mpv-featured__secondary-desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--mpv-ink-3);
    margin: 0 0 20px;
    flex-grow: 1;
}

.mpv-featured__secondary-cta {
    color: var(--mpv-accent);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: color 0.25s ease;
    align-self: flex-start;
}

.mpv-featured__secondary-cta:hover {
    color: var(--mpv-accent-dark);
}

/* ============================================================
   CATEGORY SECTIONS
   ============================================================ */
.mpv-category {
    padding: 96px 0;
    background: var(--mpv-surface);
    border-top: 1px solid var(--mpv-line);
}

.mpv-category--alt {
    background: var(--mpv-surface-cool);
}

.mpv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Card */
.mpv-card {
    background: var(--mpv-surface);
    border: 1px solid var(--mpv-line);
    border-radius: var(--mpv-radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mpv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--mpv-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mpv-card:hover {
    border-color: var(--mpv-ink-3);
    transform: translateY(-3px);
    box-shadow: var(--mpv-shadow-md);
}

.mpv-card:hover::before {
    transform: scaleX(1);
}

.mpv-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
    min-height: 52px;
}

.mpv-card__logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

/* Tags */
.mpv-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-family: var(--mpv-font-mono);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: var(--mpv-radius-sm);
    white-space: nowrap;
}

.mpv-tag--editor {
    color: var(--mpv-gold);
    background: var(--mpv-gold-soft);
    border: 1px solid rgba(176, 139, 79, 0.2);
}

.mpv-tag--popular {
    color: var(--mpv-accent);
    background: var(--mpv-accent-soft);
    border: 1px solid rgba(79, 70, 229, 0.15);
}

.mpv-tag--new {
    color: var(--mpv-success);
    background: var(--mpv-success-soft);
    border: 1px solid rgba(45, 122, 85, 0.2);
}

/* Card text */
.mpv-card__name {
    font-family: var(--mpv-font-display);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 12px;
    color: var(--mpv-ink);
}

.mpv-card__rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.mpv-stars {
    color: var(--mpv-gold);
    font-size: 0.9375rem;
    letter-spacing: 1.5px;
}

.mpv-rating-val {
    font-family: var(--mpv-font-mono);
    font-size: 0.8125rem;
    color: var(--mpv-muted);
    font-weight: 500;
}

.mpv-card__desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--mpv-ink-3);
    margin: 0 0 18px;
    flex-grow: 1;
}

/* Card meta row */
.mpv-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
    padding-top: 14px;
    border-top: 1px dashed var(--mpv-line);
}

.mpv-pricing,
.mpv-feature {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    font-size: 0.6875rem;
    font-weight: 500;
    border-radius: var(--mpv-radius-sm);
    letter-spacing: 0.02em;
}

.mpv-pricing {
    background: var(--mpv-ink);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.625rem;
    letter-spacing: 0.1em;
}

.mpv-pricing--free {
    background: var(--mpv-success);
}

.mpv-pricing--freemium {
    background: var(--mpv-accent);
}

.mpv-feature {
    background: var(--mpv-surface-warm);
    color: var(--mpv-ink-3);
    border: 1px solid var(--mpv-line);
}

.mpv-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px 20px;
    background: transparent;
    color: var(--mpv-ink);
    text-decoration: none;
    border: 1px solid var(--mpv-ink);
    border-radius: var(--mpv-radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.25s ease;
}

.mpv-card__cta:hover {
    background: var(--mpv-ink);
    color: white;
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.mpv-compare {
    padding: 96px 0;
    background: var(--mpv-cream);
    border-top: 1px solid var(--mpv-line);
    border-bottom: 1px solid var(--mpv-line);
}

.mpv-compare__wrap {
    background: var(--mpv-surface);
    border: 1px solid var(--mpv-line);
    border-radius: var(--mpv-radius-lg);
    overflow: hidden;
    box-shadow: var(--mpv-shadow-sm);
}

.mpv-compare__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.mpv-compare__table thead {
    background: var(--mpv-ink);
    color: white;
}

.mpv-compare__table th {
    padding: 18px 20px;
    text-align: left;
    font-family: var(--mpv-font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mpv-compare__table tbody th,
.mpv-compare__table tbody td {
    padding: 18px 20px;
    border-top: 1px solid var(--mpv-line-soft);
    vertical-align: middle;
    text-transform: none;
    letter-spacing: normal;
}

.mpv-compare__table tbody th {
    font-family: var(--mpv-font-display);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--mpv-ink);
    text-align: left;
    letter-spacing: -0.01em;
}

.mpv-compare__table tbody th a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s ease;
}

.mpv-compare__table tbody th a:hover {
    border-bottom-color: var(--mpv-accent);
    color: var(--mpv-accent);
}

.mpv-compare__table tbody tr:hover {
    background: var(--mpv-surface-warm);
}

.mpv-compare__table td {
    color: var(--mpv-ink-3);
}

.mpv-compare__rating {
    display: inline-block;
    padding: 4px 10px;
    background: var(--mpv-accent-soft);
    color: var(--mpv-accent-dark);
    font-family: var(--mpv-font-mono);
    font-size: 0.8125rem;
    font-weight: 700;
    border-radius: var(--mpv-radius-sm);
    min-width: 42px;
    text-align: center;
}

/* ============================================================
   USE CASES
   ============================================================ */
.mpv-usecases {
    padding: 96px 0;
    background: var(--mpv-surface);
}

.mpv-usecases__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--mpv-line);
    border-radius: var(--mpv-radius-lg);
    overflow: hidden;
}

.mpv-usecase {
    padding: 36px 32px;
    background: var(--mpv-surface);
    border-right: 1px solid var(--mpv-line);
    border-bottom: 1px solid var(--mpv-line);
    transition: background 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mpv-usecase:nth-child(3n) {
    border-right: none;
}

.mpv-usecase:nth-last-child(-n+3) {
    border-bottom: none;
}

.mpv-usecase:hover {
    background: var(--mpv-surface-warm);
}

.mpv-usecase__num {
    font-family: var(--mpv-font-display);
    font-size: 1rem;
    font-style: italic;
    color: var(--mpv-accent);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.mpv-usecase__title {
    font-family: var(--mpv-font-display);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--mpv-ink);
    margin: 0 0 14px;
}

.mpv-usecase__desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--mpv-ink-3);
    margin: 0 0 20px;
    flex-grow: 1;
}

.mpv-usecase__desc a {
    color: var(--mpv-ink);
    text-decoration: none;
    border-bottom: 1px solid var(--mpv-line);
    transition: border-color 0.25s ease;
}

.mpv-usecase__desc a:hover {
    border-bottom-color: var(--mpv-accent);
}

.mpv-usecase__desc strong {
    font-weight: 600;
}

.mpv-usecase__tools {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 18px;
    border-top: 1px dashed var(--mpv-line);
}

.mpv-usecase__tools span {
    font-family: var(--mpv-font-mono);
    font-size: 0.6875rem;
    color: var(--mpv-muted);
    padding: 4px 9px;
    background: var(--mpv-surface-cool);
    border: 1px solid var(--mpv-line);
    border-radius: var(--mpv-radius-sm);
    letter-spacing: 0.04em;
}

/* ============================================================
   BUYER'S GUIDE
   ============================================================ */
.mpv-guide {
    padding: 96px 0;
    background: var(--mpv-surface-cool);
    border-top: 1px solid var(--mpv-line);
}

.mpv-guide__content {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mpv-guide__block {
    background: var(--mpv-surface);
    border: 1px solid var(--mpv-line);
    border-radius: var(--mpv-radius-lg);
    padding: 36px 40px;
    transition: border-color 0.3s ease;
    position: relative;
}

.mpv-guide__block:hover {
    border-color: var(--mpv-ink-3);
}

.mpv-guide__block h3 {
    font-family: var(--mpv-font-display);
    font-size: 1.625rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--mpv-ink);
    margin: 0 0 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--mpv-line);
}

.mpv-guide__block p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--mpv-ink-3);
    margin: 0 0 14px;
}

.mpv-guide__block p:last-child {
    margin-bottom: 0;
}

.mpv-guide__block strong {
    color: var(--mpv-ink);
    font-weight: 600;
}

/* ============================================================
   FAQ
   ============================================================ */
.mpv-faq {
    padding: 96px 0;
    background: var(--mpv-surface);
    border-top: 1px solid var(--mpv-line);
}

.mpv-faq__list {
    max-width: 820px;
    margin: 0 auto;
    border-top: 1px solid var(--mpv-line);
}

.mpv-faq__item {
    border-bottom: 1px solid var(--mpv-line);
    transition: background 0.25s ease;
}

.mpv-faq__item[open] {
    background: var(--mpv-surface-warm);
}

.mpv-faq__q {
    font-family: var(--mpv-font-display);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.005em;
    color: var(--mpv-ink);
    padding: 24px 56px 24px 28px;
    cursor: pointer;
    position: relative;
    list-style: none;
    transition: color 0.25s ease;
}

.mpv-faq__q::-webkit-details-marker {
    display: none;
}

.mpv-faq__q::after {
    content: '+';
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--mpv-font-body);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--mpv-accent);
    transition: transform 0.3s ease;
    line-height: 1;
}

.mpv-faq__item[open] .mpv-faq__q::after {
    content: '−';
}

.mpv-faq__q:hover {
    color: var(--mpv-accent);
}

.mpv-faq__a {
    padding: 0 28px 28px;
}

.mpv-faq__a p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--mpv-ink-3);
    margin: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.mpv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 13px 26px;
    font-family: var(--mpv-font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--mpv-radius-md);
    border: 1.5px solid transparent;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: 0.005em;
}

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

.mpv-btn--primary:hover {
    background: transparent;
    color: white;
    border-color: white;
}

.mpv-btn--secondary {
    background: var(--mpv-surface);
    color: var(--mpv-ink);
    border-color: var(--mpv-line);
}

.mpv-btn--secondary:hover {
    background: var(--mpv-ink);
    color: white;
    border-color: var(--mpv-ink);
    transform: translateY(-1px);
}

.mpv-btn--ghost {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.mpv-btn--ghost:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.08);
}

/* CTA section override for ghost button */
.mpv-cta .mpv-btn--primary {
    background: var(--mpv-ink);
    color: white;
    border-color: var(--mpv-ink);
}

.mpv-cta .mpv-btn--primary:hover {
    background: var(--mpv-accent);
    border-color: var(--mpv-accent);
    transform: translateY(-1px);
    box-shadow: var(--mpv-shadow-md);
}

.mpv-cta .mpv-btn--ghost {
    background: transparent;
    color: var(--mpv-ink-3);
    border-color: var(--mpv-line);
}

.mpv-cta .mpv-btn--ghost:hover {
    color: var(--mpv-ink);
    border-color: var(--mpv-ink);
    background: var(--mpv-surface);
}

/* ============================================================
   RELATED READS SECTION
   ============================================================ */
.mpv-related {
    padding: 100px 0;
    background: var(--mpv-surface);
    border-top: 1px solid var(--mpv-line-soft);
}

.mpv-related__grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.mpv-related__card {
    display: flex;
    flex-direction: column;
    background: var(--mpv-cream);
    border: 1px solid var(--mpv-line);
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.mpv-related__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -20px rgba(12, 20, 38, 0.18);
    border-color: var(--mpv-ink);
}

.mpv-related__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--mpv-ink);
}

.mpv-related__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.mpv-related__card:hover .mpv-related__media img {
    transform: scale(1.04);
}

.mpv-related__body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.mpv-related__label {
    font-family: var(--mpv-font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mpv-accent);
}

.mpv-related__title {
    font-family: var(--mpv-font-display);
    font-size: 1.1875rem;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -0.015em;
    color: var(--mpv-ink);
    margin: 0;
    flex: 1;
}

.mpv-related__meta {
    font-family: var(--mpv-font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--mpv-muted);
    letter-spacing: 0.01em;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.mpv-related__card:hover .mpv-related__meta {
    color: var(--mpv-accent);
}

.mpv-related__arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.mpv-related__card:hover .mpv-related__arrow {
    transform: translateX(4px);
}

/* ============================================================
   FINAL CTA SECTION
   ============================================================ */
.mpv-cta {
    padding: 120px 0;
    background: var(--mpv-cream);
    border-top: 1px solid var(--mpv-line);
    position: relative;
    overflow: hidden;
}

.mpv-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--mpv-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--mpv-line) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.25;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent 70%);
    pointer-events: none;
}

.mpv-cta__wrap {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.mpv-cta__title {
    font-family: var(--mpv-font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--mpv-ink);
    margin: 0 0 20px;
    font-style: italic;
}

.mpv-cta__desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--mpv-ink-3);
    margin: 0 auto 40px;
    max-width: 640px;
}

.mpv-cta__desc strong {
    color: var(--mpv-ink);
    font-weight: 600;
}

.mpv-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 1100px) {
    .mpv-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .mpv-usecase:nth-child(3n) {
        border-right: 1px solid var(--mpv-line);
    }

    .mpv-usecase:nth-child(2n) {
        border-right: none;
    }

    .mpv-usecase:nth-last-child(-n+3) {
        border-bottom: 1px solid var(--mpv-line);
    }

    .mpv-usecase:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .mpv-related__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .mpv-featured__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .mpv-featured__primary {
        grid-row: auto;
    }

    .mpv-featured__primary {
        padding: 40px 32px;
    }

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

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

@media (max-width: 768px) {
    .mpv-container {
        padding: 0 20px;
    }

    .mpv-hero {
        padding: 64px 0 56px;
    }

    .mpv-hero__meta {
        font-size: 0.6875rem;
        padding: 7px 14px;
    }

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

    .mpv-hero__stat {
        padding: 20px 12px;
    }

    .mpv-hero__stat:nth-child(2) {
        border-right: none;
    }

    .mpv-hero__stat:nth-child(-n+2) {
        border-bottom: 1px solid var(--mpv-line);
    }

    .mpv-hero__nav {
        gap: 6px;
    }

    .mpv-hero__nav-link {
        padding: 8px 14px;
        font-size: 0.8125rem;
    }

    .mpv-featured,
    .mpv-category,
    .mpv-compare,
    .mpv-usecases,
    .mpv-guide,
    .mpv-faq,
    .mpv-cta {
        padding: 64px 0;
    }

    .mpv-section-header {
        margin-bottom: 40px;
    }

    .mpv-featured__primary {
        padding: 32px 24px;
    }

    .mpv-featured__primary-inner {
        flex-direction: column;
        gap: 24px;
    }

    .mpv-featured__primary-name {
        font-size: 2rem;
    }

    .mpv-featured__primary-ribbon {
        font-size: 0.625rem;
        padding: 5px 36px;
    }

    .mpv-usecases__grid {
        grid-template-columns: 1fr;
    }

    .mpv-usecase {
        border-right: none !important;
        border-bottom: 1px solid var(--mpv-line) !important;
    }

    .mpv-usecase:last-child {
        border-bottom: none !important;
    }

    .mpv-guide__block {
        padding: 28px 24px;
    }

    .mpv-guide__block h3 {
        font-size: 1.375rem;
    }

    .mpv-faq__q {
        font-size: 1.0625rem;
        padding: 20px 48px 20px 20px;
    }

    .mpv-faq__q::after {
        right: 20px;
    }

    .mpv-faq__a {
        padding: 0 20px 24px;
    }

    .mpv-compare__wrap {
        overflow-x: auto;
    }

    .mpv-compare__table {
        min-width: 640px;
    }
}

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

    .mpv-hero__title {
        letter-spacing: -0.03em;
    }

    .mpv-card {
        padding: 22px;
    }

    .mpv-cta__buttons {
        flex-direction: column;
        width: 100%;
    }

    .mpv-cta__buttons .mpv-btn {
        width: 100%;
    }

    .mpv-related__grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   ACCESSIBILITY & PERFORMANCE
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .mpv-directory *,
    .mpv-directory *::before,
    .mpv-directory *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for keyboard navigation */
.mpv-directory a:focus-visible,
.mpv-directory button:focus-visible,
.mpv-directory summary:focus-visible {
    outline: 2px solid var(--mpv-accent);
    outline-offset: 3px;
    border-radius: var(--mpv-radius-sm);
}

/* Ensure images never overflow */
.mpv-directory img {
    max-width: 100%;
    height: auto;
}/* End custom CSS */