/* Service links only: do not inherit or modify player, carousel or modal rules. */
.header-ai-video-link,
.floating-ai-video-link {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #e5e7eb;
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.header-ai-video-link {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(148, 163, 184, .3);
    border-radius: 50%;
    background: rgba(17, 24, 39, .72);
}

.header-ai-video-link svg { width: 23px; height: 23px; }
.header-ai-video-link:hover { color: #c084fc; background: rgba(139, 92, 246, .12); }

.floating-ai-video-link {
    position: fixed;
    right: 24px;
    bottom: 98px;
    z-index: 45;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(192, 132, 252, .55);
    border-radius: 18px;
    background: linear-gradient(145deg, #7c3aed, #9333ea);
    color: #fff;
    box-shadow: 0 14px 34px rgba(88, 28, 135, .5);
}

.floating-ai-video-link svg { width: 27px; height: 27px; }
.floating-ai-video-link:hover { transform: translateY(-3px); background: #9333ea; }
.mobile-ai-video-link { display: flex; align-items: center; gap: .65rem; }
.mobile-ai-video-link svg { width: 22px; height: 22px; flex: 0 0 auto; }

.header-ai-video-link:focus-visible,
.floating-ai-video-link:focus-visible,
.mobile-ai-video-link:focus-visible {
    outline: 2px solid #c084fc;
    outline-offset: 3px;
}

@media (min-width: 768px) {
    .header-ai-video-link,
    .floating-ai-video-link { display: flex; }
}

/* Standalone landing page. All remaining rules are page-specific. */
.ai-video-page {
    margin: 0;
    background: #050505;
    color: #f5f3ff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
}

.ai-video-page *, .ai-video-page *::before, .ai-video-page *::after { box-sizing: border-box; }
.ai-video-page h1, .ai-video-page h2, .ai-video-page h3, .ai-video-page p { margin: 0; }
.ai-video-page a:focus-visible, .ai-video-page summary:focus-visible { outline: 2px solid #c084fc; outline-offset: 5px; }
.ai-video-shell { width: min(1180px, 100%); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.ai-video-header { border-bottom: 1px solid #1f2937; }
.ai-video-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; padding-bottom: 18px; }
.ai-video-brand { color: #a78bfa; font-size: 1.5rem; font-weight: 800; text-decoration: none; }
.ai-video-home { padding: 8px 16px; border: 1px solid #374151; border-radius: 999px; color: #e5e7eb; text-decoration: none; font-size: .875rem; }
.ai-video-home:hover { border-color: #a78bfa; color: #fff; }
.ai-video-main { padding-top: 48px; padding-bottom: 56px; }
.ai-video-hero { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; padding: 44px; border: 1px solid #292039; border-radius: 28px; background: radial-gradient(ellipse at 5% 0%, rgba(124, 58, 237, .16), transparent 65%), #10121b; }
.ai-video-intro { min-width: 0; align-self: center; }
.ai-video-page .ai-video-eyebrow { margin-bottom: 14px; color: #c4b5fd; font-size: .875rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.ai-video-page h1 { font-size: clamp(2.25rem, 4.5vw, 3.6rem); line-height: 1.12; letter-spacing: -.035em; font-weight: 800; }
.ai-video-page h1 span { color: #c084fc; }
.ai-video-page .ai-video-lead { max-width: 640px; margin-top: 22px; color: #d1d5db; }
.ai-video-model-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.ai-video-model-tags span { padding: 4px 10px; border: 1px solid #3b304b; border-radius: 8px; background: rgba(0, 0, 0, .18); color: #e9d5ff; font-size: .875rem; }
.ai-video-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ai-video-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 12px; font-size: 1rem; font-weight: 650; line-height: 1.5; text-align: center; text-decoration: none; transition: background-color 160ms ease, border-color 160ms ease; }
.ai-video-button-primary { background: #7c3aed; color: #fff; }
.ai-video-button-primary:hover { background: #8b5cf6; }
.ai-video-button-secondary { background: transparent; border-color: #4b3c60; color: #e9d5ff; }
.ai-video-button-secondary:hover { border-color: #c084fc; background: rgba(124, 58, 237, .1); }
.ai-video-page .ai-video-fine-print { max-width: 600px; margin-top: 18px; color: #b6b1c4; font-size: .875rem; line-height: 1.6; }
.ai-video-start-card { display: flex; flex-direction: column; align-items: center; justify-content: center; align-self: stretch; padding: 26px 20px; border: 1px solid #2c2738; border-radius: 22px; background: rgba(0, 0, 0, .32); text-align: center; }
.ai-video-service-mark { display: flex; align-items: center; justify-content: center; width: 86px; height: 86px; border-radius: 24px; background: linear-gradient(145deg, #a13cf0, #7c3aed 55%, #4c1d95); }
.ai-video-service-mark img { display: block; width: 56px; height: 56px; }
.ai-video-page .ai-video-start-title { margin-top: 18px; font-size: 1.1rem; font-weight: 650; }
.ai-video-qr-link { display: block; width: 180px; height: 180px; margin-top: 22px; border-radius: 12px; overflow: hidden; background: #fff; }
.ai-video-qr-link img { display: block; width: 180px; height: 180px; }
.ai-video-page .ai-video-start-card > p:last-child { margin-top: 16px; color: #b6b1c4; font-size: .875rem; line-height: 1.55; }
.ai-video-section { margin-top: 72px; scroll-margin-top: 24px; }
.ai-video-page h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.2; letter-spacing: -.02em; }
.ai-video-page h3 { font-size: 1.125rem; font-weight: 650; line-height: 1.35; }
.ai-video-page .ai-video-section-heading > p:not(.ai-video-eyebrow) { max-width: 820px; margin-top: 16px; color: #b6b1c4; }
.ai-video-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.ai-video-feature { padding: 24px; border: 1px solid #252533; border-radius: 18px; background: #11131c; }
.ai-video-feature h3 { color: #e9d5ff; }
.ai-video-page .ai-video-feature p { margin-top: 12px; color: #b6b1c4; }
.ai-video-price-note { margin-top: 24px; padding: 18px 22px; border: 1px solid #46315f; border-radius: 14px; background: rgba(124, 58, 237, .09); color: #d1c4e9; }
.ai-video-price-note strong { color: #ede9fe; }
.ai-video-price-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.ai-video-price-card { grid-column: span 2; min-width: 0; padding: 24px 20px; border: 1px solid #2c2738; border-radius: 18px; background: #11131c; }
.ai-video-price-card:nth-last-child(-n+2) { grid-column: span 3; }
.ai-video-price-card h3 { font-size: 1.25rem; }
.ai-video-page .ai-video-price-kind { margin-top: 6px; color: #a1a1b5; font-size: .875rem; }
.ai-video-price-card table { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: .875rem; line-height: 1.6; }
.ai-video-price-card caption { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ai-video-price-card th, .ai-video-price-card td { padding: 12px 4px; border-bottom: 1px solid #292936; }
.ai-video-price-card thead th { color: #a1a1b5; font-size: .875rem; font-weight: 500; line-height: 1.4; text-align: right; vertical-align: bottom; }
.ai-video-price-card th:first-child { padding-left: 0; text-align: left; }
.ai-video-price-card tbody th { color: #e5e7eb; font-weight: 500; }
.ai-video-price-card td { color: #e9d5ff; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ai-video-price-card tr:last-child th, .ai-video-price-card tr:last-child td { border-bottom: 0; }
.ai-video-page .ai-video-price-detail { margin-top: 18px; color: #a1a1b5; font-size: .875rem; }
.ai-video-faq { max-width: 900px; }
.ai-video-faq .ai-video-section-heading { margin-bottom: 24px; }
.ai-video-faq details { border-bottom: 1px solid #292936; }
.ai-video-faq summary { position: relative; padding: 20px 36px 20px 0; color: #e9d5ff; font-size: 1rem; font-weight: 600; cursor: pointer; list-style: none; }
.ai-video-faq summary::-webkit-details-marker { display: none; }
.ai-video-faq summary::after { position: absolute; right: 6px; top: 20px; content: '+'; color: #c084fc; font-size: 1.25rem; line-height: 1.3; }
.ai-video-faq details[open] summary::after { content: '−'; }
.ai-video-page .ai-video-faq details p { margin: 0 0 24px; color: #b6b1c4; }
.ai-video-final { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-top: 64px; padding: 32px; border: 1px solid #3b2a50; border-radius: 20px; background: #11131c; }
.ai-video-final h2 { font-size: 1.5rem; }
.ai-video-page .ai-video-final p { margin-top: 10px; color: #b6b1c4; }
.ai-video-footer { padding: 24px; border-top: 1px solid #1f2937; color: #a1a1b5; font-size: .875rem; text-align: center; }

@media (max-width: 1023px) {
    .ai-video-hero { gap: 28px; padding: 30px; }
    .ai-video-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ai-video-price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ai-video-price-card, .ai-video-price-card:nth-last-child(-n+2) { grid-column: auto; }
}

@media (max-width: 760px) {
    .ai-video-shell { padding-left: 18px; padding-right: 18px; }
    .ai-video-main { padding-top: 24px; padding-bottom: 36px; }
    .ai-video-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 26px 22px; border-radius: 22px; }
    .ai-video-start-card { display: none; }
    .ai-video-section { margin-top: 48px; }
    .ai-video-features, .ai-video-price-grid { grid-template-columns: minmax(0, 1fr); }
    .ai-video-price-card { padding: 24px 20px; }
    .ai-video-actions { flex-direction: column; }
    .ai-video-final { flex-direction: column; align-items: stretch; padding: 26px 22px; }
    .ai-video-brand { font-size: 1.3rem; }
    .ai-video-header-inner { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .header-ai-video-link, .floating-ai-video-link, .ai-video-button { transition: none; }
}
