.elementor-8730 .elementor-element.elementor-element-cebc228{--display:flex;}/* Start custom CSS *//* ========================================
   OPTIMIZED CSS VARIABLES (Scoped + @property)
   ======================================== */
:root {
    --primary: #5b3ff9;
    --primary-hover: #4831d4;
    --primary-light: rgba(91, 63, 249, 0.08);
    --accent: #764ba2;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    --text-heading: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-link: #5b3ff9;

    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-accent: #fef3c7;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;

    --transition: 250ms cubic-bezier(.4,0,.2,1);

    --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 24px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.12);
    --shadow-cta: 0 8px 20px rgba(91, 63, 249, 0.25);

    /* CTA-specific tokens (override per page if needed) */
    --cta-bg: var(--primary);
    --cta-bg-hover: var(--primary-hover);
    --cta-text: #fff;
    --cta-radius: 12px;
    --cta-pad-y: 14px;
    --cta-pad-x: 28px;
    --cta-shadow: 0 8px 20px rgba(91, 63, 249, 0.20);
    --cta-shadow-hover: 0 14px 30px rgba(91, 63, 249, 0.26);
    --cta-ring: 3px solid var(--primary);
}

/* ========================================
   BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.heygen-article {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-body);
    line-height: 1.75;
    font-size: 18px;
    font-display: swap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--bg-white);
    contain: layout style paint;
}

.heygen-article > * {
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.heygen-hero,
.heygen-video-wrapper,
.heygen-pricing,
.heygen-image {
    max-width: 1100px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.heygen-hero {
    position: relative;
    margin: -40px -30px 48px;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
}

.heygen-hero img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ========================================
   HEADINGS
   ======================================== */
.heygen-article h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-heading);
    margin: 64px 0 28px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    position: relative;
    padding-bottom: 16px;
}

.heygen-article h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.heygen-article h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 48px 0 20px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.heygen-article h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 32px 0 16px;
    line-height: 1.4;
}

/* ========================================
   PARAGRAPHS
   ======================================== */
.heygen-article p {
    margin-bottom: 24px;
    color: var(--text-body);
    font-size: 18px;
    line-height: 1.8;
}

.heygen-article section > p:first-child {
    font-size: 21px;
    line-height: 1.85;
    color: var(--text-heading);
    font-weight: 400;
}

.heygen-article strong {
    color: var(--text-heading);
    font-weight: 600;
}

/* ========================================
   LINKS
   ======================================== */
.heygen-article a {
    color: var(--text-link);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    text-decoration-color: rgba(91, 63, 249, 0.3);
    font-weight: 500;
    transition: all var(--transition);
}

/* Prevent link hover styles from affecting CTA buttons */
.heygen-article a:not(.heygen-cta):not(.heygen-cta-secondary):hover {
    text-decoration-color: var(--primary);
    background: var(--primary-light);
    padding: 2px 4px;
    margin: -2px -4px;
    border-radius: 4px;
}

.heygen-article a[rel*="sponsored"] {
    color: var(--primary);
    font-weight: 600;
    text-decoration-color: var(--primary);
}

/* ========================================
   CTA BUTTONS — V2 (Elegant, stable, high-CTR)
   ======================================== */
/* Base (applies to primary + secondary to keep behavior consistent) */
.heygen-cta,
.heygen-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    position: relative;

    border-radius: var(--cta-radius);
    padding: var(--cta-pad-y) calc(var(--cta-pad-x) + 14px) var(--cta-pad-y) var(--cta-pad-x); /* reserve room for arrow */
    border: 0;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: .01em;
    line-height: 1;

    transition: background-color var(--transition),
                box-shadow var(--transition),
                transform var(--transition),
                opacity var(--transition);
    will-change: transform;
    min-width: 44px;
    min-height: 44px;
    cursor: pointer;
}

/* Primary */
.heygen-cta {
    background-color: var(--cta-bg);
    color: var(--cta-text) !important;
    box-shadow: var(--cta-shadow);
}
.heygen-cta:hover,
.heygen-cta:focus-visible {
    background-color: var(--cta-bg-hover);
    box-shadow: var(--cta-shadow-hover);
    transform: translateY(-1px);
}
.heygen-cta:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(91, 63, 249, 0.24);
}

