/* dzungmedia — Enterprise SaaS Homepage */

:root {
    --tvc-bg: var(--dzm-bg);
    --tvc-bg-elevated: var(--dzm-bg-elevated);
    --tvc-bg-card: var(--dzm-bg-card);
    --tvc-border: var(--dzm-border);
    --tvc-border-hover: rgba(37, 99, 255, 0.35);
    --tvc-blue: var(--dzm-blue);
    --tvc-blue-light: var(--dzm-blue-light);
    --tvc-cyan: var(--dzm-blue-light);
    --tvc-orange: var(--dzm-orange);
    --tvc-text: var(--dzm-text);
    --tvc-text-muted: var(--dzm-text-muted);
    --tvc-text-soft: var(--dzm-text-soft);
    --tvc-glow: var(--dzm-glow-blue);
    --tvc-font: var(--dzm-font);
    --tvc-font-display: var(--dzm-font-display);
    --tvc-radius: var(--dzm-radius);
    --tvc-ease: var(--dzm-ease);
    --tvc-header-h: var(--dzm-header-h);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.tvc-body {
    background: var(--bg-dark, #020817);
    background-image:
        radial-gradient(ellipse 80% 50% at 70% -10%, rgba(37, 99, 255, 0.14), transparent 55%),
        radial-gradient(ellipse 50% 40% at 10% 20%, rgba(255, 106, 0, 0.07), transparent 50%);
    color: var(--tvc-text);
    font-family: var(--tvc-font);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    overflow-x: hidden;
}

/* ── Header ── */

.tvc-header {
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1030;
}

.tvc-navbar {
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    background: rgba(7, 17, 32, 0.78);
    border-bottom: 1px solid var(--tvc-border);
    min-height: var(--tvc-header-h);
    padding: 0;
    transition: background 0.45s var(--tvc-ease), box-shadow 0.45s var(--tvc-ease);
}

.tvc-header.is-scrolled .tvc-navbar {
    background: rgba(7, 17, 32, 0.94);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 1px rgba(37, 99, 255, 0.12);
}

.tvc-brand {
    margin: 0;
    max-height: none;
    overflow: visible;
    padding: 0;
}

.tvc-navbar .nav-link {
    color: var(--tvc-text-soft) !important;
    font-size: 14px;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color 0.35s var(--tvc-ease), text-shadow 0.35s var(--tvc-ease);
}

.tvc-navbar .nav-link:hover,
.tvc-navbar .nav-link.active {
    color: var(--tvc-text) !important;
    text-shadow: 0 0 20px rgba(37, 99, 255, 0.25);
}

.tvc-navbar .nav-link::after {
    background: linear-gradient(90deg, var(--tvc-orange), var(--tvc-blue));
    bottom: 0;
    content: '';
    height: 2px;
    left: 1rem;
    opacity: 0;
    position: absolute;
    right: 1rem;
    transform: scaleX(0.5);
    transition: opacity 0.35s var(--tvc-ease), transform 0.35s var(--tvc-ease);
}

.tvc-navbar .nav-link:hover::after,
.tvc-navbar .nav-link.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.tvc-navbar-toggler {
    border-color: var(--tvc-border);
    padding: 0.35rem 0.55rem;
}

.tvc-navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(43, 140, 255, 0.2);
}

.navbar-toggler-icon {
    filter: invert(1);
}

@media (max-width: 991.98px) {
    .tvc-navbar .navbar-collapse {
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        background: rgba(2, 8, 23, 0.96);
        border: 1px solid var(--tvc-border);
        border-radius: var(--tvc-radius);
        margin-top: 0.75rem;
        padding: 0.75rem 0.5rem 1rem;
    }
}

/* ── Buttons ── */

.tvc-btn {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 14px;
    font-weight: 600;
    gap: 0.5rem;
    padding: 0.75rem 1.35rem;
    transition: all 0.35s var(--tvc-ease);
}

.tvc-btn--sm {
    font-size: 13px;
    padding: 0.55rem 1.1rem;
}

.tvc-btn--primary {
    background: linear-gradient(135deg, #2563ff, #1d4ed8);
    border: 1px solid rgba(37, 99, 255, 0.35);
    box-shadow: 0 8px 28px rgba(37, 99, 255, 0.28);
    color: #fff !important;
}

.tvc-btn--primary:hover {
    background: linear-gradient(135deg, #3d7aff, #2563ff);
    box-shadow: 0 12px 36px rgba(37, 99, 255, 0.38), 0 0 28px rgba(37, 99, 255, 0.22);
    color: #fff !important;
    transform: translateY(-2px);
}

.tvc-btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--tvc-border);
    color: var(--tvc-text-soft) !important;
}

.tvc-btn--ghost:hover {
    background: rgba(43, 140, 255, 0.08);
    border-color: var(--tvc-border-hover);
    color: var(--tvc-text) !important;
    transform: translateY(-2px);
}

.tvc-btn:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none !important;
}

