/* Translate Voice Note — product landing UI (not article layout) */

@keyframes vmtVnFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes vmtVnPulseRing {
    0% { transform: scale(.92); opacity: .55; }
    70% { transform: scale(1.12); opacity: 0; }
    100% { transform: scale(1.12); opacity: 0; }
}

@keyframes vmtVnFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

body.page-translate-voice-note {
    background: #ecfdf5 !important;
}

body.page-translate-voice-note .vmt-landing-shell {
    border-bottom: none;
    overflow: hidden;
}

body.page-translate-voice-note .vmt-landing-hero {
    background: linear-gradient(155deg, #064e3b 0%, #065f46 30%, #047857 55%, #059669 82%, #ecfdf5 100%) !important;
    color: #fff;
    padding-bottom: 5rem !important;
}

body.page-translate-voice-note .vmt-landing-hero::before {
    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,.1), transparent 42%),
        radial-gradient(circle at 85% 10%, rgba(52,211,153,.22), transparent 36%),
        radial-gradient(circle at 70% 85%, rgba(255,255,255,.06), transparent 40%) !important;
}

body.page-translate-voice-note .vmt-landing-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #ecfdf5);
    pointer-events: none;
}

body.page-translate-voice-note .vmt-vn-hero-orb {
    position: absolute;
    border-radius: 9999px;
    pointer-events: none;
    filter: blur(40px);
    opacity: .28;
    animation: vmtVnFloat 8s ease-in-out infinite;
}

body.page-translate-voice-note .vmt-vn-hero-orb--1 {
    width: 220px;
    height: 220px;
    background: #34d399;
    top: 12%;
    right: 8%;
}

body.page-translate-voice-note .vmt-vn-hero-orb--2 {
    width: 160px;
    height: 160px;
    background: #6ee7b7;
    bottom: 18%;
    left: 6%;
    animation-delay: 1.5s;
}

body.page-translate-voice-note .vmt-landing-hero .inline-flex.items-center.gap-2 {
    background: rgba(255,255,255,.14) !important;
    border-color: rgba(255,255,255,.28) !important;
    color: #d1fae5 !important;
    backdrop-filter: blur(8px);
}

body.page-translate-voice-note .vmt-landing-hero h1,
body.page-translate-voice-note .vmt-landing-hero p,
body.page-translate-voice-note .vmt-landing-hero .text-secondary-900,
body.page-translate-voice-note .vmt-landing-hero .text-secondary-700,
body.page-translate-voice-note .vmt-landing-hero .text-secondary-600,
body.page-translate-voice-note .vmt-landing-hero .text-secondary-800,
body.page-translate-voice-note .vmt-landing-hero .text-primary-700 {
    color: inherit;
}

body.page-translate-voice-note .vmt-landing-hero h1 {
    color: #fff;
    text-shadow: 0 8px 30px rgba(0,0,0,.2);
}

body.page-translate-voice-note .vmt-landing-hero p.text-xl,
body.page-translate-voice-note .vmt-landing-hero p.text-lg {
    color: #d1fae5;
}

body.page-translate-voice-note .vmt-landing-hero p.text-secondary-600 {
    color: rgba(224,231,255,.9);
}

body.page-translate-voice-note .vmt-landing-hero .vmt-callout {
    background: rgba(255,255,255,.1) !important;
    border-left-color: rgba(199,210,254,.8) !important;
    border-radius: 1rem;
}

body.page-translate-voice-note .vmt-landing-hero .vmt-callout .text-secondary-800 {
    color: #ecfdf5 !important;
}

body.page-translate-voice-note .vmt-landing-hero .vmt-callout .text-primary-700 {
    color: #bbf7d0 !important;
}

body.page-translate-voice-note .vmt-landing-hero a.inline-flex {
    box-shadow: 0 16px 40px -12px rgba(0,0,0,.35);
    transition: transform .25s ease, box-shadow .25s ease;
}

body.page-translate-voice-note .vmt-landing-hero a.inline-flex:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 48px -14px rgba(0,0,0,.4);
}

body.page-translate-voice-note .vmt-vn-hero-card {
    position: relative;
    border: 1px solid rgba(255,255,255,.35) !important;
    box-shadow: 0 28px 60px -24px rgba(30,27,75,.55) !important;
    animation: vmtVnFadeUp .8s ease .15s both;
}