/* Arrow indicator (no layout shift) */
.heygen-cta::after,
.heygen-cta-secondary::after {
    content: '→';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%) translateX(-2px);
    opacity: .75;
    transition: transform var(--transition), opacity var(--transition);
    pointer-events: none;
    font-weight: 700;
}
/* Custom icon: <a class="heygen-cta" data-icon="↗"> */
.heygen-cta[data-icon]::after,
.heygen-cta-secondary[data-icon]::after { content: attr(data-icon); }
/* Hide arrow: <a class="heygen-cta no-arrow"> */
.heygen-cta.no-arrow::after,
.heygen-cta-secondary.no-arrow::after { content: none; }

.heygen-cta:hover::after,
.heygen-cta:focus-visible::after,
.heygen-cta-secondary:hover::after,
.heygen-cta-secondary:focus-visible::after {
    transform: translateY(-50%) translateX(2px);
    opacity: 1;
}

/* Focus ring */
.heygen-cta:focus,
.heygen-cta-secondary:focus {
    outline: var(--cta-ring);
    outline-offset: 3px;
}

/* Disabled */
.heygen-cta:disabled,
.heygen-cta[aria-disabled="true"],
.heygen-cta-secondary:disabled,
.heygen-cta-secondary[aria-disabled="true"] {
    opacity: .6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: var(--shadow-sm, 0 2px 4px rgba(0,0,0,.06)) !important;
    pointer-events: none;
}

/* Loading state (hides label & arrow, shows spinner) */
.heygen-cta[data-loading],
.heygen-cta-secondary[data-loading] {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}
.heygen-cta[data-loading]::after,
.heygen-cta-secondary[data-loading]::after {
    content: '';
    right: 50%;
    top: 50%;
    transform: translate(50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    opacity: 1;
    animation: spin 1s linear infinite;
}

/* Secondary / Outline variant (backwards compatible with .heygen-cta-secondary) */
.heygen-cta-secondary {
    background: #fff;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.heygen-cta-secondary:hover,
.heygen-cta-secondary:focus-visible {
    background: var(--primary-light);
    box-shadow: 0 10px 24px rgba(0,0,0,.10);
    transform: translateY(-1px);
}

/* Optional modifiers */
.heygen-cta--pill { border-radius: 999px; }
.heygen-cta--sm { font-size: 16px; --cta-pad-y: 12px; --cta-pad-x: 22px; }
.heygen-cta--lg { font-size: 20px; --cta-pad-y: 16px; --cta-pad-x: 34px; }
.heygen-cta-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* ========================================
   VIDEO EMBED - FIXED ASPECT RATIO
   ======================================== */
.heygen-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    margin: 48px auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: #f3f4f6;
}

.heygen-video-wrapper iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border: none;
}

/* ========================================
   IMAGES (Performance: hardware-accelerated) 
   ======================================== */
.heygen-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition);
    will-change: transform;
}
.heygen-image:hover {
    transform: scale(1.02);
}

/* ========================================
   LISTS
   ======================================== */
.heygen-list {
    background: linear-gradient(135deg, var(--bg-light) 0%, #f1f5f9 100%);
    border-radius: 12px;
    padding: 28px;
    margin: 36px auto;
    box-shadow: var(--shadow-sm);
}
.heygen-list li {
    margin-bottom: 18px;
    padding-left: 32px;
    position: relative;
    list-style: none;
    font-size: 17px;
    line-height: 1.7;
}
.heygen-list li::before {
    content: '→';
    position: absolute;
    left: 0; top: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 22px;
}

/* ========================================
   HIGHLIGHTS
   ======================================== */
.heygen-highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border-left: 5px solid #f59e0b;
    padding: 28px 32px;
    margin: 40px auto;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.15);
    position: relative;
}
.heygen-highlight::before {
    content: '💡';
    position: absolute;
    left: -20px; top: 28px;
    background: #fff;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    font-size: 20px;
}
.heygen-highlight p {
    margin: 0;
    color: var(--text-heading);
    font-size: 17px;
    font-weight: 500;
}
.heygen-hero + .heygen-highlight {
    background: #f8fafc;
    border-left: 3px solid #cbd5e0;
    padding: 16px 20px;
    margin: 24px auto 40px;
    box-shadow: none;
    border-radius: 8px;
}
.heygen-hero + .heygen-highlight::before {
    display: none;
}
.heygen-hero + .heygen-highlight p {
    color: #64748b;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

/* ========================================
   SECTIONS
   ======================================== */
.heygen-section {
    margin: 56px auto;
    padding: 36px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e9ecef 100%);
    border-radius: 16px;
    border-left: 5px solid var(--gradient);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}
