﻿/* =========================================================================
   PAGE: LIÊN HỆ (CONTACT US - DARK PREMIUM)
   ========================================================================= */

/* --- Hero Section Liên Hệ --- */
/* =========================================================================
   COMPONENT: CONTACT HERO (CYBER DISPATCH CENTER)
   ========================================================================= */

.vc-contact-hero-premium {
    position: relative;
    min-height: 60vh;
    background-color: #020202;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Các lớp Background (Layers) --- */
.hero-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(80%) brightness(0.4);
    z-index: 0;
}

.hero-overlay-gradient {
    position: absolute;
    inset: 0;
    /* Gradient từ đen sâu sang đỏ tối */
    background: linear-gradient(135deg, rgba(5,5,5,1) 0%, rgba(5,5,5,0.7) 50%, rgba(160,20,20,0.2) 100%);
    z-index: 1;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    /* Tạo lưới caro mờ mang tính công nghệ */
    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;
    z-index: 1;
    pointer-events: none;
}

/* --- Nội dung Cột Trái --- */
.cyber-status-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00ff88;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.blinking-dot {
    width: 8px;
    height: 8px;
    background-color: #00ff88;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 10px #00ff88;
    animation: cyber-blink 1.5s infinite;
}

@keyframes cyber-blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero-title-pro {
    margin: 0;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
}

    .hero-title-pro .text-outline {
        font-size: clamp(3rem, 6vw, 4.5rem);
        font-weight: 900;
        color: transparent;
        -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.4);
        letter-spacing: 2px;
    }

    .hero-title-pro .text-solid-gold {
        font-size: clamp(2.5rem, 5vw, 4rem);
        font-weight: 900;
        background: linear-gradient(to right, #ffffff 0%, var(--brand-yellow) 50%, #d4af37 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        letter-spacing: -1px;
        text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

.hero-subtitle-pro {
    font-size: 1.15rem;
    color: #a0a0a0;
    max-width: 650px;
    line-height: 1.7;
}

.hero-coordinates {
    display: inline-block;
    background: rgba(0, 0, 0, 0.5);
    border-left: 3px solid var(--brand-yellow);
    padding: 10px 20px;
    color: #888;
    font-family: monospace;
    font-size: 0.95rem;
    backdrop-filter: blur(5px);
}

    .hero-coordinates strong {
        color: #fff;
        letter-spacing: 1px;
    }

/* --- Đồ họa Radar (Cột Phải) --- */
.radar-graphic-container {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Các vòng tròn tĩnh */
.radar-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 193, 7, 0.15); /* Vòng màu vàng mờ */
}

.circle-1 {
    width: 100%;
    height: 100%;
}

.circle-2 {
    width: 66%;
    height: 66%;
}

.circle-3 {
    width: 33%;
    height: 33%;
}

/* Tia quét Radar (Sweeper) */
.radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 50%;
    transform-origin: 0% 0%;
    /* Gradient tạo chùm tia sáng quét */
    background: conic-gradient(from 0deg, transparent 70%, rgba(255, 193, 7, 0.4) 100%);
    animation: radar-spin 4s linear infinite;
    border-radius: 0 100% 0 0;
}

@keyframes radar-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Icon tổng đài ở tâm radar */
.radar-center-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--brand-red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 2;
    box-shadow: 0 0 20px rgba(211, 47, 47, 0.6);
    border: 2px solid #fff;
}