body.page-translate-voice-note .vmt-vn-hero-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 1.1rem;
    border: 2px solid rgba(165,180,252,.5);
    animation: vmtVnPulseRing 2.8s ease-out infinite;
    pointer-events: none;
}

body.page-translate-voice-note .vmt-vn-hero-card .w-24 {
    animation: vmtVnFloat 4s ease-in-out infinite;
}

body.page-translate-voice-note main.vmt-landing-content {
    background: transparent !important;
}

body.page-translate-voice-note .vmt-sidebar {
    position: sticky;
    top: 5.5rem;
    z-index: 40;
    max-height: none;
    overflow: visible;
    margin: 0 auto 2rem;
    max-width: 72rem;
    padding: 0 1rem;
}

body.page-translate-voice-note .vmt-sidebar nav {
    display: flex;
    flex-wrap: nowrap;
    gap: .5rem;
    overflow-x: auto;
    padding: .65rem;
    border-radius: 9999px;
    background: rgba(255,255,255,.92);
    border: 1px solid #bbf7d0;
    box-shadow: 0 16px 40px -28px rgba(4,120,87,.4);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

body.page-translate-voice-note .vmt-sidebar nav::-webkit-scrollbar {
    display: none;
}

body.page-translate-voice-note .vmt-toc-link {
    border-left: none !important;
    border: 1px solid transparent;
    border-radius: 9999px;
    padding: .5rem 1rem !important;
    white-space: nowrap;
    font-weight: 600;
    background: transparent;
    transition: all .2s ease;
}

body.page-translate-voice-note .vmt-toc-link:hover,
body.page-translate-voice-note .vmt-toc-link.active {
    background: linear-gradient(135deg, #047857, #059669) !important;
    color: #fff !important;
    border-color: #065f46;
    box-shadow: 0 8px 20px -10px rgba(4,120,87,.55);
}

body.page-translate-voice-note .vmt-vn-sections {
    max-width: 72rem;
    margin: 0 auto;
}

body.page-translate-voice-note .vmt-vn-sections > .min-w-0 {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

body.page-translate-voice-note .vmt-vn-sections > .min-w-0 > section {
    scroll-margin-top: 9rem;
    border-radius: 1.75rem;
    border: 1px solid rgba(199,210,254,.9);
    background: #fff;
    padding: 2rem;
    box-shadow: 0 24px 50px -40px rgba(15,23,42,.28);
    transition: transform .35s ease, box-shadow .35s ease;
}

@media (min-width: 640px) {
    body.page-translate-voice-note .vmt-vn-sections > .min-w-0 > section {
        padding: 2.5rem 2.75rem;
    }
}

body.page-translate-voice-note .vmt-vn-sections > .min-w-0 > section:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 60px -36px rgba(4,120,87,.2);
}

body.page-translate-voice-note .vmt-vn-sections > .min-w-0 > section > h2:first-child,
body.page-translate-voice-note .vmt-vn-sections > .min-w-0 > section > article:first-child > h2:first-child {
    position: relative;
    padding-bottom: .85rem;
    margin-bottom: 1.25rem !important;
}

body.page-translate-voice-note .vmt-vn-sections > .min-w-0 > section > h2:first-child::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 4rem;
    height: 4px;
    border-radius: 9999px;
    background: linear-gradient(90deg, #059669, #6ee7b7);
}

body.page-translate-voice-note .vmt-vn-sections section[id="why-clean"],
body.page-translate-voice-note .vmt-vn-sections section.bg-secondary-50 {
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4) !important;
    border-color: #bbf7d0;
}

body.page-translate-voice-note .vmt-vn-sections section .vmt-tag {
    transition: transform .2s ease, box-shadow .2s ease;
}

body.page-translate-voice-note .vmt-vn-sections section .vmt-tag:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 18px -12px rgba(4,120,87,.45);
}

body.page-translate-voice-note #how-it-works .max-w-2xl {
    max-width: none;
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    body.page-translate-voice-note #how-it-works .max-w-2xl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    body.page-translate-voice-note #how-it-works .max-w-2xl {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