/* ── Hero ── */

.tvc-main {
    padding-top: var(--tvc-header-h);
}

.tvc-hero {
    min-height: auto;
    overflow: hidden;
    padding: 4rem 0 5rem;
    position: relative;
}

.tvc-hero__bg {
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

.tvc-hero__glow {
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    position: absolute;
}

.tvc-hero__glow--left {
    background: radial-gradient(circle, rgba(37, 99, 255, 0.32), transparent 70%);
    height: 420px;
    left: -8%;
    top: 10%;
    width: 420px;
}

.tvc-hero__glow--right {
    background: radial-gradient(circle, rgba(255, 107, 0, 0.22), transparent 70%);
    height: 480px;
    right: 0;
    top: 15%;
    width: 480px;
}

.tvc-hero__particles {
    inset: 0;
    position: absolute;
}

.tvc-particle {
    animation: tvcFloat 12s ease-in-out infinite;
    background: rgba(109, 186, 255, 0.35);
    border-radius: 50%;
    height: 3px;
    position: absolute;
    width: 3px;
}

@keyframes tvcFloat {
    0%, 100% { transform: translateY(0); opacity: 0.3; }
    50% { transform: translateY(-18px); opacity: 0.7; }
}

.tvc-hero__container {
    position: relative;
    z-index: 1;
}

.tvc-hero__eyebrow {
    color: var(--tvc-blue-light);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.tvc-hero__title {
    font-family: var(--tvc-font-display);
    font-size: clamp(2.25rem, 5.5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin-bottom: 1.25rem;
}

.tvc-hero__title span {
    background: linear-gradient(135deg, #5b8cff, #2563ff, #1d4ed8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tvc-hero__desc {
    color: var(--tvc-text-muted);
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 52ch;
}

.tvc-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.tvc-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tvc-stat-pill {
    align-items: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--tvc-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--tvc-radius);
    display: flex;
    gap: 0.85rem;
    padding: 0.85rem 1.1rem;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.tvc-stat-pill:hover {
    border-color: var(--tvc-border-hover);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.tvc-stat-pill i {
    color: var(--tvc-cyan);
    font-size: 1.35rem;
}

.tvc-stat-pill strong {
    color: var(--tvc-text);
    display: block;
    font-size: 0.95rem;
    line-height: 1.2;
}

.tvc-stat-pill span {
    color: var(--tvc-text-muted);
    display: block;
    font-size: 0.78rem;
}

.tvc-hero__visual {
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.tvc-hero__frame {
    border-radius: 24px;
    max-width: 100%;
    overflow: visible;
    position: relative;
    width: 100%;
}

.tvc-hero__frame-aura {
    border-radius: 50%;
    filter: blur(48px);
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

.tvc-hero__frame-aura--blue {
    background: rgba(37, 99, 255, 0.45);
    height: 70%;
    left: 5%;
    top: 15%;
    width: 55%;
}

.tvc-hero__frame-aura--orange {
    background: rgba(255, 107, 0, 0.35);
    height: 55%;
    right: 0;
    top: 25%;
    width: 45%;
}

.tvc-hero__founder {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 48px rgba(37, 99, 255, 0.12);
    display: block;
    height: auto;
    max-height: min(620px, 72vh);
    object-fit: cover;
    object-position: top center;
    position: relative;
    width: 100%;
    z-index: 1;
}

.tvc-hero__frame-glow {
    background: linear-gradient(135deg, rgba(37, 99, 255, 0.12), rgba(255, 107, 0, 0.08) 55%, transparent 80%);
    border-radius: 24px;
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 2;
}

/* ── Sections ── */

.tvc-section {
    padding: 5rem 0;
    position: relative;
}

.tvc-section--alt {
    background: linear-gradient(180deg, transparent, rgba(12, 18, 32, 0.6) 50%, transparent);
}

.tvc-section__head {
    margin-bottom: 3rem;
    text-align: center;
}

.tvc-section__eyebrow {
    color: var(--tvc-cyan);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.tvc-section__title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.tvc-section__title span {
    background: linear-gradient(135deg, var(--tvc-blue-light), var(--tvc-orange-soft));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tvc-section__lead {
    color: var(--tvc-text-muted);
    margin: 0 auto;
    max-width: 620px;
}

.tvc-section__lead--left {
    margin-left: 0;
    max-width: none;
}

/* ── 3D Brand Showcase ── */

.tvc-section--showcase {
    padding-top: 3rem;
}

.tvc-showcase__head {
    margin-bottom: 2rem;
    text-align: center;
}

.tvc-showcase__frame {
    border-radius: 24px;
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.45),
        0 0 64px rgba(37, 99, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
    position: relative;
    width: 100%;
}

.tvc-showcase__frame::before {
    background: linear-gradient(135deg, rgba(37, 99, 255, 0.08), rgba(255, 106, 0, 0.05));
    content: '';
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

.tvc-showcase__img {
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

/* ── Service cards ── */

.tvc-service-card {
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background: var(--tvc-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--tvc-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
    height: 100%;
    padding: 1.75rem 1.5rem;
    transition: transform 0.4s var(--tvc-ease), border-color 0.4s var(--tvc-ease), box-shadow 0.4s var(--tvc-ease);
}

.tvc-service-card:hover {
    border-color: rgba(37, 99, 255, 0.28);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.28),
        0 0 32px rgba(37, 99, 255, 0.14),
        0 0 24px rgba(255, 106, 0, 0.08);
    transform: translateY(-4px);
}

.tvc-service-card__icon {
    align-items: center;
    background: rgba(43, 140, 255, 0.1);
    border: 1px solid rgba(109, 186, 255, 0.18);
    border-radius: 12px;
    color: var(--tvc-cyan);
    display: inline-flex;
    font-size: 1.25rem;
    height: 44px;
    justify-content: center;
    margin-bottom: 1.25rem;
    width: 44px;
}

.tvc-service-card__title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.65rem;
}

.tvc-service-card__text {
    color: var(--tvc-text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.tvc-service-card__link {
    align-items: center;
    color: var(--tvc-blue-light);
    display: inline-flex;
    font-size: 13px;
    font-weight: 600;
    gap: 0.35rem;
    text-decoration: none;
    transition: color 0.3s ease, gap 0.3s ease;
}

.tvc-service-card__link:hover {
    color: var(--tvc-cyan);
    gap: 0.55rem;
}

/* ── OCR Demo ── */

.tvc-ocr {
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background: var(--tvc-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 2.5rem;
}

.tvc-ocr__pipeline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.tvc-ocr__step {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(8, 14, 26, 0.65);
    border: 1px solid var(--tvc-border);
    border-radius: var(--tvc-radius);
    flex: 1 1 160px;
    max-width: 220px;
    min-width: 150px;
    padding: 1.25rem;
    text-align: center;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.tvc-ocr__step--active {
    border-color: rgba(77, 212, 255, 0.35);
    box-shadow: 0 0 32px rgba(43, 140, 255, 0.12);
}

.tvc-ocr__step-icon {
    align-items: center;
    background: rgba(43, 140, 255, 0.1);
    border-radius: 12px;
    color: var(--tvc-cyan);
    display: inline-flex;
    font-size: 1.35rem;
    height: 48px;
    justify-content: center;
    margin-bottom: 0.75rem;
    width: 48px;
}

.tvc-ocr__step h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.tvc-ocr__step p {
    color: var(--tvc-text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 0.85rem;
}

.tvc-ocr__arrow {
    align-items: center;
    color: var(--tvc-text-muted);
    display: flex;
    font-size: 1.25rem;
}

.tvc-ocr__badge {
    background: rgba(43, 140, 255, 0.12);
    border: 1px solid rgba(109, 186, 255, 0.25);
    border-radius: 999px;
    color: var(--tvc-cyan);
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.75rem;
    text-transform: uppercase;
}

.tvc-ocr__note {
    color: var(--tvc-text-muted);
    font-size: 0.85rem;
    margin: 1.25rem 0 0;
    text-align: center;
}

.tvc-ocr__note i {
    color: var(--tvc-blue-light);
    margin-right: 0.35rem;
}

@media (max-width: 767.98px) {
    .tvc-ocr__arrow {
        display: none;
    }

    .tvc-ocr__step {
        max-width: none;
        width: 100%;
    }
}

/* ── CTA ── */

.tvc-cta {
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background: var(--tvc-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 2.5rem;
}

.tvc-cta__title {
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tvc-cta__text {
    color: var(--tvc-text-muted);
    margin: 0;
}

/* ── Footer ── */

.tvc-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2rem 0;
}

.tvc-footer__copy {
    color: var(--tvc-text-muted);
    font-size: 0.875rem;
}

.tvc-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: flex-end;
}

.tvc-footer__links a {
    color: var(--tvc-text-muted);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tvc-footer__links a:hover {
    color: var(--tvc-blue-light);
}

@media (max-width: 767.98px) {
    .tvc-footer__links {
        justify-content: flex-start;
    }
}

/* ── Modal ── */

.tvc-modal .modal-content {
    background: var(--tvc-bg-elevated);
    border: 1px solid var(--tvc-border);
    color: var(--tvc-text);
}

.tvc-modal__placeholder {
    align-items: center;
    aspect-ratio: 16 / 9;
    background: rgba(8, 14, 26, 0.8);
    border: 1px dashed var(--tvc-border);
    border-radius: var(--tvc-radius);
    color: var(--tvc-text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
    text-align: center;
}

.tvc-modal__placeholder i {
    color: var(--tvc-blue-light);
    font-size: 3rem;
}

/* ── Reveal animations ── */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--tvc-ease), transform 0.7s var(--tvc-ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

/* ── Responsive hero ── */

@media (min-width: 992px) {
    .tvc-hero__title {
        font-size: 4.5rem;
    }
}

@media (max-width: 991.98px) {
    .tvc-hero {
        padding: 2rem 0 3rem;
    }

    .tvc-hero__actions {
        justify-content: flex-start;
    }

    .tvc-hero__visual {
        justify-content: center;
        margin-top: 0.5rem;
    }

    .tvc-hero__founder {
        max-height: 480px;
    }
}

@media (max-width: 575.98px) {
    .tvc-hero__actions {
        flex-direction: column;
    }

    .tvc-hero__actions .tvc-btn {
        justify-content: center;
        width: 100%;
    }

    .tvc-stat-pill {
        flex: 1 1 100%;
    }

    .tvc-ocr {
        padding: 1.5rem;
    }
}