.heygen-section::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 100px; height: 100px;
    background: var(--gradient);
    opacity: 0.05;
    border-radius: 50%;
    transform: translate(30px, -30px);
}

/* ========================================
   FAQ
   ======================================== */
.heygen-faq {
    margin: 56px auto;
}
.heygen-faq-item {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 20px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    will-change: transform, border-color;
}
.heygen-faq-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--gradient);
    transform: scaleY(0);
    transition: transform var(--transition);
    transform-origin: top;
}
.heygen-faq-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateX(8px);
}
.heygen-faq-item:hover::before {
    transform: scaleY(1);
}
.heygen-faq-question {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    line-height: 1.4;
}
.heygen-faq-question::before {
    content: 'Q';
    background: var(--gradient);
    color: #fff;
    min-width: 30px; height: 30px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ========================================
   PRICING CARDS (Use transform-based hover)
   ======================================== */
.heygen-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin: 56px auto;
    padding: 0 20px;
}
.heygen-pricing-card {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 36px;
    text-align: center;
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
    position: relative;
    box-shadow: var(--shadow-sm);
    will-change: transform;
}
.heygen-pricing-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-xl);
}
.heygen-pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(to bottom, #fff 0%, var(--primary-light) 100%);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}
.heygen-pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: #fff;
    padding: 6px 20px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 0.08em;
}
.heygen-pricing-card h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-heading);
}
.heygen-pricing-card p {
    margin-bottom: 14px;
    font-size: 16px;
    color: var(--text-muted);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    .heygen-article {font-size: 16px;}
    .heygen-article h2 {font-size: 28px; margin: 48px 0 24px;}
    .heygen-article h3 {font-size: 22px;}
    .heygen-hero {margin: -20px -20px 32px; border-radius: 0 0 12px 12px;}
    .heygen-video-wrapper {margin: 32px 0; border-radius: 12px;}

    .heygen-cta,
    .heygen-cta-secondary {
        display: block;
        width: calc(100% - 32px);
        margin: 16px 16px;
        text-align: center;
        min-height: 48px; /* Accessible tap target */
    }

    .heygen-pricing {grid-template-columns: 1fr;}
    .heygen-pricing-card.featured {transform: scale(1);}
    .heygen-section {margin: 40px 16px; padding: 28px 24px;}
    .heygen-highlight {margin: 32px 16px; padding: 24px;}
    .heygen-hero + .heygen-highlight {margin: 20px 16px 32px; padding: 14px 18px;}
}

@media (max-width: 480px) {
    .heygen-article h2 {font-size: 24px;}
    .heygen-article h3 {font-size: 20px;}
    .heygen-article, .heygen-article p {font-size: 15px;}
    .heygen-cta, .heygen-cta-secondary {font-size: 16px; --cta-pad-y: 14px; --cta-pad-x: 24px;}
    .heygen-faq-question {font-size: 17px;}
}