/* --- Responsive Layout --- */
@media (max-width: 991.98px) {
    .vc-contact-hero-premium {
        padding: 120px 0 60px;
        text-align: center;
    }

    .hero-subtitle-pro {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-coordinates {
        border-left: none;
        border-bottom: 3px solid var(--brand-yellow);
    }
}

/* --- Form Liên Hệ Kính Mờ (Glass Form) --- */
.vc-contact-main {
    background-color: #050505;
}

.vc-contact-form-glass {
    background: rgba(20, 20, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 50px 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.form-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.form-label {
    color: #a0a0a0;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Custom Input Groups */
.input-group-dark {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

    /* Hiệu ứng khi input được focus */
    .input-group-dark:focus-within {
        border-color: var(--brand-yellow);
        box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.1);
        background: rgba(0, 0, 0, 0.6);
    }

.input-icon {
    padding: 0 15px;
    color: #666;
    font-size: 1.1rem;
    transition: 0.3s;
}

.input-group-dark:focus-within .input-icon {
    color: var(--brand-yellow);
}

.form-control-dark {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 15px 15px 15px 0;
    font-size: 1rem;
    outline: none !important;
    box-shadow: none !important;
}

    .form-control-dark::placeholder {
        color: #555;
    }

/* Xử lý Textarea (Không có icon) */
textarea.form-control-dark {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    width: 100%;
    resize: vertical;
    transition: all 0.3s ease;
}

    textarea.form-control-dark:focus {
        border-color: var(--brand-yellow);
        box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.1);
        background: rgba(0, 0, 0, 0.6);
    }

/* Xử lý Select Dropdown */
.select-wrapper::after {
    content: '\f107'; /* FontAwesome angle-down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    color: #666;
    pointer-events: none;
}

.custom-select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

    .custom-select option {
        background: #111;
        color: #fff;
        padding: 10px;
    }

/* --- Khối Thông Tin (Info Cards) --- */
.vc-info-card {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px;
    transition: 0.3s ease;
}

    .vc-info-card:hover {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.1);
        transform: translateX(5px);
    }

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--brand-yellow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-right: 20px;
}

.info-content h4 {
    color: #888;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.info-link {
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: 0.3s;
}

    .info-link:hover {
        color: var(--brand-yellow) !important;
    }

/* =========================================================================
   COMPONENT: CONTACT TECH-CARDS (THẺ THÔNG TIN LIÊN HỆ PRO)
   ========================================================================= */

.vc-contact-card-pro {
    background: rgba(20, 20, 22, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(10px);
}

    /* Hiệu ứng viền hắt sáng khi hover */
    .vc-contact-card-pro::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: var(--brand-yellow);
        transform: scaleY(0);
        transition: transform 0.4s ease;
        transform-origin: bottom;
    }

.card-glow-hover {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: 0.5s ease;
    pointer-events: none;
}

.vc-contact-card-pro:hover {
    background: rgba(30, 30, 35, 0.6);
    border-color: rgba(255, 193, 7, 0.2);
    transform: translateX(5px); /* Trượt nhẹ sang phải */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

    .vc-contact-card-pro:hover::before {
        transform: scaleY(1);
    }

    .vc-contact-card-pro:hover .card-glow-hover {
        opacity: 1;
    }

/* --- Khối Icon --- */
.pro-icon-box {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    position: relative;
    border: 1px solid transparent;
    transition: 0.4s;
}

.box-yellow {
    background: rgba(255, 193, 7, 0.1);
    color: var(--brand-yellow);
    border-color: rgba(255, 193, 7, 0.2);
}

.box-red {
    background: rgba(211, 47, 47, 0.1);
    color: var(--brand-red);
    border-color: rgba(211, 47, 47, 0.2);
}

.vc-contact-card-pro:hover .box-yellow {
    background: var(--brand-yellow);
    color: #000;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

.vc-contact-card-pro:hover .box-red {
    background: var(--brand-red);
    color: #fff;
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
}

/* Chấm xanh nhấp nháy (Live Ping) */
.live-ping {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 12px;
    height: 12px;
    background: #00ff88;
    border-radius: 50%;
    border: 2px solid #111;
}

    .live-ping::after {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        border-radius: 50%;
        border: 1px solid #00ff88;
        animation: ping-map 1.5s infinite;
    }

@keyframes ping-map {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* --- Nội Dung Text --- */
.pro-title {
    color: #a0a0a0;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.badge-live {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

.pro-main-text {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.text-hover-gold:hover {
    color: var(--brand-yellow);
}

.pro-sub-text {
    color: #777777;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- Các nút Tương Tác (Action Links/Buttons) --- */
.pro-action-link {
    display: inline-flex;
    align-items: center;
    color: var(--brand-yellow);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

    .pro-action-link:hover {
        color: #fff;
        transform: translateX(3px);
    }

.btn-copy-mini {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.9rem;
}

    .btn-copy-mini:hover {
        background: var(--brand-yellow);
        color: #000;
        border-color: var(--brand-yellow);
    }

    /* Trạng thái đã copy */
    .btn-copy-mini.copied {
        background: #00ff88;
        color: #000;
        border-color: #00ff88;
    }

/* --- Responsive --- */
@media (max-width: 575.98px) {
    .vc-contact-card-pro {
        padding: 20px 15px;
    }

    .pro-icon-box {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .pro-main-text {
        font-size: 1.05rem;
    }
}

/* =========================================================================
   COMPONENT: NÚT GỬI "CYBER LAUNCH"
   ========================================================================= */

.btn-cyber-launch {
    position: relative;
    border: none;
    /* Gradient chéo từ Vàng sang Cam đỏ tạo năng lượng */
    background: linear-gradient(135deg, var(--brand-yellow) 0%, #ff5e00 100%);
    border-radius: 50px; /* Bo tròn hoàn toàn dạng viên thuốc */
    padding: 16px 30px;
    overflow: hidden; /* Để chứa hiệu ứng bóng loáng (shine) */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    /* Đổ bóng phát sáng nhẹ ban đầu */
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Easing mượt mà */
}

    /* --- Hiệu ứng Hover tổng thể --- */
    .btn-cyber-launch:hover {
        transform: translateY(-5px) scale(1.02); /* Nút nổi lên và to ra một chút */
        /* Tăng cường độ phát sáng mạnh mẽ hơn, chuyển sang tông cam */
        box-shadow: 0 20px 40px rgba(255, 94, 0, 0.5), inset 0 2px 0 rgba(255, 255, 255, 0.4);
    }

    /* --- Phần Text --- */
    .btn-cyber-launch .btn-text {
        color: #111; /* Chữ màu tối trên nền sáng để tương phản cao nhất */
        font-size: 1.1rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 1px;
        z-index: 2;
        transition: 0.3s;
    }

    /* --- Phần Hộp chứa Icon --- */
    .btn-cyber-launch .btn-icon-box {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        background: rgba(0, 0, 0, 0.15); /* Nền tối nhẹ sau icon */
        border-radius: 50%;
        margin-left: 15px;
        color: #000;
        font-size: 1rem;
        z-index: 2;
        transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Hiệu ứng nảy */
    }

    .btn-cyber-launch:hover .btn-icon-box {
        background: #fff; /* Hộp icon chuyển sang màu trắng */
        color: var(--brand-red); /* Icon chuyển sang màu đỏ */
        /* Dịch chuyển sang phải và xoay nhẹ */
        transform: translateX(10px) rotate(-15deg);
    }

        /* Hiệu ứng máy bay phóng đi */
        .btn-cyber-launch:hover .btn-icon-box i {
            animation: plane-launch 0.8s forwards ease-in-out;
        }

@keyframes plane-launch {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    40% {
        transform: translate(30px, -30px) scale(0.5);
        opacity: 0;
    }
    /* Bay vút lên góc phải và nhỏ lại */
    41% {
        transform: translate(-30px, 30px) scale(0.5);
        opacity: 0;
    }
    /* Reset vị trí về góc trái dưới */
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    /* Bay trở lại vị trí cũ */
}

/* --- Hiệu ứng bóng loáng lướt qua (Shine Effect) --- */
.btn-shine {
    position: absolute;
    top: 0;
    left: -100%; /* Bắt đầu từ ngoài bên trái */
    width: 50%;
    height: 100%;
    /* Dải sáng trắng nghiêng */
    background: linear-gradient( to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100% );
    transform: skewX(-25deg); /* Nghiêng dải sáng */
    z-index: 1;
    transition: 0.7s;
}

.btn-cyber-launch:hover .btn-shine {
    left: 150%; /* Lướt nhanh sang bên phải */
    transition: 0.7s ease-in-out;
}

/* --- Responsive --- */
@media (max-width: 575.98px) {
    .btn-cyber-launch {
        padding: 14px 20px;
    }

        .btn-cyber-launch .btn-text {
            font-size: 1rem;
        }
}

/* Card Hotline Đặc Biệt */
.card-emergency {
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.1) 0%, rgba(0,0,0,0) 100%);
    border-color: rgba(211, 47, 47, 0.3);
}

    .card-emergency:hover {
        border-color: var(--brand-red);
    }

    .card-emergency .info-icon {
        background: var(--brand-red);
        color: #fff;
        box-shadow: 0 5px 15px rgba(211, 47, 47, 0.5);
    }

.icon-pulse {
    animation: shadow-pulse 2s infinite;
}

@keyframes shadow-pulse {
    0% {
        box-shadow: 0 0 0 0px rgba(211, 47, 47, 0.5);
    }

    100% {
        box-shadow: 0 0 0 15px rgba(211, 47, 47, 0);
    }
}

.info-link-massive {
    display: block;
    color: #fff;
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -1px;
    text-decoration: none;
    line-height: 1.1;
    margin-bottom: 8px;
    transition: 0.3s;
}

    .info-link-massive:hover {
        color: var(--brand-yellow);
    }

/* --- Bản Đồ (Dark Map Trick) --- */
.vc-map-container {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Thủ thuật CSS đảo ngược màu bản đồ Google để có chế độ Dark Mode chuẩn tone Đỏ/Vàng */
.dark-map {
    filter: invert(90%) hue-rotate(180deg) contrast(90%) sepia(20%);
    transition: filter 0.5s ease;
    display: block;
}

    .dark-map:hover {
        filter: invert(90%) hue-rotate(180deg) contrast(100%) sepia(0%);
    }

/* --- Responsive --- */
@media (max-width: 991.98px) {
    .vc-contact-form-glass {
        padding: 35px 25px;
    }

    .vc-contact-info-wrapper {
        position: relative;
        top: 0;
        margin-top: 20px;
    }
}