body.page-translate-voice-note .vmt-workflow-step {
    padding: 1.25rem 1.25rem 1.25rem 4.25rem;
    border-radius: 1.25rem;
    border: 1px solid #bbf7d0;
    background: linear-gradient(180deg, #fff, #ecfdf5);
    transition: transform .25s ease, border-color .25s ease;
}

body.page-translate-voice-note .vmt-workflow-step::before {
    display: none;
}

body.page-translate-voice-note .vmt-workflow-step:hover {
    transform: translateY(-4px);
    border-color: #34d399;
}

body.page-translate-voice-note .vmt-workflow-num {
    background: linear-gradient(135deg, #047857, #34d399);
    box-shadow: 0 10px 24px -12px rgba(4,120,87,.55);
}

body.page-translate-voice-note #languages .vmt-lang-pill {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

body.page-translate-voice-note #languages .vmt-lang-pill:hover {
    transform: translateY(-3px) scale(1.02);
}

body.page-translate-voice-note #examples article {
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
    background: #fafafa;
    margin-bottom: 1.5rem !important;
    transition: transform .3s ease, box-shadow .3s ease;
}

body.page-translate-voice-note #examples article:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 44px -32px rgba(4,120,87,.3);
}

body.page-translate-voice-note .vmt-example-card {
    transition: transform .25s ease;
}

body.page-translate-voice-note .vmt-example-card:hover {
    transform: scale(1.01);
}

body.page-translate-voice-note #use-cases article {
    border-radius: 1.35rem !important;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

body.page-translate-voice-note #use-cases article:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px -30px rgba(4,120,87,.25);
    border-color: #34d399 !important;
}

body.page-translate-voice-note #why-it-matters article {
    padding: 1.25rem 0;
    border-bottom: 1px solid #e2e8f0;
    transition: opacity .3s ease;
}

body.page-translate-voice-note #why-it-matters article:last-child {
    border-bottom: none;
}

body.page-translate-voice-note .vmt-compare-card {
    background: linear-gradient(180deg, #fff, #f8faff);
    transition: transform .3s ease, box-shadow .3s ease;
}

body.page-translate-voice-note .vmt-compare-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 50px -32px rgba(4,120,87,.22);
}

body.page-translate-voice-note #when-to-use .rounded-2xl {
    transition: transform .25s ease, box-shadow .25s ease;
}

body.page-translate-voice-note #when-to-use .rounded-2xl:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -28px rgba(4,120,87,.2);
}

body.page-translate-voice-note #when-to-use article.border-b {
    padding: 1rem 0;
    transition: padding-left .2s ease;
}

body.page-translate-voice-note #when-to-use article.border-b:hover {
    padding-left: .5rem;
}

body.page-translate-voice-note .vmt-vn-sections section.rounded-3xl.bg-gradient-to-br {
    background: linear-gradient(135deg, #047857, #059669, #34d399) !important;
    border: none !important;
    box-shadow: 0 30px 70px -36px rgba(30,27,75,.5);
}

body.page-translate-voice-note .vmt-faq-item {
    border-radius: 1rem;
    transition: box-shadow .25s ease, border-color .25s ease;
}

body.page-translate-voice-note .vmt-faq-item.open {
    border-color: #34d399;
    box-shadow: 0 14px 32px -24px rgba(4,120,87,.3);
}

body.page-translate-voice-note .vmt-vn-sections section.border-indigo-200,
body.page-translate-voice-note .vmt-vn-sections section.border-primary-200 {
    background: linear-gradient(135deg, #ecfdf5, #fff) !important;
}

body.page-translate-voice-note .vmt-vn-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s ease, transform .65s ease;
}

body.page-translate-voice-note .vmt-vn-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

body.page-translate-voice-note #audio-demos {
    border-radius: 1.75rem;
    overflow: hidden;
}

@media (max-width: 1023px) {
    body.page-translate-voice-note .vmt-sidebar {
        top: 4.75rem;
    }

    body.page-translate-voice-note .vmt-landing-hero h1 {
        font-size: 2.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.page-translate-voice-note *,
    body.page-translate-voice-note *::before,
    body.page-translate-voice-note *::after {
        animation: none !important;
        transition: none !important;
    }

    body.page-translate-voice-note .vmt-vn-reveal {
        opacity: 1;
        transform: none;
    }
}