/* ========================================
   UTILITIES & ACCESSIBILITY
   ======================================== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}
::selection {
    background: var(--primary-light);
    color: var(--text-heading);
}
.heygen-article a:focus,
.heygen-cta:focus,
.heygen-cta-secondary:focus {
    outline: var(--cta-ring);
    outline-offset: 3px;
}
/* Minimum spacing between touch targets for accessibility */
.heygen-cta,
.heygen-cta-secondary {
    margin-bottom: 8px;
}
@media (prefers-contrast: high) {
    .heygen-cta,
    .heygen-cta-secondary {
        border: 2px solid currentColor;
    }
}
@media print {
    .heygen-cta,
    .heygen-cta-secondary,
    .heygen-video-wrapper,
    .heygen-hero {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    * {transition: none !important; animation: none !important;}
    .heygen-cta,
    .heygen-cta-secondary { transition: background-color .01ms, box-shadow .01ms, transform .01ms, opacity .01ms !important; }
}

/* Keyframes */
@keyframes spin { to { transform: rotate(360deg); } }
/* ========================================
   ADDITIONAL CSS FOR MOTION REVIEW ARTICLE
   ======================================== */

/* Enhanced CTA Section */
.heygen-cta-section {
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e9ecef 100%);
    padding: 32px;
    border-radius: 12px;
    margin: 40px 0;
}

.heygen-cta-section h4 {
    margin-bottom: 12px;
}

.heygen-cta-section p {
    margin-bottom: 20px;
}

.heygen-cta-helper {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

/* Urgency/Warning Box */
.heygen-urgency {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe8a1 100%);
    border-left: 5px solid #ffc107;
    padding: 20px 24px;
    border-radius: 0 12px 12px 0;
    margin: 32px 0;
}

/* Risk Reversal Box */
.heygen-guarantee {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-left: 5px solid #4caf50;
    padding: 20px 24px;
    border-radius: 0 12px 12px 0;
    margin: 32px 0;
}

/* Comparison Table */
.heygen-comparison {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.heygen-comparison thead tr {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.heygen-comparison th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
}

.heygen-comparison th:not(:first-child) {
    text-align: center;
}

.heygen-comparison td {
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 15px;
}

.heygen-comparison td:not(:first-child) {
    text-align: center;
}

.heygen-comparison tbody tr:nth-child(even) {
    background: #f8fafc;
}

.heygen-comparison tbody tr:hover {
    background: #f1f5f9;
    transition: background var(--transition);
}

.heygen-comparison tbody tr:last-child td {
    border-bottom: none;
}

/* Pros and Cons Grid */
.heygen-pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 40px 0;
}

/* CTA Alignment */
.heygen-cta-center {
    text-align: center;
    margin: 40px 0;
}

.heygen-cta-large-center {
    text-align: center;
    margin: 48px 0;
}

/* Footer Links */
.heygen-footer-links {
    text-align: center;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid #e5e7eb;
}

/* Related Articles Section */
.heygen-related-articles {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    padding: 28px;
    margin: 40px 0;
}

.heygen-related-articles h3 {
    margin-bottom: 20px;
    color: var(--text-heading);
    font-size: 24px;
}

.heygen-related-articles ul {
    list-style: none;
    padding: 0;
}

.heygen-related-articles li {
    margin-bottom: 14px;
    padding-left: 24px;
    position: relative;
}

.heygen-related-articles li::before {
    content: '📄';
    position: absolute;
    left: 0;
    top: 2px;
}

.heygen-related-articles a {
    font-weight: 500;
    color: var(--text-body);
    text-decoration: none;
}

.heygen-related-articles a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Disclosure Box (using existing highlight variant) */
.heygen-disclosure {
    background: #f8fafc;
    border-left: 3px solid #cbd5e0;
    padding: 16px 20px;
    margin: 24px auto 40px;
    box-shadow: none;
    border-radius: 8px;
}

.heygen-disclosure p {
    color: #64748b;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

/* Table of Contents Numbers */
.heygen-toc ol {
    list-style: decimal;
    padding-left: 24px;
}

.heygen-toc li {
    margin-bottom: 10px;
    font-size: 16px;
}

.heygen-toc a {
    color: var(--text-body);
    text-decoration: none;
    font-weight: 500;
}

.heygen-toc a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .heygen-pros-cons-grid {
        grid-template-columns: 1fr;
    }
    
    .heygen-comparison {
        font-size: 14px;
    }
    
    .heygen-comparison th,
    .heygen-comparison td {
        padding: 10px 8px;
    }
    
    .heygen-cta-section {
        padding: 24px 20px;
    }
}/* End custom CSS */